turanszkij / WickedEngine

3D engine with modern graphics
https://wickedengine.net
Other
5.64k stars 598 forks source link

"editor gui anti aliasing" broke UI rendering on AMD cards #872

Closed brakhane closed 1 month ago

brakhane commented 1 month ago

It seems like commit 4ceef0c283968f700db4d9a0fc83b1668de88065 broke rendering on (some?) AMD cards. It definitely doesn't work on RX 580. Drivers are up to date.

bug

I don't have an AMD card, but one user affected by that bug confirmed that reverting that particular commit makes the UI show up again.

kariem2k commented 1 month ago

It is happening in DX12 and Vulkan FYI

turanszkij commented 1 month ago

I can't repro this, tested on the graphics cards:

Vulkan, DX12 don't say any errors related to this.

turanszkij commented 1 month ago

A commit has been added that attempts to change some things around the MSAA that I suspect could be a thing AMD driver is handling incorrectly. Please try the latest version from Github.

kariem2k commented 1 month ago

wickedengine.zip

This is a capture from RenderDoc 1.31

Thanks

turanszkij commented 1 month ago

Looks like the capture replays fine for me, this is most likely a driver issue. I'll try to report it to AMD.

turanszkij commented 1 month ago

I made an update, the gui anti aliasing can be turned off by adding a line to config.ini's root section of the Editor:

gui_antialiasing = 0

Valid values for this are 0, 1, 2, 4, 8 directly specifying sample count of multisampling. 0 and 1 will turn it off (single sampling)