Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE? Did your computer break? Ask here.

Moderator: GZDoom Developers

Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Ransom Hammerstun » Mon Oct 04, 2021 7:34 pm

https://streamable.com/81wd8i

This seems to be a problem exclusively for OpenGL. The rest of the video backends do not have this problem.
Ransom Hammerstun
 

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Graf Zahl » Tue Oct 05, 2021 12:00 am

What's your hardware specs?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Ransom Hammerstun » Tue Oct 05, 2021 3:00 am

CPU+GPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10GHz
RAM: 12GB
VRAM: 7GB (2GB Dedicated, 5GB Shared)
Ransom Hammerstun
 

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Graf Zahl » Tue Oct 05, 2021 3:12 am

Hm...

Sounds like another AMD/OpenGL problem.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Rachael » Tue Oct 05, 2021 3:19 am

Is it possible to set up some way to upload SPIR-V shaders in OpenGL? I think for any GPUs that are capable of this, this will fix the shader problems that AMD chipsets clearly can simply not avoid. AMD's GLSL shader compilers seem to suffer a series of regressions that never get fixed over time.
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: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby emile_b » Tue Oct 05, 2021 3:20 am

Looks similar to the errors I see when the pipelining stuff is not working correctly, might be interesting to know if 'gl_pipeline_depth' is set to something other than 0.
emile_b
 
Joined: 22 Sep 2019
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby dpJudas » Tue Oct 05, 2021 3:28 am

You can send SPIR-V shaders to OpenGL, yes. Unfortunately it requires a very new version to do so. At that point you might as well just use the vulkan backend. :)
dpJudas
 
 
 
Joined: 28 May 2016

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Graf Zahl » Tue Oct 05, 2021 3:28 am

Rachael wrote:Is it possible to set up some way to upload SPIR-V shaders in OpenGL? I think for any GPUs that are capable of this, this will fix the shader problems that AMD chipsets clearly can simply not avoid. AMD's GLSL shader compilers seem to suffer a series of regressions that never get fixed over time.



Yes, but it'd require a substantial rewrite of the OpenGL backend, and will be limited to hardware that can do Vulkan anyway.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Rachael » Tue Oct 05, 2021 3:30 am

Considering the deprecated state of OpenGL in general, that simply would not be worth the time then.

I still think Vulkan should be set to the default backend, though.
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: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Ransom Hammerstun » Tue Oct 05, 2021 4:00 am

I should mention that this does not happen on the Open GL renderer, (and the fact that it worked fine on 4.6.1, sans the nonfunctioning shadowmaps)
Ransom Hammerstun
 

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby drfrag » Tue Oct 05, 2021 4:28 am

Ransom Hammerstun wrote:I should mention that this does not happen on the Open GL renderer

But you said it happens on OpenGL before, you mean Vulkan?
User avatar
drfrag
Os voy a romper a pedazos!
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain
Discord: drfrag#3555
Github ID: drfrag666

Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Postby Ransom Hammerstun » Tue Oct 05, 2021 5:14 am

drfrag wrote:
> [quote="Ransom Hammerstun"]I should mention that this does not happen on the Open
> GL renderer[/quote]
> But you said it happens on OpenGL before, you mean Vulkan?
I meant the OpenGL ES renderer, my bad.
Ransom Hammerstun
 


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 1 guest