From: Stefan Hagen Subject: Re: [mpv] --vo=gpu not working, permission denied To: ports@openbsd.org Date: Tue, 27 Feb 2024 07:00:54 +0100 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