SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > SRB2 Discussion > Bug Reports

Reply
 
Thread Tools Search this Thread
Old 02-20-2020   #1
Ace Dragon
 
Ace Dragon's Avatar
Default Switching from OpenGL to software (in game) causes halt in drawing updates

You can see for yourself in version 2.2.1 (at least on a Ryzen machine with Windows 10).

Switch the renderer to OpenGL, the game does what you would expect. Now press the arrow key again to switch back to Software, the game is still functioning, but the draw code is no longer running and it almost looks like the game froze.

However, going back to the desktop and closing the game from the taskbar works without a hitch, and starting the game again will have you back in software with everything working. For a few days I was wondering if I was now stuck using OpenGL only even for things like level design. For some reason the rendering code does not get re-initialized.
Ace Dragon is offline   Reply With Quote
Old 02-20-2020   #2
Lamibe
Default

I also have this glitch and want to detail it a little more. The glitch don't occurs when in windored and you need to close the game or alt+tab to fix it.
Gif still work as expected just that the screen is never refresh.
Lamibe is offline   Reply With Quote
Old 02-20-2020   #3
sa2q
SONICFAN MEME LOVER
Default doesnt work with me

Every time i toggle opengl the game crashes
sa2q is offline   Reply With Quote
Old 02-20-2020   #4
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

Ace Dragon, can you confirm that this issue is not fixed by pressing the Windows key to switch out of SRB2, then going back into SRB2 (without closing/relaunching the game)?


And are you using windowed mode, (exclusive/default) fullscreen mode, borderless windowed not filling the whole screen, or borderless windowed filling the whole screen? (The latter two require the command-line "-borderless" launch parameter/option.)
Zwip-Zwap Zapony is online now   Reply With Quote
Old 02-20-2020   #5
Muils12
Default But how, and some message.

So, I too have this glitch, when I just switch OpenGL to software, GAME JUST DELETED! Seriosly, I got this error in FIRST TIME.
Muils12 is offline   Reply With Quote
Old 02-20-2020   #6
Ace Dragon
 
Ace Dragon's Avatar
Default

Quote:
Originally Posted by Zwip-Zwap Zapony View Post
Ace Dragon, can you confirm that this issue is not fixed by pressing the Windows key to switch out of SRB2, then going back into SRB2 (without closing/relaunching the game)?
Everything works as it should in windowed mode, but is there any reason to not play the game in full-screen (though I guess you get crisper graphics that way)?

Last edited by Ace Dragon; 02-20-2020 at 07:22 PM.
Ace Dragon is offline   Reply With Quote
Old 02-21-2020   #7
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Ace Dragon View Post
Everything works as it should in windowed mode, but is there any reason to not play the game in full-screen (though I guess you get crisper graphics that way)?
Personal preference would be a reason to not play it in fullscreen mode.


But, try to keep SRB2 in fullscreen mode, then test and answer this:

Once SRB2 freezes from switching to the software renderer, then if you switch focus to something else (by pressing the Windows key or by pressing Alt+Tab, without exiting the game fully), and then switch focus back to SRB2 (by clicking on it on the taskbar), do the graphics remain frozen, or does it unfreeze?
Zwip-Zwap Zapony is online now   Reply With Quote
Old 02-21-2020   #8
SSNTails
What part of 'RETIRED' don't you understand?
 
SSNTails's Avatar
Default

I'm curious as to what everyone's GPUs are in this thread.

I just tested it on my Radeon RX470 and I have the same problem. Who authored the in-game switch? Did they have an nVidia card?
__________________
Roly Poly Putt & TraceRace - for Android, iOS, & PC - http://www.spaddlewit.com
Follow me on twitter: http://www.twitter.com/SSNTails
YouTube: https://www.youtube.com/channel/UCWy...P98afi_Sp0NdfQ
SSNTails is offline   Reply With Quote
Old 02-21-2020   #9
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by SSNTails View Post
I'm curious as to what everyone's GPUs are in this thread. -
Mine is an NVIDIA GeForce RTX 2080 Ti. While I'm not sure about for "exclusive"/"default" fullscreen, I do know that I experience this issue when using borderless fullscreen, and that in that case it's a result of all NVIDIA GPU drivers since version 397.64(?) detecting if an OpenGL/Vulkan/DirectX 10+ game is running in a borderless window with the same dimensions as the monitor, and forcing it into "exclusive" fullscreen regardless if so, outputting the OpenGL/Vulkan/DirectX 10+ graphic buffer directly to the monitor or such (I don't know the technical details), while that OpenGL buffer thing will of course stop being updated when you switch back to the software renderer in-game. Again, I'm not sure if this also happens for "exclusive" fullscreen mode, but I can't deny that it might.


Switching focus away from SRB2 and then back to SRB2 will fix the issue, since switching focus away from it gets it out of that "OpenGL-directly-to-the-monitor" situation and it won't re-enter that situation until SRB2 is in OpenGL mode again.


(Yes, this also means that SRB2 can run in actual borderless fullscreen with the software renderer, yet not the OpenGL renderer, with NVIDIA GPU drivers since version 397.64(?).) (I believe that this also happens with AMD GPU drivers, though I don't know when they started doing this as well. Either way, I don't like it.)
Zwip-Zwap Zapony is online now   Reply With Quote
Old 02-21-2020   #10
Ace Dragon
 
Ace Dragon's Avatar
Default

Quote:
Originally Posted by Zwip-Zwap Zapony View Post
Once SRB2 freezes from switching to the software renderer, then if you switch focus to something else (by pressing the Windows key or by pressing Alt+Tab, without exiting the game fully), and then switch focus back to SRB2 (by clicking on it on the taskbar), do the graphics remain frozen, or does it unfreeze?
I can confirm the game unfreezes using this method.

By the way, the card I have should SRB2 use the OpenGL mode is a GeForce GTX 1060 6GB. Nvidia is pretty much the way to go for 3D CG work as they are the only company with a solid record of high-quality drivers.

Last edited by Ace Dragon; 02-21-2020 at 08:10 PM.
Ace Dragon is offline   Reply With Quote
Old 02-21-2020   #11
Zwip-Zwap Zapony
 
Zwip-Zwap Zapony's Avatar
Default

Quote:
Originally Posted by Ace Dragon View Post
I can confirm the game unfreezes using this method. By the way, the card I have should SRB2 use the OpenGL mode is a GeForce GTX 1060 6GB. [...]
Then the issue is 100% NVIDIA's fault (with a sprinkle of Microsoft on top). I don't know if it can be fixed from SRB2's side of things, but it's definitely* not SRB2 causing the problem.


* I'm 100% certain of this, but I could of course be wrong anyway. I'm still 100% certain, though.
Zwip-Zwap Zapony is online now   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:23 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.