most vo apis display artifacts on redraw
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
Other Information
- Linux version:
- Kernel Version:
- GPU Model:
- Mesa/GPU Driver Version:
- Window Manager and Version:
- Source of mpv:
- Latest known working version:
- Issue started after the following happened:
Reproduction Steps
in Linux Debian13 (trixie) the packaged mpv displays redraw artifacts on all VOs except vdpau. configuration is nvidia gtx1060 in twinview configuration of 2 monitors, each 1920x1080. One is pure HDMI, while hte other goes thru a passive display-port to HDMI adapter.
Note that the older "mplayer" program does not have this problem.
Specific afrtifacts include pixelated macro-blocks and horizontal or diagonal lines during redraw during periods of heavy motion.
I manually installed nvidia 570.207 driver from nvidia site due to known and presented bugs in the debian 550.x driver.
requested version information:
files:~$ mpv --version
mpv v0.40.0 Copyright © 2000-2025 mpv/MPlayer/mplayer2 projects
libplacebo version: v7.349.0
FFmpeg version: 7.1.2-0+deb13u1 (runtime 7.1.3-0+deb13u1)
FFmpeg library versions:
libavcodec 61.19.101
libavdevice 61.3.100
libavfilter 10.4.100
libavformat 61.7.100
libavutil 59.39.100
libswresample 5.3.100
libswscale 8.3.100
files:~$ dmesg | grep -i nvidia
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-6.12.48+deb13-amd64 root=UUID=25c8afb0-9a42-40af-a2fb-eb18985736cd ro nvidia-drm.modeset=0
[ 0.039359] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.12.48+deb13-amd64 root=UUID=25c8afb0-9a42-40af-a2fb-eb18985736cd ro nvidia-drm.modeset=0
[ 9.364706] input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:07.0/0000:05:00.1/sound/card2/input17
[ 9.364963] input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:07.0/0000:05:00.1/sound/card2/input18
[ 9.365179] input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:07.0/0000:05:00.1/sound/card2/input19
[ 9.365402] input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:07.0/0000:05:00.1/sound/card2/input20
[ 9.842656] nvidia: loading out-of-tree module taints kernel.
[ 9.842736] nvidia: module license 'NVIDIA' taints kernel.
[ 9.842857] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 9.842938] nvidia: module license taints kernel.
[ 10.644586] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 10.647733] nvidia 0000:05:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
[ 10.763799] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 570.207 Fri Nov 14 21:52:05 UTC 2025
[ 10.832147] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 570.207 Fri Nov 14 21:27:23 UTC 2025
[ 10.878256] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[ 10.878329] [drm] Initialized nvidia-drm 0.0.0 for 0000:05:00.0 on minor 0
[ 73.912464] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
files:~$
Expected Behavior
clean and clear redraws. virtually no system load and the machine is "beefy" to say the least.
Actual Behavior
artifacts during repaint, as mentioned above.
Log File
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the attached output.txt and the reported mpv --version details; compare redraw behavior across the listed video outputs under the Debian 13/NVIDIA twin-monitor setup. Done means identifying a reproducible cause or scoped fix that produces clean redraws without artifacts on the affected outputs, with the result verified against vdpau.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, debian, linux
- Domain
- audio-video-rtc, desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100