Screen Melt Way Too Slow

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

Moderator: GZDoom Developers

Re: Screen Melt Way Too Slow

Postby Graf Zahl » Tue Oct 27, 2020 9:08 am

It's something directly affecting performance settings, so, yes that is possible. Do you use VSync or other frame rate limiting options?

I'll run some tests myself at home.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Screen Melt Way Too Slow

Postby Redneckerz » Tue Oct 27, 2020 9:39 am

Starisma1 wrote:So I wonder will this bug be fixed in 4.5?

Given you have this issue, but also this hardware, the bug and eventual fix is just a positive byeffect for GZDoom.

For you, however, its still recommended to use LZDoom, because Intel Baytrail graphics is beyond slow.
User avatar
Redneckerz
To it's ports i may have seen
Spotlight Team
 
Joined: 25 Nov 2019
Discord: Redneckerz#8399
Operating System: Windows Vista/7/2008 64-bit
Graphics Processor: nVidia (Legacy GZDoom)

Re: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 10:31 am

Graf Zahl wrote:It's something directly affecting performance settings, so, yes that is possible. Do you use VSync or other frame rate limiting options?

I'll run some tests myself at home.

Framerate set to Unlimited, but the default 200 makes no difference.

Naturally using VSync ;) .
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby Graf Zahl » Tue Oct 27, 2020 10:42 am

For me (Geforce 1060) this makes no difference at all. Weird.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 11:27 am

And I might now why.

I think none of your are having issues because you're all too fast. This may be similar to the tearing videos in Blood, which only us with slower machines used to experience, apparently.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby drfrag » Tue Oct 27, 2020 11:52 am

The original commit when it was added in may 2018 says:
Code: Select allExpand view
- added CVAR to disable WGL_EXT_swap_control_tear.

At least on faster NVidia hardware, setting this to false and gl_finishbeforeswap to true gives a better experience because it reduces screen tearing - but the same setting will reduce frame rate quite dramatically on Intel and can cause bad stalls on some older GPUs when rendering camera textures.

For me it was already false dunno why and makes no difference.
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: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 11:56 am

Hm, no idea what's up with finishbeforeswap, haven't checked that one.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby Graf Zahl » Tue Oct 27, 2020 11:58 am

drfrag wrote:The original commit when it was added in may 2018 says:
Code: Select allExpand view
- added CVAR to disable WGL_EXT_swap_control_tear.

At least on faster NVidia hardware, setting this to false and gl_finishbeforeswap to true gives a better experience because it reduces screen tearing - but the same setting will reduce frame rate quite dramatically on Intel and can cause bad stalls on some older GPUs when rendering camera textures.

For me it was already false dunno why and makes no difference.



Yes, I know. Note the word "Camera textures" and "Intel". Definitely not "melting".

Back then I was using a Geforce 550Ti on which it caused major issues with camera textures. But it still gave the best experience because it avoids frame drops and has no tearing.
I find tearing the most distracting render artifact out there.


sinisterseed wrote:Hm, no idea what's up with finishbeforeswap, haven't checked that one.



It shuffles around some operations on a screen swap. The results are very hardware dependent.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 12:02 pm

I'll later if I get on my PC again before I go to sleep if it changes anything, I expect nothing but who knows.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 3:05 pm

Alright, so gl_finishbeforeswap set to "true" also fixes the melt screen crawl, so it's either that, or setting gl_control_tear to "true" to fix it for some of us, looks like.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby Graf Zahl » Tue Oct 27, 2020 3:11 pm

I am actually a bit puzzled. The melt effect is as cheap as they come - after reading the images into two textures all it does is render 320 strips of image each frame.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Screen Melt Way Too Slow

Postby sinisterseed » Tue Oct 27, 2020 3:14 pm

I can only tell what I see, and this is it, with gl_control_tear set to false, setting gl_finishbeforeswap to true fixes the crawl here ;) .
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
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: Screen Melt Way Too Slow

Postby Starisma1 » Tue Oct 27, 2020 7:06 pm

Redneckerz wrote:
Starisma1 wrote:So I wonder will this bug be fixed in 4.5?

Given you have this issue, but also this hardware, the bug and eventual fix is just a positive byeffect for GZDoom.

For you, however, its still recommended to use LZDoom, because Intel Baytrail graphics is beyond slow.

alright i just installed the newest version of LZDoom so ill see if theres a screen melt bug there
Starisma1
 
Joined: 22 Oct 2020
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)

Re: Screen Melt Way Too Slow

Postby Starisma1 » Wed Nov 11, 2020 6:45 pm

Update: I tried out gzdoom 4.5 and i no longer have a slow screen melt so i guess 4.4 must of been buggy for my system because 4.5 completely fixed the bug even though my computer has slow hardware
Starisma1
 
Joined: 22 Oct 2020
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)

Re: Screen Melt Way Too Slow

Postby sinisterseed » Sun Nov 29, 2020 2:21 pm

Since this is still open.

As of g51adcd45e I am no longer experiencing the melt crawl either, it's back to normal.
User avatar
sinisterseed
GZDoom RO Translator & Raze Tester
 
Joined: 05 Nov 2019
Twitch ID: sixhundredsixteen
Github ID: sinisterseed
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

PreviousNext

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 0 guests