Skip to contentSkip to conversation

st_sampler_view.c:546 assert

Bug 107666 [email protected] 1 participant 3 messages Aug 23, 2018 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107666
Summary: st_sampler_view.c:546 assert
Product: Mesa
Version: 18.2
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/r600
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

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.

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=107666

Christian Widmer <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #1 from Christian Widmer <[email protected]> --- Created attachment 142078
--> https://bugs.freedesktop.org/attachment.cgi?id=142078&action=edit
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

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=107666

GitLab Migration User <[email protected]> changed:

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

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

--- Comment #2 from GitLab Migration User <[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/mesa/mesa/issues/644.

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