FS#7590 - Blank screen with GLX programs

Attached to Project: Arch Linux
Opened by Jeroen Habraken (VeXocide) - Monday, 09 July 2007, 10:30 GMT
Last edited by Alexander Baldeck (kth5) - Tuesday, 31 July 2007, 17:51 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Alexander Baldeck (kth5)
Architecture i686
Severity High
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Note: I'm running xorg-server and xf86-video-ati from testing

When running opengl programs like glxgears, they run fine but I get a black blank screen (in that window).

glxinfo output is attached
   glxinfo (4.8 KiB)
This task depends upon

Closed by  Alexander Baldeck (kth5)
Tuesday, 31 July 2007, 17:51 GMT
Reason for closing:  Implemented
Comment by Jan de Groot (JGC) - Monday, 09 July 2007, 11:36 GMT
What resolution and where is the window positioned at that moment?
Comment by Jeroen Habraken (VeXocide) - Monday, 09 July 2007, 11:50 GMT
The resolution is 1400x1050 and the window is positioned at the upper left hand corner, but moving it doesn't help
Comment by Jeroen Habraken (VeXocide) - Monday, 09 July 2007, 14:40 GMT
Downgrading xorg-server and xf86-video-ati to those in the current repo fixed it, so it's one of those
Comment by Jeroen Habraken (VeXocide) - Thursday, 19 July 2007, 09:00 GMT
I've just upgraded xorg-server and that works fine, the problem lies in xf86-video-ati. Recompiling that from abs doesn't fix the problem, so I suspect something got borked upstream.
Comment by Dawid Wróbel (cromo) - Monday, 23 July 2007, 13:26 GMT
I've the same problem. Exactly the same resolution, too. FireGL v3100 here (r300).
Comment by Dawid Wróbel (cromo) - Monday, 23 July 2007, 13:27 GMT
glxinfo output attached.
   glx (4.8 KiB)
Comment by Jacek Poplawski (Jacek Poplawski) - Wednesday, 25 July 2007, 11:32 GMT
Exactly same problem. Radeon 9800 Pro. Resolution 1024x768.
I will try compiling source version this evening.
Comment by Dawid Wróbel (cromo) - Wednesday, 25 July 2007, 11:43 GMT
Could this be a gcc issue? I remember we had such with some other software, can't recall which one at the moment.
Comment by Jacek Poplawski (Jacek Poplawski) - Wednesday, 25 July 2007, 11:54 GMT
I am almost sure this is compilation problem, see my previous report:
http://bugs.archlinux.org/task/6103
But I don't have access to my radeon system now, will check it in the evening.
Comment by Jacek Poplawski (Jacek Poplawski) - Wednesday, 25 July 2007, 20:15 GMT
OK, now I am sure package xf86-video-ati is broken.
I compiled Mesa 7.0 from scratch and copied file r300_dri.so to the system and now OpenGL works.
I will try to investigate where is the problem, it may be optimization again, or the compiler (I use 4.2.1, don't know which were used for package from [testing]).
Comment by Jacek Poplawski (Jacek Poplawski) - Thursday, 26 July 2007, 18:02 GMT
1) Anyone knows how version from [testing] was build? Is there PKGBUILD available? Is it same PKGBUILD (with different links) as [current] package?

2) If you want to use [testing] and want working OpenGL, just download Mesa, compile, and copy r300_dri.so to /usr/lib/xorg/modules/dri/, it's required until someone recompile the package.
Comment by Jeroen Habraken (VeXocide) - Thursday, 26 July 2007, 21:50 GMT Comment by Jacek Poplawski (Jacek Poplawski) - Thursday, 26 July 2007, 22:03 GMT
According to this ChangeLog, in latest version someone put back OPTFLAGS, which were removed in December ("Remove OPT_FLAGS from DRI build (Closes: #6103)"). Probably that's the thing which cause blank window.
Comment by Jacek Poplawski (Jacek Poplawski) - Thursday, 26 July 2007, 22:39 GMT
I removed OPT_FLAGS line from PKGBUILD, made package, then upgraded package. Everything works correctly. Please remove OPT_FLAGS from future builds.
Comment by Dawid Wróbel (cromo) - Friday, 27 July 2007, 11:58 GMT
Compiled as you said and can confirm it works fine.
Comment by Oveek Mallik (veek) - Friday, 27 July 2007, 15:53 GMT
Had the same problem on (Radeon 9800). I can also confirm removal of OPT_FLAGS line in PKGBUILD fixes problem
Comment by Alexander Baldeck (kth5) - Monday, 30 July 2007, 18:18 GMT
please test the one going upstream to testing in a bit.
Comment by Jacek Poplawski (Jacek Poplawski) - Tuesday, 31 July 2007, 16:33 GMT
Close the bug, it's fixed.

Loading...