You are not logged in.
Self-explanatory. Playing video content (specifically 30fps but 60 isn't great either) under Xorg (using XFCE as the desktop currently) with Nvidia proprietary drivers on a dual GPU "gaming" laptop (on an external display, wired up to the dGPU as far as I'm aware) results in various levels of mistimed/dropped frames, depending on which options one uses at a given
Tried `ForceCompositionPipeline` and `ForceFullCompositionPipeline` in the nvidia drivers, different `vblank_mode` (`glx`, `xpresent`) options for xfwm4's compositor, `picom` as the compositor instead, its various backends, MPV's `--video-sync=display-resample`, `--vo=gpu-next`, made sure hardware video decoding was on in everything, and so far the best result has been with:
mpv [filename] --hwdec=vdpau --vo=gpu-next --fs=yes
...though even here it drops out frames every so often (singular ones, not an entire chain of them at once, but still). I'd also ideally like to be able to have sane-enough playback in Firefox (which might not be possible, however) so...
Is this just impossible with Nvidia+Xorg (Wayland on Nvidia is actually plenty usable right now and the video playback stuff is alright there but Wayland itself sucks for me so...), or has anybody managed to achieve this somehow?
I'm only using the external monitor (the current one is temporary and really only there for testing, will move to another one later) and have the internal panel disabled, afaik the internal one is connected to the iGPU and the behavior there would be different (though it's using the modesetting driver by default and that one has its own video playback issues, xf86-video-intel actually works properly (on other very similar hardware, iGPU-wise at least) but doesn't support prime sync and the whole thing is a tearing mess so we don't care about it here), but again I'd like to use the external panel display exclusively so...
Some package versions:
linux-zen 6.12.8.zen1-1
nvidia-dkms 565.77-3
nvidia-utils 565.77-3
nvidia-settings 565.57.01-1
mpv 1:0.39.0-4
ffmpeg 2:7.1-5
firefox 133.0.3-2
xorg-server 21.1.15-1
libva-nvidia-driver 0.0.13-1
inxi -Fxxxi: https://termbin.com/kdxy
Last edited by why_do_i_need_a_username (2025-01-05 21:11:05)
Offline