Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

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

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

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

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

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

by Guest » 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)

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

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

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

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

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

by 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. :)

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

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

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

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

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

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

Hm...

Sounds like another AMD/OpenGL problem.

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

by Guest » 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)

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

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

What's your hardware specs?

Dynamic Lights rapidly flashing on OpenGL (GZDoom 4.7.0)

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

Top