[a54e89] [Duke] Vengeance of the Screen Spasm

Moderator: Raze Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

[a54e89] [Duke] Vengeance of the Screen Spasm

Post by sinisterseed »

This is somewhat an old issue, but after the recent changes it has become a lot more pronounced - and a lot more frequent.

Bumping into various walls make the render shit the bed it seems. It can also be triggered when enemies push you around into corners/walls and vice versa, but it is more difficult to trigger it that way. I tried to show that instance too but didn't have much luck with it, I've only managed to demonstrate it when bumping into various walls - https://youtu.be/7RbUFi3MeQw

Another issue, seems to be related to the cheats. I had to type "give all" twice for it to take effect, and off-screen I've had the same issue happening with god mode, multiple times no less. I've also noticed that the console doesn't update in real time when I enter the cheats.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by sinisterseed »

Already got another update here, this is A LOT worse now when water is involved. This is what happens on E1L4 - https://youtu.be/NCJ28GpVfzg

Massive spasm occurs when standing on the starting teleporter of E2L5 as well. It can also be observed when warping between levels and the loading screen stays for a little longer on the screen instead of 0.01 seconds.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by Graf Zahl »

So far I've seen this in 3 different places, the one in Duke Vacation is the best one for testing.
The other places are some hidden corner in WW2GI's first map and near the yellow key in Duke's E1L2.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by Graf Zahl »

Fixed. It was caused by some inappropriate render state caching in the draw list for the 3D display..

With this being addressed, I'd say things look quite nice one day after the transition. :)
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by sinisterseed »

Indeed, this was actually all this spasm took? Not half bad.

Hopefully it's gone for good now, because even before the transition it was possible to experience it when bumping into walls under certain conditions. Teamwork does wonders anyway ;).
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by Graf Zahl »

The effect was pretty obvious - nothing got rendered anymore so old leftover content was displayed.
This was actually easier to find with Blood where it only happened when voxels were visible.
User avatar
mjr4077au
Posts: 830
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by mjr4077au »

Graf Zahl wrote:With this being addressed, I'd say things look quite nice one day after the transition. :)
I definitely agree, things feel pretty solid at the moment.

If I may ask, why the transitional backend prior to just getting it straight on there? Seems like double handling but I'm sure there were good reasons?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by Graf Zahl »

Have you noticed how long it took to set everything up to work together - and the amount of failed attempts? As a first step I had to get it to work and then gradually add more of GZDoom. Remember: I wrote the interim render interface at a time when there was no GZDoom backend code at all in Raze and everything still used SDL and the ancient JFDuke interface code.
That may sound like a detour but sometimes it is necessary to use temporary solutions to be able to continue. It's the same with the menu. When I added that. ZScript was not an option so I had to work around this by going back to the last native version of GZDoom's menu. This code will be replaced as well eventually.
User avatar
mjr4077au
Posts: 830
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia

Re: [a54e89] [Duke] Vengeance of the Screen Spasm

Post by mjr4077au »

Yeah that all makes 100% sense, thank you for explaining it to me 😁

Return to “Closed Bugs [Raze]”