Skip to contentSkip to conversation

mpv + st/va: add motion adaptive deinterlacing v2 = segfault/assert

Bug 93758 [email protected] 1 participant 6 messages Jan 18, 2016 – Jan 21, 2016

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 93758
Summary: mpv + st/va: add motion adaptive deinterlacing v2 =
segfault/assert
Product: Mesa
Version: git
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 121110
--> https://bugs.freedesktop.org/attachment.cgi?id=121110&action=edit
segfault

Testing st/va: add motion adaptive deinterlacing v2 on tonga.

Release or git mpv segfaults or asserts (mesa --enable-debug).

mpv --hwdec=vaapi --vo=vaapi --vf=vavpp:deint=motion-adaptive ...

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

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

--- Comment #1 from Andy Furniss <[email protected]> --- Created attachment 121111
--> https://bugs.freedesktop.org/attachment.cgi?id=121111&action=edit
assert

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Christian K�nig <[email protected]> --- Created attachment 121120
--> https://bugs.freedesktop.org/attachment.cgi?id=121120&action=edit
Possible fix

Hi Andy,

stupid typo, does the attached patch fix the issue?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

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

--- Comment #3 from Andy Furniss <[email protected]> --- (In reply to Christian K�nig from comment #2)

Quoted 6 lines

Created attachment 121120 [details] [review]
Possible fix

Hi Andy,

stupid typo, does the attached patch fix the issue?

Yes that fixes it thanks.

I can see there are more artifacts than with vdpau m/a deint - I was expecting them to use the same underlying code and so have the same artifacts?

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from Andy Furniss <[email protected]> --- (In reply to Andy Furniss from comment #3)

Quoted 3 lines

I can see there are more artifacts than with vdpau m/a deint - I was expecting them to use the same underlying code and so have the same artifacts?

After looking at more samples it seems that sometimes parts of one of the fields ends up with old content being displayed/not updated.

This is more than a few extra artifacts - it's buggy. With vdpau there were artifacts, but you wouldn't notice them watching normally (would need to pause/slow mo). Given the right input this is instantly noticeably corrupt.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

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

Christian K�nig <[email protected]> changed:

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

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Christian K�nig <[email protected]> --- (In reply to Andy Furniss from comment #4)

Quoted 6 lines

(In reply to Andy Furniss from comment #3)

Quoted 3 lines

I can see there are more artifacts than with vdpau m/a deint - I was expecting them to use the same underlying code and so have the same artifacts?

Quoted 6 lines

After looking at more samples it seems that sometimes parts of one of the fields ends up with old content being displayed/not updated.

This is more than a few extra artifacts - it's buggy. With vdpau there were artifacts, but you wouldn't notice them watching normally (would need to pause/slow mo). Given the right input this is instantly noticeably corrupt.

Really interesting. I can't see of hand how this could happen.

The only possibility is that the input bitstream somehow gets corrupted sometimes and because of that UVD fails to decode the field in question. But that would affect normal playback as well.

Anyway, please open up a new bug report for this. Clearly a separate issue.

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

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel