Re: drm permissions error with i965 on amd64 6.2 with libGL applications

2018-03-03 Thread edgar

On Mar 3, 2018 6:59 AM, Jonathan Gray  wrote:
>
> On Sat, Mar 03, 2018 at 06:48:21AM -0600, ed...@pettijohn-web.com wrote:
> > 
> > On Mar 3, 2018 5:52 AM, Z Ero  wrote:
> > >
> > > "libGL error: failed to open drm device: Permission denied
> > > libGL error: failed to load driver: i965"
> > >
> > > I can solve it by changing the permissions on /dev/drm0 to rw for users 
> > > but:
> > >
> > > (1) I am not sure if that introduces a realistic security risk.
> > 
> > I don't know.
> > 
> > > (2) The permissions are reverted on reboot making a minor annoyance to
> > > reset them.
> > >
> > /etc/rc.local
> > chmod o+rw /dev/drm0
>
> Do not do that.  Ownership is set on login via /etc/fbtab.
>
Then perhaps . xinitrc



Re: drm permissions error with i965 on amd64 6.2 with libGL applications

2018-03-03 Thread Jonathan Gray
On Sat, Mar 03, 2018 at 06:48:21AM -0600, ed...@pettijohn-web.com wrote:
> 
> On Mar 3, 2018 5:52 AM, Z Ero  wrote:
> >
> > "libGL error: failed to open drm device: Permission denied
> > libGL error: failed to load driver: i965"
> >
> > I can solve it by changing the permissions on /dev/drm0 to rw for users but:
> >
> > (1) I am not sure if that introduces a realistic security risk.
> 
> I don't know.
> 
> > (2) The permissions are reverted on reboot making a minor annoyance to
> > reset them.
> >
> /etc/rc.local
> chmod o+rw /dev/drm0

Do not do that.  Ownership is set on login via /etc/fbtab.



Re: drm permissions error with i965 on amd64 6.2 with libGL applications

2018-03-03 Thread Peter J. Philipp
Hi,

does the xf86 manpage help any?  I don't know if the two are related but
when it comes to permissions of the vga card, I think this is a spot to
look.

Regards,

-peter


On 03/03/18 12:52, Z Ero wrote:
> "libGL error: failed to open drm device: Permission denied
> libGL error: failed to load driver: i965"
>
> I can solve it by changing the permissions on /dev/drm0 to rw for users but:
>
> (1) I am not sure if that introduces a realistic security risk.
> (2) The permissions are reverted on reboot making a minor annoyance to
> reset them.
>
> Advice?



Re: drm permissions error with i965 on amd64 6.2 with libGL applications

2018-03-03 Thread edgar

On Mar 3, 2018 5:52 AM, Z Ero  wrote:
>
> "libGL error: failed to open drm device: Permission denied
> libGL error: failed to load driver: i965"
>
> I can solve it by changing the permissions on /dev/drm0 to rw for users but:
>
> (1) I am not sure if that introduces a realistic security risk.

I don't know.

> (2) The permissions are reverted on reboot making a minor annoyance to
> reset them.
>
/etc/rc.local
chmod o+rw /dev/drm0


> Advice?
>



drm permissions error with i965 on amd64 6.2 with libGL applications

2018-03-03 Thread Z Ero
"libGL error: failed to open drm device: Permission denied
libGL error: failed to load driver: i965"

I can solve it by changing the permissions on /dev/drm0 to rw for users but:

(1) I am not sure if that introduces a realistic security risk.
(2) The permissions are reverted on reboot making a minor annoyance to
reset them.

Advice?