Skip to contentSkip to conversation

VLC crashes on playback with "READ_ONLY without WC is disallowed"

Bug 104730 [email protected] 1 participant 6 messages Jan 22, 2018 – Jan 29, 2018

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 104730
Summary: VLC crashes on playback with "READ_ONLY without WC is
disallowed"
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC: [email protected]

Created attachment 136896
--> https://bugs.freedesktop.org/attachment.cgi?id=136896&action=edit
VLC gdb bt

In current git master, vlc crashes on any playback with the above assertion. This is not happening on the same system with Mesa 17.3.3.

I assume the new assertion comes from the following patch:
https://patchwork.freedesktop.org/patch/191502/
https://cgit.freedesktop.org/mesa/mesa/commit/?id=c7f84f6513f9cc9502b9cf3bdca9b95a6b87c98b

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

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

#1 lore raw

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

--- Comment #1 from Christoph Haag <[email protected]> --- This happens with vaapi and omx with assertions enabled.

My patch
https://lists.freedesktop.org/archives/mesa-dev/2018-January/182646.html works around that by setting the RADEON_FLAG_GTT_WC for UVD buffers in the first place. Without the patch and with assertions disabled, this flag ends up being set anyways.

This might not be the right thing to do though, perhaps some other code around that needs to be fixed.

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

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

#2 lore raw
In reply to [email protected]

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

--- Comment #2 from Christoph Haag <[email protected]> ---
https://cgit.freedesktop.org/mesa/mesa/commit/?id=17423c993d0b083c7a77a404b85788687f5efe36
should fix it.

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

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

#3 lore raw
In reply to [email protected]

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

Marek Olšák <[email protected]> changed:

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

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

--- Comment #3 from Marek Olšák <[email protected]> --- Fixed by that commit.

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

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

#4 lore raw
In reply to [email protected]

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

--- Comment #4 from EoD <[email protected]> ---
(In reply to Marek Olšák from comment #3)

Quoted 1 line

Fixed by that commit.

Yes, VLC plays fine again. Thanks.

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

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