[SOLVED] xfree86 openGL bug after update to 4.7 ati radeon hd 3200
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
xfree86 openGL bug after update to 4.7 ati radeon hd 3200
I am running debian lenny kernel 2.6.26 AMD64
While trying to run the dolphin emulator I would often get GLX error messages followed by segmentation faults when trying to load an iso. Looking, I found my xfree86 and GLX to be outdated, so I updated xfree86 to version 4.7. However, now when I try to run ANY openGL application, I get this error message->
Recent ati drivers dropped support for older cards. Use the 9.3? version of the ati drivers and kernels 2.6.28.10 or lower if yours is one of those cards. Or just use the radeon / vesa drivers. The current ati driver is somewhere near version 9.7. It looks like yours in still in the supported list. Also bear in mind that ati's installer overwrites the Mesa drivers. When doing upgrades you might reinstall the mesa drivers. At which point you have to reinstall the ati drivers to re-overwrite the mesa drivers. If you're using ati's drivers to begin with.
wow thank you for the reply...I was using xorg before and switched in order to get the newest GL drivers...I think most of the problems I'm having are because i switched. I'm still pretty new at linux and I'm kinda grinding through it. It took me 3months to get kde installed over debian and the internet working lol...so thanks again.
ok i reinstalled debian onto my computer(same specs as before) but when I try to run dolphin it runs fine until i try to open .gcm, in which case i get this...
this is the original problem i tried to fix by installing xfree86
ps I am running 64bit OS if that makes a difference
I think there might be a problem with the pointer/reference addresses because if this program was compiled for a 32-bit OS the pointers would only be half teh necessary size
You might try installing a few extra packages. java seems to require libstc++ 5, even though 6 is current and installed. 64 bit still requires a few of the 32 bit libs to function iirc. And other things like SDL, there are a few packages that don't always grab ALL dependencies. Like java and libstdc++5 or slune and sdl or ffplay and libsdl-dev or ... . . . . . . . You might also try using the open source radeon driver, and if it works under that, then it's an ATI driver issue. Or just a bug / feature specific to your card. You might also try an strace till failure to figure out what it's trying to do / access when it bombs. Or run it through gdb / insight / valgrind / ???
At a minimum try the usual suspects. glxinfo / glxgears, if those don't run and return favorable information, you might try fixing that issue first. Also note that the ati driver overwrites the mesa3d drivers. Which has it's own sets of issues.
which probably doesnt help you but it was the only thing regarding this particular problem i could find on the web
I'm pretty new at linux so I'm not sure how to install glxinfo / glxgears
thank you again for helping me!
nevermind i got glxinfo and gears working properly and their output(as far as I could tell) was normal- gears displayed gears and info displayed a lot of text regarding rendering and extensions however direct rendering was set to no...is that a problem and how do i fix it?
also at the end of the glx info i get a 'segmentation fault' error like I do after I try to run Dolphin...
nevermind i got glxinfo and gears working properly and their output(as far as I could tell) was normal- gears displayed gears and info displayed a lot of text regarding rendering and extensions however direct rendering was set to no...is that a problem and how do i fix it?
also at the end of the glx info i get a 'segmentation fault' error like I do after I try to run Dolphin...
direct rendering SHOULD BE yes. The difference between NO and YES is astonishing. Depending on your card. Even my cheap laptops DRI is 2x's faster with it, than without it. At least in terms of reported fps's in windowed glxgears.
It sounds like you're missing part of the mesa3d stuff at a minimum. ATI drivers replaces libGL.so, but not the other parts (whatever those may be). Mesa3d provides software versions of 3D abilities for when your hardware lacks the ability. And all cards pretty much lack some ability some where. If not on the hardware, then on the provided drivers. i.e. ATI's drivers seem to only work at 24 bit colors on my current (circa 2006) laptop. Vesa or radeon, lets me choose 16 bit color and other options, although without 3D acceleration for the most part.
I always seem to need to fiddle with things related to these packages in terms of what is installed before I get DRI working right on a new install. Mainly since it's hard to remember the specifics when you only do a new install once every couple of years. You might also need something like freeglut in addition to xorg, mesa3d, ati, yada yada yada... Like I said, not all packages grab ALL necessary dependencies. Most minimal dependencies are grabbed by most packages. You might try installing a few 3D games and see if they grab the dependencies needed. torcs bzflag armagetron ....... And you'll need to restart X for any NEW packages to take effect. At least the packages related to drivers and 3D accelearation. You might also check /var/log/Xorg.0.log for HINTS as to WHY it's not the way you want it to be. (WW) and (EE) are warnings and errors.
If it's segfaulting, you've got some sort of missing or mismatched packaging. Like using ATIs drivers with Mesas libGL components.
dpkg-divert
If you installed distro specific packages, it'll show your conflicting libs and other things in dpkg-divert. Most times I have to manually cp the fglrx version of libGL over the mesa version. There might be some xorg.conf way to do the same thing, but I'm an old dog, and whatever works is good enough a lot of the time.
alright thank you I'm downloading the source for mesa3D and freeglut- when i did the dpkg -l '*mesa*' not packages with reference to 3D support came up...I'm going to install mesa3D and if that doesn't solve the problem I'll install freeglut...anyway thank you sooo much for your help and I'm extraordinarily grateful.
ok I downloaded and installed mesa3D and now instead of
getting glx version 1.2 then the context.quit error then a segfault i just get glx version 1.2 and then the segfault...
Once you install the mesa drivers, you'll likely need to re-install the ATI drivers. There should have been some distro specific packages for it. Just a few that are installed on my debian system.
how do I reinstall them on my debian system without compromising my desktop? apt-get install says ther already installed, and apt-get remove won't let me do it because of 'unsatisfied dependencies'(all the dependencies are installed, I think it just can't remove things that are currently powering the desktop) and as far as I can tell there is no reinstall option for apt-get...would running from a console and killing kde work? and would it change any of my preferences?
Obviously you can't install your gui evironment while running the gui. At a minimum you'll need to restart the gui to have the changes take effect. As far as package management.
$ apt-get --purge remove <package>
I prefer to use dpkg directly. apt-get remove tends to grab all dependencies and I'm generally not wanting to do anything with those dependencies, I just want to re-install the package, so....
When you typically remove a package, it keeps the configuration files / paths / and other information. Purge clears it all out so it truly is re-installed.
$ dpkg -i <package>
To reinstall if you already have the .deb for it. Usually in /var/cache/apt/archive/ if you don't delete them afterwards.
Alright, I uninstalled using dpkg --purge --force-all and then apt-get install on the same packages, excepting atitvout because it was not found in my repositories nor was it installed. however, when I try to run Dolphin I still get this message:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.