Phoronix Forums  

Go Back   Phoronix Forums > Linux Graphics / X.Org Drivers > AMD/ATI Linux

AMD/ATI Linux Technical support and discussion of the ATI/AMD proprietary Linux driver.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2006, 11:00 PM
Alex Alex is offline
Junior Member
 
Join Date: Nov 2006
Posts: 2
Default Trouble with ATi Radeon X1300 driver installation

Hi,
I am new user of Fedora Core 6 and I encountered some problems with ATi Radeon X1300 driver installation. When I installed FC6, my video card was detected correctly. But I can not activate 3D effect. So I followed the Blog "ATI Fedora Core 6 How-To" to install the driver.

After I installed libstdc++.so.5 and qt-devel, ATI-fglrx-8.29.6-1.fc6.i386.rpm, ATI-fglrx-control-panel-8.29.6-1.fc6.i386.rpm, ATI-fglrx-devel-8.29.6-1.fc6.i386.rpm, and kernel-module-ATI-fglrx-KERNEL-VERSION.fc6-8.29.6-1.fc6.i386.rpm can be generated correctly in the working directory. I use the ffollowing command to install these RPMS.

rpm -ivh *.rpm

But when used command "rpm -q *.rpm" to query the installation, the console displayed these RPMS were not installed..


And Mesa is always used after I added the following conten in etc/X11/xorg.conf

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "aticonfig-Screen[0]" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
EndSection

Section "Module"
Load "dri"
Load "glx"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Monitor"
Identifier "aticonfig-Monitor[0]"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
EndSection



Section "Device"
Identifier "aticonfig-Device[0]"
Driver "fglrx"
EndSection


Section "Screen"
Identifier "aticonfig-Screen[0]"
Device "aticonfig-Device[0]"
Monitor "aticonfig-Monitor[0]"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Disable"
EndSection

The following is the information of ATI Control Panel

Display Adapter
Card Name: Radeon X1300 Series(RV515 7164)
Memory Size: 256M
Bios Version: Unkown
Display Driver
Driver Version 8.29.06
OpenGL:
Vendor: Mesa project www.mesa3d.org
Version: 1.2(Mesa 6.5.1)
Renderer:
Mesa GLX indirect


Thanks for any help!
Reply With Quote
  #2  
Old 11-12-2006, 08:24 AM
Michael Michael is online now
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,561
Default

Did you try installing 8.30.3? What does your /var/log/Xorg.0.log show in regards to any errors of fglrx failing?
Reply With Quote
  #3  
Old 11-15-2006, 10:55 AM
foxtseng foxtseng is offline
Junior Member
 
Join Date: Nov 2006
Posts: 22
Default

Hi,

My machine is a Dell E1505 laptop,
Duo CPU, 1G Mem, ATI Mobility x1400 128M.
And I am trying to run Fedora6 on it.

I got similar trouble as Alex. First, I cannot fully install the ati-driver-installer-8.29.6.run because of the flgrxcontrolpanel error, even with symbolic links created. (Although I doubt I don't have to create any symbolic links, since that seems related to 64bit machines.) Then I tried to extract the src and make. I got the following error:
------
fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -l
GL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf8
6vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1
------
Because I didn't see anything obviouslt wrong with the library files in /usr/lib/qt-3.3/lib , so, I guess maybe it's because there are some library files missed in the directory /usr/X11R6/lib (without confirm)

Later, after FC6 kernel is updated to 2.6.18-1.2849.fc6, I "successfully" yum installed,
kmod-fglrx.i686
xorg-x11-drv-fglrx.i386
xorg-x11-drv-fglrx-devel.i386
which allows me to open graphic ATI control panel.

But the OpenGL vendor is still Mesa.
------
OpenGL vendor string: Mesa project: www.mesa3d.org
OpenGL renderer string: Mesa GLX Indirect
OpenGL version string: 1.2 (1.5 Mesa 6.5.1)
------
server glx vendor string: SGI
server glx version string: 1.2
..
client glx vendor string: SGI
client glx version string: 1.4
------

I thus appended the following section after my /etc/X11/xorg.conf
------
Section "Extensions"
Option "Composite" "Disable"
EndSection
------

But no difference.
I am wondering if there is anything missing in /usr/X11R6/lib ?
------
$ ll /usr/X11R6/lib/modules/dri/
total 8
lrwxrwxrwx 1 root root 41 Nov 14 14:05 atiogl_a_dri.so -> /usr/lib/xorg/modules/dri/atiogl_a_dri.so
lrwxrwxrwx 1 root root 38 Nov 14 14:05 fglrx_dri.so -> /usr/lib/xorg/modules/dri/fglrx_dri.so
------

Could anyone give me a hint? Thanks.

Last edited by foxtseng; 11-15-2006 at 11:01 AM.
Reply With Quote
  #4  
Old 11-15-2006, 10:59 AM
Michael Michael is online now
Phoronix
 
Join Date: Jun 2006
Location: United States
Posts: 4,561
Default

What does your /var/log/Xorg.0.log show when it comes to errors?
Reply With Quote
  #5  
Old 11-15-2006, 11:15 AM
foxtseng foxtseng is offline
Junior Member
 
Join Date: Nov 2006
Posts: 22
Default

Quote:
Originally Posted by Michael View Post
What does your /var/log/Xorg.0.log show when it comes to errors?
Sorry. I forgot to post this.
------
$ grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: cannot open shared object file: No such file or directory)
(EE) AIGLX: reverting to software rendering
------
$ grep WW /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(WW) No FontPath specified. Using compiled-in default.
(WW) fglrx(0): board is an unknown third party board, chipset is supported
(WW) <default pointer>: No Device specified, looking for one...
------
Reply With Quote
  #6  
Old 11-15-2006, 11:20 AM
foxtseng foxtseng is offline
Junior Member
 
Join Date: Nov 2006
Posts: 22
Default

And I just made a symbolic link to /usr/lib/xorg/modules/dri/fglrx_dri.so
and restart Xorg, and now I get this,

$ grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) AIGLX error: dlopen of /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)
(EE) AIGLX: reverting to software rendering
Reply With Quote
  #7  
Old 11-17-2006, 09:54 AM
amenzix amenzix is offline
Junior Member
 
Join Date: Nov 2006
Posts: 10
Default

First of all, to Alex, rpm -q *.rpm won't work, no matter what because a package's name isn't "foo-bar.rpm", it is "foo-bar", without the extension.
So it's:
$ rpm -ivh ATI-fglrx-8.29.6-1.fc6.i386.rpm // to install
$ rpm -q ATI-fglrx-8.29.6-1.fc6.i386 // to query the package

I'm not sure about your problem, foxtseng, but I ls'ed /usr/lib/dri, and I also have atiogl_a_dri.so in there, you should probably also link that one, since __glXFindDRIScreen sounds like a OpenGL function symbol. The files in /usr/X11R6/lib/ shouldn't matter, since Xorg 6.9 (if I'm not mistaken), that path has been deprecated (the new one is /usr/lib/xorg, which makes more sense).

I'm guessing there was a problem with the install, not exactly sure. Why haven't you generated packages for you distribution with the ATI installer?
$ ./ati-driver-installer-8.30.3.run --buildpkg <your_distro>


I hope this helped!

Last edited by amenzix; 11-17-2006 at 09:58 AM. Reason: (added the last paragraph)
Reply With Quote
  #8  
Old 11-17-2006, 01:32 PM
foxtseng foxtseng is offline
Junior Member
 
Join Date: Nov 2006
Posts: 22
Default

Thank you, Amenzix,
I linked atiogl_a_dri.so from /usr/X11R6/lib/modules/dri/atiogl_a_dri.so
But no difference. Here are what in the lib now,
------
$ ls /usr/lib/dri/
atiogl_a_dri.so i810_dri.so i965_dri.so r128_dri.so r300_dri.so savage_dri.so unichrome_dri.so
fglrx_dri.so i915_dri.so mga_dri.so r200_dri.so radeon_dri.so tdfx_dri.so
------

In fact, I tried to
1. install driver by $ ./ati-driver-installer-8.30.3.run
2. generate rpm by $ ./ati-driver-installer-8.30.3.run --buildpkg FC6
3. extract src by $ ./ati-driver-installer-8.30.3.run --extract
then compliled them with error.
All failed because of fglrxcontrolpanel problem.
When I compiled the src, the following error message came out,
------
fireglcontrol.qt3.gcc4.1.1 -L/usr/lib/qt-3.3/lib -L/usr/X11R6/lib -lqt -lGLU -l
GL -lXmu -lICE -lSM -ldl -lXext -lX11 -lm -lXinerama -lXrender -lfreetype -lXxf8
6vm -L/usr/X11R6/lib -lXft
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [fireglcontrol.qt3.gcc4.1.1] Error 1
------

But I didn't see anything obviouslt wrong with the library files in /usr/lib/qt-3.3/lib
I checked my qt-3.3 by
$rpm -V qt-devel.i386 qt.i386

No error reported. Here are what in the qt-3.3 lib,
------
$ ls /usr/lib/qt-3.3/lib
libdesignercore.a libeditor.a libqassistantclient.a libqt-mt.prl libqt-mt.so.3 libqt-mt.so.3.3.7 libqui.so libqui.so.1.0
libdesignercore.prl libeditor.prl libqassistantclient.prl libqt-mt.so libqt-mt.so.3.3 libqui.prl libqui.so.1 libqui.so.1.0.0
------

Quote:
Originally Posted by amenzix View Post
First of all, to Alex, rpm -q *.rpm won't work, no matter what because a package's name isn't "foo-bar.rpm", it is "foo-bar", without the extension.
So it's:
$ rpm -ivh ATI-fglrx-8.29.6-1.fc6.i386.rpm // to install
$ rpm -q ATI-fglrx-8.29.6-1.fc6.i386 // to query the package

I'm not sure about your problem, foxtseng, but I ls'ed /usr/lib/dri, and I also have atiogl_a_dri.so in there, you should probably also link that one, since __glXFindDRIScreen sounds like a OpenGL function symbol. The files in /usr/X11R6/lib/ shouldn't matter, since Xorg 6.9 (if I'm not mistaken), that path has been deprecated (the new one is /usr/lib/xorg, which makes more sense).

I'm guessing there was a problem with the install, not exactly sure. Why haven't you generated packages for you distribution with the ATI installer?
$ ./ati-driver-installer-8.30.3.run --buildpkg <your_distro>


I hope this helped!
Reply With Quote
  #9  
Old 11-17-2006, 02:22 PM
foxtseng foxtseng is offline
Junior Member
 
Join Date: Nov 2006
Posts: 22
Default

Hi everyone,

Good news. I fixed it. Here are what I have done,
---------
#find / -name libGL.so.1
/usr/lib/ati-fglrx/libGL.so.1
/usr/lib/fglrx/libGL.so.1
/usr/lib/libGL.so.1
/usr/lib/xorg/libGL.so.1

#ll `locate libGL.so.1`
lrwxrwxrwx 1 root root 12 Nov 14 14:05 /usr/lib/ati-fglrx/libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 642556 Oct 14 01:24 /usr/lib/ati-fglrx/libGL.so.1.2
lrwxrwxrwx 1 root root 25 Nov 16 01:02 /usr/lib/fglrx/libGL.so.1 -> ../ati-fglrx/libGL.so.1.2
lrwxrwxrwx 1 root root 12 Nov 9 21:30 /usr/lib/libGL.so.1 -> libGL.so.1.2
lrwxrwxrwx 1 root root 31 Nov 17 13:43 /usr/lib/libGL.so.1.2 -> /usr/lib/ati-fglrx/libGL.so.1.2
lrwxrwxrwx 1 root root 31 Nov 17 13:39 /usr/lib/xorg/libGL.so.1 -> libGL.so.1.2

#ll /usr/lib/libGL.so.1.2 /usr/lib/ati-fglrx/libGL.so.1.2
-rwxr-xr-x 1 root root 642556 Oct 14 01:24 /usr/lib/ati-fglrx/libGL.so.1.2
-rwxr-xr-x 1 root root 442144 Sep 30 17:53 /usr/lib/libGL.so.1.2
---------
So I found that the /usr/lib/libGL.so.1.2 is actually not the ATI's libGL.so
Then, I created a symbolic link, and everything is fine now.
Thanks for help from all of you, especially Michael and Amenzix.
Reply With Quote
  #10  
Old 11-18-2006, 09:47 PM
amma amma is offline
Junior Member
 
Join Date: Nov 2006
Posts: 1
Default

Hi,
can you tell me what exactly you had to do,
I don't really understand what you mean with creating symbolic links and so forth

thanks a bunch
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 08:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2009 by Phoronix Media.