Running OpenGL applications as a normal user who is in the video group cannot access /dev/dri/* Looking in /etc/X11/xorg.conf I found this: Section "DRI" Group 0 EndSection I changed it to what I though it should be: Section "DRI" Group 27 EndSection And it creates /dev/dri/card0 (or whatever card) with root:video ownership. After the change my world is a better place. Please make the world a better place for everyone. Reproducible: Always Steps to Reproduce: 1. emerge xorg-x11 2. put a user in video group 3. login as said user 4. run glxgears 5. observe error message on command line. Actual Results: All OpenGL apps puke the error: libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering Expected Results: No error message and higher framerates. This on a Dell Inspiron 1100 with the i845 (brookdale) video chip with shared memory. Without applying the fix I get ~300fps and the error. With the fix I get 750pfs and no error I haven't done much with mu USE flags. I don't think there's anything I could do in them that would affect this since the default ones have OpenGL in them already. -------------- 'emerge --info' output -------------- Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r2 i686) ================================================================= System uname: 2.6.11-gentoo-r2 i686 Intel(R) Celeron(R) CPU 2.30GHz Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 14 2005, 15:11:27)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.21-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fPIC" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fPIC" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://ftp.ndlug.nd.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acpi alsa apach2 apm arts avi bash-completion berkdb bitmap-fonts bzlib cdr crypt cups curl dio doc emboss encode esd f77 fam flac font-server foomaticdb fortran ftp gdbm gif gnome gpm gstreamer gtk gtk+ gtk2 hardenedphp imagemagick imap imlib java jpeg junit kde libg++ libwww mad mboz mikmod mmx motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl php png ppds python qt quicktime readline samba sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb vhosts xml xml2 xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
You also want a Mode 0660 line in there, if you want it usable by the video group. ls -ld /dev/dri /dev/dri/*
What did you use to create that xorg.conf? Please reopen when you reply.