Bug 104730 - VLC crashes on playback with "READ_ONLY without WC is disallowed"
Summary: VLC crashes on playback with "READ_ONLY without WC is disallowed"
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-22 14:19 UTC by EoD
Modified: 2018-01-29 13:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
VLC gdb bt (8.38 KB, text/x-log)
2018-01-22 14:19 UTC, EoD
Details

Description EoD 2018-01-22 14:19:24 UTC
Created attachment 136896 [details]
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
Comment 1 Christoph Haag 2018-01-22 17:18:07 UTC
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.
Comment 3 Marek Olšák 2018-01-27 01:22:37 UTC
Fixed by that commit.
Comment 4 EoD 2018-01-27 01:29:12 UTC
(In reply to Marek Olšák from comment #3)
> Fixed by that commit.

Yes, VLC plays fine again. Thanks.
Comment 5 EoD 2018-01-29 13:13:13 UTC
This does not seem to have made it into mesa 18.0.0-rc3.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.