mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
27.83k stars 2.87k forks source link

Garbled MPEG4 video with VDPAU on nouveau #8450

Open kevinoid opened 3 years ago

kevinoid commented 3 years ago

Important Information

Provide following Information:

Reproduction steps

VDPAU_DRIVER=nouveau mpv --no-config --vo=vdpau --hwdec=vdpau --hwdec-codecs=all https://archive.org/download/BigBuckBunny_328/BigBuckBunny.avi

Expected behavior

Watchable video.

Actual behavior

Screenshot of garbled BigBuckBunny playing in mpv

Log file

mpvlog.txt

Sample files

Additional information

Initially I thought this was an issue with nouveau and opened mesa/mesa#3924. However, it turns out that MPlayer is able to play the video correctly using VDPAU:

VDPAU_DRIVER=nouveau mplayer -vo vdpau -vc ffodivxvdpau https://archive.org/download/BigBuckBunny_328/BigBuckBunny.avi

Which suggests this is an issue or incompatibility with mpv, so I'm reporting it here.

Thanks, Kevin

kevinoid commented 3 years ago

For reference, I'm also able to reproduce the issue in XFCE 4.16, so it's not Wayland-specific.

Traneptora commented 3 years ago

In the future, provide truncated samples so we don't have to download several hundred megabytes to test an issue.

Anyway, I have an old nvidia card that I can use to test this but it'll take a bit of time.