You are not logged in.

#1 2008-03-09 17:17:47

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

[SOLVED] Unable to use DRI due to DRM problem

HI.

I have a Sony Vaio laptop with an ATI video card, and I'm using the opensource ATI video drivers.

The problem is that I'm unable to use DRI. I think it's because there's no DRM module loaded.

How can I fix that?

This info may be relevant:

bash-3.2# dmesg | grep agp
Linux agpgart interface v0.102
agpgart: Detected Ati IGP345M chipset
agpgart: AGP aperture is 128M @ 0xe8000000

bash-3.2# dmesg | grep -i drm

bash-3.2# lspci
00:00.0 Host bridge: ATI Technologies Inc RS200/RS200M AGP Bridge [IGP 340M] (rev 02)
00:01.0 PCI bridge: ATI Technologies Inc PCI Bridge [IGP 340M]

X.Org X Server 1.4.0.90
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-ARCH i686 
Current Operating System: Linux blah 2.6.24-ARCH #1 SMP PREEMPT Wed Feb 27 01:15:32 CET 2008 i686
Build Date: 03 February 2008  02:54:48PM

Thank you.

Last edited by elifarley (2009-05-04 18:46:47)

Offline

#2 2008-03-09 18:36:47

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: [SOLVED] Unable to use DRI due to DRM problem

What about

lsmod | grep drm

?
But the drm module is part of the kernel package and should get loaded automatically when you load the radeon module. The first time I used the oss radeon driver dri did not work because I hadn't installed the libgl package (catalyst-utils and libgl exclude each other). So maybe a

pacman -S libgl

solves your problem.

Bye, signor_rossi.

Offline

#3 2008-03-09 21:53:02

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

Re: [SOLVED] Unable to use DRI due to DRM problem

Hi signor_rossi.

The 'drm' module was not loaded because I didn't include the 'radeon' module in my rc.conf file roll

I added 'radeon' to my modules and restarted, which led to another problem. To solve this new problem, I had to declare some additional modules before the radeon module, like this:

ati_agp agpgart radeon radeonfb

(It seems that the 'ati_agp' and 'agpgart' modules must be loaded before the 'radeon' module)

I added the 'radeonfb' module just in case, but I'm not sure if I'll need it.

With this configuration in place, DRI is finally enabled, but now the screen is completely black sad

I started the X server with:

startx 2>startx.log

After the screen went all black, I killed X (by typing <ctrl>+<alt>+<backspace>) and typed 'reboot' in order to get a visible screen again.

This is the last part of 'startx.log':

Save TV timing tables
saveTimingTables: reading timing tables
TV Save done
init memmap
init common
init crtc1
init pll1
restore memmap
restore common
restore crtc1
restore pll1
restore LVDS
enable montype: 2
disable montype: 2

Backtrace:
Inconsistency detected by ld.so: dl-open.c: 260: dl_open_worker: Assertion `_dl_debug_initialize (0, args->nsid)->r_state == RT_CONSISTENT' failed!

waiting for X server to begin accepting connections 
giving up.
xinit:  Connection reset by peer (errno 104):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.

You can take a look at the Xorg.0.log file here: http://pastebin.ca/935744

In order to avoid the black screen, I have to disable DRI in my xorg.conf file...

Any idea is welcome.

Thanks.

Last edited by elifarley (2008-03-09 21:54:48)

Offline

#4 2008-03-09 23:48:50

signor_rossi
Member
Registered: 2007-08-24
Posts: 257

Re: [SOLVED] Unable to use DRI due to DRM problem

Sorry, have no precise idea what is going wrong for you, but better not use radeonfb. fglrx and radeonfb means certain crash on my machine, maybe radeon and radeonfb don't go along well together also.
http://thinkwiki.org/
http://wiki.archlinux.org/index.php/ATI
provide good info on X setup.
Bye, signor_rossi.

Offline

#5 2008-03-10 16:03:50

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

Re: [SOLVED] Unable to use DRI due to DRM problem

The problem persists even without the 'radeonfb' module...

Well, once I get a solution for this, I'll post here for those who may bump into the same problem.

Cheers.
Elifarley

Offline

#6 2008-03-14 22:49:01

elifarley
Member
From: Rio de Janeiro
Registered: 2008-03-07
Posts: 37
Website

Re: [SOLVED] Unable to use DRI due to DRM problem

I decided to uninstall the OSS radeon driver, and install the proprietary ATI driver. Just to discover that their driver doesn't work with my IGP345M chipset.

Then I removed the proprietary driver and installed once again the OSS radeon driver. Much to my surprise, it just worked ! Now I have 920 FPS in glxgears smile Even compiz-fusion is working (albeit a bit slowly).

Cheers.
Elifarley

Offline

Board footer

Powered by FluxBB