Results 1 to 2 of 2

Thread: Fedora 15 -- Successful build of ati 12.4 driver with simple kernel file edit

  1. #1
    Join Date
    May 2012
    Posts
    1

    Smile Fedora 15 -- Successful build of ati 12.4 driver with simple kernel file edit

    I was having a great deal of difficulty installing official ati drivers from amd for many versions due to install failures.
    Today I carefully read the /usr/share/ati/flgrx-install.log file which reported a compile error in one of the modules.

    I managed to fix the problem with a very simple edit that I thought may be useful to others.
    If your failed installation log file indicates an error due to

    called object '2' is not a function
    in /usr/src/kernels/2.6.43.2-6.fc15.x86_64/arch/x86/include/asm/uaccess_64.h then there is a very easy fix. Similar for
    other fedora releases should also hold true.

    1) cd /usr/src/kernels/2.6.43.2-6.fc15.x86_64/arch/x86/include/asm
    (or to whatever release version you currently are using)

    2a) cp uaccess_64.h uaccess_64.h-

    2b) (2a) was for safety in case you need to go back.

    3) edit uaccess_64.h with your favorite editor to find the line indicated in /usr/share/ati/flgrx-install.log (line 57 for me) and delete the line that begins with "WARN". Thus

    Code:
    #ifdef CONFIG_DEBUG_VM
            else
                    WARN(1, "Buffer overflow detected!\n");
    #endif
    should look like

    Code:
    #ifdef CONFIG_DEBUG_VM
            else
                    
    #endif

    4) In the previous step you have deleted a bit of code that is supposed to write a warning message to standard out if there is a buffer overflow; but there is something wrong with the syntax which I could not figure out from the man page. Notwithstanding, deleting is not dangerous since it is just a printed warning message.

    5) Now go back to the directory where you have the amd driver and try to re-install your amd driver:

    ./amd-driver-installer-12-4-x86.x86_64.run

    This worked perfectly for me. Hope it is helpful for other. -sg

  2. #2
    Join Date
    May 2012
    Posts
    1

    Default

    How are the drivers performing,good enough for doing some gaming,im looking for a good linux distro for my 5770,is Fedora good for my graphic card?

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
  •