fglrx / radeon driver installation troubles on Debian Lenny with Radeon HD 2600
Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
fglrx / radeon driver installation troubles on Debian Lenny with Radeon HD 2600
Hi. I'm trying to configure Radeon HD 2600 on Debian Lenny distro.
I don't know whether I actually have this card, but lspci gives "VGA compatible controller: ATI Technologies Inc RV630 [Radeon HD 2600 Series]".
I've read and tried several recomendations on installing ati-flgrx as well as opensource-radeon drivers. I can boot with graphical IDE (KDE), but when I'm trying to run glxinfo / fglrxinfo, I get this:
Code:
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 144 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 15
Current serial number in output stream: 15
The same error I get when I try to start a 3d application .
I would be thankful for any recommendations on how I can tackle this.
Recently I've found on this forum a must read, before installing Nvidia & Ati. There is mentioned that fglrx driver installation may change system files, so maybe I should reinstall some system packages. may be I should completely remove from the system all the stuff concerning fglrx/radeon drivers and just reinstall one of them, but I do something wrong.
I am quite new to Linux, so please give exact commands if possible.
Thanks a lot in advance!
Last edited by von.hake; 09-29-2010 at 03:39 AM.
Reason: add Xorg.0.log
Have you tried using the drivers from AMD itself? If you want to try, go to www.amd.com, navigate to the proper location and download the Catalyst drivers for your system.
First backup your current xorg.conf file.
Then chmod the AMD file and run it - if you're lucky, you'll get 3D acceleration, if you're not you may have to restore your xorg.conf from the backup. (You must have your kernel headers installed, and your /usr/src/linux must point to the headers of your running kernel).
I am not at home, where I have a working xorg.conf for a Radeon HD 4xxx on Lenny, if you have trouble I will share that with you, later.
How did you install the proprietary fglrx driver? Check /var/log/Xorg.0.log to see if anything out of the ordinary shows up and, if you're not sure, attach it to a post here.
I actually have the same video card as you do and an easy way to install it it's as follows
-go to synaptic and select settings > repositories > Debian Software and make sure the non-free option it's chacked in
- in a terminal type su -- followed by your admin password to get root privilegies
- #apt-get install fglrx-driver fglrx-source module-assistant
- #m-a a-i fglrx
- just sit back as everything installs
- apt-get install fglrx-control if you wanna have a nice GUI to set up your ATI video card just like in Windows.
And this should be it
latelly if you want to upgrade your video card drivers just type again m-a a-i fglrx with root privilegies
I actually have the same video card as you do and an easy way to install it it's as follows
-go to synaptic and select settings > repositories > Debian Software and make sure the non-free option it's chacked in
- in a terminal type su -- followed by your admin password to get root privilegies
- #apt-get install fglrx-driver fglrx-source module-assistant
- #m-a a-i fglrx
- just sit back as everything installs
- apt-get install fglrx-control if you wanna have a nice GUI to set up your ATI video card just like in Windows.
And this should be it
latelly if you want to upgrade your video card drivers just type again m-a a-i fglrx with root privilegies
I have a Radeon HD 4650 and the packages (free and non-free) did not work for me - I had to install using Catalyst. and I have to recompile the drivers every kernel upgrade. YMMV.
I have a Radeon HD 4650 and the packages (free and non-free) did not work for me - I had to install using Catalyst. and I have to recompile the drivers every kernel upgrade. YMMV.
give more details about what didn't worked. I believe in lenny the package fglrx-source it's replaced by fglrx-kernel-src. So you could try again like this
apt-get install fglrx-driver fglrx-kernel-src module-assistant
m-a a-i fgkrx
How did you install the proprietary fglrx driver? Check /var/log/Xorg.0.log to see if anything out of the ordinary shows up and, if you're not sure, attach it to a post here.
Adam
Hi, I've attached Xorg.0.log to my previous post. Is there something important? I see (EE) GLX error: Can not get required symbols.
I've installed fglrx with module assistant through: m-a a-i fglrx.
Previously I've added non-free and contrib modifiers in sources.list.
Downloading and installing ATI Catalyst™ Display Driver was actually the first attempt. It has ended with black screen and reboot while starting graphical environment. Then, I've booted into single-user mode and changed back xorg.conf.
When I'm running amdcccle I get the same error:
Code:
X Error: BadRequest (invalid request code or no such operation) 1
Extension: 144 (Uknown extension)
Minor opcode: 19 (Unknown request)
Resource id: 0x3b
amdcccle: ../../src/xcb_io.c:461: _XRead: Assertion `dpy->xcb->reply_data != 0' failed.
did you've tried sudo dpkg-reconfigure xserver-xorg or sudo dpkg-reconfigure -phigh xserver-xorg to reset xorg.conf to it's original state. And after that do that module-assistant thingy
To be honest I've managed to install the ati drivers downloaded from their site only once, and it's a pretty tricky thing 'cause it's far from being as easy as it might seam at a first glance, after that I just sticked installing them via sources with module assistant, it never fails, not to mention this way you can upgrade your drivers easily.
Ok, I'll try that now. Should I somehow remove all fglrx stuff already installed before reinstalling?
Cause sudo apt-get install fglrx-driver fglrx-kernel-src module-assistant gives
Code:
fglrx-driver is already the newest version.
fglrx-kernel-src is already the newest version.
module-assistant is already the newest version.
sudo m-a a-i fglrx gives
Code:
...
/usr/src/fglrx-kernel-2.6.26-2-686_8-12-4+2.6.26-25lenny1_i386.deb already
exists, not rebuilding!
(however, you could use the -f switch to ignore it)
dpkg -Ei /usr/src/fglrx-kernel-2.6.26-2-686_8-12-4+2.6.26-25lenny1_i386.deb
Version 1:8-12-4+2.6.26-25lenny1 of fglrx-kernel-2.6.26-2-686 already installed, skipping.
...
Your log file actually looks good, aside from that one error. If I had to guess, I'd say that you are still somehow linking against the libGL.so.1.2 file from mesa instead of the correct fglrx one.
What is the output of 'ldd /usr/bin/glxinfo | grep libGL.so'?
It's just showing that the run-time linker is grabbing /usr/lib/libGL.so.1. That's not unusual, and pretty much what I expected. Now we need to figure out if /usr/lib/libGL.so.1 is from Mesa or fglrx.
What's the output of 'ldd /usr/lib/libGL.so.1 | grep drm'?
Ok, I'll try that now. Should I somehow remove all fglrx stuff already installed before reinstalling?
what module-assistant does it's that it builds a fglrx module for your kernel, so at this point if you already did that and no error was encountered it should be alright. Just reset the xorg-server to it's original state and see how it goes. Sure it would be wise to remove the existing module with apt-get purge fglrx-kernel-2.6.26-2-686 & rm -f -r /usr/src/fglrx-kernel-2.6.26-2-686_8-12-4+2.6.26-25lenny1_i386.deb and after you reconfigured xorg-server build the module kernel again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.