Bugzilla – Bug 9442
Can't start compiz: [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
Last modified: 2006-12-29 05:59:55 UTC
Since upgrading to linux-2.6.20-rc1 (incl. rc2) I can't start AIGLX enabled
compiz on my computer. The configuration programm (Desktop effects) complains
about not being able to start the composition manager and dmesg shows:
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
[drm:drm_unlock] *ERROR* Process 2112 using kernel context 0
Where process 2112 is X. I'm using Ubuntu 7.06 (beta), package versions:
ii xorg 7.1.1ubuntu6 X.Org X
ii xserver-xorg 7.1.1ubuntu6 the
X.Org X server
ii xserver-xorg-core 1.1.1-0ubuntu12 X.Org X
server -- core server
ii xserver-xorg-video-ati 6.6.2-0ubuntu4 X.Org X
server -- ATI display driver
(In reply to comment #0)
> [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
> [drm:drm_unlock] *ERROR* Process 2112 using kernel context 0
These are just symptoms of the DRI not being enabled. Please attached (as
opposed to paste) the full X config and log files for diagnosis.
Created attachment 8209 [details]
You were right, AGP doesn't seem to be enabled, but dmesg says:
| Linux agpgart interface v0.101 (c) Dave Jones
| [drm] Initialized drm 1.1.0 20060810
| agpgart: Detected an Intel 855PM Chipset.
| agpgart: AGP aperture is 256M @ 0xb0000000
| [drm] Initialized radeon 1.25.0 20060524 on minor 0
maybe disabling parallel pci scanning might solve this, I am testing right now.
Created attachment 8210 [details]
Okay, disabling multithreaded pci discovery in the kernel made things work
again. Is this an error that should be reported to lkml or is this already the
right place for this? It seems that the AGPGart module is loaded 'in parallel'
with the DRI module and this explodes when Xorg tries to enable DRI.
Maybe a better worded error message in the dmesg output might help others.
Thanks for your help,
I think it would certainly be interesting to hear the kernel developers' opinion
It seems like that PCI multithread probing will be removed from the kernel..