Steps to reproduce: 1) First method: - Install SLED10 in a G965/Q965/946GZ system. Download and install the kernel- drm, kernel-agp, xorg and Mesa rpms from http://software.opensuse.org/download/home:/sndirsch/SLED10_SDK_Extras/ - Enable XGL with `gnome-xgl-switch -e' or from the control panel and reboot. - Start X. You should be able to rotate the cube with Ctrl-Alt+arrow-keys. The UI is responsive, but the panels and windows are displayed a solid blocks of color. 2) Second Method - Install SLED10 in a G965/Q965/946GZ system. - Install Xorg 7.1.1 (1.1.1) with xf86-video-i810-1.6.4 and Mesa 6.5.1 and make /usr/X11R6 link to the the new Xorg - create a symbolic link in Xorg's 7.1.1 bin directory to the Xgl that ships with SLED10 (e.g. /usr/X11R6.orig/bin/Xgl) - Run "Xgl&" - Open a terminal with "gnome-terminal". You will get empty boxes: no textures, no letters. This problem doesn't occur in i915. According to Dave Reveman (developer of Xgl/compiz) who I'll allow myself to quote: "Problem is that GL_ARB_texture_rectangle is not working. It's present in the extensions string but it's like the GL_TEXTURE_RECTANGLE target is ignored. Hence compiz ends up drawing with black instead of the actual window content. Windows with power-of-two dimensions works fine though :)"
*** Bug 8278 has been marked as a duplicate of this bug. ***
I backported Keith Withwell's `Support ARB_texture_rectangle’ commitment to the Mesa development tree into SLED10. I also had to apply to i965 a patch that Novell had applied to i915 to make let windows appear in XGL (dri-copy-sub-buffer-intel.diff) The good news: the cube rotates, windows wobble, fading works, etc. The bad news: fine in SLED10 32 bits. In 64 bits you'll get the attached garbled windows any time there is no animation working (for example there is no problem if you leave the rain effect -shift-F9- on all the time). See attached screenshots.
Created attachment 7207 [details] Garbled windows under SLED10-64
Created attachment 7208 [details] Garbled windows under SLED10-64 (after moving windows)
Created attachment 7209 [details] No garbled images during rain animation
Created attachment 7210 [details] Garbled windows under SLED10-64 (another take)
All that's needed to reproduce is SLED10 64 bit-version, the intel-i810-agpgart-kmp, intel-i810-drm-kmp and intel-i810-xorg-x11 rpms from: http://software.opensuse.org/download/home:/sndirsch/SLED10_SDK_Extras/ and the updated Mesa rpm that I am attaching to this bugzilla.
Created attachment 7211 [details] Updated Mesa rpm with XGL support for i965
Created attachment 7212 [details] Sources of updated Mesa rpm
Created attachment 7213 [details] 32 bit version in case you want to compare
Additional info: - in a 945G system both 32 bits and 64 bits run XGL ok
Additional info: Problem only affects the edges of the windows (window manager) when opacity is set to exactly 100%. Transparent windows are okay.
Also happening in rawhide (FC6 test3 + manual creation of initrd due to bug + `yum update *kernel* *xorg* *mesa*' + `yum install *compiz*') in x86_64 only. 32 bits is fine. See: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=209318
This problem has just been solved upstream by Keith Whitwell. Please see patch (1 line long!) in the diff for Rev1.2 of: http://webcvs.freedesktop.org/mesa/Mesa/src/mesa/drivers/dri/i965/brw_draw_upload.c
I tested in my backport of the driver to SLED10 and in FC6 Test3 (updated as of today) and this patch fixes the problem.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.