[Fixed] [1.0.0] Visual Artifacting in Vulkan mode

Moderator: Raze Developers

[1.0.0] Visual Artifacting in Vulkan mode

Postby HydroFS02 » Wed Apr 07, 2021 7:53 pm

Hope this is the right place for this.

First off, congrats on the new release. Although i noticed a pretty big problem booting up the game with Vulkan enabled. During gameplay, several textures and sprites would display with "Tutti-Frutti" style artifacting as shown here below.




When moving, the effect flickers and only gets exaggerated until the player stops. I tried changing video options to fix this, but no avail. Same effect happens with other Build games such as Blood and SW. Although this does not occur in OpenGL mode, only Vulkan. I do acknowledge this could be an issue with my GPU/Drivers and I can post the specs here if needed. My card is pretty crap but it's drivers are up to date.
User avatar
HydroFS02
 
Joined: 05 Apr 2021
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby mjr4077au » Wed Apr 07, 2021 8:58 pm

Interesting... I haven't seen that on this end. Are your specs on your profile accurate? I only have NVIDIA systems :(
User avatar
mjr4077au
 
Joined: 16 Jun 2019
Location: Gosford NSW, Australia
Discord: mjr4077au#1027
Github ID: mjr4077au
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Rachael » Wed Apr 07, 2021 9:01 pm

I have an RX 550 coming .... someday ... so I can test Vulkan on that when it finally comes. (hopefully someday?)
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby HydroFS02 » Wed Apr 07, 2021 9:16 pm

mjr4077au wrote:Interesting... I haven't seen that on this end. Are your specs on your profile accurate? I only have NVIDIA systems :(

Yes, can confirm. My card is a low profile HP Radeon RX550/550 series with 4GB of vram and GDDR5 memory according to my AMD Settings dashboard, its pretty shoddy nowadays but can still play plenty of older and indie games no problem, including the latest GZDoom.
User avatar
HydroFS02
 
Joined: 05 Apr 2021
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby mjr4077au » Wed Apr 07, 2021 10:16 pm

The card should be fine, but I can't replicate this at all on my setup sadly... Do you have any problems like this in GZDoom?
User avatar
mjr4077au
 
Joined: 16 Jun 2019
Location: Gosford NSW, Australia
Discord: mjr4077au#1027
Github ID: mjr4077au
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby HydroFS02 » Wed Apr 07, 2021 10:55 pm

Not at all, GZDoom runs pretty much flawlessly on my system.
User avatar
HydroFS02
 
Joined: 05 Apr 2021
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: ATI/AMD with Vulkan Support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Rachael » Thu Apr 08, 2021 12:07 am

I realize you said your drivers are up to date, but this does seem like likely a driver problem to me. Are you able to do any sort of rollbacks to see?
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Graf Zahl » Thu Apr 08, 2021 12:17 am

Is this with palette emulation on o off? What happens if you switch that option to the other setting?

I also do not get this with NVidia so it may be a bit hard to test.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Rachael » Thu Apr 08, 2021 12:37 am

Having the .ini file may help - considering the architecture of Vulkan, driver issues should be fairly uncommon but I can't imagine they're totally impossible. That being said, the .ini file itself may help rule anything else out.
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Graf Zahl » Thu Apr 08, 2021 12:46 am

Could you also start the game with '+vk_debug 1' and post the output here? Sometimes that may reveal some problems. But it's still a bit puzzling. The backend code is identical with GZDoom's so there should be no reason for such a difference in effect, and then only to selected items.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby dpJudas » Thu Apr 08, 2021 1:20 am

Assuming this is an issue with the palette textures, then perhaps AMD has some memory alignment requirement when uploading the textures? I'm not sure what the standard states exactly regarding this.
dpJudas
 
 
 
Joined: 28 May 2016

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Graf Zahl » Thu Apr 08, 2021 1:23 am

I don't think it's the palette textures. Looking closer at these images, there does seem to be some texture filtering be involved in the artifacts (i.e. mipmap related)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby dpJudas » Thu Apr 08, 2021 1:38 am

I just checked the standard and you're right that it can't be the upload. Tightly packed uploads via vkCmdCopyBufferToImage is always supported, although the standard does say we should use the optimalBufferCopyRowPitchAlignment device property for optimal copy performance.
dpJudas
 
 
 
Joined: 28 May 2016

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby Cacodemon345 » Thu Apr 08, 2021 3:18 am

The visual glitches look really similar to the FXAA glitch I got in GZDoom's first Vulkan iterations.
Cacodemon345
 
Joined: 22 Dec 2017
Discord: Cacodemon345#9151
Github ID: Cacodemon345
Operating System: Other Linux 64-bit
Graphics Processor: ATI/AMD (Modern GZDoom)

Re: [1.0.0] Visual Artifacting in Vulkan mode

Postby dpJudas » Thu Apr 08, 2021 4:30 am

I suppose someone could try upgrade the GLSL compiler to see if it fixes things.
dpJudas
 
 
 
Joined: 28 May 2016

Next

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 0 guests