Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
drm and radeon dri modules not working
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
njmartin88
n00b
n00b


Joined: 16 Feb 2006
Posts: 9
Location: Bradford, Unighted Kingdom

PostPosted: Wed Mar 01, 2006 4:33 pm    Post subject: drm and radeon dri modules not working Reply with quote

I'm having trouble getting radeon dri to work when I have agpgart, direct rendering manager and radeon dri compiled as modules. They work fine when compiled into the kernel. Direct rendering does not work when these are compiled as modules (I need it to play games :) ). Here is what dmesg says:

Code:
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 19
[drm] Initialized radeon 1.20.0 20050911 on minor 0:
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 00000000 dc700680
[drm:drm_unlock] *ERROR* Process 7604 using kernel context 0


I would like to use the official ati drivers instead of these but they seem to screw up all the tty consoles (ctrl+alt+F*). When I try change to one of these consoles the screen is blank. If anyone knows anything about this aswell it would be great if you could help me out/point me in the right direction.

Thanks
Back to top
View user's profile Send private message
lfe
n00b
n00b


Joined: 05 Apr 2005
Posts: 31
Location: Brussels, Belgium

PostPosted: Tue Mar 07, 2006 7:37 am    Post subject: Re: drm and radeon dri modules not working Reply with quote

njmartin88 wrote:
I'm having trouble getting radeon dri to work when I have agpgart, direct rendering manager and radeon dri compiled as modules. They work fine when compiled into the kernel. Direct rendering does not work when these are compiled as modules (I need it to play games :) ). Here is what dmesg says:

Code:
Linux agpgart interface v0.101 (c) Dave Jones
[drm] Initialized drm 1.0.1 20051102
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 19
[drm] Initialized radeon 1.20.0 20050911 on minor 0:
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
mtrr: 0xe0000000,0x8000000 overlaps existing 0xe0000000,0x4000000
[drm:radeon_cp_init] *ERROR* radeon_cp_init called without lock held, held  0 owner 00000000 dc700680
[drm:drm_unlock] *ERROR* Process 7604 using kernel context 0


Does /var/log/Xorg.0.log say something about DRM failing because AGP is not initialised (I don't have the exact error message at hand any more)? If it is the case, make sure that your kernel configuration has the AGP driver used by your motherboard (in Device Drivers -> Character Devices). For example
Code:

<M> /dev/agpgart (AGP Support)
  < >   ALI chipset support
  < >   ATI chipset support
  < >   AMD Irongate, 761, and 762 chipset support
  < >   AMD Opteron/Athlon64 on-CPU GART support
  <M>   Intel 440LX/BX/GX, I8xx and E7x05 chipset support
  < >   NVIDIA nForce/nForce2 chipset support
  < >   SiS chipset support
  < >   Serverworks LE/HE chipset support
  < >   VIA chipset support
  < >   Transmeta Efficeon support

and that you load the corresponding module from /etc/modules.autoload/kernel-2.6:
Code:

agpgart
intel-agp

The kernel help is not overly clear, and I wrongly used ati-agp at first ("ATI chipset support" above).

Also, DRI support in the kernel must be turned off:
Code:

< > Direct Rendering Manager (XFree86 4.1.0 and higher DRI support)

and you have to emerge x11-dri with support for your cards, like:
Code:

VIDEO_CARDS="radeon" emerge x11-drm

(I have put the 'VIDEO_CARDS="radeon" in my make.conf so as not to forget it).

HTH,

Lionel
_________________
"To understand how progress failed to make our lives easier, please press 3"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum