Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DRM only works the first time i start X {SOLVED}
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
leshii
n00b
n00b


Joined: 17 Mar 2004
Posts: 21
Location: UK

PostPosted: Sun Sep 18, 2005 7:50 pm    Post subject: DRM only works the first time i start X {SOLVED} Reply with quote

I have been having some problems getting X to do DRM consistently.

The frist time i startx all is fine glxinfo shows
Code:
Direct Rendering: Yes

if i then exit X and do startx again i get
Code:
Direct Rendering: No


I have discovered that This is due to the Radeon and drm modules not being unloaded.
Now obviously this is easy to fix by issuing
Code:
modprobe -r Radeon drm

but i have to do this as root and every time i exit X, which is a bit of a pain.
An ugly fix has been to add
Code:
sudo modprobe -r radeon drm

to the startx script.

I dont remember having to do any of this in the past.
Should this be needed or have i borked something which should auto unload the modules when finished with?

Xorg 6.8.2-r4
kernel 2.6.12-r6
agp and radeon driver compiled from kernel
radeon 7200 (yes i know its old but i´m skint)

If any one can shed some light i would be greatful if not i shall leave my botched fix as is.


Last edited by leshii on Sun Oct 23, 2005 4:37 pm; edited 1 time in total
Back to top
View user's profile Send private message
Koxta
Retired Dev
Retired Dev


Joined: 19 Mar 2004
Posts: 204
Location: Warszawa

PostPosted: Tue Sep 20, 2005 10:57 pm    Post subject: Reply with quote

Hi!

I have the very opposite problem! First time I start X I get no drm :( then, after restarting X, drm is back there.

Any ideas?

Regards,

Koxta
_________________
Willst du dich von etwas trennen
Dann musst du es verbrennen
Willst du es nie wiedersehen
Lass es schwimmen in Benzin!
Back to top
View user's profile Send private message
leshii
n00b
n00b


Joined: 17 Mar 2004
Posts: 21
Location: UK

PostPosted: Sun Oct 23, 2005 4:37 pm    Post subject: Reply with quote

Solved
i didnt put the line
Code:

Section ¨DRI¨
        Mode 0666
EndSection


Oops
Can now amend startx script back to how it was
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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