LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
LinkBack Search this Thread
Old 09-28-2010, 11:49 AM   #1
von.hake
LQ Newbie
 
Registered: Sep 2010
Location: Ukraine
Distribution: Debian Squeeze
Posts: 13

Rep: Reputation: 0
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 .

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!
Attached Files
File Type: log Xorg.0.log (94.0 KB, 4 views)

Last edited by von.hake; 09-29-2010 at 03:39 AM. Reason: add Xorg.0.log
 
Old 09-28-2010, 12:33 PM   #2
rcbrgs
Member
 
Registered: Aug 2010
Posts: 30

Rep: Reputation: 14
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.
 
Old 09-28-2010, 05:56 PM   #3
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,087

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 09-28-2010, 06:53 PM   #4
Tux Rules
Member
 
Registered: Feb 2009
Location: at my place
Distribution: Arch
Posts: 153

Rep: Reputation: 25
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
 
1 members found this post helpful.
Old 09-28-2010, 06:53 PM   #5
Tux Rules
Member
 
Registered: Feb 2009
Location: at my place
Distribution: Arch
Posts: 153

Rep: Reputation: 25
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
 
Old 09-28-2010, 07:43 PM   #6
rcbrgs
Member
 
Registered: Aug 2010
Posts: 30

Rep: Reputation: 14
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.
 
Old 09-28-2010, 09:24 PM   #7
Tux Rules
Member
 
Registered: Feb 2009
Location: at my place
Distribution: Arch
Posts: 153

Rep: Reputation: 25
Quote:
Originally Posted by rcbrgs View Post
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

Last edited by Tux Rules; 09-28-2010 at 09:28 PM.
 
Old 09-29-2010, 03:53 AM   #8
von.hake
LQ Newbie
 
Registered: Sep 2010
Location: Ukraine
Distribution: Debian Squeeze
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
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.

Last edited by von.hake; 09-29-2010 at 04:00 AM.
 
Old 09-29-2010, 06:32 AM   #9
Tux Rules
Member
 
Registered: Feb 2009
Location: at my place
Distribution: Arch
Posts: 153

Rep: Reputation: 25
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.

Last edited by Tux Rules; 09-29-2010 at 06:53 AM.
 
1 members found this post helpful.
Old 09-29-2010, 07:09 AM   #10
von.hake
LQ Newbie
 
Registered: Sep 2010
Location: Ukraine
Distribution: Debian Squeeze
Posts: 13

Original Poster
Rep: Reputation: 0
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.
...

Last edited by von.hake; 09-29-2010 at 07:22 AM.
 
Old 09-29-2010, 07:25 AM   #11
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,087

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 09-29-2010, 07:46 AM   #12
von.hake
LQ Newbie
 
Registered: Sep 2010
Location: Ukraine
Distribution: Debian Squeeze
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you, Adam. This is the output: libGL.so.1 => /usr/lib/libGL.so.1 (0xb7ed9000). What does it stand for?
 
Old 09-29-2010, 07:54 AM   #13
adamk75
Senior Member
 
Registered: May 2006
Posts: 3,087

Rep: Reputation: 396Reputation: 396Reputation: 396Reputation: 396
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
 
Old 09-29-2010, 08:22 AM   #14
von.hake
LQ Newbie
 
Registered: Sep 2010
Location: Ukraine
Distribution: Debian Squeeze
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by adamk75 View Post
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)
 
Old 09-29-2010, 08:23 AM   #15
Tux Rules
Member
 
Registered: Feb 2009
Location: at my place
Distribution: Arch
Posts: 153

Rep: Reputation: 25
Quote:
Originally Posted by von.hake View Post
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.

Last edited by Tux Rules; 09-29-2010 at 09:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Radeon 2600 & RadeonHD driver & two monitors i92guboj Linux - Hardware 2 03-06-2009 02:28 AM
Problem of Radeon M300 with ATI fglrx Driver! shreks Linux - Hardware 1 02-11-2006 03:37 PM
fglrx-driver vs ATI kernel driver for ATI Radeon 9200 in Debian Debian_Poland Debian 3 02-01-2006 01:10 PM
Fedora core 2 vs. ATI's Radeon fglrx driver IgD Red Hat 0 03-14-2004 04:17 AM
I Need help to install fglrx driver for ATI Radeon 9600 reza_s Linux - Newbie 2 02-09-2004 10:38 AM


All times are GMT -5. The time now is 07:55 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration