You are not logged in.

#1 2014-04-12 05:12:16

electrojustin
Member
Registered: 2014-04-12
Posts: 8

fglrx compilation fix for kernel 3.14

Not sure if this is the proper place to put this, but it seemed reasonable enough.

After upgrading to kernel 3.14 and trying to reinstall my proprietary graphics drivers, I encountered an error similar to the one mentioned in this post: http://forums.opensuse.org/showthread.p … d-with-ATI
Digging around the kernel code a little bit, I came up with a temporary solution to get it working. Thought I'd post it in case it helps someone else running Arch on a machine with an ATI card.

Step 1: change to the source directory

cd /lib/modules/fglrx/build_mod 

Step 2: edit the trouble line in firegl_public.c
Change line 1764 from

return current_euid(); 

to read

return (KCL_TYPE_Uid)(current_euid().val); 

Step 3: compile the module

sudo ./make.sh 

Step 4: install the module

sudo cp 2.6.x/fglrx.ko /lib/modules/<your kernel version here>/kernel/drivers/video/
sudo depmod -a 

Replacing <your kernel version here> with your current kernel version, which you can find using

uname -a 

Reboot or load the module manually and your should be good to go.

Offline

#2 2014-04-12 09:00:47

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: fglrx compilation fix for kernel 3.14

@electrojustin: The catalyst-test package works with kernel 3.14 all ready. I know because I use it.

In addition, catalyst was all ready patched to work with kernel 3.14.

EDIT: I've just had a look at the patch for the catalyst package, and it does what you suggested in the case that the user is using kernel 3.14. I think this can be marked solved all ready, because of Cold's patch.

Last edited by clfarron4 (2014-04-12 09:14:23)


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-04-12 12:17:43

electrojustin
Member
Registered: 2014-04-12
Posts: 8

Re: fglrx compilation fix for kernel 3.14

Sorry if this is a duplicate patch; I don't use any of the catalyst packages myself, I just download from the AMD website and use that repo to keep X held back (if I recall correctly, I chose this route originally because the catalyst package clobbers my 32 bit OpenGL libraries, which I need for steam).

Offline

#4 2014-05-07 07:57:42

t4li3sin
Member
Registered: 2014-05-07
Posts: 1

Re: fglrx compilation fix for kernel 3.14

Thank you so much electrojustin,
I updated my Fedora distro today and really didnt need this headache, but your solution worked right off the bat!
And now my graphics have improved! Amen!

Last edited by t4li3sin (2014-05-07 07:58:39)

Offline

Board footer

Powered by FluxBB