Re: X Hangs with RS690 + 2.6.26

2008-08-11 Thread Frédéric L . W . Meunier

On Sun, 10 Aug 2008, Jonathan McDowell wrote:


On Sat, Aug 09, 2008 at 05:47:42AM -0300, Frédéric L. W. Meunier wrote:

On Fri, 1 Aug 2008, Jonathan McDowell wrote:

On Fri, Jul 25, 2008 at 11:10:07AM +0100, Dave Airlie wrote:

I've started to see hangs with X on an ATI RS690 with a 2.6.26 kernel.
The symptoms are that load average goes up, X stops accepting keypresses
or mouse clicks, but the cursor still moves around the screen in
response to the mouse being moved. I can't switch to a VT but can ssh in
remotely to see that things are still running. I don't seem to be able
to kill X but shutdown -r now cleanly reboots.

radeon driver is recent git - 1c5858484da4fb1c9bc3ac3b4d7a97863ab99730
but I've seen it with older revisions too.

It can take a couple of days for me to hit the problem, so a git bisect
could be a lengthy process. If anyone has any suggestions about faster
ways to track down the issue I'd like to hear them.


git log v2.6.25..v2.6.26 drivers/char/drm

5e35eff13f7dd0f5c1d82b3b4708b2f7a5f44113
5cfb6956073a9e42d44a26790b7800980634d037


No joy.


d396db321bcaec54345e7e9e87cea8482d6ae3a8


I thought this might be it; nearly 5 days of uptime rather than the
usual less than 2. But I got the same symptoms today so I'll continue
working down the list.


259434acccbc823ee8bc00b2d2689d25e1fd
d7463eb41d88a39de2653fd41857c4ccddb8707b
45e519052e8f583a709edd442a23f59581d3fe42
2735977b12cb0f113aae24afff04747b6d0f5bf1
3722bfc607d46275369865c02fe8694486d640b5
fa0d71b967506031f7cb08ced6095d1c4f988594
9f18409ea3d778a171a9505c0a849d846f352bd0


Any joy ?


259434acccbc823ee8bc00b2d2689d25e1fd
d7463eb41d88a39de2653fd41857c4ccddb8707b
45e519052e8f583a709edd442a23f59581d3fe42

all don't seem to be the problem. It's getting harder to do the reverts
and I'm away this week so I haven't got any further yet.


I apparently have the same problem with my RS690. I noticed it after
upgrading from 2.6.25 to 2.6.26, alongside xorg-server (1.4.99.904 to
1.4.99.905) and Mesa (7.1-rc1 to 7.1-rc3). The ATI driver is 6.9.0.

Here it always freezes in a few minutes or less than an hour.  When it
happens, I'm not running any 3D application and the CPU is idle. I may
be just typing something in a shell. But it works disabling DRI.


Likewise, I'm not doing anything 3D related (at least, not consciously).


BTW, I forgot to mention that. Here the motherboard is a
Gigabyte GA-MA69VM-S2. When it happens and I use SysRq to
reboot, it doesn't post in the BIOS screen. I have to press
reset.-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: X Hangs with RS690 + 2.6.26

2008-08-09 Thread Frédéric L . W . Meunier
On Fri, 1 Aug 2008, Jonathan McDowell wrote:

 On Fri, Jul 25, 2008 at 11:10:07AM +0100, Dave Airlie wrote:
 I've started to see hangs with X on an ATI RS690 with a 2.6.26 kernel.
 The symptoms are that load average goes up, X stops accepting keypresses
 or mouse clicks, but the cursor still moves around the screen in
 response to the mouse being moved. I can't switch to a VT but can ssh in
 remotely to see that things are still running. I don't seem to be able
 to kill X but shutdown -r now cleanly reboots.

 radeon driver is recent git - 1c5858484da4fb1c9bc3ac3b4d7a97863ab99730
 but I've seen it with older revisions too.

 It can take a couple of days for me to hit the problem, so a git bisect
 could be a lengthy process. If anyone has any suggestions about faster
 ways to track down the issue I'd like to hear them.

 git log v2.6.25..v2.6.26 drivers/char/drm

 5e35eff13f7dd0f5c1d82b3b4708b2f7a5f44113
 5cfb6956073a9e42d44a26790b7800980634d037

 No joy.

 d396db321bcaec54345e7e9e87cea8482d6ae3a8

 I thought this might be it; nearly 5 days of uptime rather than the
 usual less than 2. But I got the same symptoms today so I'll continue
 working down the list.

 259434acccbc823ee8bc00b2d2689d25e1fd
 d7463eb41d88a39de2653fd41857c4ccddb8707b
 45e519052e8f583a709edd442a23f59581d3fe42
 2735977b12cb0f113aae24afff04747b6d0f5bf1
 3722bfc607d46275369865c02fe8694486d640b5
 fa0d71b967506031f7cb08ced6095d1c4f988594
 9f18409ea3d778a171a9505c0a849d846f352bd0

Any joy ? I apparently have the same problem with my RS690. I 
noticed it after upgrading from 2.6.25 to 2.6.26, alongside 
xorg-server (1.4.99.904 to 1.4.99.905) and Mesa (7.1-rc1 to 
7.1-rc3). The ATI driver is 6.9.0.

Here it always freezes in a few minutes or less than an hour. 
When it happens, I'm not running any 3D application and the CPU 
is idle. I may be just typing something in a shell. But it 
works disabling DRI.

Alt-SysRq-s/u/b is the only way. Trying with q freezes the 
mouse cursor.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


Re: r300 compilation problem

2006-07-09 Thread Frédéric L. W. Meunier
On 7/8/06, Jerome Glisse wrote:
 On 7/8/06, Frédéric L. W. Meunier wrote:
  I was able to compile r300 from Mesa 6.5 but CVS after that and
  until now returns:
 
  gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
  -I../../../../../include -I../../../../../include/GL/internal 
  -I../../../../../src/mesa -I../../../../../src/mesa/main 
  -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math 
  -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader 
  -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup 
  -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri 
  `pkg-config --cflags libdrm`  -Wall -Wmissing-prototypes -std=c99 
  -ffast-math -march=athlon-xp -mfpmath=sse -ansi -pipe -fomit-frame-pointer  
  -m32 -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE 
  -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER 
  -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM 
  -DUSE_3DNOW_ASM -DUSE_SSE_ASM -DCOMPILE_R300 -DGLX_DIRECT_RENDERING 
  -DR200_MERGED=0 -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 radeon_screen.c 
  -o radeon_screen.o
  In file included from radeon_screen.c:57:
  r300_context.h:59: error: syntax error before '/' token
  r300_context.h:59: error: syntax error at '#' token
  In file included from radeon_screen.c:57:
  r300_context.h:607: error: syntax error before '/' token
  r300_context.h:607: error: syntax error at '#' token
  r300_context.h:609: error: syntax error at '#' token
  r300_context.h:611: error: syntax error at '#' token
  r300_context.h:633: error: syntax error before '}' token
  r300_context.h:862: warning: struct r300_vertex_program declared inside 
  parameter list
  r300_context.h:862: warning: its scope is only this definition or 
  declaration, which is probably not what you want
  r300_context.h:864: warning: struct r300_vertex_program declared inside 
  parameter list
  make[6]: *** [radeon_screen.o] Error 1
 
  What's causing that ? Some incompatibility with GCC 3.4.6 or
  CVS has been really broken since then ?
 
  -

 Strange, i compile it quite often :) and didn't get that. Could you try
 to upgrade your libdrm with the one in cvs (DRM cvs).

I updated lidrm May 30, when I was still getting the errors. The
relevant headers didn't change since then.

But I found what's causing it. -ansi. It doesn't like // comments.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel


r300 compilation problem

2006-07-08 Thread Frédéric L . W . Meunier
I was able to compile r300 from Mesa 6.5 but CVS after that and 
until now returns:

gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver 
-I../../../../../include -I../../../../../include/GL/internal 
-I../../../../../src/mesa -I../../../../../src/mesa/main 
-I../../../../../src/mesa/glapi -I../../../../../src/mesa/math 
-I../../../../../src/mesa/transform -I../../../../../src/mesa/shader 
-I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup 
-I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config 
--cflags libdrm`  -Wall -Wmissing-prototypes -std=c99 -ffast-math 
-march=athlon-xp -mfpmath=sse -ansi -pipe -fomit-frame-pointer  -m32 
-D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE 
-D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER 
-DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -DCOMPILE_R300 -DGLX_DIRECT_RENDERING -DR200_MERGED=0 
-DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R300 radeon_screen.c -o radeon_screen.o
In file included from radeon_screen.c:57:
r300_context.h:59: error: syntax error before '/' token
r300_context.h:59: error: syntax error at '#' token
In file included from radeon_screen.c:57:
r300_context.h:607: error: syntax error before '/' token
r300_context.h:607: error: syntax error at '#' token
r300_context.h:609: error: syntax error at '#' token
r300_context.h:611: error: syntax error at '#' token
r300_context.h:633: error: syntax error before '}' token
r300_context.h:862: warning: struct r300_vertex_program declared inside 
parameter list
r300_context.h:862: warning: its scope is only this definition or declaration, 
which is probably not what you want
r300_context.h:864: warning: struct r300_vertex_program declared inside 
parameter list
make[6]: *** [radeon_screen.o] Error 1

What's causing that ? Some incompatibility with GCC 3.4.6 or 
CVS has been really broken since then ?

-- 
How to contact me - http://www.pervalidus.net/contact.html

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642
--
___
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel