Sodium

Sodium

35M Downloads

artifacts on amd gpu

azuranc opened this issue ยท 11 comments

commented

Version information

mc1.17.1-0.3.2+build.7

Expected Behavior

Nothing to look funny.

Actual Behavior

Triangle artifacts are appearing.

Reproduction Steps

Fly around to find the artifacts. No problems at all in 0.3.0, but appear in 0.3.1

2021-08-29_18 46 06
2021-08-29_18 46 53
2021-08-29_18 47 13

Java version

16.0.1

CPU

Core i5 4690

GPU

AMD R9 290

Additional information

AMD driver: 21.5.2
tested with no other mods installed

commented

Hey you might want to update your launcher/graphics/chipset drivers. AMD announced in one of their later graphics/chipset driver releases they (among other vulkan things) patched something in their implementation of OpenGL. Mesa on Windows could potentially be a very hacky sollution but at least Mesa has a better OpenGL implementation than AMD's

commented

Does changing the "Use Persistent Mapping" or "Chunk Memory Allocator" settings in Video Settings > Advanced fix anything?

commented

That's odd, seems to only happen with both async and persistent mapping enabled. Either option off or both seems fine

commented

I have the exact same issue with my AMD GPU

commented

Same here

commented

Once again, AMD's drivers have managed to break something in Sodium. For the time being, disabling "Use Persistent Mapping" should fix it, at least until we figure out what's going on here. My guess is something with the mapping's coherency flag...

commented

sadly my gpu went legacy a few months ago, maybe somebody with a newer one can try

commented

Hmmmm, if its legacy, then linux's mesa might help

https://github.com/pal1000/mesa-dist-win/releases

If not, I suggest you could wait a little bit to buy a new pc. PC prices are insane right now

commented

You can't use Mesa's AMD driver on Windows. It's Linux-specific... please don't suggest users do advanced driver replacement with stuff that won't even solve their problem. The Mesa distribution for Windows only provides software solutions and translation layers, neither of which will perform within even 10% of the official AMD OpenGL driver on Windows right now.

commented

Should be solved in Sodium 0.3.3... If not, please ask for this issue to be re-opened & provide any other relevant details (hardware information, client log file, etc.)

commented

Seems fixed! Thanks for the great frame rates on amd hardware :)