Racy: glxgears?
October 29, 2011 —
BarryK
On my laptop, running glxgears hangs the system. A black window appears, but no gears inside.
Mesa was compiled in T2, so I had a go at recompiling it myself. The T2 configure options:
./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i686-pc-linux-gnu --enable-gallium-swrast --enable-gallium-svga --enable-gallium-i915 --enable-gallium-i965 --enable-gallium-radeon --enable-gallium-r600
...after I recompiled, glxgears still hangs.
So I tried just this:
./configure --prefix=/usr/X11R7 --sysconfdir=/etc --localstatedir=/var --build=i686-pc-linux-gnu
...this time, glxgears does work. A problem though, the DRI drivers are much bigger, like up from about 2MB each to 3MB, bumping the entire package up by 10MB (uncompressed).
I am wondering if the problem is just with either my particular laptop, or the Intel DRI driver. I would greatly appreciate feedback from Racy testers, try 'glxgears'. Let me know what video you have (Intel, nVidia, etc., if you know).
If you don't have the glxgears binary handy (it isn't in Racy), it is here:
http://distro.ibiblio.org/quirky/test/glxgears.gz
...gunzip, be sure to set the execute flags.
Comments
glxgears ok hereUsername: 01micko
Racy ootb, radeon, [i]# lspci|grep -iE vga 02:00.0 VGA compatible controller: ATI Technologies Inc Cedar PRO [Radeon HD 5450][/i] [i]# glxgears 2671 frames in 5.0 seconds = 534.172 FPS 2666 frames in 5.0 seconds = 533.068 FPS 2670 frames in 5.0 seconds = 533.939 FPS 2663 frames in 5.0 seconds = 532.430 FPS 2673 frames in 5.0 seconds = 534.421 FPS[/i]
glxgears
Username: tronkel
" ./glxgears 919 frames in 5.0 seconds = 183.727 FPS 1090 frames in 5.0 seconds = 217.852 FPS 1083 frames in 5.0 seconds = 216.598 FPS 1093 frames in 5.0 seconds = 218.591 FPS 1071 frames in 5.0 seconds = 214.064 FPS 1075 frames in 5.0 seconds = 214.754 FPS Video card is ATI Radeon 3450. Gears graphic runs very smoothly
intel freezes for me too
Username: pemasu
"Intel Corporation Core Processor Integrated Graphics Controller (rev 12) 0.0 VGA compatible controller Acer laptop aspire 5820TG with dual graphics, intel/ATI.... Intel driver was choosed and used, checked with LPH report tool. Glxgears downloaded and in console, launches glxgears screen in console and then hangs. Powerbutton and hard shutdown was needed.
glxgears VIA C7-D
Username: L18L
"# glxgears 240 frames in 5.0 seconds = 47.867 FPS 250 frames in 5.0 seconds = 49.970 FPS 239 frames in 5.0 seconds = 47.765 FPS 198 frames in 5.0 seconds = 39.547 FPS 190 frames in 5.0 seconds = 37.937 FPS 251 frames in 5.0 seconds = 50.152 FPS 259 frames in 5.0 seconds = 51.793 FPS 306 frames in 5.0 seconds = 61.080 FPS openchrome
glxgears
Username: Terryphi
"# lspci|grep -iE vga 00:02.0 VGA compatible controller: Intel Corporation 82G33/G31 Express Integrated Graphics Controller (rev 10) # glxgears Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 378 frames in 5.0 seconds = 75.409 FPS 376 frames in 5.0 seconds = 75.129 FPS 352 frames in 5.0 seconds = 70.331 FPS 376 frames in 5.0 seconds = 75.130 FPS 376 frames in 5.0 seconds = 75.125 FPS
Re glxgears and Intel
Username: BarryK
"pemasu, Sorry, I should have been a bit more explicit about how to report on what video hardware you have. Well, you can do this from your currently running Puppy, if it has the intel DRI drivers: Look in file /var/log/xorg.0.log and search for "i9" or "i8", then you can find out whether Xorg is loading the i810_drv.so, i915_drv.so or i965_drv.so. On my laptop, it is the i965_drv.so that is the culprit.
Gallium
Username: kirk
"--enable-gallium-i915 --enable-gallium-i965 I don't think you want that. I'm out of town right now so I can't check, but it seems like the intel gallium stuff is not recommended.
intel and i965_dri.so
Username: pemasu
"(II) AIGLX: Loaded and initialized /usr/lib/dri/i965_dri.so That is what is loaded in my Dpup Exprimo I can check /var/log/Xorg.0.log in Racy also if needed.
Re Intel Gallium
Username: BarryK
"Thanks for the feedback. I had better report this on the T2 email list, request a configure change for mesa.
Tags: puppy