[r600g] Rejected CS when using dolphin's GPU texture decoder
Submitted by MWATTT
Assigned to Default DRI bug account
Link to original bug (#104592)
Description
Created attachment 136672 Apitrace of dolphin
Dolphin emulator's GPU texture decoder is now supported, as it requires compute shaders. It however misrender and the line "The kernel rejected CS, see dmesg for more information" is repetitively printed.
I have the folowwing lines repeated in dmesg: "[ 4885.617750] [drm:radeon_cs_ioctl [radeon]] ERROR Invalid command stream ! [ 4885.624044] radeon 0000:01:00.0: evergreen_cs_track_check:982 mask 0x000000FF | 0x000000FF no cb for 1 [ 4885.624047] radeon 0000:01:00.0: evergreen_packet3_check:1908 invalid cmd stream"
I have attached an apitrace of dolphin. The trace renders fine on Skylake. It seems that the first rejected CS is at frame 0, call 2731. (glDrawRangeElementsBaseVertex())
Tested on HD 5770.
Attachment 136672, "Apitrace of dolphin":
dolphin-emu.119612.trim.trace
Version: git