You are not logged in.
checked with vainfo the settings of my configuration and that's the output:
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
vainfo: VA-API version: 1.18 (libva 2.18.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
<unknown profile> : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
so i believe that for some reason XDG_RUNTIME_DIR is not vaild even if it's value is: "/run/user/1000", that is a valid value according to the Arch wiki.
did i miss to configure some wayland's env variables?
software: propriery nvidia drivers (nvidia package), gnome 44.1 on wayland, arch
hardware: nvidia 1050ti, pascal architecture
Offline
echo $XDG_RUNTIME_DIR
stat $XDG_RUNTIME_DIR
Offline
/run/user/1000
File: /run/user/1000
Dim.: 480 Blocchi: 0 Blocco di IO: 4096 directory
Device: 0,54 Inode: 1 Links: 16
Accesso: (0700/drwx------) Uid: ( 1000/ davidel) Gid: ( 1000/ davidel)
Accesso : 2023-06-26 02:22:20.164288010 +0200
Modifica : 2023-06-26 01:25:05.927195774 +0200
Cambio : 2023-06-26 01:25:05.927195774 +0200
Creazione: 2023-06-26 02:22:20.164288010 +0200
maybe the problem is the fact that i run vainfo with sudo privileges.
> vainfo
Trying display: wayland
zsh: floating point exception (core dumped) vainfo
> sudo vainfo
[sudo] password di davidel:
Trying display: wayland
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
Trying display: x11
vainfo: VA-API version: 1.18 (libva 2.18.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileMPEG4Simple : VAEntrypointVLD
VAProfileMPEG4AdvancedSimple : VAEntrypointVLD
<unknown profile> : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
Last edited by lucidavide@hotmail.it (2023-06-25 23:39:28)
Offline
the problem is the fact that i run vainfo with sudo privileges
Yes, don't do that.
loginctl session-status
Offline
installing this solved the problem: https://github.com/elFarto/nvidia-vaapi-driver/
maybe i was using the wrong driver lol
Offline