Monday, February 26, 2024

Re: [mpv] --vo=gpu not working, permission denied

This is because the fbtab subsystem is quite broken. No good
alternative designs have come forward.

Stefan Hagen <sh+openbsd-ports@codevoid.de> wrote:

> beecdaddict@danwin1210.de wrote (2024-02-26 22:54 CET):
> > libEGL warning: failed to open /dev/dri/card0: Permission denied
>
> You can fix it with: chown <user> /dev/dri/card0 /dev/dri/renderD128
>
> Xenodm does this automatically when you log in.
> See /etc/X11/xenodm/GiveConsole
>
> The permission are also set when you log in on ttyC0.
> See /etc/fbtab and fbtab(5)
>
> Therefore the permissions are changing when you jump out of X
> with ctrl+alt+f1 and log in as root. When you hop back into X,
> the permissions are wrong.
>
> This only happens on the first console. Use another one instead
> (ctrl+alt+f2,3,4) while using X.
>
> Best Regards,
> Stefan
>

No comments:

Post a Comment