Xv causes player segfaults when 4K is decoded
Submitted by Nikoli
Assigned to Nouveau Project
Description
Created attachment 88194
gdb output for 'mpv -vo xv sintel.mkv'
avprobe output:
Stream #0.0(eng): Video: h264 (High 4:4:4 Predictive), yuv444p10le, 4096x1744 [PAR 1:1 DAR 256:109], 24 fps, 24 tbr, 1k tbn, 48 tbc (default)
When trying to play 4K video with Xv video outputs mpv, mplayer2 and vlc segfault.
https://github.com/mpv-player/mpv/issues/320
"the segfault is because the XvShmCreateImage API function returns a smaller image than requested, which, if I read the manpage right, is not allowed."
My software:
Gentoo Linux amd64 stable, kernel 3.9.9-hardened, mesa-9.1.6, xf86-video-nouveau-1.0.9, libXv-1.0.10, libdrm-2.4.46, xorg-server-1.14.3, libav-9.10
Hardware:
01:00.0 VGA compatible controller: NVIDIA Corporation G86M [GeForce 8400M GS] (rev a1)
Used this file for testing:
http://rutracker.org/forum/viewtopic.php?t=4131293
Can upload sample if required.
P.S. With radeon r600g this file works fine, is any 4K playable with nouveau now?
Attachment 88194, "gdb output for 'mpv -vo xv sintel.mkv'":
mpv_4k_vo-xv_crash05.log