---------------------------- Original Message ---------------------------- Subject: Re: [mpv] --vo=gpu not working, permission denied From: beecdadd...@danwin1210.de Date: Tue, February 27, 2024 10:24 am To: "Stefan Hagen" <sh+openbsd-po...@codevoid.de> --------------------------------------------------------------------------
thanks! I remember doing in past and looking at GiveConsole I can't believe I forgot about this of course I didn't know why it happened it fixes this yes can I ask why does console tty0 do that and not others, what is the purpose? best regards On Tue, February 27, 2024 6:00 am, Stefan Hagen wrote: > beecdadd...@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