Bug 107666 - st_sampler_view.c:546 assert
Summary: st_sampler_view.c:546 assert
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: 18.2
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-23 20:39 UTC by Martin Bednar
Modified: 2019-09-18 19:26 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
mpv.conf triggering the issue (77 bytes, text/plain)
2018-10-18 09:25 UTC, Christian Widmer
Details

Description Martin Bednar 2018-08-23 20:39:32 UTC
mesa 18.2.0_rc4
lspci:
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cayman PRO [Radeon HD 6950]
glxinfo:
    Device: AMD CAYMAN (DRM 2.50.0 / 4.17.14-gentoo, LLVM 6.0.1) (0x6719)
    Version: 18.2.0

Using Kodi to watch tv using the HTSP plugin, using VDPAU for decoding:
kodi.bin: ../mesa-18.2.0-rc4/src/mesa/state_tracker/st_sampler_view.c:546: st_get_texture_sampler_view_from_stobj: Assertion `stObj->level_override || last_level(stObj) == view->u.tex.last_level' failed.

VAAPI decoding works.
Comment 1 Christian Widmer 2018-10-18 09:25:39 UTC
Created attachment 142078 [details]
mpv.conf triggering the issue

This also appears when trying to watch videos in mpv with the OpenGL video output using VDPAU hardware decoding and the VDPAU post processing filter. The video does not play and the failed assertion is thrown to the command line. Interestingly, hardware decoding using VDPAU without activating the post processing filter does not hit the failed assertion.

I am using a Radeon RX 580 with a recent git mesa (commit 3a95396f3c6f51d38f044375bbd6698ed6cb28f4), a pretty recent LLVM 8 version and kernel 4.18.14.

The issue can be reproduced by trying to play the video linked in [1] with mpv (with youtube-dl support) and the attached mpv configuration. When I comment out the line containing vdpaupp, the video starts to play.

[1] https://www.youtube.com/watch?v=XB3TPPNUX28
Comment 2 GitLab Migration User 2019-09-18 19:26:15 UTC
-- 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/mesa/mesa/issues/644.


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.