Bug 215839
Summary: | distorted video playback with hybrid GPU (DRI_PRIME=1, Radeon HD 6470M and Intel-GPU) | ||
---|---|---|---|
Product: | Drivers | Reporter: | kolAflash (kolAflash) |
Component: | Video(DRI - non Intel) | Assignee: | drivers_video-dri |
Status: | RESOLVED ANSWERED | ||
Severity: | normal | CC: | alexdeucher |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.15.28 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
kolAflash
2022-04-15 16:20:39 UTC
This is a mesa bug. I'd suggest filing a bug here: https://gitlab.freedesktop.org/groups/mesa/-/issues There is either a memory alignment bug in the r600 mesa driver or the intel mesa driver is not allocating memory with the proper alignment requirements for the radeon hardware so when the radeon driver tries to use the buffer the commands get rejected causing the image distortions. Thanks for your assessment Alex! Here is the Mesa bug: https://gitlab.freedesktop.org/mesa/mesa/-/issues/6326 I can only set the status of this kernel.org bug to "resolved". But I guess it should be "invalid" or something else!? I also found a workaround for Kodi: Settings -> Player Set UI mode to >= Advanced Under "Videos" disable "Allow hardware acceleration - VAAPI" Then Kodi will work fine with DRI_PRIME=1 Interestingly even without DRI_PRIME=1 full HD videos now play smooth too. (maybe Kodi should leave VAAPI disabled by default...) |