Re: [Dri-devel] Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-26 Thread Alex Deucher

--- Ariel Garcia <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> > >  > > both on my desktop and my laptop i am getting strange hangs
> > >  > > when running XFree packages (both debian testing/unstable,
> > >  > > 4.2.1-{12.1,15}) with the newer linux kernels. This happens
> > >  > > for me since one of the 2.5.5* kernels (and it still happens
> >
> > BTW, it'd be interesting to know which 2.5.x kernel exactly it
> stopped
> > working at.
> 
> Ok, what i know for sure is that in the stable series it broke in
> 2.4.23, 
> 2.4.22 was ok. For the 2.5 kernels, 2.5.57 was ok and 2.6.0-test5 was
> 
> already broken. More testing would need to wait: away at a conference
> 
> until end of next week, sorry.
> 
> > Sounds like the radeon DRM broke backwards compatibility for
> XFree86 4.2
> > and older somewhere along the way. :( Just to be sure, can either
> of you
> > please try the DRM from current DRI CVS?
> 
> I cannot right now, see abiove ;-)
> Ok, you mean the kernel patches, right? I would gladly do that with
> my 
> current debian experimental 4.3 XFree packages. Is that what you
> mean?

The DRM is the kernel module.  You can build the one in the DRI source
tree against any kernel.  download the cvs tree and switch to this
directory:
xc/programs/Xserver/hw/xfree86/os-support/linux/drm/kernel
then run:
make -f Makefile.linux
or
make -f Makefile.linux LINUXDIR=/path/to/kernel/src
depending on where your kernel source is located.  make sure you have
run at least make dep on the kernel source.

Alex

> 
> Cheers, Ariel
> 
> 
>

__
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
http://webhosting.yahoo.com/ps/sb/



Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-26 Thread Ariel Garcia
Hi,

> >  > > both on my desktop and my laptop i am getting strange hangs
> >  > > when running XFree packages (both debian testing/unstable,
> >  > > 4.2.1-{12.1,15}) with the newer linux kernels. This happens
> >  > > for me since one of the 2.5.5* kernels (and it still happens
>
> BTW, it'd be interesting to know which 2.5.x kernel exactly it stopped
> working at.

Ok, what i know for sure is that in the stable series it broke in 2.4.23, 
2.4.22 was ok. For the 2.5 kernels, 2.5.57 was ok and 2.6.0-test5 was 
already broken. More testing would need to wait: away at a conference 
until end of next week, sorry.

> Sounds like the radeon DRM broke backwards compatibility for XFree86 4.2
> and older somewhere along the way. :( Just to be sure, can either of you
> please try the DRM from current DRI CVS?

I cannot right now, see abiove ;-)
Ok, you mean the kernel patches, right? I would gladly do that with my 
current debian experimental 4.3 XFree packages. Is that what you mean?

Cheers, Ariel



Re: Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-24 Thread Michel Dänzer
On Wed, 2004-01-21 at 22:57, Marco van Zwetselaar wrote:
> Michel Daenzer wrote:
>  > Ariel Garcia wrote:
>  > > both on my desktop and my laptop i am getting strange hangs
>  > > when running XFree packages (both debian testing/unstable,
>  > > 4.2.1-{12.1,15}) with the newer linux kernels. This happens
>  > > for me since one of the 2.5.5* kernels (and it still happens

BTW, it'd be interesting to know which 2.5.x kernel exactly it stopped
working at.

>  > > with 2.6.0) and now i also checked the same happens with
>  > > 4.2.23 (but doesn't happen with 4.2.22).

[...]

> I can confirm this.  I got just the same problem on my laptop, a Dell 
> with an ATI Radeon card, X version 4.2.1-12.1.  When I start glxgears on 
> kernel 2.4.23 or 2.6.0-test9, it all hangs.  No problems on 2.4.22 (or 
> earlier), which were configured just the same as .23, apart from the low 
> latency patches (which aren't available yet for .23).

Sounds like the radeon DRM broke backwards compatibility for XFree86 4.2
and older somewhere along the way. :( Just to be sure, can either of you
please try the DRM from current DRI CVS?

> Should I file a bug in the BTS?

Against what, the kernel packages? I'm not sure that'll be too useful,
CC'ing the dri-devel list.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Libre software enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-23 Thread Ariel Garcia
Hi,

>  > > both on my desktop and my laptop i am getting strange hangs
>  > > when running XFree packages (both debian testing/unstable,
>  > > 4.2.1-{12.1,15}) with the newer linux kernels. This happens
>  > > for me since one of the 2.5.5* kernels (and it still happens
>  > > with 2.6.0) and now i also checked the same happens with
>  > > 4.2.23 (but doesn't happen with 4.2.22).
>  >
>  > Sounds like it's related to the newer DRM.
>  >
>  > > bingo, yes, i made a test with the newer kernels + the old
>  > > xfree 4.2 but disabling dri (taking out the dri module line
>  > > in the XFree86 config file) and it worked ok (quite slow of
>  > > course but that was to be expected  ;-)
>
> I can confirm this.  I got just the same problem on my laptop, a Dell
> with an ATI Radeon card, X version 4.2.1-12.1.  When I start glxgears on
> kernel 2.4.23 or 2.6.0-test9, it all hangs.  No problems on 2.4.22 (or
> earlier), which were configured just the same as .23, apart from the low
> latency patches (which aren't available yet for .23).

In my desktop i solved the problem completely thanks to Michel 's advice by 
just installing the new XFree 4.3 packages from experimental.
That was apparently not enough in my laptop, i still have dri disabled , 
otherwise it hangs. Didn't have time yet to check more cerefully.

Cheers, Ariel



Re: Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-21 Thread Marco van Zwetselaar

Michel Daenzer wrote:
> Ariel Garcia wrote:
> > both on my desktop and my laptop i am getting strange hangs
> > when running XFree packages (both debian testing/unstable,
> > 4.2.1-{12.1,15}) with the newer linux kernels. This happens
> > for me since one of the 2.5.5* kernels (and it still happens
> > with 2.6.0) and now i also checked the same happens with
> > 4.2.23 (but doesn't happen with 4.2.22).

> Sounds like it's related to the newer DRM.

> > bingo, yes, i made a test with the newer kernels + the old
> > xfree 4.2 but disabling dri (taking out the dri module line
> > in the XFree86 config file) and it worked ok (quite slow of
> > course but that was to be expected  ;-)

I can confirm this.  I got just the same problem on my laptop, a Dell 
with an ATI Radeon card, X version 4.2.1-12.1.  When I start glxgears on 
kernel 2.4.23 or 2.6.0-test9, it all hangs.  No problems on 2.4.22 (or 
earlier), which were configured just the same as .23, apart from the low 
latency patches (which aren't available yet for .23).


Should I file a bug in the BTS?

Regards,
Marco




Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-07 Thread Ariel Garcia
Hi Michel,

thanks a lot for your prompt answer :-)

> > both on my desktop and my laptop i am getting strange hangs when
> > running XFree packages (both debian testing/unstable, 4.2.1-{12.1,15})
> > with the newer linux kernels. This happens for me since one of the
> > 2.5.5* kernels (and it still happens with 2.6.0) and now i also
> > checked the same happens with 4.2.23 (but doesn't happen with 4.2.22).
> > With the 2.5/2.6 kernels i checked the same happens with acpi
> > disabled.
>
> Sounds like it's related to the newer DRM.

bingo, yes, i made a test with the newer kernels + the old xfree 4.2 but 
disabling dri (taking out the dri module line in the XFree86 config file) 
and it worked ok (quite slow of course but that was to be expected  ;-)

> FWIW, I can run all screensavers from the kscreensaver package from sid
> on my TiBook with a Mobility Radeon 9000 running a 2.6 kernel with my
> DRI snapshot packages described in
> http://dri.sourceforge.net/snapshots/README.Debian without problems. The
> XFree86 4.3 packages in experimental may also work better.

I tried your packages but they do not have MIT-AUTH support compiled in 
(that is a small ("non-free") extra patch if i remember correctly) so i 
decided to try first the XFree4.3 debian-experimental packages and they 
work flawlessly :-)
 (btw, didn't try that before because the experimental area is still 
unavailable, now i found a mirror...)

Thanks for your help,

Ariel



Re: Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-02 Thread Michel Dänzer
On Fri, 2004-01-02 at 15:03, Ariel Garcia wrote: 
> 
> both on my desktop and my laptop i am getting strange hangs when running 
> XFree packages (both debian testing/unstable, 4.2.1-{12.1,15}) with the 
> newer linux kernels. This happens for me since one of the 2.5.5* kernels 
> (and it still happens with 2.6.0) and now i also checked the same happens 
> with 4.2.23 (but doesn't happen with 4.2.22). With the 2.5/2.6 kernels i 
> checked the same happens with acpi disabled.

Sounds like it's related to the newer DRM.

> What i did to trigger it: boot with 2.4.23 (config file identical to 2.4.22 
> one, both compiled with gcc 3.3.x), login in KDE, and activate Lock 
> Screen. Everything freezes when trying to run the screensaver (Euphoria GL 
> is my default screensaver. Same freeze happens if you open KDE's control 
> module for setting the screensaver's properties).
> However the mouse and the OS still work, the system is accessible through 
> ssh. At that point i could kill the keuphoria screen saver, but the screen 
> was still frozen. So i killed (-9) the Xserver, but at that point the 
> machine hung completely.

Typical symptoms of a graphics chip lockup.

> My graphics cards are ATI Radeon (both in laptop and desktop)

FWIW, I can run all screensavers from the kscreensaver package from sid
on my TiBook with a Mobility Radeon 9000 running a 2.6 kernel with my
DRI snapshot packages described in
http://dri.sourceforge.net/snapshots/README.Debian without problems. The
XFree86 4.3 packages in experimental may also work better.


> Probably unrelated, but in XFree86.0.log I get:
> 
> (II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
> Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:debug_xform.o":  No 
> symbols found
> 
> I also get tons of 
>"Not loading .note.GNU-stack"
> messages in the same XFree server logfile.

These are indeed unrelated and harmless.


-- 
Earthling Michel Dänzer  | Debian (powerpc), X and DRI developer
Software libre enthusiast|   http://svcs.affero.net/rm.php?r=daenzer



Machine hangs/screen hangs with newer kernels + GL screensavers

2004-01-02 Thread Ariel Garcia
Hi,

both on my desktop and my laptop i am getting strange hangs when running 
XFree packages (both debian testing/unstable, 4.2.1-{12.1,15}) with the 
newer linux kernels. This happens for me since one of the 2.5.5* kernels 
(and it still happens with 2.6.0) and now i also checked the same happens 
with 4.2.23 (but doesn't happen with 4.2.22). With the 2.5/2.6 kernels i 
checked the same happens with acpi disabled.

What i did to trigger it: boot with 2.4.23 (config file identical to 2.4.22 
one, both compiled with gcc 3.3.x), login in KDE, and activate Lock 
Screen. Everything freezes when trying to run the screensaver (Euphoria GL 
is my default screensaver. Same freeze happens if you open KDE's control 
module for setting the screensaver's properties).
However the mouse and the OS still work, the system is accessible through 
ssh. At that point i could kill the keuphoria screen saver, but the screen 
was still frozen. So i killed (-9) the Xserver, but at that point the 
machine hung completely.

The same also happens if you let the screensaver to kick in.

I couldn't find anything similar in google/debian BTS.

My graphics cards are ATI Radeon (both in laptop and desktop)

Probably unrelated, but in XFree86.0.log I get:

(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
Skipping "/usr/X11R6/lib/modules/extensions/libGLcore.a:debug_xform.o":  No 
symbols found

I also get tons of 
   "Not loading .note.GNU-stack"
messages in the same XFree server logfile. This seems to be related to the 
last line of one of the several files in /usr/lib/ldscripts, for instance:

# tail /usr/lib/ldscripts/elf_i386.x
  .debug_str  0 : { *(.debug_str) }
  .debug_loc  0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  /* SGI/MIPS DWARF 2 extensions */
  .debug_weaknames 0 : { *(.debug_weaknames) }
  .debug_funcnames 0 : { *(.debug_funcnames) }
  .debug_typenames 0 : { *(.debug_typenames) }
  .debug_varnames  0 : { *(.debug_varnames) }
  /DISCARD/ : { *(.note.GNU-stack) }
}

Anyone?

Thanks in advance (please CC direct to me too),

Ariel