Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

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

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Post Reply
Guest

Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

Post by Guest »

https://streamable.com/81wd8i

This seems to be a problem exclusively for OpenGL. The rest of the video backends do not have this problem.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

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

Post by Graf Zahl »

What's your hardware specs?
Guest

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

Post by Guest »

CPU+GPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10GHz
RAM: 12GB
VRAM: 7GB (2GB Dedicated, 5GB Shared)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

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

Post by Graf Zahl »

Hm...

Sounds like another AMD/OpenGL problem.
User avatar
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

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

Post by Rachael »

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.
emile_b
Posts: 107
Joined: Sun Sep 22, 2019 7:06 am
Graphics Processor: nVidia (Modern GZDoom)

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

Post by emile_b »

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.
dpJudas
 
 
Posts: 3040
Joined: Sat May 28, 2016 1:01 pm

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

Post by dpJudas »

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. :)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49066
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

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

Post by Graf Zahl »

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
Rachael
Posts: 13542
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

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

Post by Rachael »

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.
Guest

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

Post by Guest »

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)
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3141
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

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

Post by drfrag »

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?
Guest

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

Post by Guest »

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.
Post Reply

Return to “Technical Issues”