Every time I play a video with mpv show errors related con vpau, vaapi and vulkan

Asked by Marcos Casquero

I am not sure if it's a bug, it could be a problem of configuration. mpv shows this when I start playing a video.

[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
[vo/gpu] Failed to commit ModeSetting atomic request (-13)
[vo/gpu/opengl] Failed to set CRTC for connector 77: Permission denied
[vo/gpu/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/wlshm/wayland] GNOME's wayland compositor lacks support for the idle inhibit protocol. This means the screen can blank during playback.
[vaapi] libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)

running vaainfo I see something wrong
libva info: VA-API version 1.14.0
libva error: vaGetDriverNameByIndex() failed with invalid VADisplay, driver_name = (null)
vaInitialize failed with error code 3 (invalid VADisplay),exit

Thanks

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: mpv 0.34.1-1ubuntu3
ProcVersionSignature: Ubuntu 5.15.0-37.39-generic 5.15.35
Uname: Linux 5.15.0-37-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Thu Jun 9 21:44:10 2022
InstallationDate: Installed on 2022-05-17 (22 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=es_ES.UTF-8
 SHELL=/bin/bash
SourcePackage: mpv
UpgradeStatus: No upgrade log present (probably fresh install)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu mpv Edit question
Assignee:
No assignee Edit question
Solved by:
Daniel van Vugt
Solved:
Last query:
Last reply:
Revision history for this message
Marcos Casquero (mcasquero) said (last edit ):
#1

The program not crashing, succesfully run but with errors. I would like to solve them.

Revision history for this message
Best Daniel van Vugt (vanvugt) said :
#2

Those are messages for developers. You should ignore them.

The "libva error: vaGetDriverNameByIndex()" is also correct -- the Nvidia driver does not support libva (VA-API).

Those messages highlight poor user interface design, but I don't see any bugs.

Revision history for this message
Marcos Casquero (mcasquero) said :
#3

Thanks Daniel van Vugt, that solved my question.