Can't compile fglrx kernel module for kernel 3.2.13 in -current
After the last upgrade in -current, which also upgraded the kernel to 3.2.13 I am no longer able to install the proprietary drivers (currently version 12.2/8.95). The installation fails because the fglrx kernel module can't be compiled. Here are the relevant parts from the logs:
Code:
[Message] Kernel Module : Trying to install a precompiled kernel module. Thanks in advance. |
try visiting Walecha's blog http://www.walecha.net/content/memba...di-kernel-3213
It's in Indonesian, but i believe you can understand by looking at the code snippet or use Google Translate |
Thanks, I will have a look at this as soosn as I am back to that machine.
|
This particular bug bit me as well. From my bit of research it seems to effect kernels >=3.2.8. There is a patch mentioned on one of the Fedora/ubuntu sites (to the firegl code if memory serves) but ,being a newbie, I took the easy way and stuck with 3.2.7 In the hope that the catalyst 12.3 (or 12.4 etc) releases will provide the fix.
Should add that it seems limited to 32 bit kernels and is noted to effect the 2.6.42 release as well. http://phoronix.com/forums/showthrea...68922&p=252214 This above post shows a patch to the firegl code but against 3.3-rc4 kernel but may still be of use with regards 3.2.13 on current. yours Hippy Jonny |
Just tried it with version 12.3, same error. Why the hell does a newly released driver does not work with the latest stable kernel version? When I have the time I will have to try it with that patch.
|
Quote:
Adam |
OK, tried it with that patch. That article is a bit unclear if the patch has to be in /etc/ati or /etc/ati/patch, so I tried both. Still getting the same errors. So for now I have not working proprietary drivers and free drivers that use up my CPU and heat up the machine.
And no clue how to fix one of those problems, except downgrading the kernel, which I really don't want to do if not absolutely necessary. |
Quote:
As for the temperature when using the open source drivers, have you tried enabling power management? Adam |
Quote:
Quote:
|
While I don't have 12.3 downloaded on this machine, this is what you get when you run the 12.2 installer with --help:
Code:
Adam |
Thanks, sometimes I miss the obvious things. Extracted the files, patched and the module compiled without errors. Both, Xorg.0.log and glxinfo, show that the driver is loaded and in use. My CPU temperature is down to its normal values. Strangely, I still have high CPU usage when things on the screen are moving, I can load both cores to 53% with just opening a terminal and holding down the Enter-key.
Anyhow, thanks to LQ members this issue is solved. |
FYI
1 Attachment(s)
Hi,
I had the same issues after upgrading to --current (Kernel 3.2.12) with an ati hd5xx series card. The bug fix has not yet been implemented in the latest ati driver 12.3. Thanks to this threat, I got it solved. However, it was not that easy as it sounds in the threat for me: extract the files apply patch install So, I just wanted to tell, how I finally did it. 1. Get the patch file ( see attachment ) place the file somewhere ( e.g /etc/ati/patch/ ) and get rid of the txt extension. 2. Drop out of X and into root mode 3. run the amd installer with the --keep option ( sh amd-xxx.sh --keep ) At the end of the installer procedure, the installer will give you a message that the installation was not successful due to some errors. 4. cd /lib/modules/fglrx/build_mod 5. Run the patch: patch -p0 < /etc/ati/patch/ati_patch You should get a message that the patch was successfull. 6. sh make.sh ( to build the kernel files ) 7. cd .. ( /lib/modules/fglrx) 8. sh make_install.sh ( to install the kernel files ) aticonfig --initial 9. Drop to user account ( e.g ctl-D ) 10.startx Note: On the save side, I rebooted my machine, but It is not required. Hope this will help some people. |
Thanks!
Quote:
|
Hey..... the patch posted above working on ubuntu 11.10 ??
I have same exact problems with 12.3 install for my HD4650..... *edit* Not working!! Problems during installation: Quote:
Quote:
|
Quote:
|
For now i have resolve after install the FLGRX included in UBUNTU official repository.
In AMD forum i have read some people have so many problems with ATI driver 12.2 and 12.3 and, if i don't commit an error, latest FLGRX it's based on Catalyst 11.8.... Otherwise now i stay to post from another computer... tommorow (in italy it's 2:30AM) i come turn on pc with ubuntu and i can paste the log... |
Quote:
After running the command: Code:
sh ./amd-driver-installer-12-3-x86.x86_64.run --keep Code:
root@Diabolik-ubuntu:/lib# cd modules *EDIT* I have found on UBUNTU how the setup put the file!!!! I have used: [CODE]./amd-driver-installer-12-3-x86.x86_64.run --extract Temp[/CODE0] After that a folder called "Temp" it's been created on same folder of .run!! Inside this folder exist so many sub-folders: Code:
root@Diabolik-ubuntu:/home/diabolik/catalyst12.3/Temp# ls Another sub-folder it's still present here... it's "build_mod", i have try to apply the patch on this folder... but after that the "sh make.sh" not working :( This is the full Exit when i try to execute sh make.sh: Code:
root@Diabolik-ubuntu:/home/diabolik/catalyst12.3/fglrx-install.Jg6XLB/common/lib/modules/fglrx/build_mod# sudo sh ./make.sh Code:
Uninstalling any previously installed drivers. |
Update: Same error with version 12.4, patch still needed.
|
Xorg 1.12problem
This patch allowed to install fglrx into slackware-current. Thanks. But
Still cannot startx, apparently fglrx is not compatible with xorg 1.12 and when I downgraded to xorg 1.9.5 from 13.37 repo I get a black screen and system freeze when trying to start that. I guess wait for amd to get to new xorg support. I went back to full 13.37 and will see how develops over next month. |
I currently have a grudge against AMD. I think when they develop further in the same tempo I can't use an up-to-date -current anymore on my laptop before they drop support for my chipset and also have to revert to 13.37.
|
Quote:
Hopefully you end up with an fglrx-*.tgz :) |
Hi toby, this is a slackware forum, not the ubuntu bug tracker ;)
|
Hi all
@ delta function I'm going through the same problems with a radeon HD 4350 card, and was very anxious to experiment the patch, but got stuck here: Quote:
*edit* Well, it's newbeish enough, I ought to have read a little bit more of the thread, I'd have understood it's slackware forum here. Sorry! guilem |
Forgive the bluntness but this topic was raised earlier by another member.
http://www.linuxquestions.org/questi...el-4175411217/ Because Slackware's -Current tree is a rolling release style developer/tester branch of the software, usage of proprietary drivers may or may not work depending on which version of packages you have. The proprietary drivers are aimed at stable releases like 12.2, 13.0, and 13.37. The Xorg drivers do include full support for all modern Radeon series cards for both 2D and 3D hardware acceleration. |
Quote:
They are still far away from being feature complete or have the same performance. I hope that gets better after they have made their major deal with China. |
All times are GMT -5. The time now is 02:09 PM. |