Skip to main content
Topic: mpv broke with latest kernel and nvidia drivers (Read 362 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

mpv broke with latest kernel and nvidia drivers

Is anyone else having problem with mpv on latest kernel and nvidia drivers? I am on 6.9.4-artix1-1 kernel and these are all the nvidia packages I have installed:
Code: [Select]
lib32-nvidia-utils 550.90.07-1
lib32-opencl-nvidia 550.90.07-1
nvidia 550.90.07-2
nvidia-settings 550.78-1
nvidia-utils 550.90.07-2
opencl-nvidia 550.90.07-2
Starting a video with mpv throws a lot of errors (note that this is on a clean profile):
Code: [Select]
mpv /home/anon/Downloads/film.mp4 
 (+) Video --vid=1 (*) (h264 720x324 24.997fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
[vo/gpu/drm] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/drm] Failed to set up VT switcher. Terminal switching will be unavailable.                                       
[vo/gpu/opengl] Failed to initialize EGL.                                                                                
[vo/gpu] Failed to setup EGL.                                                                                            
[vo/gpu] Failed to commit atomic request: Invalid argument                                                               
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:984)                                                                                                                       
[vo/gpu/libplacebo] Found no suitable device, giving up.                                                                 
[vo/gpu/libplacebo] Failed initializing vulkan device                                                                    
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:984)                                                                                                                       
[vo/gpu-next/drm] Can't handle VT release - signal already used                                                          
[vo/gpu-next/drm] Failed to set up VT switcher. Terminal switching will be unavailable.                                  
[vo/gpu-next/opengl] Failed to initialize EGL.                                                                           
[vo/gpu-next] Failed to setup EGL.                                                                                       
[vo/gpu-next] Failed to commit atomic request: Invalid argument                                                          
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:984)                                                                                                                  
[vo/gpu-next/libplacebo] Found no suitable device, giving up.                                                            
[vo/gpu-next/libplacebo] Failed initializing vulkan device                                                               
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:984)                                                                                                                  
[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 fix your graphics drivers, or not force the xv VO.                                                          
AO: [pipewire] 44100Hz stereo 2ch floatp                                                                                 
VO: [xv] 720x324 yuv420p
AV: 00:00:01 / 01:43:20 (0%) A-V: -0.000
Exiting... (Quit)
XIO:  fatal IO error 0 (Success) on X server ":0"
      after 19 requests (19 known processed) with 0 events remaining.

Re: mpv broke with latest kernel and nvidia drivers

Reply #1
Works fine here, I'm using 555.52.04 beta drivers from AUR and linux-zen 6.9.5-zen1-1-zen

Code: [Select]
$ mpv 7tonql.mp4
 (+) Video --vid=1 (*) (h264 1280x718 30.000fps)
 (+) Audio --aid=1 (*) (aac 2ch 44100Hz)
AO: [pipewire] 44100Hz stereo 2ch floatp
VO: [gpu] 1280x718 => 1280x718 yuv420p
(Paused) AV: 00:00:01 / 00:01:11 (3%) A-V:  0.003 DS: 2.1207/0

My mpv config:

Code: [Select]
input-ipc-server = "~/.config/mpv/mpvpipe"
hwdec-codecs = all
hr-seek-framedrop = no

volume-max = 100
scale = oversample
cscale = oversample
deband = yes
hdr-compute-peak = no
sub-auto = fuzzy
dscale = oversample
correct-downscaling = yes
force-seekable = yes
video-sync = display-resample
vo=gpu
# Note: gpu-next backend in mpv is really bad, it stutters hard on panning scenes

Re: mpv broke with latest kernel and nvidia drivers

Reply #2
Okay, I hadn't thought of trying beta drivers. They are working fine now. I guess the problem is in 550.90.07 version.