<---- template headericclude ----->
ATI driver 3.9.0 on FC2 with kernel 2.6.6
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 13 12311 ... LastLast
Results 1 to 15 of 186
  1. #1
    micha Guest

    ATI driver 3.9.0 on FC2 with kernel 2.6.6

    Based on the previous how-to for ATI driver on FC2, here is a new how-to for the ATI driver 3.9.0 installation on FC2 with the new kernel 2.6.6. First of all, make sure the "kernel-sourcecode" package is installed.

    1) Download the rpm from ATI Drivers version 3.9.0 for XFree 4.3.0:
    http://ati.com/support/drivers/linux...8&submit=GO%21

    2) Download the Fedora Core 2 patch in attached file, and copy it in /tmp. This patch is a compilation of FC2 and mm patches.

    3) Go to a true console mode (e.g. CTRL+ALT+F1).

    4) Logon as root.

    5) Shutdown Xwindow:
    Code:
    init 3
    6) Install ATI driver:
    Code:
    cd /tmp
    rpm -Uvh --force fglrx-4.3.0-3.9.0.i386.rpm
    7) Unzip the patch:
    Code:
    gunzip fglrx-3.9.0-fc2-2.6.6.patch.gz
    8) Go to the ATI driver source directory, and apply the patch:
    Code:
    cd /lib/modules/fglrx/build_mod/
    patch -p1 < /tmp/fglrx-3.9.0-fc2-2.6.6.patch
    9) Compile and install the ATI driver:
    Code:
    sh make.sh
    cd ..
    sh make_install.sh
    Note if you are using a SMP kernel, you have to add an additionnal link before compiling the ATI driver:
    Code:
    ln -sf /usr/src/linux-2.6.6-1.435 /usr/src/linux-2.6.6-1.435smp
    You'll have to adapt the kernel version number according to yours.


    10) Config the drivers:
    Code:
    mv /etc/X11/xorg.conf /etc/X11/xorg.conf.org
    fglrxconfig
    ln -sf /etc/X11/XF86Config-4 /etc/X11/xorg.conf
    Now you have to edit the new xorg.conf file ; you can use nano , vi, mc, or any other text editor in console mode.
    Copy the mouse, keyboard, and monitor sections of the /etc/X11/xorg.conf.org file into the new /etc/X11/xorg.conf file.
    Then you need to put
    Code:
    Option      "Xkbrules"   "xorg"
    in the keyboard section of the xorg.conf file.
    Finally, to correct a little Xv problem you need to put
    Code:
    Option "XaaNoOffscreenPixmaps"
    in the device section (i.e. the ATI driver part).


    11) Restart Xwindow
    Code:
    init 5
    Everything should work fine. Any feedback on this how-to is appreciated.


    --Micha
    Attached Files Attached Files
    Last edited by micha; 19th July 2004 at 08:48 AM.

  2. #2
    pamindic Guest

    Re: ATI driver 3.9.0 on FC2 with kernel 2.6.6

    Originally posted by micha
    Based on the previous how-to for ATI driver on FC2, here is a new how-to for the ATI driver 3.9.0 installation on FC2 with the new kernel 2.6.6. First of all, make sure the "kernel-sourcecode" package is installed.

    1) Download the rpm from ATI Drivers version 3.9.0 for XFree 4.3.0:
    http://ati.com/support/drivers/linux...8&submit=GO%21

    > ok

    2) Download the Fedora Core 2 patch in attached file, and copy it in /tmp. This patch is a compilation of FC2, regparm and mm patches.

    > ok

    3) Go to a true console mode (e.g. CTRL+ALT+F1).

    > ok

    4) Logon as root.

    > ok

    5) Shutdown Xwindow:
    Code:
    init 3
    > ok

    6) Install ATI driver:
    Code:
    cd /tmp
    rpm -Uvh --force fglrx-4.3.0-3.9.0.i386.rpm
    > I get error message :
    "XFree86 drm includes at /lib/modules/2.6.6-1.427/builld/include/..drivers/char/drm do not fit this driver.
    This driver is designed..... X4.1.0 or higher.
    You can.................. kernel 2.4.8 or higher.

    7) Unzip the patch:
    Code:
    gunzip fglrx-3.9.0-fc2-2.6.6.patch.gz
    > ok

    8) Go the ATI driver source directory, and apply the patch:
    Code:
    cd /lib/modules/fglrx/build_mod/
    patch -p1 < /tmp/fglrx-3.9.0-fc2-2.6.6.patch
    Some errors occur, just discard them.

    > Yes. Hunks #3 and #8 fail.

    9) Compile and install the ATI driver:
    Code:
    sh make.sh
    
    >  I get ame error as in 6) above.
    
    cd ..
    sh make_install.sh
    > I get error "Tailored kernel module for fglrx not present in your system....blah..blah.. failed.


    10) Config the drivers:
    Code:
    mv /etc/X11/xorg.conf /etc/X11/xorg.conf.org
    fglrxconfig

    11) Restart Xwindow
    Code:
    init 5
    Everything should work fine. Any feedback on this how-to would appreciated.

    --Micha

    See above for my results when following this guide.

    Any ideas?
    Last edited by pamindic; 15th June 2004 at 02:02 AM.

  3. #3
    micha Guest
    The error in step 6 is normal, but the error in step 9 is not (since the patch is made to correct that). Could you post the complete error message in order to see what's wrong ?

    --Micha

  4. #4
    Join Date
    May 2004
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    pamindic look in this thread

    http://rage3d.com/board/showthread.p...eadid=33763905

    The two patches you need are there and I got it patched without those "hunk failed" messages.

  5. #5
    micha Guest
    I've updated the patch in the first post. There shouldn't be any "hunk failed" present anymore. I compiled the fc2 path (the one Heon2574 mentioned above) and the mm patch.

    --Micha
    Last edited by micha; 15th June 2004 at 03:58 AM.

  6. #6
    pamindic Guest
    Originally posted by micha
    The error in step 6 is normal, but the error in step 9 is not (since the patch is made to correct that). Could you post the complete error message in order to see what's wrong ?

    --Micha

    Oops - I thought I had kernel-sourcecode loaded, but apparently not.

    That's better, got it working fine now.

    Micha, your how-to's good. You might add the symbolic link stuff that's needed at the end, just to make it complete.

    There are so many newbees (like me) tearing their hair out with this ATI stuff. A complete foolproof how-to is a great contribution.

    Thanks
    A McMahon

  7. #7
    micha Guest
    You don't need the links. You just need to put
    Code:
    Option      "Xkbrules"   "xorg"
    in the keyboard section of the xorg.conf file.

    --Micha
    Last edited by micha; 15th June 2004 at 05:35 AM.

  8. #8
    Join Date
    May 2004
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    new kernel

    kernel 2.6.6-1.435 installed and running.

    upon booting the new kernel, the ati drivers didn't work so I did:

    Code:
    $ cd /lib/modules/fglrx/build_mod
    $ sh make.sh
    $ cd ..
    $ sh make_install.sh
    and restart X

  9. #9
    pamindic Guest
    Originally posted by micha
    You don't need the links. You just need to put
    Code:
    Option      "Xkbrules"   "xorg"
    in the keyboard section of the xorg.conf file.

    --Micha
    Ah - that works fine for keyboard, and the patch now works a treat. But I still seem to need the symbolic link:

    cd /etc/X11
    ln -sf XF86Config-4 xorg.conf

    regards

  10. #10
    krystof Guest
    I own an ATI Radeon 9800.
    I got problems few weeks ago when I tried to install Fedora Core 2 Test 3 on my computer with this video card because Linux used my ATI card with Mesa drivers; no 3D available, only 2D.
    I'd just want to say that micha's procedure work ( I found similar installation on the web at that time ).
    Try glxinfo to see which driver is used. It should be something like this:
    OpenGL Vendor String: ATI Technologies Inc,
    OpenGL Renderer String: ATI Radeon 9xxx .

    If Mesa appears, not 3D.


  11. #11
    Join Date
    May 2004
    Posts
    206
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by pamindic
    But I still seem to need the symbolic link:

    cd /etc/X11
    ln -sf XF86Config-4 xorg.conf

    regards
    You'll always need to sym link that since the ati drivers dont save the configuration file as xorg.conf; they're saved as XF86Config-4. Until of course ati updates the driver to make it 100% compatible with Xorg.

  12. #12
    astreyon Guest
    i didd all that's said here, driver installed succesfully but it seemed to be somehow very slow on my laptop:
    centrino 1.4
    512 meg
    radeon mobility 9600
    fedora core 2
    kernel 2.6.6.-1.435
    driver ATI 3.9 for XFREE 4.3

    thanks for your help

  13. #13
    movery Guest
    Originally posted by pamindic
    Oops - I thought I had kernel-sourcecode loaded, but apparently not.

    That's better, got it working fine now.

    Micha, your how-to's good. You might add the symbolic link stuff that's needed at the end, just to make it complete.

    There are so many newbees (like me) tearing their hair out with this ATI stuff. A complete foolproof how-to is a great contribution.

    Thanks
    A McMahon
    Hi,

    I have followed the steps in the how to but get the same message as you did in step 9. Can you please explain exactly how you "loaded" the kernel source code?!

    I am also tearing my hair out with this Its a real pain in the arse...

    Thanks,

    Matt

  14. #14
    micha Guest
    You have to install the kernel-sourcecode package. You can do
    Code:
    yum install kernel-sourcecode
    or
    Code:
    apt-get install kernel-sourcecode
    If you don't know how-to set up yum or apt, you can find a lot of threads about this topic on this forum.

    --Micha

  15. #15
    movery Guest
    Originally posted by micha
    You have to install the kernel-sourcecode package. You can do
    Code:
    yum install kernel-sourcecode
    or
    Code:
    apt-get install kernel-sourcecode
    If you don't know how-to set up yum or apt, you can find a lot of threads about this topic on this forum.

    --Micha
    Great, thanks. I have now installed the sourcecode for the kernel using yum, dropped down to run level 3 as root and picked up where I left off with the "sh make.sh" command. However, now I get this:

    ATI module generator V 2.0
    ==========================
    initializing...
    Error:
    XFree86 drm includes at /lib/modules/2.6.6-1.434/build/include/../drivers/char/drm do not fit this driver.
    This driver is designed to only work with X4.1.0 or higher.
    You can match this by getting Linux kernel 2.4.8 or higher.


    Any ideas?

Page 1 of 13 12311 ... LastLast

Similar Threads

  1. NVidia driver: kernel driver compilation
    By DJ Wings in forum Hardware
    Replies: 21
    Last Post: 23rd November 2006, 06:15 PM

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
  •  
[[template footer(Guest)]]