Page 1 of 1

Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sat Aug 03, 2019 6:23 pm
by chowbar
Hey guys, recently switched from Windows to Ubuntu 18.04 LTS and I’m getting sub 60 FPS performance in E1M1 with the software renderer. I’ve sudo apt updated and upgraded so I think my graphics drivers are up to date. When I had windows I never got less than 60 FPS in E1M1 in software mode.

Running Ubuntu 18.04 LTS with an Intel UHD 620 and an i3-8130U running GZDoom fullscreen 1080p while plugged in. Its not a screamer laptop but it never ran this poorly with windows. Is there anything I can do to prove performance? I presume Intel’s lazy and that they’ve been neglecting their open source drivers.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sat Aug 03, 2019 10:20 pm
by _mental_
Are you sure that you are using exactly the same settings as on Windows?
There are two software renderers with two color depths each. Bunch of other settings may affect performance as well.
Did you install GZDoom from package or build it yourself?

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sat Aug 03, 2019 11:32 pm
by chowbar
Yup, Doom Software Renderer at 1920x1080 default software settings.
I installed the deb package and just loaded that.

Weird thing is that ZDoom 2.8.1 from the deb package runs totally fine. No FPS drops, 60 fps solid on E1M1. The software renderers can’t be that different right?

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sat Aug 03, 2019 11:45 pm
by Graf Zahl
They surely can. ZDoom 2.8.1's software renderer does not use any hardware acceleration on Linux, while modern GZDoom draws all 2D content using OpenGL.

It may be that your system uses software fallback for OpenGL and that is slow.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sat Aug 03, 2019 11:57 pm
by chowbar
Ah thanks for the explanation Graf. Anything I can do to improve performance or am I pretty much toast? Hardware accelerated rendering runs fine, but I do still like using GZDooms software mode for vanilla stuff. PrBoom doesn’t run super great on this system, and I don’t want to keep using ZDoom 2.8.1 as my main port.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sun Aug 04, 2019 12:02 am
by Graf Zahl
First, post a GZDoom startup log. It may contain some useful info.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sun Aug 04, 2019 4:45 am
by chowbar
Yup here's the startup log
Hope this helps

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sun Aug 04, 2019 10:20 am
by drfrag
Are you sure you were using the same version on windows? Try 'vid_rendermode 0' (8 bit).

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sun Aug 04, 2019 2:01 pm
by chowbar
drfrag wrote:Are you sure you were using the same version on windows? Try 'vid_rendermode 0' (8 bit).
Thanks for the suggestion, but I just confirmed that I was using 8 bit mode.
Yeah I’m stumped, getting like 45-50 FPS on E1M1 which is puzzling the heck out of me.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Sun Aug 04, 2019 4:11 pm
by drfrag
I find surprising that the hardware renderer runs fine. Then try LZDoom, still has the pure software renderer.

Re: Ubuntu 18.04 GZDoom Software Slowdown

Posted: Tue Aug 06, 2019 6:57 pm
by chowbar
drfrag wrote:I find surprising that the hardware renderer runs fine. Then try LZDoom, still has the pure software renderer.
Thanks for the suggesting LZDoom drfrag.
I just loaded up E1M1 with LZDoom and it ran totally fine with the software renderer and hardware renderer.
Still totally stumped here guys, is there any software rendering options in GZDoom I should tweak? Any other suggestions?

Oh and FWIW, I just changed LZDoom to fullscreen at 1080p and I left the default software and hardware rendering options.