You are not logged in.

#1 2026-02-27 19:16:49

human7314
Member
Registered: 2025-02-11
Posts: 9

[SOLVED]Hardware acceleration in browsers (nvidia 390)

I have an old nvidia card which only supports the 390 drivers. I tried to make hardware acceleration work for both firefox and chromium-based browsers but was unsuccessful in the attempt. Is it actually impossible for these older cards to work with these browsers?

Last edited by human7314 (2026-03-01 16:41:47)

Offline

#2 2026-02-27 19:43:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

https://wiki.archlinux.org/title/Hardwa … rification
Do VDPAU and *especially* VAAPI work tbw?
https://wiki.archlinux.org/title/Hardwa … ion_layers

Using HW acceleration in chromium is a problem in and by itself.
Ensure it works w/ mpv and vaapi, then probably focus on firefox first.

Offline

#3 2026-02-28 15:05:17

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Apologies. I am new to this forum.
The output to vainfo is-

Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vainfo: VA-API version: 1.22 (libva 2.22.0)
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

I have the libva-vdpau-driver installed instead of the libva-nvidia-driver as I just could not get it to work.
VDPAU works perfectly.

export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=nvidia

is also a part of my zprofile.

Is VAAPI actually working here?

Offline

#4 2026-02-28 15:21:23

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

At least look like you're using nvidia-vaapi-driver
Does

vdpauinfo

work?
(Please use [code][/code] tags, not "quote" tags)

What do you get for

mpv -v --hwdec=auto porn.mp4
mpv -v --hwdec=vdpau itsnotpornok.mp4
mpv -v --hwdec=vdpau-copy ok-itsporn.mp4
mpv -v --hwdec=vaapi lookeverybodywatchesthat.mp4
mpv -v --hwdec=vaapi-copy stoplookingatmelikeiwastheweirdonehere.mp4

Edit: one thing to keep in mind w/ browsers and youtube is that you'll need an extension like h264fy to not get handed VP9 or other unsupported codecs.

Last edited by seth (2026-02-28 15:26:41)

Offline

#5 2026-02-28 20:38:01

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Yes vdpauinfo works

display: :0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  390.157  Wed Oct 12 09:14:27 UTC 2022

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name                        level macbs width height
----------------------------------------------------
MPEG1                           0 65536  4032  4048
MPEG2_SIMPLE                    3 65536  4032  4048
MPEG2_MAIN                      3 65536  4032  4048
H264_BASELINE                  41 65536  4032  4080
H264_MAIN                      41 65536  4032  4080
H264_HIGH                      41 65536  4032  4080
VC1_SIMPLE                      1  8190  2048  2048
VC1_MAIN                        2  8190  2048  2048
VC1_ADVANCED                    4  8190  2048  2048
MPEG4_PART2_SP                  3  8192  2048  2048
MPEG4_PART2_ASP                 5  8192  2048  2048
DIVX4_QMOBILE                   0  8192  2048  2048
DIVX4_MOBILE                    0  8192  2048  2048
DIVX4_HOME_THEATER              0  8192  2048  2048
DIVX4_HD_1080P                  0  8192  2048  2048
DIVX5_QMOBILE                   0  8192  2048  2048
DIVX5_MOBILE                    0  8192  2048  2048
DIVX5_HOME_THEATER              0  8192  2048  2048
DIVX5_HD_1080P                  0  8192  2048  2048
H264_CONSTRAINED_BASELINE      41 65536  4032  4080
H264_EXTENDED                  41 65536  4032  4080
H264_PROGRESSIVE_HIGH          41 65536  4032  4080
H264_CONSTRAINED_HIGH          41 65536  4032  4080
H264_HIGH_444_PREDICTIVE       41 65536  4032  4080
VP9_PROFILE_0                  --- not supported ---
VP9_PROFILE_1                  --- not supported ---
VP9_PROFILE_2                  --- not supported ---
VP9_PROFILE_3                  --- not supported ---
HEVC_MAIN                      --- not supported ---
HEVC_MAIN_10                   --- not supported ---
HEVC_MAIN_STILL                --- not supported ---
HEVC_MAIN_12                   --- not supported ---
HEVC_MAIN_444                  --- not supported ---
HEVC_MAIN_444_10               --- not supported ---
HEVC_MAIN_444_12               --- not supported ---
AV1_MAIN                       --- not supported ---
AV1_HIGH                       --- not supported ---
AV1_PROFESSIONAL               --- not supported ---

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

mpv -v --hwdec=auto spits out some kind of error and the video does not load

[cplayer] Command line options: '-v' '--hwdec=auto' 'definitelynotporn.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 11 2026 22:07:06
[cplayer] libplacebo version: v7.360.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /home/zero/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/zero/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/zero/.config/mpv/mpv.conf
[file] Opening /home/zero/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'osc' = 'no' (flags = 4)
[cplayer] Setting option 'border' = 'no' (flags = 4)
[cplayer] Setting option 'profile' = 'fast' (flags = 4)
[cplayer] Applying profile 'fast'...
[cplayer] Setting option 'scale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dscale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dither' = 'no' (flags = 4)
[cplayer] Setting option 'correct-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'linear-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'sigmoid-upscaling' = 'no' (flags = 4)
[cplayer] Setting option 'hdr-compute-peak' = 'no' (flags = 4)
[cplayer] Setting option 'allow-delayed-peak-detect' = 'yes' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu' (flags = 4)
[cplayer] Setting option 'gpu-api' = 'opengl' (flags = 4)
[cplayer] Setting option 'gpu-context' = 'x11' (flags = 4)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)
[cplayer] Setting option 'hwdec-codecs' = 'all' (flags = 4)
[cplayer] Setting option 'volume' = '30' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts-append' = 'ytdl_hook-ytdl_path=yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]' (flags = 4)
[cplayer] Setting option 'sub-font' = 'JetBrainsMono Nerd Font Mono' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'hwdec' = 'auto' (flags = 8)
[clipboard] Initialized x11 clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening definitelynotporn.mp4
[bdmv/bluray] Opening definitelynotporn.mp4
[file] Opening definitelynotporn.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: definitelynotporn.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1               (h264 1920x1080 59.9401 fps) [default]
[cplayer] ● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz 130 kbps) [default]
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0x10d
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent disabled.
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 390.157'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GT 610/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 59.940060
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vulkan...
[vo/gpu] Loading hwdec drivers for format: 'vulkan'
[vo/gpu] Loading hwdec driver 'vulkan'
[vo/gpu/vulkan] This is not a libplacebo vulkan gpu api context.
[vd] Could not create device.
[vd] Looking at hwdec h264-nvdec...
[vo/gpu] Loading hwdec drivers for format: 'cuda'
[vo/gpu] Loading hwdec driver 'cuda'
[vd] Trying hardware decoding via h264-nvdec.
[vd] Requesting 4 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     opus - Opus
[ad]     libopus (opus) - libopus Opus
[ad] Opening decoder opus
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: opus - Opus
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau vulkan vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau vulkan vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Attempting next decoding method after failure of h264-nvdec.
[vd] Looking at hwdec h264-vaapi...
[vo/gpu] Loading hwdec drivers for format: 'vaapi'
[vo/gpu] Loading hwdec driver 'vaapi'
[vo/gpu/vaapi] VAAPI hwdec only works with OpenGL or Vulkan backends.
[vo/gpu] Loading failed.
[vd] Could not create device.
[vd] Looking at hwdec h264-vulkan-copy...
[ffmpeg] Vulkan: No devices found: VK_ERROR_INITIALIZATION_FAILED!
[vd] Could not create device.
[vd] Looking at hwdec h264-nvdec-copy...
[vd] Trying hardware decoding via h264-nvdec-copy.
[vd] Requesting 4 threads for decoding.
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau vulkan vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'cuda' from decoder.
[ffmpeg/video] h264: Cannot load cuvidGetDecodeStatus
[ffmpeg/video] h264: Failed loading nvcuvid.
[ffmpeg/video] h264: Failed setup for format cuda: hwaccel initialisation returned error.
[vd] Pixel formats supported by decoder: vdpau vulkan vaapi yuv420p yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt '-' from decoder.
[ffmpeg/video] h264: no frame!
[vd] Attempting next decoding method after failure of h264-nvdec-copy.
[vd] Looking at hwdec h264-vaapi-copy...
[vaapi] libva: VA-API version 1.22.0
[vaapi] libva: User environment variable requested driver 'vdpau'
[vaapi] libva: Trying to open /usr/lib/dri/vdpau_drv_video.so
[vaapi] libva: Found init function __vaDriverInit_1_22
zsh: segmentation fault (core dumped)  mpv -v --hwdec=auto definitelynotporn.mp4

mpv -v --hwdec=vdpau works and I did previously use that on this machine

[cplayer] Command line options: '-v' '--hwdec=vdpau' 'definitelynotporn.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 11 2026 22:07:06
[cplayer] libplacebo version: v7.360.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /home/zero/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/zero/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/zero/.config/mpv/mpv.conf
[file] Opening /home/zero/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'osc' = 'no' (flags = 4)
[cplayer] Setting option 'border' = 'no' (flags = 4)
[cplayer] Setting option 'profile' = 'fast' (flags = 4)
[cplayer] Applying profile 'fast'...
[cplayer] Setting option 'scale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dscale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dither' = 'no' (flags = 4)
[cplayer] Setting option 'correct-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'linear-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'sigmoid-upscaling' = 'no' (flags = 4)
[cplayer] Setting option 'hdr-compute-peak' = 'no' (flags = 4)
[cplayer] Setting option 'allow-delayed-peak-detect' = 'yes' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu' (flags = 4)
[cplayer] Setting option 'gpu-api' = 'opengl' (flags = 4)
[cplayer] Setting option 'gpu-context' = 'x11' (flags = 4)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)
[cplayer] Setting option 'hwdec-codecs' = 'all' (flags = 4)
[cplayer] Setting option 'volume' = '30' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts-append' = 'ytdl_hook-ytdl_path=yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]' (flags = 4)
[cplayer] Setting option 'sub-font' = 'JetBrainsMono Nerd Font Mono' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 8)
[clipboard] Initialized x11 clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] Failed sending hook command auto_profiles/on_before_start_file. Removing hook.
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening definitelynotporn.mp4
[bdmv/bluray] Opening definitelynotporn.mp4
[file] Opening definitelynotporn.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: definitelynotporn.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1               (h264 1920x1080 59.9401 fps) [default]
[cplayer] ● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz 130 kbps) [default]
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0x10d
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent disabled.
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 390.157'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GT 610/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 59.940060
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vdpau...
[vo/gpu] Loading hwdec drivers for format: 'vdpau'
[vo/gpu] Loading hwdec driver 'vdpau-gl'
[vd] Trying hardware decoding via h264-vdpau.
[vd] Requesting 4 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     opus - Opus
[ad]     libopus (opus) - libopus Opus
[ad] Opening decoder opus
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: opus - Opus
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'vdpau' from decoder.
[ffmpeg/video] h264: Late SEI is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[ffmpeg/video] h264: If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[vd] Using hardware decoding (vdpau).
[vd] Decoder format: 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vd] Using container aspect ratio.
[vf] [in] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vo/gpu] Loading hwdec drivers for format: 'vdpau'
[vf] [out] 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.10
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: zero
[ao/pipewire] Core host: archlinux
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp
[cplayer] VO: [gpu] 1920x1080 vdpau[yuv420p]
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1080 vdpau[yuv420p] bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu/x11] Current display FPS: 0.000000
[vo/gpu] Resize: 1908x1028
[vo/gpu] Window size: 1908x1028 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (40, 0) 1827x1028
[vo/gpu] Video scale: 0.951562/0.951852
[vo/gpu] OSD borders: l=40 t=0 r=41 b=0
[vo/gpu] Video borders: l=40 t=0 r=41 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 0.000000 FPS for display sync.
[vo/gpu/vdpau-gl] Recreating vdpau video mixer.
[cplayer] first video frame after restart shown
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] audio ready
[cplayer] delaying audio start 0.007500 vs. 0.000000, diff=0.007500
[cplayer] playback restart complete @ 0.000000, audio=ready, video=playing
[vo/gpu/x11] Disabling screensaver.
[cplayer] starting audio playback
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu] Assuming 60.000000 FPS for display sync.
[cplayer] Saving state.
[cplayer] EOF code: 5  
[vo/gpu/x11] Enabling screensaver.
[statusline] AV: 00:00:01 / 00:16:27 (0%) A-V:  0.000 Dropped: 13
[cplayer] finished playback, success (reason 3)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Exiting... (Quit)

mpv -v --hwdec=vdpau-copy works as well

[cplayer] Command line options: '-v' '--hwdec=vdpau-copy' 'definitelynotporn.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 11 2026 22:07:06
[cplayer] libplacebo version: v7.360.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /home/zero/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/zero/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/zero/.config/mpv/mpv.conf
[file] Opening /home/zero/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'osc' = 'no' (flags = 4)
[cplayer] Setting option 'border' = 'no' (flags = 4)
[cplayer] Setting option 'profile' = 'fast' (flags = 4)
[cplayer] Applying profile 'fast'...
[cplayer] Setting option 'scale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dscale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dither' = 'no' (flags = 4)
[cplayer] Setting option 'correct-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'linear-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'sigmoid-upscaling' = 'no' (flags = 4)
[cplayer] Setting option 'hdr-compute-peak' = 'no' (flags = 4)
[cplayer] Setting option 'allow-delayed-peak-detect' = 'yes' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu' (flags = 4)
[cplayer] Setting option 'gpu-api' = 'opengl' (flags = 4)
[cplayer] Setting option 'gpu-context' = 'x11' (flags = 4)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)
[cplayer] Setting option 'hwdec-codecs' = 'all' (flags = 4)
[cplayer] Setting option 'volume' = '30' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts-append' = 'ytdl_hook-ytdl_path=yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]' (flags = 4)
[cplayer] Setting option 'sub-font' = 'JetBrainsMono Nerd Font Mono' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'hwdec' = 'vdpau-copy' (flags = 8)
[clipboard] Initialized x11 clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] client removed during hook handling
[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[cplayer] Loading config '/home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406'
[cplayer] Reading config file /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[ifo_dvdnav] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[bdmv/bluray] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[file] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'start' = '1.501500' (flags = 36)
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening definitelynotporn.mp4
[bdmv/bluray] Opening definitelynotporn.mp4
[file] Opening definitelynotporn.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: definitelynotporn.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1               (h264 1920x1080 59.9401 fps) [default]
[cplayer] ● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz 130 kbps) [default]
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0x10d
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent disabled.
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 390.157'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GT 610/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 59.940060
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vdpau-copy...
[vd] Trying hardware decoding via h264-vdpau-copy.
[vd] Requesting 4 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     opus - Opus
[ad]     libopus (opus) - libopus Opus
[ad] Opening decoder opus
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: opus - Opus
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[lavf] queuing seek to 1.501500
[lavf] execute seek (to 1.501500 flags 32)
[lavf] seek done
[cplayer] hr-seek, skipping to 1.501500
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[vd] Pixel formats supported by decoder: vdpau vulkan cuda vaapi yuv420p
[vd] Codec profile: High (0x64)
[vd] Requesting pixfmt 'vdpau' from decoder.
[ffmpeg/video] h264: Late SEI is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[ffmpeg/video] h264: If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[vd] Using hardware decoding (vdpau-copy).
[vd] Decoder format: 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vd] Using container aspect ratio.
[vf] [in] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [convert] (disabled)
[vf] [out] 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.10
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: zero
[ao/pipewire] Core host: archlinux
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] VO: [gpu] 1920x1080 nv12
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1080 nv12 bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu/x11] Current display FPS: 0.000000
[vo/gpu] Resize: 1908x1028
[vo/gpu] Window size: 1908x1028 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (40, 0) 1827x1028
[vo/gpu] Video scale: 0.951562/0.951852
[vo/gpu] OSD borders: l=40 t=0 r=41 b=0
[vo/gpu] Video borders: l=40 t=0 r=41 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 1920x1080
[vo/gpu] Texture for plane 1: 960x540
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 0.000000 FPS for display sync.
[cplayer] first video frame after restart shown
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 1.501500, audio=playing, video=playing
[vo/gpu/x11] Disabling screensaver.
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu] Assuming 60.000000 FPS for display sync.
[cplayer] Saving state.
[cplayer] EOF code: 5  
[vo/gpu/x11] Enabling screensaver.
[statusline] AV: 00:00:03 / 00:16:27 (0%) A-V:  0.002 Dropped: 17
[cplayer] finished playback, success (reason 3)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[cplayer] Exiting... (Quit)

mpv -v --hwdec=vaapi works  as well but vaapi-copy does not

[cplayer] Command line options: '-v' '--hwdec=vaapi' 'definitelynotporn.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 11 2026 22:07:06
[cplayer] libplacebo version: v7.360.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /home/zero/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/zero/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/zero/.config/mpv/mpv.conf
[file] Opening /home/zero/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'osc' = 'no' (flags = 4)
[cplayer] Setting option 'border' = 'no' (flags = 4)
[cplayer] Setting option 'profile' = 'fast' (flags = 4)
[cplayer] Applying profile 'fast'...
[cplayer] Setting option 'scale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dscale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dither' = 'no' (flags = 4)
[cplayer] Setting option 'correct-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'linear-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'sigmoid-upscaling' = 'no' (flags = 4)
[cplayer] Setting option 'hdr-compute-peak' = 'no' (flags = 4)
[cplayer] Setting option 'allow-delayed-peak-detect' = 'yes' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu' (flags = 4)
[cplayer] Setting option 'gpu-api' = 'opengl' (flags = 4)
[cplayer] Setting option 'gpu-context' = 'x11' (flags = 4)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)
[cplayer] Setting option 'hwdec-codecs' = 'all' (flags = 4)
[cplayer] Setting option 'volume' = '30' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts-append' = 'ytdl_hook-ytdl_path=yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]' (flags = 4)
[cplayer] Setting option 'sub-font' = 'JetBrainsMono Nerd Font Mono' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'hwdec' = 'vaapi' (flags = 8)
[clipboard] Initialized x11 clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] client removed during hook handling
[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[cplayer] Loading config '/home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406'
[cplayer] Reading config file /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[ifo_dvdnav] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[bdmv/bluray] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[file] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'start' = '3.853850' (flags = 36)
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening definitelynotporn.mp4
[bdmv/bluray] Opening definitelynotporn.mp4
[file] Opening definitelynotporn.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: definitelynotporn.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1               (h264 1920x1080 59.9401 fps) [default]
[cplayer] ● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz 130 kbps) [default]
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0x10d
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent disabled.
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 390.157'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GT 610/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 59.940060
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vaapi...
[vo/gpu] Loading hwdec drivers for format: 'vaapi'
[vo/gpu] Loading hwdec driver 'vaapi'
[vo/gpu/vaapi] VAAPI hwdec only works with OpenGL or Vulkan backends.
[vo/gpu] Loading failed.
[vd] Could not create device.
[vd] Using software decoding.
[vd] Detected 4 logical cores.
[vd] Requesting 5 threads for decoding.
[vd] Selected decoder: h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vf] User filter list:
[vf]   (empty)
[ad] Codec list:
[ad]     opus - Opus
[ad]     libopus (opus) - libopus Opus
[ad] Opening decoder opus
[ad] Requesting 1 threads for decoding.
[ad] Selected decoder: opus - Opus
[af] User filter list:
[af]   (empty)
[cplayer] Starting playback...
[lavf] queuing seek to 3.853850
[cplayer] hr-seek, skipping to 3.853850
[lavf] execute seek (to 3.853850 flags 32)
[lavf] seek done
[af] [in] 48000Hz stereo 2ch floatp
[af] [userspeed] 48000Hz stereo 2ch floatp
[af] [userspeed] (disabled)
[af] [convert] 48000Hz stereo 2ch floatp
[ffmpeg/video] h264: Late SEI is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[ffmpeg/video] h264: If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[vd] Using software decoding.
[vd] Decoder format: 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/auto CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vd] Using container aspect ratio.
[vf] [in] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [userdeint] (disabled)
[vf] [autovflip] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autovflip] (disabled)
[vf] [autorotate] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [autorotate] (disabled)
[vf] [convert] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vf] [convert] (disabled)
[vf] [out] 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[ao] Trying audio driver 'pipewire'
[ao/pipewire] requested format: 48000 Hz, stereo channels, floatp
[ao/pipewire] Headers version: 1.4.10
[ao/pipewire] Library version: 1.4.10
[ao/pipewire] Core user: zero
[ao/pipewire] Core host: archlinux
[ao/pipewire] Core version: 1.4.10
[ao/pipewire] Core name: pipewire-0
[ao/pipewire] using soft-buffer of 9600 samples.
[cplayer] AO: [pipewire] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: PipeWire audio output
[af] [convert] (disabled)
[af] [out] 48000Hz stereo 2ch floatp
[osd/libass] libass API version: 0x1704000
[osd/libass] libass source: commit: 0.17.4-0-gbbb3c7f1570a4a021e52683f3fbdf74fe492ae84
[osd/libass] Shaper: FriBidi 1.0.16 (SIMPLE) HarfBuzz-ng 12.3.2 (COMPLEX)
[osd/libass] Setting up fonts...
[osd/libass] Using font provider fontconfig
[osd/libass] Done.
[cplayer] VO: [gpu] 1920x1080 yuv420p
[cplayer] VO: Description: Shader-based GPU Renderer
[vo/gpu] reconfig to 1920x1080 yuv420p bt.709/bt.709/bt.1886/limited/display CL=mpeg2/4/h264 crop=1920x1080+0+0 A=none
[vo/gpu/x11] not waiting for MapNotify
[vo/gpu/x11] Current display FPS: 0.000000
[vo/gpu] Resize: 1908x1028
[vo/gpu] Window size: 1908x1028 (Borders: l=0 t=0 r=0 b=0)
[vo/gpu] Video source: 1920x1080 (1:1)
[vo/gpu] Video display: (0, 0) 1920x1080 -> (40, 0) 1827x1028
[vo/gpu] Video scale: 0.951562/0.951852
[vo/gpu] OSD borders: l=40 t=0 r=41 b=0
[vo/gpu] Video borders: l=40 t=0 r=41 b=0
[vo/gpu] Reported display depth: 8
[vo/gpu] Texture for plane 0: 1920x1080
[vo/gpu] Texture for plane 1: 960x540
[vo/gpu] Texture for plane 2: 960x540
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 0.000000 FPS for display sync.
[vo/gpu] DR enabled: yes
[cplayer] first video frame after restart shown
[cplayer] audio ready
[cplayer] starting audio playback
[cplayer] playback restart complete @ 3.853850, audio=playing, video=playing
[vo/gpu/x11] Disabling screensaver.
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu] Assuming 60.000000 FPS for display sync.
[ffmpeg/video] h264: Late SEI is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[ffmpeg/video] h264: If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[cplayer] Saving state.
[cplayer] EOF code: 5  
[statusline] AV: 00:00:06 / 00:16:27 (1%) A-V:  0.000
[cplayer] finished playback, success (reason 3)
[cplayer] Running hook: ytdl_hook/on_after_end_file
[vo/gpu/x11] Enabling screensaver.
[cplayer] Exiting... (Quit)
[cplayer] Command line options: '-v' '--hwdec=vaapi-copy' 'definitelynotporn.mp4'
[cplayer] mpv v0.41.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
[cplayer]  built on Feb 11 2026 22:07:06
[cplayer] libplacebo version: v7.360.0
[cplayer] FFmpeg version: n8.0.1
[cplayer] FFmpeg library versions:
[cplayer]    libavcodec      62.11.100
[cplayer]    libavdevice     62.1.100
[cplayer]    libavfilter     11.4.100
[cplayer]    libavformat     62.3.100
[cplayer]    libavutil       60.8.100
[cplayer]    libswresample   6.1.100
[cplayer]    libswscale      9.1.100
[cplayer] Configuration: -Db_pie=true -Dpython.bytecompile=1 -Dlibmpv=true -Dgl-x11=enabled -Dcaca=disabled -Dcdda=enabled -Ddrm=enabled -Ddvbin=enabled -Ddvdnav=enabled -Dlibarchive=enabled -Dopenal=enabled -Dsdl2-audio=enabled -Dsdl2-video=enabled -Dsdl2-gamepad=enabled -Dprefix=/usr -Dlibexecdir=lib -Dsbindir=bin -Dauto_features=auto -Dbuildtype=plain -Dwrap_mode=nodownload
[cplayer] List of enabled features: alsa build-date cdda cplugins cuda-hwaccel cuda-interop dmabuf-interop-gl dmabuf-wayland drm dvbin dvdnav egl egl-drm egl-wayland egl-x11 ffmpeg ffnvcodec gbm gl gl-x11 glibc-thread-name glob glob-posix gpl iconv jack javascript jpeg lcms2 libarchive libass libavdevice libbluray libdl libplacebo linux-fstatfs luajit memfd-create memrchr openal pipewire posix posix-shm ppoll pthread-condattr-setclock pulse rubberband rubberband-3 sdl2-audio sdl2-gamepad sdl2-video sixel sndio sndio-1-9 uchardet vaapi vaapi-drm vaapi-wayland vaapi-x11 vapoursynth vdpau vdpau-gl-x11 vector vk-khr-display vt.h vulkan wayland wayland-protocols-1-32 wayland-protocols-1-38 wayland-protocols-1-39 wayland-protocols-1-41 wayland-protocols-1-44 wayland-protocols-1-47 x11 x11-clipboard xv zimg zimg-st428 zlib
[cplayer] Reading config file /home/zero/.config/mpv/mpv.conf
[ifo_dvdnav] Opening /home/zero/.config/mpv/mpv.conf
[bdmv/bluray] Opening /home/zero/.config/mpv/mpv.conf
[file] Opening /home/zero/.config/mpv/mpv.conf
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'osc' = 'no' (flags = 4)
[cplayer] Setting option 'border' = 'no' (flags = 4)
[cplayer] Setting option 'profile' = 'fast' (flags = 4)
[cplayer] Applying profile 'fast'...
[cplayer] Setting option 'scale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dscale' = 'bilinear' (flags = 4)
[cplayer] Setting option 'dither' = 'no' (flags = 4)
[cplayer] Setting option 'correct-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'linear-downscaling' = 'no' (flags = 4)
[cplayer] Setting option 'sigmoid-upscaling' = 'no' (flags = 4)
[cplayer] Setting option 'hdr-compute-peak' = 'no' (flags = 4)
[cplayer] Setting option 'allow-delayed-peak-detect' = 'yes' (flags = 4)
[cplayer] Setting option 'vo' = 'gpu' (flags = 4)
[cplayer] Setting option 'gpu-api' = 'opengl' (flags = 4)
[cplayer] Setting option 'gpu-context' = 'x11' (flags = 4)
[cplayer] Setting option 'hwdec' = 'vdpau' (flags = 4)
[cplayer] Setting option 'hwdec-codecs' = 'all' (flags = 4)
[cplayer] Setting option 'volume' = '30' (flags = 4)
[cplayer] Setting option 'save-position-on-quit' = '' (flags = 4)
[cplayer] Setting option 'script-opts-append' = 'ytdl_hook-ytdl_path=yt-dlp' (flags = 4)
[cplayer] Setting option 'ytdl-format' = 'bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]' (flags = 4)
[cplayer] Setting option 'sub-font' = 'JetBrainsMono Nerd Font Mono' (flags = 4)
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'hwdec' = 'vaapi-copy' (flags = 8)
[clipboard] Initialized x11 clipboard backend.
[cplayer] Waiting for scripts...
[cplayer] Done loading scripts.
[cplayer] Running hook: auto_profiles/on_before_start_file
[cplayer] client removed during hook handling
[cplayer] Resuming playback. This behavior can be disabled with --no-resume-playback.
[cplayer] Loading config '/home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406'
[cplayer] Reading config file /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[ifo_dvdnav] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[bdmv/bluray] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[file] Opening /home/zero/.local/state/mpv/watch_later/15A102232451B929090D1322732FA406
[cplayer] Applying profile 'default'...
[cplayer] Setting option 'start' = '6.523183' (flags = 36)
[cplayer] Running hook: auto_profiles/on_load
[cplayer] Failed sending hook command auto_profiles/on_load. Removing hook.
[cplayer] Running hook: ytdl_hook/on_load
[cplayer] Running hook: ytdl_hook/on_load
[ytdl_hook] playlist hook
[ifo_dvdnav] Opening definitelynotporn.mp4
[bdmv/bluray] Opening definitelynotporn.mp4
[file] Opening definitelynotporn.mp4
[demux] Trying demuxers for level=normal.
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.
[demux] Detected file format: mov,mp4,m4a,3gp,3g2,mj2 (libavformat)
[cplayer] Opening done: definitelynotporn.mp4
[find_files] Loading external files in .
[cplayer] Running hook: auto_profiles/on_preloaded
[cplayer] Failed sending hook command auto_profiles/on_preloaded. Removing hook.
[cplayer] Running hook: ytdl_hook/on_preloaded
[lavf] select track 0
[lavf] select track 1
[cplayer] ● Video  --vid=1               (h264 1920x1080 59.9401 fps) [default]
[cplayer] ● Audio  --aid=1  --alang=eng  (opus 2ch 48000 Hz 130 kbps) [default]
[vo/gpu/opengl] Initializing GPU context 'x11'
[vo/gpu/x11] X11 opening display: :0
[vo/gpu/x11] Display 0 (HDMI-0): [0, 0, 1920, 1080] @ 60.000000 FPS
[vo/gpu/x11] Current display FPS: 60.000000
[vo/gpu/opengl] GLX chose FB config with ID 0x10d
[vo/gpu/opengl] GLX chose visual with ID 0x27
[vo/gpu/x11] The XPresent extension was found.
[vo/gpu/x11] XPresent disabled.
[vo/gpu/opengl] Creating OpenGL 4.4 context...
[vo/gpu] GL_VERSION='4.4.0 NVIDIA 390.157'
[vo/gpu] Detected desktop OpenGL 4.4.
[vo/gpu] GL_VENDOR='NVIDIA Corporation'
[vo/gpu] GL_RENDERER='GeForce GT 610/PCIe/SSE2'
[vo/gpu] GL_SHADING_LANGUAGE_VERSION='4.40 NVIDIA via Cg compiler'
[vo/gpu] Loaded extension GLX_SGI_swap_control.
[vo/gpu] Loaded extension GLX_SGI_video_sync.
[vo/gpu] Loaded extension GL_NV_vdpau_interop.
[vo/gpu] Loaded extension GL_KHR_debug.
[vo/gpu] Testing FBO format rgba16f
[vo/gpu] Using FBO format rgba16f.
[vo/gpu] No advanced processing required. Enabling dumb mode.
[vo/gpu] Assuming 60.000000 FPS for display sync.
[vd] Container reported FPS: 59.940060
[vd] Codec list:
[vd]     h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     h264_v4l2m2m (h264) - V4L2 mem2mem H.264 decoder wrapper
[vd]     h264_qsv (h264) - H264 video (Intel Quick Sync Video acceleration)
[vd]     h264_amf (h264) - H264 AMD AMF video decoder
[vd]     h264_cuvid (h264) - Nvidia CUVID H264 decoder
[vd] Opening decoder h264
[vd] Looking at hwdec h264-vaapi-copy...
[vaapi] libva: VA-API version 1.22.0
[vaapi] libva: User environment variable requested driver 'vdpau'
[vaapi] libva: Trying to open /usr/lib/dri/vdpau_drv_video.so
[vaapi] libva: Found init function __vaDriverInit_1_22
zsh: segmentation fault (core dumped)  mpv -v --hwdec=vaapi-copy definitelynotporn.mp4

Also, I do already use the enhanced h264ify extension.

I tried these commands with an mpv.conf I had

osc=no
border=no

profile=fast
vo=gpu
gpu-api=opengl
gpu-context=x11
hwdec=vdpau
hwdec-codecs=all

volume=30
save-position-on-quit
script-opts-append=ytdl_hook-ytdl_path=yt-dlp
ytdl-format=bv*[vcodec^=avc1][height<=1080]+ba/b[ext=mp4][height<=1080]
sub-font='JetBrainsMono Nerd Font Mono'

not sure if that made a difference.

Last edited by human7314 (2026-02-28 20:40:57)

Offline

#6 2026-02-28 20:52:56

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

vaapi failed

[vo/gpu] Loading hwdec drivers for format: 'vaapi'
[vo/gpu] Loading hwdec driver 'vaapi'
[vo/gpu/vaapi] VAAPI hwdec only works with OpenGL or Vulkan backends.
[vo/gpu] Loading failed.

For auto and vaapi-copy

[vaapi] libva: User environment variable requested driver 'vdpau'
[vaapi] libva: Trying to open /usr/lib/dri/vdpau_drv_video.so
[vaapi] libva: Found init function __vaDriverInit_1_22
zsh: segmentation fault (core dumped)  mpv -v --hwdec=auto definitelynotporn.mp4

Segfault is bad.
=> https://wiki.archlinux.org/title/Core_d … _core_dump

Offline

#7 2026-02-28 21:06:28

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

I don't really understand how this works but coredumpctl info mpv yields

           PID: 16860 (mpv)
           UID: 1000 (zero)
           GID: 1000 (zero)
        Signal: 11 (SEGV)
     Timestamp: Sun 2026-03-01 01:55:18 IST (37min ago)
  Command Line: mpv --hwdec=auto $'Unsolved Paranormal Disappearances That Make No Sense [FSC92-4J-wg].mp4'
    Executable: /usr/bin/mpv
 Control Group: /user.slice/user-1000.slice/session-1.scope
          Unit: session-1.scope
         Slice: user-1000.slice
       Session: 1
     Owner UID: 1000 (zero)
       Boot ID: c7b1513667b148adb52b40a5b875cac7
    Machine ID: 010ecac5237b491faabe4fbe4b90b33e
      Hostname: archlinux
       Storage: /var/lib/systemd/coredump/core.mpv.1000.c7b1513667b148adb52b40a5b875cac7.16860.1772310318000000.zst (present)
  Size on Disk: 7M
       Message: Process 16860 (mpv) of user 1000 dumped core.
                
                Module libnvidia-fatbinaryloader.so.390.157 without build-id.
                Module libcuda.so.1 without build-id.
                Module libnvidia-glcore.so.390.157 without build-id.
                Module libnvidia-tls.so.390.157 without build-id.
                Module libGLX_nvidia.so.0 without build-id.
                Stack trace of thread 16860:
                #0  0x00007b0358820864 XDisplayString (libX11.so.6 + 0x27864)
                #1  0x00007b0340032fee __vaDriverInit_1_22 (vdpau_drv_video.so + 0xdfee)
                #2  0x00007b0357f3b064 vaInitialize (libva.so.2 + 0x8064)
                #3  0x00006444d085e204 n/a (/usr/bin/mpv + 0x196204)
                #4  0x00006444d085ebea n/a (/usr/bin/mpv + 0x196bea)
                #5  0x00006444d07b1be3 n/a (/usr/bin/mpv + 0xe9be3)
                #6  0x00006444d07b895d n/a (/usr/bin/mpv + 0xf095d)
                #7  0x00006444d07c39d8 n/a (/usr/bin/mpv + 0xfb9d8)
                #8  0x00006444d073d84f n/a (/usr/bin/mpv + 0x7584f)
                #9  0x00006444d073b86d n/a (/usr/bin/mpv + 0x7386d)
                #10 0x00006444d073bb55 n/a (/usr/bin/mpv + 0x73b55)
                #11 0x00006444d0741c89 n/a (/usr/bin/mpv + 0x79c89)
                #12 0x00006444d07a2345 n/a (/usr/bin/mpv + 0xda345)
                #13 0x00006444d079272a n/a (/usr/bin/mpv + 0xca72a)
                #14 0x00006444d0793a6c n/a (/usr/bin/mpv + 0xcba6c)
                #15 0x00006444d06ed3df main (/usr/bin/mpv + 0x253df)
                #16 0x00007b0357d296c1 n/a (libc.so.6 + 0x276c1)
                #17 0x00007b0357d297f9 __libc_start_main (libc.so.6 + 0x277f9)
                #18 0x00006444d06ed4c5 _start (/usr/bin/mpv + 0x254c5)
                
                Stack trace of thread 16861:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d953e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007b0357e0edae __poll (libc.so.6 + 0x10cdae)
                #4  0x00006444d0806a13 n/a (/usr/bin/mpv + 0x13ea13)
                #5  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #6  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16863:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16862:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16864:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d074a20e n/a (/usr/bin/mpv + 0x8220e)
                #5  0x00006444d07666d0 mpv_get_property (/usr/bin/mpv + 0x9e6d0)
                #6  0x00006444d080e749 n/a (/usr/bin/mpv + 0x146749)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16867:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16870:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d953e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007b0357e0f2f6 ppoll (libc.so.6 + 0x10d2f6)
                #4  0x00006444d0804635 n/a (/usr/bin/mpv + 0x13c635)
                #5  0x00006444d0814e32 n/a (/usr/bin/mpv + 0x14ce32)
                #6  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #7  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16866:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16873:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d074dc98 n/a (/usr/bin/mpv + 0x85c98)
                #5  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #6  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16868:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16872:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d98068 pthread_cond_timedwait (libc.so.6 + 0x96068)
                #4  0x00006444d0710118 n/a (/usr/bin/mpv + 0x48118)
                #5  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #6  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16903:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d953e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007b0357e1db62 accept4 (libc.so.6 + 0x11bb62)
                #4  0x00007b0330de4556 n/a (libcuda.so.1 + 0x1e4556)
                #5  0x00007b0330dd8aed n/a (libcuda.so.1 + 0x1d8aed)
                #6  0x00007b0330de51c0 n/a (libcuda.so.1 + 0x1e51c0)
                #7  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #8  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16874:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d953e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007b0357e0f2f6 ppoll (libc.so.6 + 0x10d2f6)
                #4  0x00006444d0804635 n/a (/usr/bin/mpv + 0x13c635)
                #5  0x00006444d0844dd0 n/a (/usr/bin/mpv + 0x17cdd0)
                #6  0x00006444d07e8d41 n/a (/usr/bin/mpv + 0x120d41)
                #7  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #8  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16869:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d97e5e pthread_cond_wait (libc.so.6 + 0x95e5e)
                #4  0x00006444d07652d9 n/a (/usr/bin/mpv + 0x9d2d9)
                #5  0x00006444d07656ac mpv_wait_event (/usr/bin/mpv + 0x9d6ac)
                #6  0x00006444d0810bdc n/a (/usr/bin/mpv + 0x148bdc)
                #7  0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #8  0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #9  0x00006444d081195a n/a (/usr/bin/mpv + 0x14995a)
                #10 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #11 0x00006444d080e41f n/a (/usr/bin/mpv + 0x14641f)
                #12 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #13 0x00007b0358a4f6f0 lua_pcall (libluajit-5.1.so.2 + 0x1c6f0)
                #14 0x00006444d080ee4a n/a (/usr/bin/mpv + 0x146e4a)
                #15 0x00007b0358a39f46 n/a (libluajit-5.1.so.2 + 0x6f46)
                #16 0x00007b0358a4f753 lua_cpcall (libluajit-5.1.so.2 + 0x1c753)
                #17 0x00006444d080f085 n/a (/usr/bin/mpv + 0x147085)
                #18 0x00006444d0794a62 n/a (/usr/bin/mpv + 0xcca62)
                #19 0x00006444d0794b3d n/a (/usr/bin/mpv + 0xccb3d)
                #20 0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #21 0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16904:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d953e4 n/a (libc.so.6 + 0x933e4)
                #3  0x00007b0357e0edae __poll (libc.so.6 + 0x10cdae)
                #4  0x00007b0330de374b n/a (libcuda.so.1 + 0x1e374b)
                #5  0x00007b0330e48b8f n/a (libcuda.so.1 + 0x248b8f)
                #6  0x00007b0330de51c0 n/a (libcuda.so.1 + 0x1e51c0)
                #7  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #8  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                
                Stack trace of thread 16905:
                #0  0x00007b0357da0f32 n/a (libc.so.6 + 0x9ef32)
                #1  0x00007b0357d9539c n/a (libc.so.6 + 0x9339c)
                #2  0x00007b0357d9568c n/a (libc.so.6 + 0x9368c)
                #3  0x00007b0357d98068 pthread_cond_timedwait (libc.so.6 + 0x96068)
                #4  0x00007b0330de5d97 n/a (libcuda.so.1 + 0x1e5d97)
                #5  0x00007b0330d9e527 n/a (libcuda.so.1 + 0x19e527)
                #6  0x00007b0330de51c0 n/a (libcuda.so.1 + 0x1e51c0)
                #7  0x00007b0357d9897a n/a (libc.so.6 + 0x9697a)
                #8  0x00007b0357e1c2bc n/a (libc.so.6 + 0x11a2bc)
                ELF object binary architecture: AMD x86-64

Please let me know if I need to use gdb as it states in the wiki.

Offline

#8 2026-02-28 21:34:26

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Offline

#9 2026-02-28 21:45:01

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

I was already using the mentioned package. If I usehttps://archlinux.org/packages/extra/x8 … ia-driver/ I get

Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
vaInitialize failed with error code -1 (unknown libva error),exit

So does it mean that hardware acceleration won't work?

Last edited by human7314 (2026-02-28 21:45:22)

Offline

#10 2026-02-28 21:53:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Hardware acceleration works via vdpau but all browsers only support VAAPI so you'll need a working shim.

The backtrace in #7 is w/ the AUR package??
For elfarto's driver you'll need to set LIBVA_DRIVER_NAME=nvidia

Offline

#11 2026-02-28 22:09:38

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Yes the backstrace was with the AUR package.

Trying elfarto's driver right now. Even after setting LIBVA_DRIVER_NAME=nvidia, I get

Trying display: wayland
Trying display: x11
libva error: vaGetDriverNames() failed with unknown libva error
Cannot load cuvidGetDecodeStatus
libva error: /usr/lib/dri/nvidia_drv_video.so init failed
vaInitialize failed with error code 1 (operation failed),exit

Offline

#12 2026-03-01 08:10:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,360

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Cannot load cuvidGetDecodeStatus

The driver needs CUDA.
Leaving aside the power consumption caveat in the wiki, you'll need https://aur.archlinux.org/packages/opencl-nvidia-390xx  and afaict https://aur.archlinux.org/packages/cuda-9.0 (since cuda-10 seems to no longer support the 390xx drivers)

As for https://aur.archlinux.org/packages/libva-vdpau-driver I'm not quite sure why "#0  0x00007b0358820864 XDisplayString (libX11.so.6 + 0x27864)" would segfault.
You could try to control -vo (to vaapi, xv or x11) but even if you get that to work you probably could not leverage that for any browser hmm

Offline

#13 2026-03-01 16:39:47

human7314
Member
Registered: 2025-02-11
Posts: 9

Re: [SOLVED]Hardware acceleration in browsers (nvidia 390)

Thanks for your help. Guess I'll stick to mpv + ytdlp.

Offline

Board footer

Powered by FluxBB