Skip to content

April 28, 2011

9

Ubuntu 11.04 Natty with fglrx and 2.6.39

Natty (11.04) users can finally get fglrx playing nicely together with X.org 1.10. We can also make the latest driver work well with the 2.6.39 kernel.

Custom build procedure:

  1. Install the latest 2.6.39 kernel revision from Ubuntu Mainline or install the PPA.
  2. Download 64-bit 11.4.
  3. Extract the files from the package:
    sh ./ati-driver-installer-11-4-x86.x86_64.run --extract ati
  4. For 2.6.39 support, download this extra patch: 2.6.39_bkl.patch
  5. Check for Big Kernel Lock usage:
    cat /lib/modules/`uname -r`/build/.config | grep -c CONFIG_BKL=y
    If the result of this command is 0, then download no_bkl.patch as well.
  6. then apply them:
    cd ati; for i in ../*.patch; do patch -p1 < $i; done
  7. Build your new ati/fglrx deb packages:
    ./ati-installer.sh 8.841 --buildpkg Ubuntu/natty
  8. Install our newly created deb packages:
    sudo dpkg -i ../fglrx*.deb
  9. If your /etc/X11/xorg.conf is missing you will need to run:
    sudo aticonfig --initial
    and then reboot.

That newly created package should work for the entire 2.6.39 series.

9 Comments Post a comment
  1. nandinga
    Jun 28 2011

    Hi!

    A bit off topic but I was trying this in AVLinux and it failed. My kernel is 32bits but ATI’s web only gives me x86_64 drivers. It says “32-Bit packages must be installed for 64-Bit Linux drivers to install or work.” which I’m not sure how to interpret.

    My uname -a outputs:
    Linux localhost 2.6.39.1.avl.1 #1 SMP PREEMPT Thu Jun 2 23:59:52 EDT 2011 i686 GNU/Linux

    Any chance for us 32bit users?

    Thanks!

    Reply
  2. Jun 29 2011

    According to “bridgman” who works for AMD:

    “Looks like this might be a (well intentioned) over-reaction to a not-sufficiently-clear message on our web site. The issue here does seem to be the one I mentioned above — running 32-bit apps on a 64-bit system needs our 32-bit GL libs, and those in turn require 32-bit libs in the OS.

    You only need the 32bit libs if you’re running 32bit apps, that use opengl, like wine for example or google earth. If you don’t have those, there is no need to install the libs.”

    I hope that answers your question about the weird wording in ATI’s documentation. It should read something like this: “If you plan on using 32-bit applications then you need to also install 32-bit OS components to work with our 32-bit libraries.”

    As for the x86_32 drivers, I also did the search using just ‘x86’ and they sent me to the x86_64 download page. I can only assume that they ship a 32/64 bit package like Nvidia does and it tries to detect which platform you are running.

    You can always try to install the package and report back your results.

    Good luck!

    Reply
  3. nandinga
    Jul 8 2011

    Hey!!

    I’ve tried it again on a fresh install of AVLinux (Remastersys distro based on Debian) 32bits with 2.6.39 and it worked seamlessly 🙂

    I’ve done it like you’ve posted it on

    http://www.linuxquestions.org/questions/linux-desktop-74/ati-and-the-2-6-39-kernel-889546/

    with the ati driver version 11-6 (8.861). Note that the first command says 11-4 when all the rest is about 11-6.

    My past problem probably was related to some garbage from past experiments. It looks like the driver doesn’t uninstall correctly. Some dkms problems.

    Thanks for the effort!!

    Reply
  4. bjdent
    Jul 11 2011

    Thanks a bunch for this. Just used these settings to finally get fglrx (11.6 proprietary) working with Linux Mint Debian Edition’s latest 2.6.39 pae kernel, after busting my guts for ages elsewhere.

    Omitted .deb package creation, changed ati driver version to 8.861 (./ati-installer.sh 8.861 –install).

    Heck yes, back in business 🙂

    Reply
  5. Mak
    Jul 24 2011

    Did anyone get “Sorry, the package “fglrx” failed to install or upgrade.” Dang, I don’t want to restart. Also is this only for AMD based computers cause I have an Intel, running ATI Radeon HD 4850

    Reply
  6. Mak
    Jul 24 2011

    Finally got this error on that last command in this tutorial;

    Uninitialised file found, configuring.
    Fail to link to fglrx-libglx.so, please check whether driver is installed correctly
    Using /etc/X11/xorg.conf
    Saving back-up to /etc/X11/xorg.conf.original

    Reply
  7. Sep 24 2011

    Really nice,
    Thanks for this…

    Reply

Trackbacks & Pingbacks

  1. ATI and the 2.6.39 kernel
  2. System Saviour » Blog Archive » AMD Fusion E-350 – Debian Wheezy (testing) with Catalyst 11.5 drivers and VA-API support via XvBA - In a world where no machine is safe…

Leave a Reply to bjdent

(required)
(required)

Note: HTML is allowed. Your email address will never be published.

Subscribe to comments