You are not logged in.
Pages: 1
Hello everyone, I've been trying to get mpv with hardware acceleration(and some shaders) to work.
When trying to play any video I get the following output:
Title: PSArips.com | Westworld.S02E10.The.Passenger.720p.10bit.WEBRip.2CH.x265.HEVC-PSA
[vo/gpu/vulkan/libplacebo] Failed creating instance: VK_ERROR_EXTENSION_NOT_PRESENT
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan instance
[vo/gpu/vulkan/libplacebo] vkEnumeratePhysicalDevices(params->instance, &num, NULL): VK_ERROR_INITIALIZATION_FAILED
[vo/gpu/vulkan/libplacebo] Found no suitable device, giving up.
[vo/gpu/vulkan/libplacebo] Failed initializing vulkan device
[vo/vdpau] Error when calling vdp_device_create_x11: 1
[vo/xv] Warning: this legacy VO has bad quality and performance, and will in particular result in blurry OSD and subtitles. You should
[autoconvert] Converting yuv420p10 -> yuv420p
AO: [pulse] 48000Hz stereo 2ch float
VO: [xv] 1280x720 yuv420p
[vo/xv] X11 can't keep up! Waiting for XShm completion events...
AV: 00:00:01 / 01:31:24 (0%) A-V: -0.292 DS: 14.030/47 Cache: 685s/86MB
Audio/Video desynchronisation detected! Possible reasons include too slow
hardware, temporary CPU spikes, broken drivers, and broken files. Audio
position will not match to the video (see A-V status field).
The output of vdpauinfo is:
display: :0 screen: 0
Error creating VDPAU device: 1
I've tried setting the environment variable
VDPAU_DRIVER=nvidia
like the wiki says which changed nothing.
The output of ls /usr/lib/vdpau :
libvdpau_nvidia.so libvdpau_nvidia.so.1 libvdpau_nvidia.so.455.23.04 libvdpau_trace.so libvdpau_trace.so.1 libvdpau_trace.so.1.0.0
Offline
Does other acceleration work properly? This error chain reads like a lot more is broken rather than just vdpau.
All of this points to a deeper issue than just vdpau being broken, post your xorg log and
glxinfo -B #mesa-demos
nvidia-smi
dmesg
Offline
Hello, thanks for the reply.
Output of glxinfo -B #mesa-demos :
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 2048 MB
Total available memory: 2048 MB
Currently available dedicated video memory: 1908 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 1050/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 455.23.04
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 455.23.04
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 455.23.04
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
nvidia-smi :
Wed Sep 30 12:01:39 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 455.23.04 Driver Version: 455.23.04 CUDA Version: 11.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 On | N/A |
| 0% 48C P8 N/A / 70W | 87MiB / 1997MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 366 G /usr/lib/Xorg 84MiB |
+-----------------------------------------------------------------------------+
dmesg | grep nvidia:
[ 3.930365] nvidia: loading out-of-tree module taints kernel.
[ 3.930372] nvidia: module license 'NVIDIA' taints kernel.
[ 3.936974] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.951939] nvidia-nvlink: Nvlink Core is being initialized, major device number 237
[ 3.952501] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 4.108894] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 455.23.04 Sun Sep 13 23:36:51 UTC 2020
[ 4.112945] [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
[ 4.112947] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 0
From the xorg logs as far as I can tell it's loading the correct driver, grep nvidia /var/log/Xorg.0.log:
[ 4.373] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 4.385] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 4.385] loading driver: nvidia
[ 4.385] (==) Matched nvidia as autoconfigured driver 0
[ 4.385] (II) LoadModule: "nvidia"
[ 4.385] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 4.392] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 4.405] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[ 4.405] (II) Loading sub module "glxserver_nvidia"
[ 4.405] (II) LoadModule: "glxserver_nvidia"
[ 4.405] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[ 4.512] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 5.254] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 5.254] (II) NVIDIA(0): "DFP-1:nvidia-auto-select"
[ 5.273] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select"
[ 5.356] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
Let me know if you want more complete xorg logs our outputs of dmesg.
Offline
Pages: 1