Page 1 of 2 12 LastLast
Results 1 to 10 of 90

Thread: fglrx with kernel 3.4 and 3.5

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Just call me JF
    Beans
    1,053
    Distro
    Ubuntu Development Release

    fglrx with kernel 3.4 and 3.5

    The wait is over! A working patch has been posted on http://ati.cchtml.com/show_bug.cgi?id=495 by Zenitur.

    HINT: /dev/shm makes a nice ramdisk if you have >2GB RAM.

    Latest: Alberto Milone has pushed an updated 9.860 that has support for kernels 3.4 and 3.5: https://launchpad.net/ubuntu/quantal...8.960-0ubuntu2 (3.5 support nor working for me, locks as X loads).

    Latest beta: Catalyst 12.6 Beta works. Instructions below. If unsure use 12.4. Thanks to miatawnt2b for pointing out the 12.6 beta existed!

    In summary:
    0) Preparation
    1) Download and extract 12.6 from AMD.
    2) Apply the patch attached here.
    3) Build packages
    4) Install
    5) Remove watermark

    Details:
    0) If this is the first time you've done this, install the necessary development packages (normally installed by the installer, if any are missing they will be identified in step 3):
    $ sudo apt-get install dpkg-dev debhelper dh-modaliases execstack

    1) Once downloaded (the .run is in a .zip file. I shouldn't have to tell you how to deal with that), extract the installer files so we can patch manually:
    $ sh ./amd-driver-installer-12-4-x86.x86_64.run --extract ~/temp/amd

    2) Download and apply the attached patch (taken from Arch's catalyst-test):
    $ cd ~/temp/amd
    $ patch -p1 <./3.4.patch

    3) Build the packages (this will place the packages in the parent directory):
    $ ./ati-installer.sh 8.980 --buildpkg Ubuntu/quantal

    4) Change to the parent directory and install the debs:
    $ cd ..
    $ sudo dpkg -i *.deb

    5) In order to remove the watermark you will need to add a signature to /etc/ati/signature . I took the signature from 12.4 as demonstrated here: http://wiki.cchtml.com/index.php/Amd_watermark

    All you have to do is add the following to /etc/ati/signature and restart X (e.g. log out).
    Code:
    b67d452b67e1e4baee18b65de7643cc0:8e537c1d56ccd588de2c866886490df38148761a24cca5eea7388168d3560bf9:8e1870185082d5dedb2ed53e835104f8d21877485fd7d282d62e8264d7005af38e4c711350d7d5dbdc2cd53e865159a5d74a76135fd0d2828a2b836bd7065af9
    If you haven't already got an xorg.conf you will need to run:
    $ sudo aticonfig --initial
    and reboot.

    All should work!

    *** Beta 12.6 ***

    Beta page: http://support.amd.com/us/kbarticles...st126beta.aspx
    Direct link: http://www2.ati.com/drivers/hotfix/c...x86.x86_64.zip
    Attached Files Attached Files
    Last edited by jfernyhough; June 22nd, 2012 at 07:34 PM. Reason: New package for 12.4 (8.960) released
    1) MSI GT70: i7-3650, 16GB, GTX680M, XFCE@Manjaro-x64
    2) Dell Studio 1749
    : i5-540, 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    3) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64-OpenRC

  2. #2
    Join Date
    Jun 2007
    Beans
    11,498

    Re: fglrx with kernel 3.4

    It would be funny if AMD pushed out Catalyst 12-5 tomorrow and it supported kernel 3.4

  3. #3
    Join Date
    Sep 2005
    Beans
    27

    Re: fglrx with kernel 3.4

    Quote Originally Posted by jfernyhough View Post
    The wait is over! A working patch has been posted on http://ati.cchtml.com/show_bug.cgi?id=495 by Zenitur.

    HINT: /dev/shm makes a nice ramdisk if you have >2GB RAM.

    In summary:
    1) Download and extract 12.4 from AMD.
    2) Apply the patch attached here.
    3) Build packages
    4) Install

    Details:
    1) Once downloaded extract the installer files so we can patch manually:
    $ sh ./amd-driver-installer-12-4-x86.x86_64.run --extract ~/temp/amd

    2) Download and apply the patch from here:
    $ cd ~/temp/amd
    $ patch -p1 <./patch_to_fix_compiling_fglrx_12.4_with_linux_3.4.p atch

    3) Build the packages (this will place the packages in the parent directory):
    $ ./ati-installer.sh 8.961 --buildpkg Ubuntu/quantal

    4) Change to the parent directory and install the debs:
    $ cd ..
    $ sudo dpkg -i *.deb

    If you haven't already got an xorg.conf you will need to run:
    $ sudo aticonfig --initial
    and reboot.

    All should work!
    ~/temp/amd$ patch -p1 <./patch_to_fix_compiling_fglrx_12.4_with_linux_3.4.p atch
    patching file common/lib/modules/fglrx/build_mod/firegl_public.c
    patching file common/lib/modules/fglrx/build_mod/kcl_ioctl.c
    patch unexpectedly ends in middle of line
    Hunk #1 succeeded at 217 with fuzz 1.

    and when I go to the next step I get this.
    ./ati-installer.sh 8.961 --buildpkg Ubuntu/quantal=========================================== ==========================
    AMD Catalyst(TM) Proprietary Driver Installer/Packager
    ================================================== ===================
    Generating package: Ubuntu/quantal
    Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions
    Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions

    But no Quantal in --listpkg

    Ubuntu Packages:
    Ubuntu/gutsy
    Ubuntu/hardy
    Ubuntu/intrepid
    Ubuntu/jaunty
    Ubuntu/karmic
    Ubuntu/lucid
    Ubuntu/maverick
    Ubuntu/natty
    Ubuntu/oneiric
    Ubuntu/source
    Ubuntu/precise

    I copied /temp/amd/packages/Ubuntu/dists/precise to /temp/amd/packages/Ubuntu/dists/quantal and tried again. Further Errors were fixed by installing the following.
    sudo apt-get install dpkg-dev debhelper dh-modaliases execstack

    Dep errors on install of created deb files were fixed by
    sudo apt-get -f install

    after reboot
    glxinfo
    name of display: :0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: ATI
    server glx version string: 1.4
    Last edited by Salane; May 29th, 2012 at 12:41 AM. Reason: Add fix

  4. #4
    Join Date
    Aug 2006
    Location
    Just call me JF
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: fglrx with kernel 3.4

    Ah, forgot about the extra packages. It's not the first time I've had to patch and install.

    Added a Step 0. --buildpkg Ubuntu/quantal should work fine; worked for me.
    1) MSI GT70: i7-3650, 16GB, GTX680M, XFCE@Manjaro-x64
    2) Dell Studio 1749
    : i5-540, 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    3) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64-OpenRC

  5. #5
    Join Date
    Sep 2005
    Beans
    27

    Re: fglrx with kernel 3.4

    That was a major Duh moment in my haste I forgot to upgrade to quantal on my new install. Oh well at least others may learn of my mistake.
    Last edited by Salane; May 29th, 2012 at 04:24 AM.

  6. #6
    Join Date
    Apr 2011
    Beans
    13

    Re: fglrx with kernel 3.4

    Thank you! Works on Kubuntu 12.10 (even if is not under Canonial anymore).

  7. #7
    Join Date
    Mar 2007
    Beans
    272

    Re: fglrx with kernel 3.4

    anyone know if this works with 12.6 beta?
    -J

  8. #8
    Join Date
    Jul 2011
    Beans
    206

    Re: fglrx with kernel 3.4

    Quote Originally Posted by Salane View Post
    ~/temp/amd$ patch -p1 <./patch_to_fix_compiling_fglrx_12.4_with_linux_3.4.p atch
    patching file common/lib/modules/fglrx/build_mod/firegl_public.c
    patching file common/lib/modules/fglrx/build_mod/kcl_ioctl.c
    patch unexpectedly ends in middle of line
    Hunk #1 succeeded at 217 with fuzz 1.

    and when I go to the next step I get this.
    ./ati-installer.sh 8.961 --buildpkg Ubuntu/quantal=========================================== ==========================
    AMD Catalyst(TM) Proprietary Driver Installer/Packager
    ================================================== ===================
    Generating package: Ubuntu/quantal
    Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions
    Error: Distro Version entered incorrectly or not supported, use --listpkg to identify valid distro versions

    But no Quantal in --listpkg

    Ubuntu Packages:
    Ubuntu/gutsy
    Ubuntu/hardy
    Ubuntu/intrepid
    Ubuntu/jaunty
    Ubuntu/karmic
    Ubuntu/lucid
    Ubuntu/maverick
    Ubuntu/natty
    Ubuntu/oneiric
    Ubuntu/source
    Ubuntu/precise

    I copied /temp/amd/packages/Ubuntu/dists/precise to /temp/amd/packages/Ubuntu/dists/quantal and tried again. Further Errors were fixed by installing the following.
    sudo apt-get install dpkg-dev debhelper dh-modaliases execstack

    Dep errors on install of created deb files were fixed by
    sudo apt-get -f install

    after reboot
    glxinfo
    name of display: :0
    display: :0 screen: 0
    direct rendering: Yes
    server glx vendor string: ATI
    server glx version string: 1.4
    If this was exactly as it was entered into your system, there's probably a problem re. that 1st line; i.e., a typo, inserting a space between the "p" & the "a" in the word "patch".
    .
    "That's my motto - a place for everything, and everything all over the place!"
    -- From an old comic I once saw.--

  9. #9
    Join Date
    Aug 2006
    Location
    Just call me JF
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: fglrx with kernel 3.4

    Quote Originally Posted by scruffyeagle View Post
    If this was exactly as it was entered into your system, there's probably a problem re. that 1st line; i.e., a typo, inserting a space between the "p" & the "a" in the word "patch".
    It wasn't. The patch went fine. The issue was he was trying to build for quantal on a precise box (which he mentioned two posts later). It's also a bit out-of-date as the patch was necessary for kernel 3.4 support. AMD have since added this to their driver so we only need to patch for kernel 3.5.
    1) MSI GT70: i7-3650, 16GB, GTX680M, XFCE@Manjaro-x64
    2) Dell Studio 1749
    : i5-540, 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    3) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64-OpenRC

  10. #10
    Join Date
    Aug 2006
    Location
    Just call me JF
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: fglrx with kernel 3.4 and 3.5

    There are new packages available for fglrx 8.982 (Catalyst 12.8 ):

    https://launchpad.net/ubuntu/quantal...8.982-0ubuntu1
    https://launchpad.net/ubuntu/quantal...8.982-0ubuntu1

    This should make manual patching unnecessary. Note that there's no support yet for xserver 1.13 (X ABI support is still at 11).
    Last edited by jfernyhough; September 10th, 2012 at 02:46 PM. Reason: Removed 8) smiley
    1) MSI GT70: i7-3650, 16GB, GTX680M, XFCE@Manjaro-x64
    2) Dell Studio 1749
    : i5-540, 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    3) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64-OpenRC

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

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