[SOLVED] Debian Wheezy: OpenGl suddenly stopped working
DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi all,
I'm running Debian wheezy with a 3.0.0-6.dmz.1-liquorix-amd64 kernel and a Radeon HD 4350 video card for which I'm using the radeon xserver-xorg kernel driver. xserver-xorg-core version 1.11.1-1
Symptoms: suddenly I'm getting a blank black screen for all OpenGl applications. These include: OpenGl screensavers, opengl games like Emilia Pinball and Supertux racer, glxgears. google earth. Running any of these results in a blank black screen. Any ideas out there? If you need more diagnostics, tell me what to try and I'll report back. If run various things through the command line with or without gdb and no info was obtained.
Thanks for the help,
jdk
Hmmm. You're onto something caravel. I haven't posted all the contents but already something shows up. What do you think?
Code:
$ glxinfo
name of display: :0
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/tls/r600_dri.so
libGL: OpenDriver: trying /usr/lib/x86_64-linux-gnu/dri/r600_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/jdkaye/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/jdkaye/.drirc: No such file or directory.
Mesa warning: couldn't open libtxc_dxtn.so, software DXTn compression/decompression unavailable
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
That looks suspicious, no? Also I had an incident where aptitude hung and I had to run dkpg --config -a or something like that to fix it.
I'll check what package gives me r600 stuff.
Thanks loads,
jdk
I tried searching the Debian package site for packages that have libtxc_dxtn.so No luck. No packages have that file and not surprisingly I don't have that package on my system. Very strange.
jdk
So maybe you need libtxc-dxtn0. (I say maybe because I don't have this package, but I don't experience the problem you describe, so maybe the problem is somewhere else... or maybe ATI cards require it, who knows). BTW, it's in debian-multimedia, in case you haven't added it to your sources.list
Compiz or not, if you are using another compositing capable window manager such as, e.g. xfwm4 or kwin. disable it's compositing and try e.g. glxgears again.
Regarding r600_dri.so, not an error, the second one is loaded otherwise it would spit the usual "cannot open shared object file" error.
The .drirc warnings aren't critical, but install driconf and it will generate a .drirc in your ~
You shouldn't need libtxc-dxtn0, that's the S3TC lib, but installing the one from debian-multimedia shouldn't hurt.
Next, try creating an /etc/X11/xorg.conf, in case it's a DRI permissions issue (unlikely)
So maybe you need libtxc-dxtn0. (I say maybe because I don't have this package, but I don't experience the problem you describe, so maybe the problem is somewhere else... or maybe ATI cards require it, who knows). BTW, it's in debian-multimedia, in case you haven't added it to your sources.list
Regards.
Thanks odiseo,
Yes I see the packages. I've always had debian-multimedia in my sources-list since it came into existence.
ciao,
jdk
Compiz or not, if you are using another compositing capable window manager such as, e.g. xfwm4 or kwin. disable it's compositing and try e.g. glxgears again
None are running. Desktop effects are disabled.
Quote:
Regarding r600_dri.so, not an error, the second one is loaded otherwise it would spit the usual "cannot open shared object file" error.
The .drirc warnings aren't critical, but install driconf and it will generate a .drirc in your ~
You shouldn't need libtxc-dxtn0, that's the S3TC lib, but installing the one from debian-multimedia shouldn't hurt.
Done. Now installed.
Quote:
Next, try creating an /etc/X11/xorg.conf, in case it's a DRI permissions issue (unlikely)
All symptoms listed in the first post are now gone. The problem is solved. The solution was either (a) installing the libtxc-dxtn0 package or (b) creating the xorg.conf file as per Caravel's specs. My guess is (b). What do you think Caravel?
Thanks to all. Debian support on linuxquestions is second to none.
Could this indicate a bug in the last update of mesa? Some routine configuration that was left out?
ciao,
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.