Bug 9442 - Can't start compiz: [drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held
Can't start compiz: [drm:radeon_cp_init] *ERROR* radeon_cp_init called withou...
Status: RESOLVED FIXED
Product: DRI
Classification: Unclassified
Component: DRM/other
XOrg git
x86 (IA32) Linux (All)
: high normal
Assigned To: Default DRI bug account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-25 03:51 UTC by Andreas Happe
Modified: 2006-12-29 05:59 UTC (History)
0 users

See Also:


Attachments
/var/log/Xorg.0.log (54.01 KB, text/x-log)
2006-12-25 05:56 UTC, Andreas Happe
no flags Details
My xorg.conf (3.64 KB, application/octet-stream)
2006-12-25 05:56 UTC, Andreas Happe
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Happe 2006-12-25 03:51:46 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
Window System
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
Comment 1 Michel Dänzer 2006-12-25 04:45:34 UTC
(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.
Comment 2 Andreas Happe 2006-12-25 05:56:35 UTC
Created attachment 8209 [details]
/var/log/Xorg.0.log

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.
Comment 3 Andreas Happe 2006-12-25 05:56:56 UTC
Created attachment 8210 [details]
My xorg.conf
Comment 4 Andreas Happe 2006-12-25 06:07:11 UTC
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,
Andreas Happe
Comment 5 Michel Dänzer 2006-12-27 00:16:37 UTC
I think it would certainly be interesting to hear the kernel developers' opinion
on this.
Comment 6 Andreas Happe 2006-12-29 05:59:55 UTC
It seems like that PCI multithread probing will be removed from the kernel..