Ubuntu Forums Archive Viewer

Building fglrx on 2.6.34 with DKMS

Archived thread 1476777 from Maverick Meerkat Testing and Discussion (CLOSED). Markdown source: Maverick_Meerkat_Testing_and_Discussion_(CLOSED)/thread_1476777_Building_fglrx_on_2.6.34_with_DKMS.md

Original URL About this archive
#1

At last I can post this somewhere!

I have adapted patches to get fglrx to build (in DKMS!) on 2.6.34: https://bugs.launchpad.net/ubuntu/+source/fglrx-installer/+bug/573748

#2

nice job, thanks

if you could open your ppa on launchpad it would help a lot of people :p

#3

Hello Can you explain how to apply these patches? I have the module source in /var/lib/dkms/fglrx/10-4/source Thank you piccir

#4

Copy the attached files to the given locations:

/usr/src/fglrx-8.723.1/dkms.conf /usr/src/fglrx-8.723.1/patches/fglrx-2.6.33.patch /usr/src/fglrx-8.723.1/patches/fglrx-2.6.34-rc4.patch

Then reinstall or rebuild fglrx.

Do not copy to /var/lib/dkms as any files here are regenerated on each installation. Also remember that these locations are for the Ubuntu fglrx package, not the AMD installer.

#5

Thanks a lot! Great job;) it solved my problem perfectly.

#6

Thanks for this, saved me a ton of trouble :)

#7

Nphyx said: Thanks for this, saved me a ton of trouble :)

Unfortunately, that does no good with 2.6.34-5 or later; any idea what breaks with those and later kernels?

#8

The patches work fine here (upgraded to this w/ dkms enabled):

$ apt-cache policy linux-image-generic

linux-image-generic:
  Installed: 2.6.34.5.4
  Candidate: 2.6.34.5.4
  Version table:
 *** 2.6.34.5.4 0
        500 http://us.archive.ubuntu.com/ubuntu/ maverick/main Packages
        100 /var/lib/dpkg/status

From memory, here are instructions that should work for a fresh installation:

  1. Verify dkms is installed:
sudo apt-get update
sudo apt-get install dkms
  1. [COLOR="DarkOrange"]System -> Administration -> Hardware Drivers[/COLOR] and try to activate fglrx. This will fail.
  1. Put the patches in the folders as described in comment #4; create the folders if needed.
  1. [COLOR="DarkOrange"]System -> Administration -> Hardware Drivers[/COLOR] and try to activate fglrx. This should succeed.
  1. Check for compiled kernel modules:
$ dkms status

fglrx, 8.723.1, 2.6.32-22-generic, x86_64: installed 
fglrx, 8.723.1, 2.6.34-5-generic, x86_64: installed
#9

There are new fglrx packages in X-Swat; installing now.

--edit Nope, it fails trying to apply patches. Going back to my manual method. :D

I guess I really should find out how to build a package and put it in a PPA.

#10

Excellent, the new fglrx packages in X-Swat build nicely for .34 and .35!

https://edge.launchpad.net/~ubuntu-x-swat

Thanks Robert (sarvatt)!

Wonder if I'll get any credit for the patch work... not according to the changelog... :(

#11

jfernyhough said: Excellent, the new fglrx packages in X-Swat build nicely for .34 and .35!

https://edge.launchpad.net/~ubuntu-x-swat

Thanks Robert (sarvatt)!

Wonder if I'll get any credit for the patch work... not according to the changelog... :(

Your definitely going to get credit from me thank you very much for the fglrx ppa:):):)