Page 1 of 9 123 ... LastLast
Results 1 to 10 of 90

Thread: fglrx with kernel 3.4 and 3.5

  1. #1
    Join Date
    Aug 2006
    Location
    Just call me JF
    Beans
    1,052
    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) Dell Studio 1749: i5 540 (2.5GHz), 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    2) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64
    3) Compaq Mini 311c: Atom N270 (OC@2.0GHz), 3GB, Nvidia ION, Broadcom G+BT XFCE@13.10x32

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

    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,052
    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) Dell Studio 1749: i5 540 (2.5GHz), 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    2) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64
    3) Compaq Mini 311c: Atom N270 (OC@2.0GHz), 3GB, Nvidia ION, Broadcom G+BT XFCE@13.10x32

  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
    268

    Re: fglrx with kernel 3.4

    anyone know if this works with 12.6 beta?
    -J

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

    Re: fglrx with kernel 3.4

    Took me a little to find the 12.6 beta but it's here: http://support.amd.com/us/kbarticles...st126beta.aspx

    Without the patch there's no makefile errors, just the same "error: ‘cpu_possible_map’ undeclared" when DKMS builds as with 12.4. Trying again with the patch.

    --edit
    Builds fine with the patch, DKMS doesn't report anything odd. Going to try a reboot.

    --edit 2
    Display comes up fine, driver seems to be working as I now have a horrible "Testing use only" watermark in the lower-right corner of the screen...

    --edit 3
    Using the signature from 12.4 removes the watermark.
    In /etc/ati/signature put the following text:
    Code:
    b67d452b67e1e4baee18b65de7643cc0:8e537c1d56ccd588de2c866886490df38148761a24cca5eea7388168d3560bf9:8e1870185082d5dedb2ed53e835104f8d21877485fd7d282d62e8264d7005af38e4c711350d7d5dbdc2cd53e865159a5d74a76135fd0d2828a2b836bd7065af9
    --edit 4
    Updated op.
    Last edited by jfernyhough; June 12th, 2012 at 01:28 AM.
    1) Dell Studio 1749: i5 540 (2.5GHz), 8GB, ATi 5650, Intel 5300AGN XFCE@Manjaro-x64
    2) Lenovo X61: C2D T7200, 2GB, Intel HDA, iwlwifi, XFCE@Manjaro-x64
    3) Compaq Mini 311c: Atom N270 (OC@2.0GHz), 3GB, Nvidia ION, Broadcom G+BT XFCE@13.10x32

  9. #9
    Join Date
    Apr 2006
    Location
    New Hampshire, U.S.A.
    Beans
    2,474
    Distro
    Ubuntu Development Release

    Talking Re: fglrx with kernel 3.4

    CLI to the rescue! Quantal had my external monitor at 1280x768 and systems settings, displays doesn't work. My wife in a swimsuit stretched like a fun house mirror.

    So....a bit of search on https://wiki.ubuntu.com/X/Config/Resolution

    xrandr --output CRT1 --mode 1280x1024 --rate 60

    and I'm up in business!

    Quantal's finally usable.

    Jerry

  10. #10
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,512
    Distro
    Ubuntu Development Release

    Re: fglrx with kernel 3.4

    I just got a seamless install with the daily 'live' (32bit)build on my:

    01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV350 AQ [Radeon 9600]
    01:00.1 Display controller: Advanced Micro Devices [AMD] nee ATI RV350 AQ [Radeon 9600] (Secondary)
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

Page 1 of 9 123 ... 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
  •