Hi Everyone,
I'm relatively new to gzdoom and primarily play on a Steam Deck in game mode using the gzdoom flatpak. I use game mode so that I can assign different keyboard controls to each of the buttons, eliminating the need for a controller mode and giving me a lot more configuration options w/r/t weapon switching and etc. I had zero problems getting the software to run and in general, I can play with no major errors. Nothing ever crashes, slows down, or stutters.
But I've run into a curious graphical glitch while playing Doom II that I'd love to have your feedback on, as I think it has something to do with using the flatpak in game mode vs. desktop, and therefore maybe something to do with how game mode handles rendering generally?
I'm using the Doom II .wad that is included in the Bethesda Doom + Doom II bundle sold on GOG.com.
If I am in Game Mode on the Steam Deck and I unlock the FPS in gzdoom or turn on vsync, I get the pictured graphical errors on the left and right sides of my screen whenever I move the "mouse" (bound to my right joystick). These errors do not appear if I don't move my mouse. I can run around levels only using WASD and the glitches never show. And they do not appear in any other game that I play on the Steam Deck, whether it is a non-Steam title, a Steam game, or something that I emulate.
If I use gzdoom (not the Steam overlay) to lock the FPS to around 59 or 60 and turn off vsync, the artifacting almost completely disappears even when I am using the "mouse" (bound to my right joystick). I still see it occasionally, especially in dark areas, but it is far less common and far less distracting.
The game runs beautifully otherwise. And my settings are basically what you can find at this link, without any mods installed:
https://eev.ee/blog/2021/12/11/recommen ... -settings/
But what's really strange is that I can make the errors go away altogether if I do either of the following:
1) play in desktop mode instead of game mode; in this case, I can use the mouse all I want and I never see an error
2) turn off mouse controls and instead set my right joystick to the left and right arrow keys. I can then go into the controls, bind turning left and right to the arrows, and do away with the need for a "mouse" altogether.
I showed this error to someone in the ZDoom discord and they thought it was a sure sign that my Steam Deck had a hardware problem, but I've since tried playing 5 different games and none of them exhibit this glitch. On top of that, I've found a surefire and repeatable way of eliminating the glitch by playing in desktop mode or by using something other than a "mouse" to control the game in Game Mode. I've also tried enabling and disabling dynamic lights and using different resolutions. None of them seem to make a difference, but getting rid of the mouse controls works every time.
Any idea what could be going on? If you need further info or if there is a way I can dump my settings for all of you to see in a txt file, please let me know.
I'm in flatpak version g4.14.2-m
My Steam Deck is fully up to date on the stable update channel.
Many thanks!