SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
having a strange issue with some opengl things... if i run xscreensaver to start the daemon i get this error and when i run itunes via wine i get the same error....both seem to run a bit slow... any ideas? if this needs moved to a more suitable forum please do so mods...
Code:
bash-3.00$ /opt/cxoffice/bin/wine --cx-app itunes.exe
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Code:
bash-3.00$ xscreensaver -nosplash &
[1] 17335
bash-3.00$ libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Looks like a permissions issue. Let's confirm that first.
Open a terminal and try these commands:
Code:
xhost+
su
DISPLAY=:0.0
glxgears
If it's not a permissions issue, you should see the same message (Operation Not Permitted) from the glxgears command. It'll also run slow.
If you don't see that message, then DRI is working fine, permissions are just borked somewhere. You should have this section in your /etc/X11/xorg.conf:
Code:
Section "dri"
Mode 0666
EndSection
Also, try:
Code:
ls -l /dev/dri/card0
You want to see rw-rw-rw or rw-rw---- for the permissions. If it's the latter, your user needs to be in the video group. If it's the former, you should be good to go.
Ok to cover all bases I added the stuff to xorg.conf, checked to make sure that /dev/dri/card0 is rw-rw-rw, and my user is in the video group. Seems to have covered it and gotten rid of the errors. Maybe its just a crappy card and even with the 64mb shared of mem it still runs slow, for instance when switching workspaces in enlightenment, seems to sort of frame over...
in xorg.conf i have the following enabled for the card...would these have any bearing on that?
Sorry, I'm not really familiar with your card; I can't give you any bearing on whether or not those options have to do with it. I'd try messing with the hardware cursor,
perhaps add an Option "AGPMode" "4" line to make sure you're running it at the right speed.
Very good, I'll see what I can find on the card somewhere....by default it sets the card at 2x mode.... maybe thats all the higher it can do. Wonder if theres a way to see all the supported options for it. Thanks for the info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.