Page 1 of 5 123 ... LastLast
Results 1 to 10 of 48

Thread: fglrx with kernel 2.6.37

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

    Lightbulb fglrx with kernel 2.6.37 [8.801, Catalyst 10.12]

    ** Updated for fglrx-installer 8.801 **

    Alberto Milone has just uploaded fglrx to the natty build queue.
    https://launchpad.net/ubuntu/natty/+...8.801-0ubuntu1

    ** Updated for Catalyst 10.12 **

    No official support for kernels >= 2.6.36, but according to Arch the patches are the same. Steps below will work until x-swat is updated, attached files are updated for 10.12

    ** Manual patching instructions updated for Catalyst 10.12, fglrx 8.801 **

    Another kernel driver, another fglrx breakage. Nice!

    However, this time round all the hard work has been done as there's already a patch out here: http://www.cosmicencounter.net/mirro...ema_init.patch

    Credit for the patches as always to Arch and Gentoo. This process is mine, though!

    In summary:
    1) Download and extract 10.12 from AMD.
    2) Apply 2.6.36 patch
    3) Apply sema_init patch
    4) Apply makefile patch
    5) Build packages
    6) Install

    Details:
    1) Once downloaded:
    $ chmod +x ati-driver-installer-10-12-x86.x86_64.run
    $ ./ati-driver-installer-10-12-x86.x86_64.run --extract [name of directory e.g. ~/temp/ati]

    This will extract the files so we can patch and build manually.

    2) You need to apply the patch from here. Find the relevant sections in [extracted files dir]/common/lib/modules/fglrx/build_mod/firegl_public.c and add in those from the patch. Or, use the attached pre-patched version of firegl-public.c, just replace the old version.

    3) Apply the patch from here to firegl_public.c (again, the attached version is already done).

    4) The makefile in common/lib/modules/fglrx/build_mod/2.6.x needs to be patched with this. A pre-patched version is attached.

    5) In the folder you extracted the files (let's call it ~/temp/ati/) run:
    $ ./ati-installer.sh 8.801 --buildpkg Ubuntu/natty

    This will place packages in ~/temp/

    6) In ~/temp/ (or wherever you put the files):
    $ 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 be well again!

    (Bug report for 10.10 is here: https://bugs.launchpad.net/ubuntu/+s...er/+bug/672127)
    Attached Files Attached Files
    Last edited by jfernyhough; January 21st, 2011 at 07:54 PM. Reason: fglrx-installer 8.801 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
    Aug 2008
    Beans
    1,835
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: fglrx with kernel 2.6.37

    Great stuff. Thanks.

  3. #3
    Join Date
    Apr 2008
    Beans
    3

    Re: fglrx with kernel 2.6.37

    Hi,
    I need help, please.
    I followed your instructions:

    reynaldo@cerbero:~/Documentos/Builds$ ./ati-driver-installer-10-10-x86.x86_64.run --extract fglrx-10-10
    Creating directory fglrx-10-10
    Verifying archive integrity... All good.
    Uncompressing ATI Catalyst(TM) Proprietary Driver-8.783............................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. .................................................. ...............

    reynaldo@cerbero:~/Documentos/Builds$ cd fglrx-10-10/


    But I'm getting that error:

    reynaldo@cerbero:~/Documentos/Builds/fglrx-10-10$ patch -p0 < ../fglrx-2.6.36.patch
    patching file work/common/lib/modules/fglrx/build_mod/firegl_public.c
    Hunk #1 FAILED at 320.
    Hunk #2 FAILED at 407.
    2 out of 2 hunks FAILED -- saving rejects to file work/common/lib/modules/fglrx/build_mod/firegl_public.c.rej

    What's wrong?

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

    Re: fglrx with kernel 2.6.37

    The clue is here:
    patching file work/common/lib/modules/fglrx/build_mod/firegl_public.c
    The file is in common/lib/modules/fglrx/build_mod/, so you will have to edit the patch a little; remember these are for Arch, not for Ubuntu. Alternatively, just use the attached files.
    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
    Aug 2006
    Location
    Just call me JF
    Beans
    1,053
    Distro
    Ubuntu Development Release

    Re: fglrx with kernel 2.6.37

    A fixed package was released today! Hopefully it will work.
    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

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

    Re: fglrx with kernel 2.6.37

    Catalyst 10.11 was released today. No Ubuntu package yet but the patches needed are exactly the same as for 10.10 so it's fairly easy to get them installed. Updated first post.
    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

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

    Re: fglrx with kernel 2.6.37

    Package released via x-swat PPA. Use this.

    There also seems to be an issue with 2.6.37-5; on my laptop this won't allow X to start no matter the driver in use (aticonfig'ed xorg.conf or no xorg.conf). 37-4 works fine, however.
    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

  8. #8
    Join Date
    Apr 2008
    Beans
    3

    Re: fglrx with kernel 2.6.37

    Hi jfernyhough,
    I was trying to build it on kernel 2.6.37 backported to lucid following your procedure, but I don't know if it would work.
    Do you have any idea?
    Thanks!

  9. #9
    Join Date
    Oct 2009
    Beans
    3

    Re: fglrx with kernel 2.6.37

    fixed it for me for lucid on kernel 2.6.32-26 as well you're a hero.

  10. #10
    Join Date
    Dec 2010
    Beans
    1

    Re: fglrx with kernel 2.6.37

    Thank you very much
    By the way, this still works (and is very much required) with 10.12.

Page 1 of 5 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
  •