Skip to contentSkip to conversation

New: Xv causes player segfaults when 4K is decoded

Bug 70931 [email protected] 1 participant 4 messages Oct 27, 2013 – Dec 4, 2019 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=70931

Priority: medium
Bug ID: 70931
Assignee: [email protected]
Summary: Xv causes player segfaults when 4K is decoded
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: nikoli-0UDz38MK/[email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: unspecified
Component: Driver/nouveau
Product: xorg

Created attachment 88194
--> https://bugs.freedesktop.org/attachment.cgi?id=88194&action=edit
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?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-70931-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 70931] Xv causes player segfaults when 4K is decoded

https://bugs.freedesktop.org/show_bug.cgi?id=70931

--- Comment #1 from Nikoli <nikoli-0UDz38MK/[email protected]> --- Created attachment 88195
--> https://bugs.freedesktop.org/attachment.cgi?id=88195&action=edit
sample.mkv

Added sample.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 70931] Xv causes player segfaults when 4K is decoded

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=70931

--- Comment #2 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- Created attachment 105069
--> https://bugs.freedesktop.org/attachment.cgi?id=105069&action=edit
patch

Untested patch to get rid of the wrong size check. Unfortunately at query time we aren't passed the port pointer by the DDX API. Instead check it at PutImage time and return a BadMatch if you do something bad.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 70931] Xv causes player segfaults when 4K is decoded

In reply to a message not in the archive

https://bugs.freedesktop.org/show_bug.cgi?id=70931

Martin Peres <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from Martin Peres <[email protected]> --- -- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance:
https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/67.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
Nouveau mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/nouveau