Re: DRM access rights

2021-11-23 Thread Chavdar Ivanov



On 11/23/21 10:45 PM, Riccardo Mottola wrote:

Hi Matthew,

matthew green wrote:

how can I solve this? Usually it is the means of adding oneself to a
specific group, changing devfs, but found nothing of there like.

check the perms on /dev/dri/card0.  make sure your console
user has read/write access to it.


oh indeed, wheel had only "r", I added "w".
Now glxgears starts without complaining that, displays a half-broken 
gear and then will crash


i965: Failed to submit batchbuffer: Input/output error

wow! No wonder I cannot use WebGL in browsers, I think this needs to 
be solved first.



On my Intel 530:

..

OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 19.1.17
OpenGL core profile shading language version string: 4.50

...


it works fine - 'vblank_mode=0 glxgears' gives me about 570 fp/s when 
ran full screen, on a system from 22/11. Firefox 94.0.1 also works OK 
with WebGL - https://cad.onshape.com/check returns some 24 million 
triangles/sec.


Chavdar




Riccardo



Re: DRM access rights

2021-11-23 Thread Riccardo Mottola

Hi Matthew,

matthew green wrote:

how can I solve this? Usually it is the means of adding oneself to a
specific group, changing devfs, but found nothing of there like.

check the perms on /dev/dri/card0.  make sure your console
user has read/write access to it.


oh indeed, wheel had only "r", I added "w".
Now glxgears starts without complaining that, displays a half-broken 
gear and then will crash


i965: Failed to submit batchbuffer: Input/output error

wow! No wonder I cannot use WebGL in browsers, I think this needs to be 
solved first.


Riccardo



re: DRM access rights

2021-11-20 Thread matthew green
> libGL error: failed to open drm device: Permission denied
> libGL error: failed to load driver: i965
>
> how can I solve this? Usually it is the means of adding oneself to a 
> specific group, changing devfs, but found nothing of there like.

check the perms on /dev/dri/card0.  make sure your console
user has read/write access to it.


.mrg.