You are not logged in.

#1 2009-10-09 13:01:14

nightchill
Member
Registered: 2009-03-25
Posts: 16

ATI & kernel .31.2 - no direct rendering

My gfx  card is ATI Radeon 9600 PRO, aka R300 and since I yesterday updated from kernel .31.1 to .31.2 I have no direct rendering. I have tried reverting to older kernel but doesn't fix my problem. Also, I have tried using KMS, put radeon in modules array in mkinitcpio.conf but in that case X won't start, so I tried putting radeon in modules array of rc.conf and X starts, but still no direct rendering.

Also, glxinfo | grep direct outputs that direct rendering is actually available, but driconf outputs "Screen 0 is not direct rendering capable." I need to know how to get direct rendering back again, could someone help out (btw, I don't accept 'buy nvidia card' as a valid tip on fixing my problem)?

Btw, I've also put the following in my Section "Device" in xorg.conf:

        Option      "DRI" "on"
        Option      "AGPMode" "4"
        Option      "ColorTiling" "on"
        Option      "EnablePageFlip" "on"
        Option      "AGPFastWrite" "yes"

and also I have tried with:

Section "DRI"
        Mode 0666
EndSection

And this is my Section "Module":

Section "Module"
        Load  "dri2"
        Load  "dri" 
        Load  "dbe" 
        Load  "glx" 
        Load  "drm" 
        Load  "extmod"
        Load  "record"
EndSection

All with no luck, still no direct rendering.

Last edited by nightchill (2009-10-09 13:04:10)

Offline

#2 2009-10-09 13:32:52

blasse
Member
From: Poland
Registered: 2008-04-24
Posts: 303

Re: ATI & kernel .31.2 - no direct rendering

Which driver do you use? And why don't U give a try without xorg.conf? wink


Proud ex-maintainer of firefox-pgo

Offline

#3 2009-10-09 13:35:19

nightchill
Member
Registered: 2009-03-25
Posts: 16

Re: ATI & kernel .31.2 - no direct rendering

blasse wrote:

Which driver do you use? And why don't U give a try without xorg.conf? wink

I'm using xf86-video-ati driver

as for without xorg.conf, dunno will try once. wink

Offline

#4 2009-10-09 14:19:23

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: ATI & kernel .31.2 - no direct rendering

1. Remove vga=xxx from menu.lst
2. Delete your xorg.conf completely.
3. Change your mirror to one like mir.archlinux.fr which have synced recently
4. Reinstall xf86-video-ati, libdrm, mesa, ati-dri, libgl.

Offline

#5 2009-10-09 15:20:40

nightchill
Member
Registered: 2009-03-25
Posts: 16

Re: ATI & kernel .31.2 - no direct rendering

Anyway, I've found out that xf86-video-ati 6.12.x does not support KMS at all, so now I'm in the process of building git masters of ddx, drm, mesa, ati-dri and libgl big_smile

will post the result.

Offline

#6 2009-10-10 08:03:58

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI & kernel .31.2 - no direct rendering

Reference? The Arch devs say that 6.12.4 supports KMS.

Offline

#7 2009-10-10 08:34:07

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: ATI & kernel .31.2 - no direct rendering

And I can now say that it works for me with 6.12.4 as well - just followed the KMS section on the ATI wiki page.

Offline

#8 2009-10-10 16:32:54

pawels64
Member
Registered: 2009-04-07
Posts: 55

Re: ATI & kernel .31.2 - no direct rendering

I have a similar problem:

RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.

I followed Ati KMS wiki page and I reinstalled (Pacman -S [...]) these packages:

xf86-video-ati (6.12.4), libdrm (2.4.13), mesa (7.5.1), ati-dri (7.5.1), libgl (7.5.1).

I tried with and without xorg.

Last edited by pawels64 (2009-10-10 16:33:56)

Offline

#9 2009-10-10 17:07:32

rogorido
Member
Registered: 2009-08-17
Posts: 115

Re: ATI & kernel .31.2 - no direct rendering

I have the same "problem"...

libdrm      : 2.4.13-1
xf86-video-ati 6.12.4-1
ati-dri 7.5.1-2

and glxinfo says that direct rendering is there, but I have this in the Xorg.0.log:

(==) AIGLX enabled
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/lib/xorg/modules/dri/swrast_dri.so

I have a

01:05.0 VGA compatible controller: ATI Technologies Inc RS690M [Radeon X1200 Series]

btw: i have no xorg.conf...

Last edited by rogorido (2009-10-10 17:09:20)

Offline

#10 2009-10-10 17:10:35

Beini
Member
From: Finland
Registered: 2007-06-06
Posts: 78

Re: ATI & kernel .31.2 - no direct rendering

Yep, version mismatch here too. I think the requirements are libdrm>=2.4.13, mesa>=7.6 and xf86-video-ati git master. So even with latest mesa entering extra, this is going to be kind of blocked until new xf86-video-ati release comes out.

Related Ubuntu bug, as you can see xf86-video-ati is still open:
https://bugs.launchpad.net/ubuntu/karmi … bug/420803

About the version mismatch problem in xorg wiki:
http://www.x.org/wiki/radeonBuildHowTo# … 63a0d543bc


archlinux x86_64 user || My PKGBUILDs

Offline

#11 2009-10-10 22:42:49

Jacek Poplawski
Member
From: Poland
Registered: 2006-01-10
Posts: 736
Website

Re: ATI & kernel .31.2 - no direct rendering

Well there is info about KMS on ATI on main page, but nobody realized that it will never work because driver package is too old...

Offline

#12 2009-10-11 02:16:41

guepe
Member
Registered: 2009-01-29
Posts: 4

Re: ATI & kernel .31.2 - no direct rendering

I am affected too: r300, just updated to kernel 2.6.31 and:
libdrm      : 2.4.13-1
xf86-video-ati 6.12.4-1
ati-dri 7.5.1-2

Very same error, gnome does not start because of compiz enabled. KDE starts because it disables kwin effects.

Anyway, mesa 7.6 has been released recently, does anyone knows when it will reach the stable repository ?

Offline

#13 2009-10-11 09:12:23

ugaciaka
Member
From: Italy
Registered: 2008-07-06
Posts: 140
Website

Re: ATI & kernel .31.2 - no direct rendering

AUR is all to do what is written here http://www.x.org/wiki/radeonBuildHowTo# … bbd64ca35e. In fact it seems to me that yes that is correct, but the frame buffer to load the vesa driver instead of xf86-video-ati


I have never bought on ebay, the macbook I do not like, I do not need facebook or myspace or secondlife
I am not a nerd or lamer or troll or geek or hacker or cracker
and I have never voted to elect berlusconi

Offline

#14 2009-10-11 10:04:38

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: ATI & kernel .31.2 - no direct rendering

Same problem for me. Here it is said that mesa >7.6 is needed and in extra is only 7.5 ... Don't know whether that's the problem or not.

Last edited by Slurp (2009-10-11 10:05:45)


Stop the world, I get off...

Offline

#15 2009-10-11 11:19:11

jwork123nl
Member
Registered: 2009-10-11
Posts: 19

Re: ATI & kernel .31.2 - no direct rendering

In my case, after the update to kernel 2.6.31.3-1, the xorg.0.log says:

(EE) RADEON(0): [dri] RADEONDRIGetVersion failed because of a version mismatch.
[dri] radeon kernel module version is 2.0.0 but version 1.8.0 or newer is needed.
[dri] Disabling DRI.

eh, WTF? I believe 2.00 > 1.8.0, no?

As a result:
(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable

and indeed no effects in kwin.

[Edit] Also tried without xorg.conf and removed VGA option from kernel cmd line.
To no avail.

Last edited by jwork123nl (2009-10-11 11:34:24)

Offline

#16 2009-10-11 11:42:41

jwork123nl
Member
Registered: 2009-10-11
Posts: 19

Re: ATI & kernel .31.2 - no direct rendering

Just reinstalled the following packages

xf86-video-ati (6.12.4), libdrm (2.4.13), mesa (7.5.1), ati-dri (7.5.1), libgl (7.5.1).

Did not help.
According to xorg log, kernel modeswitching _is_ enabled

Last edited by jwork123nl (2009-10-11 11:44:28)

Offline

#17 2009-10-11 11:46:39

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: ATI & kernel .31.2 - no direct rendering

If you have issues, disable KMS.

Offline

#18 2009-10-11 11:53:21

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: ATI & kernel .31.2 - no direct rendering

I tried it but reverting changes didn't help... It looks like kms is still active because logging in there is no blink as it was before...


Stop the world, I get off...

Offline

#19 2009-10-11 11:57:26

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: ATI & kernel .31.2 - no direct rendering

I'll try to add more information and workarounds on the wiki.

Last edited by flamelab (2009-10-11 14:04:35)

Offline

#20 2009-10-11 12:02:49

jwork123nl
Member
Registered: 2009-10-11
Posts: 19

Re: ATI & kernel .31.2 - no direct rendering

flamelab wrote:

If you have issues, disable KMS.

This was it!

I used the kernel command line option radeon.modeset=0 and have DRI and desktop effects enabled again. thanks!

Offline

#21 2009-10-11 13:21:02

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: ATI & kernel .31.2 - no direct rendering

I followed the new instructions in the wiki to disable KMS and compositing is working again. Thanks flamelab


Stop the world, I get off...

Offline

#22 2009-10-11 13:21:28

guepe
Member
Registered: 2009-01-29
Posts: 4

Re: ATI & kernel .31.2 - no direct rendering

Hmmmfff : I suppose I should try disabling KMS, but I don't know how to do it (radeon.modeset=0 ? sysctl radeon.modeset=0 as root does not work suppose it is not sysctl ?
How to disable KMS ? Thanks...

Offline

#23 2009-10-11 13:51:29

redbit
Member
Registered: 2007-11-13
Posts: 57

Re: ATI & kernel .31.2 - no direct rendering

You could add this as a kernel parameter in /boot/grub/menu.lst for example if you're using grub.

Last edited by redbit (2009-10-11 13:51:47)

Offline

#24 2009-10-11 15:54:13

hungerfish
Member
Registered: 2009-09-13
Posts: 254

Re: ATI & kernel .31.2 - no direct rendering

My kernel line, which disables kms, and gets direct rendering up and running again + working framebuffer on the ttys:

kernel /vmlinuz26 root=/dev/your/boot/partition ro vga=773 radeon.modeset=0

However:
/var/log/errors.log now says:

Oct 11 15:15:44 ViciousVincent kernel: Unknown boot option `radeon.modeset=0': ignoring

Also, why the hell isn't EXA used by default when running without xorg.conf???
I only realised this by stumbling because of this kms-problem, that XAA was being used, despite a big fat warning in Xorg.0.log about that you're not supposed to be using it. Copying the default config from the log and adding to it resuls in this (only Device section here):

Section "Device"
        Identifier    "Builtin Default ati Device 0"
        Driver        "ati"
        Option          "AccelMethod"           "EXA"
        Option        "EXAVSync"         "On"
EndSection

Which is just working fine wink

Last edited by hungerfish (2009-10-11 15:55:15)


Beetles and bacteria are vastly more successful than humans in terms of survival.

Offline

#25 2009-10-11 15:56:50

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: ATI & kernel .31.2 - no direct rendering

Replace radeon.modeset=0 with nomodeset and tell us what happened.

Offline

Board footer

Powered by FluxBB