[gentoo-user] direct rendering only works with root???
I installed ati-drivers and "partially" works correctly: As user nothing works: --- [EMAIL PROTECTED] ~ $ fglrxinfo && glxinfo | grep rendering libGL error: failed to open DRM: Operation not permitted libGL error: reverting to (slow) indirect rendering display: :0.0 screen: 0 OpenGL vendor string: Mesa project: www.mesa3d.org OpenGL renderer string: Mesa GLX Indirect OpenGL version string: 1.2 (1.5 Mesa 6.4.2) libGL error: failed to open DRM: Operation not permitted libGL error: reverting to (slow) indirect rendering direct rendering: No --- with root: --- [EMAIL PROTECTED] ~ $ su - Password: aghartilap ~ # fglrxinfo && glxinfo | grep rendering display: :0.0 screen: 0 OpenGL vendor string: ATI Technologies Inc. OpenGL renderer string: MOBILITY RADEON X300 Generic OpenGL version string: 2.0.5879 (8.26.18) direct rendering: Yes --- So now I'm using KDE without the hardware acceleration... Can someone help me fix it? Thanks Mauro -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
On Mon, Jul 03, 2006 at 03:17:18PM +0200, Mauro Arnoldi wrote: > I installed ati-drivers and "partially" works correctly: > > As user nothing works: > --- > [EMAIL PROTECTED] ~ $ fglrxinfo && glxinfo | grep rendering > libGL error: failed to open DRM: Operation not permitted > libGL error: reverting to (slow) indirect rendering > display: :0.0 screen: 0 > OpenGL vendor string: Mesa project: www.mesa3d.org > OpenGL renderer string: Mesa GLX Indirect > OpenGL version string: 1.2 (1.5 Mesa 6.4.2) > > libGL error: failed to open DRM: Operation not permitted > libGL error: reverting to (slow) indirect rendering > direct rendering: No > --- > > with root: > --- > [EMAIL PROTECTED] ~ $ su - > Password: > aghartilap ~ # fglrxinfo && glxinfo | grep rendering > display: :0.0 screen: 0 > OpenGL vendor string: ATI Technologies Inc. > OpenGL renderer string: MOBILITY RADEON X300 Generic > OpenGL version string: 2.0.5879 (8.26.18) > > direct rendering: Yes > --- > > So now I'm using KDE without the hardware acceleration... Can someone help me > fix it? > Check your xorg.conf for the following: Section "DRI" Mode 0666 EndSection HTH, festus -- It is not unusual for those at the wrong end of the club to have a clearer picture of reality than those who wield it. Noam Chomsky pgphDK90qG3y6.pgp Description: PGP signature
Re: [gentoo-user] direct rendering only works with root???
On 7/3/06, John J. Foster <[EMAIL PROTECTED]> wrote: Check your xorg.conf for the following: Section "DRI" Mode 0666 EndSection Or for a bit better security: Section "DRI" Group "graphics" Mode 0660 EndSection And then make sure your user is a member of the graphics group. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
On Mon, Jul 03, 2006 at 09:28:23AM -0700, Richard Fish wrote: > On 7/3/06, John J. Foster <[EMAIL PROTECTED]> wrote: > >Check your xorg.conf for the following: > > > >Section "DRI" > >Mode 0666 > >EndSection > > Or for a bit better security: > > Section "DRI" >Group "graphics" >Mode 0660 > EndSection > > And then make sure your user is a member of the graphics group. > Thanks Richard, excellent idea. festus -- It is not unusual for those at the wrong end of the club to have a clearer picture of reality than those who wield it. Noam Chomsky pgpIJSFFY4jxq.pgp Description: PGP signature
Re: [gentoo-user] direct rendering only works with root???
Alle 20:48, lunedì 03 luglio 2006, John J. Foster ha scritto: > On Mon, Jul 03, 2006 at 09:28:23AM -0700, Richard Fish wrote: > > On 7/3/06, John J. Foster <[EMAIL PROTECTED]> wrote: > > >Check your xorg.conf for the following: > > > > > >Section "DRI" > > >Mode 0666 > > >EndSection > > > > Or for a bit better security: > > > > Section "DRI" > >Group "graphics" > >Mode 0660 > > EndSection > > > > And then make sure your user is a member of the graphics group. > > Thanks Richard, excellent idea. Thanks to everyone! :) > festus -- (italia) % Il paradiso e' un poliziotto inglese, un cuoco francese, un tecnico tedesco, un amante italiano: il tutto organizzato dagli svizzeri. L'inferno e' un cuoco inglese, un tecnico francese, un poliziotto tedesco, un amante svizzero, e l'organizzazione affidata agli italiani. -- J. Elliott -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
On Tuesday, 4 July 2006 1:58, Richard Fish wrote: > On 7/3/06, John J. Foster <[EMAIL PROTECTED]> wrote: > > Check your xorg.conf for the following: > > > > Section "DRI" > > Mode 0666 > > EndSection > > Or for a bit better security: > > Section "DRI" > Group "graphics" > Mode 0660 > EndSection > > And then make sure your user is a member of the graphics group. > > -Richard I think it's common practice to use the existing 'video' group for this. As opposed to making a whole new graphics group. -- Raymond Lewis Rebbeck -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
On 7/4/06, Raymond Lewis Rebbeck <[EMAIL PROTECTED]> wrote: I think it's common practice to use the existing 'video' group for this. As opposed to making a whole new graphics group. No objection to using an existing group. But in fact, I have both video and graphics groups, and I didn't create either one of them myself. -Richard -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit : > On Mon, Jul 03, 2006 at 03:17:18PM +0200, Mauro Arnoldi wrote: > > I installed ati-drivers and "partially" works correctly: > > > > As user nothing works: > > --- > > [...] > > direct rendering: No > > --- > > > > with root: > > --- > > [...] > > direct rendering: Yes > > --- > > > > So now I'm using KDE without the hardware acceleration... Can someone help > > me > > fix it? I have a very similar (with an intel i955 card and gnome)... > > > Check your xorg.conf for the following: > > Section "DRI" > Mode 0666 > EndSection but this line is already in my xorg.conf. Furthermore, it only happens in my first session. If I logout and login again (trough gdm), direct rendering works for the normal user ! Has someone any idea to explain this ? Fred -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
On Fri, 2006-07-07 at 01:43 +0200, Frédéric Grosshans wrote: > Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit : > > Check your xorg.conf for the following: > > > > Section "DRI" > > Mode 0666 > > EndSection > > but this line is already in my xorg.conf. > > Furthermore, it only happens in my first session. If I logout and login > again (trough gdm), direct rendering works for the normal user ! Is your udev putting the permissions correctly? This was one of the issues previously. $grep dri /etc/udev/rules.d/50-udev.rules # dri devices KERNEL=="card*",NAME="dri/card%n", GROUP="video" -- Ow Mun Heng <[EMAIL PROTECTED]> -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] direct rendering only works with root???
Le jeudi 06 juillet 2006 à 16:51 -0700, Ow Mun Heng a écrit : > On Fri, 2006-07-07 at 01:43 +0200, Frédéric Grosshans wrote: > > Le lundi 03 juillet 2006 à 09:44 -0400, John J. Foster a écrit : > > > > Check your xorg.conf for the following: > > > > > > Section "DRI" > > > Mode 0666 > > > EndSection > > > > but this line is already in my xorg.conf. > > > > Furthermore, it only happens in my first session. If I logout and login > > again (trough gdm), direct rendering works for the normal user ! > I've just checked, and I'm not in the video group ! I guess that's the problem, but then, why does it work after logout and login ? > Is your udev putting the permissions correctly? This was one of the > issues previously. > > $grep dri /etc/udev/rules.d/50-udev.rules > # dri devices > KERNEL=="card*",NAME="dri/card%n", GROUP="video" > I have exactly the same line in 50-udev.rules, but I didn't understand wether it meeans that I have this problem or that it has been solved ? -- gentoo-user@gentoo.org mailing list