View previous topic :: View next topic |
Author |
Message |
noisymouse n00b
Joined: 28 Sep 2010 Posts: 6
|
Posted: Thu May 05, 2011 12:45 pm Post subject: Need non-existent Big Kernel Lock (BKL) for fglrx driver? |
|
|
Hi, I've been having an issue for a few months now that has made it impossible for me to have 3d graphics along with a proper portage setup. Basically the problem is that the ati-drivers package checks if the kernel source config has the big kernel lock (CONFIG_BKL) enabled. Unfortunately this is not a config option with newer kernels and as far as I can tell has not been for quite some time now. I personally use git-sources, but even the stable version of gentoo-sources does not have CONFIG_BKL. And what's odd is that older versions of fglrx did support kernels without the BKL. (I think this have changed from the 10.x to 11.x transition.) Anyway, I'm wondering what solutions there might be for this problem. I realize it's more complicated because fglrx is proprietary. For now I'm going to see if I can get an older version working
UPDATE: I've been unable to use any older versions of ati-drivers. (I get a different error with the older versions.) |
|
Back to top |
|
|
aCOSwt Bodhisattva
Joined: 19 Oct 2007 Posts: 2537 Location: Hilbert space
|
Posted: Thu May 05, 2011 1:11 pm Post subject: Re: Need non-existent Big Kernel Lock (BKL) for fglrx driver |
|
|
noisymouse wrote: | I personally use git-sources, but even the stable version of gentoo-sources does not have CONFIG_BKL. |
This is what I get under my gentoo-sources 2.6.37-r4 : Code: | Symbol: BKL [=y]
Type : boolean
Prompt: Big Kernel Lock
Defined at lib/Kconfig.debug:472
Depends on: SMP [=y] || PREEMPT [=y]
Location:
-> Kernel hacking |
|
|
Back to top |
|
|
Anon-E-moose Watchman
Joined: 23 May 2008 Posts: 6097 Location: Dallas area
|
Posted: Thu May 05, 2011 1:25 pm Post subject: |
|
|
It's there under the 2.6.38 series _________________ PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland |
|
Back to top |
|
|
noisymouse n00b
Joined: 28 Sep 2010 Posts: 6
|
Posted: Thu May 05, 2011 1:37 pm Post subject: |
|
|
Hmm so it is. Git's at 2.6.39 at this point and doesn't have the option. I could have sworn I hadn't seen it a while ago when I configured a gentoo-sources kernel. Anyway, I'll probably compile a new kernel based on gentoo-sources until AMD releases a driver that will work with the latest kernel. |
|
Back to top |
|
|
Yamakuzure Advocate
Joined: 21 Jun 2006 Posts: 2284 Location: Adendorf, Germany
|
Posted: Thu May 05, 2011 2:12 pm Post subject: |
|
|
Yes, 2.6.39 is the version that is scheduled to remove BKL completely.
But *maybe* you find this interesting: http://thread.gmane.org/gmane.comp.freedesktop.xorg.drivers.ati/18650 _________________ Important German:- "Aha" - German reaction to pretend that you are really interested while giving no f*ck.
- "Tja" - German reaction to the apocalypse, nuclear war, an alien invasion or no bread in the house.
|
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21605
|
Posted: Fri May 06, 2011 3:09 am Post subject: Re: Need non-existent Big Kernel Lock (BKL) for fglrx driver |
|
|
noisymouse wrote: | And what's odd is that older versions of fglrx did support kernels without the BKL. | The Big Kernel Lock has been with us since Linux gained SMP support. I suspect that the older versions did not check it, because for a long time, it could be assumed that any SMP kernel would have the BKL. With recent kernels, it became optional, because most of the code using it was changed to use more granular locking. |
|
Back to top |
|
|
|