Bug#396037: libgl1-mesa-dri: i915 OpenGL severely broken

Martin Pärtel martin.partel at mbnet.fi
Sun Apr 1 09:08:18 UTC 2007


Yeah, sorry, that was a messy post. I hope this one is a bit better.


* Behaviour with unstable packages:
libdrm2_2.0.2-0.1_i386.deb
libdrm-dev_2.0.2-0.1_i386.deb
libgl1-mesa-dev_6.5.1-0.6_i386.deb
libgl1-mesa-dri_6.5.1-0.6_i386.deb
libgl1-mesa-glx_6.5.1-0.6_i386.deb
mesa-common-dev_6.5.1-0.6_all.deb
xserver-xorg-core_1.1.1-20_i386.deb
xserver-xorg-video-i810_1.7.2-4_i386.deb

As described in the initial bugreport: OpenGL apps don't work unless 
LIBGL_ALWAYS_INDIRECT is set. With LIBGL_ALWAYS_INDIRECT I get lots of 
rendering artifacts (e.g. the sun is missing a quarter of its halo in 
Celestia, textures blinking in nexuiz).

(xserver-xorg-core is the only package that has changed here since the initial 
bug report. 1.1.1-18 => 1.1.1-20)



* Behaviour with old experimental packages from previous e-mail:
libdrm2_2.3.0-1_i386.deb
libdrm-dev_2.3.0-1_i386.deb
libgl1-mesa-dev_6.5.2-3_all.deb
libgl1-mesa-dri_6.5.2-3_i386.deb
libgl1-mesa-glx_6.5.2-3_i386.deb
mesa-common-dev_6.5.2-3_all.deb
xserver-xorg-core_1.2.0-4_i386.deb

- LIBGL_ALWAYS_INDIRECT causes the exact same rendering bugs but OpenGL 
programs now work properly _without_ it (although with a warning about a 
missing visual).

- Putting Option "XAANoOffscreenPixmaps" in the device section fixes at least 
a bug with Beryl/Compiz where windows don't redraw themselves in "texture 
from pixmap" mode. Load "dbe" in Section "module" doesn't seem to have any 
effect after all.



* Behaviour with latest experimental packages:
xserver-xorg-core_1.2.99.903-1_i386.deb
xserver-xorg-video-i810_1.9.93-1_all.deb
xserver-xorg-video-intel_1.9.93-1_i386.deb

Same as with the previous experimental packages as far as I can tell except 
for some new issues:
- Exiting X or switching to a console VT while beryl is running almost always 
causes the machine to freeze!

- Even when Beryl is not running X prints the following on exit:
"(EE) intel(0): I830 Vblank PipeSetup Failed 0"

- X also always prints the following warning while starting up:
"(WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed
	(Cannot allocate memory)"

- Some of Beryl's Emerald themes render incorrectly.



So the best combination for me was:
- Mesa 6.5.2-3
- libdrm2_2.3.0-1
- xserver-xorg-core_1.2.0-4
- xserver-xorg-video-i810_1.7.2-4 (the one in unstable)
- NO special envvars
- Option "XAANoOffscreenPixmaps" if running Beryl or Compiz.




More information about the Pkg-mesa-devel mailing list