FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    Join Date
    Jun 2005
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Smile Yet another howto about ATI driver on FC5

    First I should say this only works on ix86 architectures. I actually installed x86_64 edition in the first place. But after days of pain of not being able to get the ati driver to work, I wiped out the system and installed the i386 version. I mainly followed the steps in this thread:
    http://forums.fedoraforum.org/showthread.php?t=100136

    But there were some problems came up and I think you guys may encounter those too.

    (1)Update the kernel
    download development kernel from here:
    http://people.redhat.com/davej/kerne...5/RPMS.kernel/

    I'm using kernel-2.6.16-1.2074_FC5.i686.rpm. To complie the driver, you'll also need the kernel-devel-* package.

    Install the too packages:
    rpm -ivh filename.rpm
    Reboot using the new kernel.

    (2)Complie the kernel module
    download the fglrx-kmod source rpm package from here:
    http://rpm.livna.org/fedora/testing/5/SRPMS/
    Install the package:

    rpm -ivh fglrx-kmod-8.23.7-3.2.6.16_1.2069_FC5.src.rpm

    Goto /usr/src/redhat/SPECS

    Change the following line in the file 'fglrx-kmod.spec'
    %{!?kvariants: %define kvariants %{?buildup:""} %{?buildsmp:smp} %{?buildxen:xen0} %{?buildkdump:kdump}}
    to
    %define kvariants ""

    Build the binary by:
    rpmbuild -bb --target `uname -m` fglrx-kmod.spec

    If it is successful, you'll have some packages in /usr/src/redhat/RPMS/ix86 (x denotes 3, 5 or 6)

    (3)download the ati driver package file 'xorg-x11-drv-fglrx-8.23.7-2.lvn5.i386.rpm' from here:
    http://rpm.livna.org/fedora/testing/5/i386/

    You may want to download the source package from the link in step (2) and recomplie. But I found the binary package from livna worked for me.

    (4)Install the packages
    Put the two rpm packages 'kmod-fglrx-8.23.7-3.2.6.16_1.2074_FC5.i686.rpm' and 'xorg-x11-drv-fglrx-8.23.7-2.lvn5.i386.rpm' in one directory. Now if you are using the radeon driver of xorg do the following before you install the package:
    su -c '/sbin/modprobe -r radeon'
    to unload the radeon module because if I don't do this I'll get an error saying:

    FATAL: Error inserting fglrx (/lib/modules/2.6.16_1.2074_FC5/kernel/fglrx/fglrx.ko): Operation not permitted.

    Also if you try to install the kmod-fglrx alone you will get a dependence error saying:
    fglrx-kmod-common = 8.23.7 is needed by kmod-fglrx-*.

    In fact fglrx-kmod-common IS xorg-x11-drv-fglrx. I don't know why people give different names to it.

    No in the directory you have those two packages do
    rpm -ivh *.rpm

    Reboot and it'll work.
    I'm uinsg ATI x700 pro and my glxgears gives 5000 FPS.

    Good luck!
    Last edited by qinhan; 26th March 2006 at 02:34 AM.

  2. #2
    anarchist_penn Guest
    great work dude..worked like a charm. Thaks a lot

  3. #3
    aquanim Guest
    Everything worked out perfectly
    but when i run glxgears i get this error !! whyyyyyyyyyyy

    X11]# glxgears
    glxgears: error while loading shared libraries: /usr/lib/ati-fglrx/libGL.so.1: cannot restore segment prot after reloc: Permission denied

  4. #4
    sairuk Guest
    Quote Originally Posted by aquanim
    X11]# glxgears
    glxgears: error while loading shared libraries: /usr/lib/ati-fglrx/libGL.so.1: cannot restore segment prot after reloc: Permission denied
    Menu -> Administration -> Security Level & Firewall -> Select the SELinux tab -> open Modify SELinux Policy -> Compatibility -> Check Allow use of shared libraries with Text Relocation

    press ok and all should be well.

    ... only been using linux for 24hrs, so i may be wrong but thats all i did to get past that error and beats turning enforcing mode off completely.

  5. #5
    aquanim Guest
    WOW 10x ! tha completes the guide !

    perfect !!!!!!!!!!!

    19077 frames in 5.0 seconds = 3815.289 FPS
    19772 frames in 5.0 seconds = 3954.374 FPS
    19510 frames in 5.0 seconds = 3901.910 FPS
    19274 frames in 5.0 seconds = 3854.621 FPS
    very nice ! 10x you guys !!!
    Last edited by aquanim; 26th March 2006 at 11:32 AM.

  6. #6
    littlepig_sun Guest
    Could it be successful? I saw the error below on my machine:

    [root@hogpen SPECS]# rpmbuild -bb --target `uname -m` fglrx-kmod.spec
    Building target platforms: i686
    Building for target i686
    error: Failed build dependencies:
    kernel-devel-i686 = 2.6.16-1.2069_FC5 is needed by fglrx-kmod-8.23.7-3.2.6.16_1.2069_FC5.i686
    [root@hogpen SPECS]# uname -a
    Linux hogpen.cs.vu.nl 2.6.16-1.2074_FC5 #1 Fri Mar 24 18:59:51 EST 2006 i686 i686 i386 GNU/Linux
    [root@hogpen SPECS]#

    I used the kernel you mentioned 2.6.16-1.2074_FC5. How did you solve this problem?
    Thank you very much.

  7. #7
    littlepig_sun Guest
    Solved it. Another step should be done:

    change the kernel version into 2.6.16-1.2074_FC5 in fglrx-kmod.spec file

  8. #8
    luismmorales Guest
    i fallow all the steps for this but i get horrible fps in glxgears 200 300 with an x600 256mb.

    when i run glxinfo with debug i get this

    Code:
    name of display: :0.0
    libGL: XF86DRIGetClientDriverName: 8.23.7 fglrx (screen 0)
    libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so
    libGL error: dlopen /usr/lib/dri/fglrx_dri.so failed (/usr/lib/dri/fglrx_dri.so: undefined symbol: __glXFindDRIScreen)
    libGL error: unable to find driver: fglrx_dri.so
    display: :0  screen: 0
    direct rendering: No
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
    first i got an error that gflrx wasent being found in that dir so i make a link to it to the place we was looking but them i got that other error and i cant find a way to enable direct rendering

    P.D using the 2074 kernel

  9. #9
    theedge981 Guest

    re:ati how to

    All,

    I followed these instructions to the "t" and I'm still having problems. Actually the instructions were great and everything installed properly w/o any errors, but I'm still not able to use the "fglrx" driver. When I change my xorg.conf file to use "fglrx" instead of "vesa" or "ati" (which is what I have in there at the moment), I restart X and get an error that no such device exists. Thinking I had to load it into the kernel, I did a `modprobe fglrx`but got

    FATAL: Error inserting fglrx (/lib/modules/2.6.16-1.2074_FC5/kernel/drivers/video/fglrx.ko): No such device

    Even running the aticonfig problem, which changed my xorg.conf to include the fglrx driver, didn't do anything.

    What else do I need to do to get it to work? It seems that xorg.conf is looking in the /usr/lib/xorg/modules/drivers directory to find it's drivers, is this correct? I do have a /usr/lib/xorg/modules/dri directory which includes 2 files (atiogl_a_dri.so fglrx_dri.so
    ) - I even tried copying these files to the drivers directory, but that didn't work

    Any thoughts?

    Thanks!

    Dan

  10. #10
    theedge981 Guest
    All,

    I should have mentioned this before, but I did some research on that error message and most of what I found was that people were getting this when they physically didn't have an ATI card. I do have an ATI Radeon 7000, I assume I should be able to load the fglrx module? What else can I try in the meantime? Vesa is slowwwwwwwwwwwwww and I can't use my tv card...

  11. #11
    theedge981 Guest
    Update: Looked and it appears that after I installed the packages, I have a fglrx_drv.so file, but when I change my xorg.conf file around to use fglrx - I get an EE No devices detected message. What's that mean? This worked in FC3 so I know the card (Radeon 7000 is supported) - help!

    DL

  12. #12
    Join Date
    Jun 2005
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No, Radeon 7000 is not supported by the fglrx driver. See here for supported chips:
    https://a248.e.akamai.net/f/674/9206...ux_8.23.7.html

  13. #13
    rpeer Guest

    Question

    Quote Originally Posted by littlepig_sun
    Solved it. Another step should be done:

    change the kernel version into 2.6.16-1.2074_FC5 in fglrx-kmod.spec file

    I'm just hanging here ... can anybody offer a more detailed hint how to proceed
    kernel rebuild worked just fine and boot also - 2.6.16-1.2080_FC5smp
    (yes and I did put the 2080 in spec file )

  14. #14
    theedge981 Guest
    If the fglrx driver doesn't support the Radeon 7000, and the radeon driver shipped with FC5 has problems and doesn't work properly, what other options do I have to get my card working? Are there any plans to update the radeon driver that ships w/ FC5? The radeon driver in FC3 seemed to work just fine, any way I can install that version of the driver instead of the current version?

  15. #15
    JohnAvon Guest
    Thank you!
    I will try it!

Page 1 of 2 12 LastLast

Similar Threads

  1. HowTo ATI Driver on AMD 64 PCiE (Notebook)
    By PulsingBrain in forum Hardware
    Replies: 1
    Last Post: 18th January 2006, 11:25 PM
  2. ATI Driver 8.12.10 with kernel 2.6.11 HOWTO
    By seb9898 in forum Guides & Solutions (Not For Questions)
    Replies: 0
    Last Post: 3rd May 2005, 05:14 PM
  3. HOWTO ATI Driver on FC2
    By sutie in forum Guides & Solutions (Not For Questions)
    Replies: 3
    Last Post: 29th January 2005, 06:01 AM
  4. howto create fc2 driver disk
    By ursrau in forum Hardware
    Replies: 1
    Last Post: 1st September 2004, 02:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •