Michel Dänzer wrote:

On Wed, 2003-07-23 at 00:42, Daniel Kasak wrote:


I'm using XFree86-4.3.0 compiled with the latest Gentoo ebuild. Everything works fine at home ( with my Radeon 64MB DDR VIVO ), but here at work DRI only works as root. As a normal user, glxinfo gives me:

name of display: :0.0
libGL error: failed to open DRM: Operation not permitted



[...]




[EMAIL PROTECTED] dan # ls -l /dev/dri
total 0
crw-rw-rw- 1 root root 226, 0 2003-07-23 08:14 card0



(BTW, I hope you're aware that mode 660 and a dedicated group would be preferable from a security standpoint)

Weird... were the DRM and radeon_dri.so built with the same or at least
a similar compiler? If so, do

LIBGL_DEBUG=verbose glxinfo

or

strace glxinfo

provide more information?




Thanks for the quick reply. After looking at the output from `LIBGL_DEBUG=verbose glxinfo` and sniffing around the place I noticed that I ( as a normal user ) didn't have permission to cd into the /dev/dri directory. I did a 'chmod 755 /dev/dri' and now everything works.
Yeah I know things could be more secure. But I'm the only user here who has a clue about Linux, and we're behind a firewall, and ... well ... I'm just happy that DRI is now working :)


Thanks again for the help!

Dan

--
Daniel Kasak
IT Developer
* NUS Consulting Group*
Level 18, 168 Walker Street
North Sydney, NSW, Australia 2060
T: (+61) 2 9922-7676 / F: (+61) 2 9922 7989
email: [EMAIL PROTECTED]
website: www.nusconsulting.com



-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the
same time. Free trial click here: http://www.vmware.com/wl/offer/345/0
_______________________________________________
Dri-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to