The official "ZDoom on Linux" thread.

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Re: The official "ZDoom on Linux" thread.

Postby Niko » Sat Sep 23, 2017 11:21 am

I just wanted to register an account and say thank you to everyone who made zdoom and gzdoom and the frontend superdoom on Linux possible. It runs great on Arch and I'm reliving all the old nightmares I first encountered in the early days of Doom's release. Like. The 90's, when my dad brought home a 2 disc packed version for our Windows 3.1 machine.
Niko
 
Joined: 23 Sep 2017
Discord: Niko

Re: The official "ZDoom on Linux" thread.

Postby GuntherDW » Fri Oct 20, 2017 3:40 am

It might be an oversight of me or just something that is "not really supported beyond 'best effort'" but performance with regards to the "software" renderer in Linux seems te be a bit... abysmal.
Even for my ancient by todays' standards AMD Phenom II x4 955.

The weird part however is that when I attempt to run the windows (32bit, 64bit crashed with my wine version) version through wine - (wine-2.3 on Gentoo with staging patches applied. I need to update, I know) with the OpenGL backend, to attempt to match the setup, it even speeds it up because it's one less translation layer to keep track of - it seems to run okay-ish. Upwards of 40-80 in vanilla doom 2 levels.
In the Linux version, using the most recent up to date version atm from the "master" branch (git commit da42c9adf5338be641ee1bb194647aea0355d41b), performance is almost half if not even slower.
Switching it to SDL doesn't seem to change much, from what I gather it should be even slower but it's not noticable.

Turning on the poly renderer makes it run even poorer. Turning off the truecolor renderer speeds it up to "regular" zdoom levels in Linux but like I said only having half or even less of the performance is kind of meh.
Unless the precompiled windows versions have specific compiler flag optimisations or targets set? Then again I do have -march=native and a somewhat recent GCC (5.4.0-r3) installed.

I usually run the hardware accelerated OpenGL renderer which runs fine on my Geforce GTX 670 so it's not something that really affects me all that much, but nevertheless it's something that I find interesting.

Long story short I'd ask if it's just my system or a "known" issue.
This is on 1920x1080 by the way. Windowed mode.

EDIT: looks like CFLAGS/CXXFLAGS and CPPFLAGS gets ignored when running make, it just "forces" it to -march=x86_64 for qzdoom's source and adds -mtune=generic for most of the projects in the source tree.
User avatar
GuntherDW
 
Joined: 14 Jul 2004
Location: Belgium, Antwerp

Re: The official "ZDoom on Linux" thread.

Postby _mental_ » Fri Oct 20, 2017 5:31 am

All compiler and linker flags must be adjusted via CMake. The default configuration is Debug which could explain bad performance.
_mental_
 
 
 
Joined: 07 Aug 2011

Re: The official "ZDoom on Linux" thread.

Postby GuntherDW » Fri Oct 20, 2017 11:05 am

Looks like you were correct. I set it to "Release" and the performance boost was enormous.
It is now up to par and even faster than the windows build through wine. Thanks :).
User avatar
GuntherDW
 
Joined: 14 Jul 2004
Location: Belgium, Antwerp

Re: The official "ZDoom on Linux" thread.

Postby bLUEbYTE » Wed Mar 11, 2020 7:37 am

Tried GZDoom 64-bit deb, version 4.3.3 on an intel 8th gen NUC.
specs: Kubuntu 20.04. Intel Iris plus 655, OpenGL mode, mesa library version 20.0.0, OpenGL 4.6.
settings: 1920x1080, ScaleNX 2x, trilinear, anisotropic filtering at 8x, light shadowmaps at 128.

Had terrible performance on the default X11 KDE Plasma session
As a rough benchmark, at MAP13 start location:
On Windows 10, used to get 137-142 FPS
X11 session: 43 FPS

Then I installed the package plasma-workspace-wayland. After a logout, the Wayland session was available. Picked it, logged in and did the same test: It was going back and forth between 117-200 fps. Pretty good!

So, on Ubuntu 20.04, definitely give a go to the Wayland display server if you have an Intel iGPU.
bLUEbYTE
 
Joined: 15 Nov 2019
Location: Australia
Graphics Processor: Intel with Vulkan Support

Re: The official "ZDoom on Linux" thread.

Postby middlefingerman » Mon May 04, 2020 1:10 pm

Hmmm... I can just install zandronum rite off the bat on my Linux computers without compiling nothing...
All I do is
Code: Select allExpand view
wget -O - http://debian.drdteam.org/drdteam.gpg | sudo apt-key add -
sudo add-apt-repository 'deb http://debian.drdteam.org/ stable multiverse'
sudo apt-get install zandronum doomseeker-zandronum
User avatar
middlefingerman
Windows Pro makes all MSPaint drawings professional? I'm in!
Banned User
 
Joined: 04 May 2020
Location: On the toilet

Re: The official "ZDoom on Linux" thread.

Postby middlefingerman » Tue May 05, 2020 11:53 am

Well actually, apparently Zandronum only works on 19.04 and below, as 20.04 seems to crash zandronum...
GZDoom works fine though
User avatar
middlefingerman
Windows Pro makes all MSPaint drawings professional? I'm in!
Banned User
 
Joined: 04 May 2020
Location: On the toilet

Re: The official "ZDoom on Linux" thread.

Postby Edward-san » Wed May 06, 2020 6:52 am

middlefingerman wrote: as 20.04 seems to crash zandronum


Please file a new bug report at the zandronum bug tracker, or it won't get noticed at all.
Edward-san
Mathematics is the language with which God has written the universe. (Galilei)
 
Joined: 17 Oct 2009

Previous

Return to General

Who is online

Users browsing this forum: DotBot, Google [Bot], TheLoneAlpha and 4 guests

cron