LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   fglrx / radeon driver installation troubles on Debian Lenny with Radeon HD 2600 (https://www.linuxquestions.org/questions/linux-hardware-18/fglrx-radeon-driver-installation-troubles-on-debian-lenny-with-radeon-hd-2600-a-834977/)

von.hake 09-28-2010 11:49 AM

fglrx / radeon driver installation troubles on Debian Lenny with Radeon HD 2600
 
1 Attachment(s)
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 ;).

Here is my xorg.conf

Code:

Section "ServerLayout"
        Identifier    "aticonfig Layout"
        Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
EndSection

Section "InputDevice"
[...]
EndSection

Section "Monitor"
        Identifier  "aticonfig-Monitor[0]-0"
        HorizSync    30.0 - 82.0
        VertRefresh  50.0 - 75.0
        Option      "VendorName" "ATI Proprietary Driver"
        Option      "ModelName" "ViewSonic VA2226w"
        Option      "DPMS" "true"
EndSection

Section "Device"
        Identifier  "aticonfig-Device[0]-0"
        Driver      "fglrx"
        Option      "EnableMonitor" "crt1,lvds,tv,tmds1,crt2,tmds2,cv,tmds2i"
        BusID      "PCI:1:0:0"
EndSection

Section "Screen"
        Identifier "aticonfig-Screen[0]-0"
        Device    "aticonfig-Device[0]-0"
        Monitor    "aticonfig-Monitor[0]-0"
        DefaultDepth    24
        SubSection "Display"
                Viewport  0 0
                Depth    24
                Modes    "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "720x400" "640x480"
        EndSubSection
EndSection

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!

rcbrgs 09-28-2010 12:33 PM

Hi!

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.

Cheers,
Renato.

adamk75 09-28-2010 05:56 PM

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

Tux Rules 09-28-2010 06:53 PM

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

Tux Rules 09-28-2010 06:53 PM

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

rcbrgs 09-28-2010 07:43 PM

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.

Tux Rules 09-28-2010 09:24 PM

Quote:

Originally Posted by rcbrgs (Post 4111987)
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

von.hake 09-29-2010 03:53 AM

Quote:

Originally Posted by adamk75 (Post 4111945)
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.


Tux Rules 09-29-2010 06:32 AM

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.

von.hake 09-29-2010 07:09 AM

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.
...


adamk75 09-29-2010 07:25 AM

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'?

Adam

von.hake 09-29-2010 07:46 AM

Thank you, Adam. This is the output: libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ed9000). What does it stand for?

adamk75 09-29-2010 07:54 AM

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'?

Adam

von.hake 09-29-2010 08:22 AM

Quote:

Originally Posted by adamk75 (Post 4112528)
What's the output of 'ldd /usr/lib/libGL.so.1 | grep drm'?

The output is empty. When not adding | grep drm, it is:
Code:

        linux-gate.so.1 =>  (0xb7f4e000)
        libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb7e8f000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xb7e81000)
        libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7e5a000)
        libgcc_s.so.1 => /opt/gcc/lib/libgcc_s.so.1 (0xb7e4f000)
        libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7cf4000)
        libdl.so.2 => /lib/i686/cmov/libdl.so.2 (0xb7cf0000)
        /lib/ld-linux.so.2 (0xb7f4f000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xb7c01000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xb7bfe000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xb7bfb000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xb7be3000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb7bde000)


Tux Rules 09-29-2010 08:23 AM

Quote:

Originally Posted by von.hake (Post 4112480)
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.


All times are GMT -5. The time now is 05:29 AM.