Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
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.
Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
https://streamable.com/81wd8i
This seems to be a problem exclusively for OpenGL. The rest of the video backends do not have this problem.
This seems to be a problem exclusively for OpenGL. The rest of the video backends do not have this problem.
- Graf Zahl
- 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)
What's your hardware specs?
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
CPU+GPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx 2.10GHz
RAM: 12GB
VRAM: 7GB (2GB Dedicated, 5GB Shared)
RAM: 12GB
VRAM: 7GB (2GB Dedicated, 5GB Shared)
- Graf Zahl
- 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)
Hm...
Sounds like another AMD/OpenGL problem.
Sounds like another AMD/OpenGL problem.
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
- Graf Zahl
- 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)
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.
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
I still think Vulkan should be set to the default backend, though.
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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)
- 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)
But you said it happens on OpenGL before, you mean Vulkan?Ransom Hammerstun wrote:I should mention that this does not happen on the Open GL renderer
Re: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)
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.
> [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.