The mesa problem I had with occlusion queries is fixed...

The place to discuss Linux and Unix Operating Systems
Forum rules
Behave
Post Reply
User avatar
Grogan
Your Host
Posts: 495
Joined: Sat Aug 21, 2021 10:04 am
Location: Ontario, Canada

The mesa problem I had with occlusion queries is fixed...

Post by Grogan »

That mesa problem I had for a year with my RX 570 card, with flickering textures in Directx12 Unreal games (e.g. Borderlands 3 but not only) where I had to maintain my own patch, is fixed now, ironically (now that I have a new rig and can't even test this on the old one anymore... don't have the games or the drives to install them. Installing those games on mechanical would slow it down so much that you wouldn't see such a problem lol)

Code: Select all

radv: fix waiting for occlusion queries on GFX6-8
Samuel Pitoiset authored 7 hours ago

Occlusion queries don't go through L2 on GFX6-8, and waiting properly
in shaders is more complicated to implement. Use the previous
WAIT_REG_MEM logic on these GPUs to fix this.

This fixes flickering on many games on GFX8.

Closes: mesa/mesa#8954
Closes: mesa/mesa#9415
Fixes: d44651bf

 ("radv: wait for occlusion queries in the resolve query shader")
I had the "opportunity" to test the RX 570 card in the new rig when the assrock card died and had no problem with the occlusion queries. It seems it's those cards, but on older chipsets. I replied back to my 11 month old bug report to that effect.

"Fixes: d44651bf " <--- That's the original commit I bisected when I first reported this, the one I was reverting.
Post Reply