Ubuntu 18.04 GZDoom Software Slowdown

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

Moderator: GZDoom Developers

Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Sat Aug 03, 2019 7:23 pm

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.
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby _mental_ » Sat Aug 03, 2019 11:20 pm

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?
_mental_
 
 
 
Joined: 07 Aug 2011

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Sun Aug 04, 2019 12:32 am

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?
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby Graf Zahl » Sun Aug 04, 2019 12:45 am

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.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Sun Aug 04, 2019 12:57 am

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.
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby Graf Zahl » Sun Aug 04, 2019 1:02 am

First, post a GZDoom startup log. It may contain some useful info.
User avatar
Graf Zahl
Lead GZDoom Developer
Lead GZDoom Developer
 
Joined: 19 Jul 2003
Location: Germany

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Sun Aug 04, 2019 5:45 am

Yup here's the startup log
Hope this helps
Attachments
Screenshot from 2019-08-04 03-41-34.png
Last edited by chowbar on Sun Aug 04, 2019 3:02 pm, edited 1 time in total.
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby drfrag » Sun Aug 04, 2019 11:20 am

Are you sure you were using the same version on windows? Try 'vid_rendermode 0' (8 bit).
User avatar
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Sun Aug 04, 2019 3:01 pm

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.
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby drfrag » Sun Aug 04, 2019 5:11 pm

I find surprising that the hardware renderer runs fine. Then try LZDoom, still has the pure software renderer.
User avatar
drfrag
I.R developer, I.R smart
Vintage GZDoom Developer
 
Joined: 23 Apr 2004
Location: Spain

Re: Ubuntu 18.04 GZDoom Software Slowdown

Postby chowbar » Tue Aug 06, 2019 7:57 pm

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.
User avatar
chowbar
 
Joined: 19 Aug 2018
Location: yay area


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 2 guests