* [gentoo-user] direct rendering only works with root??? @ 2006-07-03 13:17 Mauro Arnoldi 2006-07-03 13:44 ` John J. Foster 0 siblings, 1 reply; 10+ messages in thread From: Mauro Arnoldi @ 2006-07-03 13:17 UTC (permalink / raw To: gentoo-user I installed ati-drivers and "partially" works correctly: As user nothing works: ------- mauro@aghartilap ~ $ 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: ------- mauro@aghartilap ~ $ 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 13:17 [gentoo-user] direct rendering only works with root??? Mauro Arnoldi @ 2006-07-03 13:44 ` John J. Foster 2006-07-03 16:28 ` Richard Fish 2006-07-06 23:43 ` Frédéric Grosshans 0 siblings, 2 replies; 10+ messages in thread From: John J. Foster @ 2006-07-03 13:44 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1409 bytes --] 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: > ------- > mauro@aghartilap ~ $ 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: > ------- > mauro@aghartilap ~ $ 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 [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 13:44 ` John J. Foster @ 2006-07-03 16:28 ` Richard Fish 2006-07-03 18:48 ` John J. Foster 2006-07-04 7:40 ` Raymond Lewis Rebbeck 2006-07-06 23:43 ` Frédéric Grosshans 1 sibling, 2 replies; 10+ messages in thread From: Richard Fish @ 2006-07-03 16:28 UTC (permalink / raw To: gentoo-user On 7/3/06, John J. Foster <Gentoo-User@festus.150ml.com> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 16:28 ` Richard Fish @ 2006-07-03 18:48 ` John J. Foster 2006-07-04 7:29 ` Mauro Arnoldi 2006-07-04 7:40 ` Raymond Lewis Rebbeck 1 sibling, 1 reply; 10+ messages in thread From: John J. Foster @ 2006-07-03 18:48 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 653 bytes --] On Mon, Jul 03, 2006 at 09:28:23AM -0700, Richard Fish wrote: > On 7/3/06, John J. Foster <Gentoo-User@festus.150ml.com> 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 [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 18:48 ` John J. Foster @ 2006-07-04 7:29 ` Mauro Arnoldi 0 siblings, 0 replies; 10+ messages in thread From: Mauro Arnoldi @ 2006-07-04 7:29 UTC (permalink / raw To: gentoo-user 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 <Gentoo-User@festus.150ml.com> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 16:28 ` Richard Fish 2006-07-03 18:48 ` John J. Foster @ 2006-07-04 7:40 ` Raymond Lewis Rebbeck 2006-07-04 22:15 ` Richard Fish 1 sibling, 1 reply; 10+ messages in thread From: Raymond Lewis Rebbeck @ 2006-07-04 7:40 UTC (permalink / raw To: gentoo-user On Tuesday, 4 July 2006 1:58, Richard Fish wrote: > On 7/3/06, John J. Foster <Gentoo-User@festus.150ml.com> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-04 7:40 ` Raymond Lewis Rebbeck @ 2006-07-04 22:15 ` Richard Fish 0 siblings, 0 replies; 10+ messages in thread From: Richard Fish @ 2006-07-04 22:15 UTC (permalink / raw To: gentoo-user On 7/4/06, Raymond Lewis Rebbeck <dystopianray@gmail.com> 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-03 13:44 ` John J. Foster 2006-07-03 16:28 ` Richard Fish @ 2006-07-06 23:43 ` Frédéric Grosshans 2006-07-06 23:51 ` Ow Mun Heng 1 sibling, 1 reply; 10+ messages in thread From: Frédéric Grosshans @ 2006-07-06 23:43 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-06 23:43 ` Frédéric Grosshans @ 2006-07-06 23:51 ` Ow Mun Heng 2006-07-07 10:57 ` Frédéric Grosshans 0 siblings, 1 reply; 10+ messages in thread From: Ow Mun Heng @ 2006-07-06 23:51 UTC (permalink / raw To: gentoo-user 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 <Ow.Mun.Heng@wdc.com> -- gentoo-user@gentoo.org mailing list ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [gentoo-user] direct rendering only works with root??? 2006-07-06 23:51 ` Ow Mun Heng @ 2006-07-07 10:57 ` Frédéric Grosshans 0 siblings, 0 replies; 10+ messages in thread From: Frédéric Grosshans @ 2006-07-07 10:57 UTC (permalink / raw To: gentoo-user 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-07-07 10:56 UTC | newest] Thread overview: 10+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-07-03 13:17 [gentoo-user] direct rendering only works with root??? Mauro Arnoldi 2006-07-03 13:44 ` John J. Foster 2006-07-03 16:28 ` Richard Fish 2006-07-03 18:48 ` John J. Foster 2006-07-04 7:29 ` Mauro Arnoldi 2006-07-04 7:40 ` Raymond Lewis Rebbeck 2006-07-04 22:15 ` Richard Fish 2006-07-06 23:43 ` Frédéric Grosshans 2006-07-06 23:51 ` Ow Mun Heng 2006-07-07 10:57 ` Frédéric Grosshans
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox