From: beecdaddict@danwin1210.de Subject: Re: [mpv] --vo=gpu not working, permission denied To: "Theo de Raadt" Cc: ports@openbsd.org Date: Tue, 27 Feb 2024 10:27:14 -0000 you are faster than me asking questions well maybe a warning in dmesg or something will be nice so you don't get same people asking this fix? or save the initial user who owned /dev/dri/.. and then chown back to that after exit or something? On Tue, February 27, 2024 6:13 am, Theo de Raadt wrote: > This is because the fbtab subsystem is quite broken. No good > alternative designs have come forward. > > Stefan Hagen 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 /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 >> >> > >