The official "ZDoom on Linux" thread.

Forum rules
Please don't start threads here asking for help. This forum is not for requesting guides, only for posting them. If you need help, the Editing forum is for you.

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: The official "ZDoom on Linux" thread.

Re: The official "ZDoom on Linux" thread.

by yum13241 » Mon Apr 24, 2023 12:03 am

.profile is a hidden file. Anything with a dot in the beginning is hidden. To fix, press CTRL + H. You should see a lot more files. If you see less, then press it again.

If it does not exist, create it in /home/<YOUR USERNAME HERE>, which the ~ can serve as a replacement for.

If you are using ZSH, then use .zprofile. Odds are, you're using bash. if you aren't sure, then you're using bash, as that's Linux Mint's default.
(I personally use ZSH)
Also, is that fix for the crispy doom issue I mentioned or for prboom+ not running?
If they're crashing because "no IWAD", then yes.
Spoiler: Here's what some example commands would look like:
Can you also try with DoomRunner (or any other launcher)? Maybe twad is the problem.

Re: The official "ZDoom on Linux" thread.

by Nimlouth » Sun Apr 23, 2023 9:19 pm

yum13241 wrote: Wed Apr 19, 2023 11:56 pm You'll want to set DOOMWADDIR (for IWADs) and DOOMWADPATH (for PWADs) in .profile.

1. Open your favorite text editor.
2. Open .profile with it.
3. Type export DOOMWADDIR = /path/to/iwads/.
4. Type export DOOMWADPATH = /path/to/pwads:/path/to/more/pwads. Anything after the colon is optional if you only have 1 directory. I. myself, categorize my PWADs, so I need to use the colon. Paths ARE NOT recursive.
5. Log out and back in.

PrBoom+ is deprecated, try DSDA-Doom.
Manjaro does weird stuff with their repos.
Linux Mint ships really old software tbh. Same with all Debian based distros (except Debian Sid).
Well, for the kind of old and weak hardware I'm running linux in, mint actually works fast, stable and has all the software I would want to use anyways. After distro hopping a lot on that little laptop, mint was the cleanest distro I tried. Def will try more modern distros in the future if I get new PC hardware.

Regarding the instructions, not super clear on where to find .profile actually. Can you explain it a lil bit more? I'm super sorry but I'm a complete gnu/linux baby haha. Also, is that fix for the crispy doom issue I mentioned or for prboom+ not running? tysm btw for taking your time to answer :)

Re: The official "ZDoom on Linux" thread.

by yum13241 » Wed Apr 19, 2023 11:56 pm

You'll want to set DOOMWADDIR (for IWADs) and DOOMWADPATH (for PWADs) in .profile.

1. Open your favorite text editor.
2. Open .profile with it.
3. Type export DOOMWADDIR = /path/to/iwads/.
4. Type export DOOMWADPATH = /path/to/pwads:/path/to/more/pwads. Anything after the colon is optional if you only have 1 directory. I. myself, categorize my PWADs, so I need to use the colon. Paths ARE NOT recursive.
5. Log out and back in.

PrBoom+ is deprecated, try DSDA-Doom.
Manjaro does weird stuff with their repos.
Linux Mint ships really old software tbh. Same with all Debian based distros (except Debian Sid).

Re: A launcher/frontend for snap GZDoom?

by Nimlouth » Wed Apr 19, 2023 6:43 pm

Oh hi!
What exactly doesn't work?
Since I posted that, I haven't gamed that much on linux because I stopped using tha laptop I installed manjaro in (hardware finally giving up after years, that poor cheap laptop) and so I game on windows mostly. I did started using a different (significantly less powerful) laptop for studying but this time with Mint. And ofcourse I installed doom on that PC too, and I'm using twad because it is the one launcher that I managed to make work on that system.

Still, I have several problems with twad that persisted from one system to another. I use the Crispy Doom and prboom+ sourceports and both have problems with twad that I haven't been able to fix. Crispy Doom in particular doesn't like the save file structure that twad gives it and when I save my game it crashes to desktop with a message saying that it can't load from where twad wants it to load/save and that there is a backup save file on my usr folder. It kinda makes CrispyDoom unplayable at that point since I can't neither save or load. I'm not on that laptop rn but I'm fairly sure my copy of crispy doom there is a flatpak, so I'm sure the problem has to do with that.

The problem with prboom+ on the other hand (which is installed directly from the linux mint repository) is that it just won't load AT ALL with twad. The path to open it is correctly set on the twad "sourceports" options but it just won't run. I can launch prboom+ from the terminal OR the apps menu shortcut no problem tho, so IDK.

Haven't fixed the issues bc I'm truly lost in the dark, googling and searching formums yeilded no results... and I'm currently bussy a f with uni so I'm not really gaming on that laptop anyways. If it is in your interest to help me with that, I can provide screenshots and a more detailed problem "log" but don't worry about it haha I might post at some other time when I have more time to find help to make twad work properly.

Cheers!

EDIT: I f'd up the formatting lmfao

Re: The official "ZDoom on Linux" thread.

by yum13241 » Tue Apr 18, 2023 11:31 am

But recently I have been experiencing serious performance issues, and lately I can't even run any mods with it, seems to hard crash on load.
Maybe something is wrong with my installation or drivers, but other games seem to indicate otherwise. Can't really recommend.
I'd highly recommend against manjaro. https://www.youtube.com/watch?v=5KNK3e9ScPo & https://manjarno.snorlax.sh/.

Note that in the video, there's one inaccuracy which is rectified by the link.
serious performance issues, and lately I can't even run any mods with it, seems to hard crash on load.
I think that it's trying to use libraries that aren't available in a proper way.

Re: A launcher/frontend for snap GZDoom?

by cyber_cool » Tue Apr 18, 2023 9:58 am

Nimlouth wrote: Tue Aug 03, 2021 12:36 pm Hey all, recently hopped into Manjaro (which is an Arch based distro, btw) and started adventuring into LinuxGZDoom. I tried installing GZDoom from the AUR but it just wouldn't run propperly. So now I'm now using a snap and, though it works flawlessly (way better than when I was on windows actually), I'm also currently lacking a proper frontend/launcher. I mod my GZDoom HEAVILY, since I use lots of little HuD, music, QoL and misc addons. So editing GZDoom's shortcut each time I want to have a different load order is a bit cumbersome, not even mentioning that it requires me to have all my files in the same folder where the iwads are located, making my mod collection a nightmare to sort.
Stable gzdoom release for manjaro gets updated once per decade or longer.
A couple of months ago I was able to build gzdoom from source quite easily on manjaro, the process is highly automated ("cmake ."->"make" ->"sudo make install" first for zmusic, then for gzdoom).
But recently I have been experiencing serious performance issues, and lately I can't even run any mods with it, seems to hard crash on load.
Maybe something is wrong with my installation or drivers, but other games seem to indicate otherwise. Can't really recommend.
Nimlouth wrote: Tue Aug 03, 2021 12:36 pm I tried twad and It just doesn't work somehow (a shame because it's a super cool terminal frontend), neither does qzdl. I'm in the dark, does anybody knows a frontend/launcher that does work for managing 20+ files load orders? thx in advance.
What exactly doesn't work?

Re: The official "ZDoom on Linux" thread.

by yum13241 » Sat Apr 01, 2023 10:39 am

Hey all, recently hopped into Manjaro (which is an Arch based distro, btw) and started adventuring into LinuxGZDoom. I tried installing GZDoom from the AUR but it just wouldn't run propperly.
That's because Manjaro fucks with repos. See https://manjarno.snorlax.sh/ and https://www.youtube.com/watch?v=5KNK3e9ScPo.

Snaps have their own problems, like ALWAYS BEING SLOWER.

Re: The official "ZDoom on Linux" thread.

by invictius » Wed Mar 15, 2023 12:10 pm

Trying to get 1.8.2 working on latest i386 lubuntu. It won't install, I get "dependency is not satisfiable - libflac++6 (>1.2.1-1.2)

Re: The official "ZDoom on Linux" thread.

by fakemai » Tue Sep 28, 2021 4:57 am

Try DoomRunner. It's what I use after getting sick of Bash aliasing and might work out pretty well for you. It works on a preset system but makes it easy to choose the IWAD/mapset/engine/INI and you can also uncheck mods in a given preset, as for example you might to enable different monster packs with a weapon mod, or the ones required for Wrath of Cronos with different IWADs. Also if you haven't, look at auto-loading since that works better to mods you may want universally (Episodic-EX and such) and can be turned off with a command switch, something that presets can also have if necessary.

A launcher/frontend for snap GZDoom?

by Nimlouth » Tue Aug 03, 2021 12:36 pm

Hey all, recently hopped into Manjaro (which is an Arch based distro, btw) and started adventuring into LinuxGZDoom. I tried installing GZDoom from the AUR but it just wouldn't run propperly. So now I'm now using a snap and, though it works flawlessly (way better than when I was on windows actually), I'm also currently lacking a proper frontend/launcher. I mod my GZDoom HEAVILY, since I use lots of little HuD, music, QoL and misc addons. So editing GZDoom's shortcut each time I want to have a different load order is a bit cumbersome, not even mentioning that it requires me to have all my files in the same folder where the iwads are located, making my mod collection a nightmare to sort.

I tried twad and It just doesn't work somehow (a shame because it's a super cool terminal frontend), neither does qzdl. I'm in the dark, does anybody knows a frontend/launcher that does work for managing 20+ files load orders? thx in advance.

cheers!

Re: The official "ZDoom on Linux" thread.

by bLUEbYTE » Sun Dec 20, 2020 6:53 am

KynikossDragonn wrote:
bLUEbYTE wrote:Here's a tip for Linux users who have recent Intel iGPUs (Skylake+ I think) and with recent version of MESA (20+).

What happened is that with the latest Mesa drivers they switched to a new opengl driver backend called 'iris', from 'i965'. While this seems to have boosted performance in other workloads, in GZDoom and LZDoom I verified that this actually has a significant hit to FPS.
I'd like to report that, I'm running on a Intel Iris Pro 580 for graphics and I don't get any performance loss using iris_dri rather than i965_dri. I'm currently on Mesa 20.2.3, judging by the name of the library itself I think the new iris_dri is geared towards Iris and Iris Pro graphics and not just the "Intel UHD" graphics family. I could be wrong though. I haven't run into anything other than maybe Blender that I need to manually override the driver to i915.

I even get 60 FPS in Total Chaos. Though it stutters a lot because Mesa's shader compiler is really slow apparently...

I hope it's okay to post this here to let other people know of my experiences with Intel graphics on Linux in regards to GZDoom.
In my case there's a definitive difference between the two. GPU is Iris Plus 655 on Kubuntu 20.04.1. GZDoom is configured with dynamic lights, 1080p in OpenGL mode (Vulkan is slightly slower).

FPS figures at the start scene of the map:
wine gzdoom.exe +vid_fps 1 +map map13 : 23 FPS
MESA_LOADER_DRIVER_OVERRIDE=i965 wine gzdoom.exe +vid_fps 1 +map map13 : 45FPS

I had observed a similar difference in native linux version as well, but I'm running the windows binary through wine because gamepad support in Linux is inferior.

Re: The official "ZDoom on Linux" thread.

by KynikossDragonn » Wed Dec 16, 2020 8:57 am

bLUEbYTE wrote:Here's a tip for Linux users who have recent Intel iGPUs (Skylake+ I think) and with recent version of MESA (20+).

What happened is that with the latest Mesa drivers they switched to a new opengl driver backend called 'iris', from 'i965'. While this seems to have boosted performance in other workloads, in GZDoom and LZDoom I verified that this actually has a significant hit to FPS.
I'd like to report that, I'm running on a Intel Iris Pro 580 for graphics and I don't get any performance loss using iris_dri rather than i965_dri. I'm currently on Mesa 20.2.3, judging by the name of the library itself I think the new iris_dri is geared towards Iris and Iris Pro graphics and not just the "Intel UHD" graphics family. I could be wrong though. I haven't run into anything other than maybe Blender that I need to manually override the driver to i915.

I even get 60 FPS in Total Chaos. Though it stutters a lot because Mesa's shader compiler is really slow apparently...

I hope it's okay to post this here to let other people know of my experiences with Intel graphics on Linux in regards to GZDoom.

Re: The official "ZDoom on Linux" thread.

by Caligari87 » Tue Sep 15, 2020 12:33 am

The drdteam repo for GZDoom installs it systemwide (as does the .deb file from the Downloads page on ZDoom.org, I believe). The /opt/gzdoom/ folder is where the main program files live, so yeah, it's necessary. It's not "overcomplicated" unless you're trying to make it work like Windows, which... Well Linux isn't Windows, so some adjustment is necessary.

Code: Select all

$ wget -O- https://debian.drdteam.org/drdteam.gpg | sudo apt-key add -
$ sudo apt-add-repository 'deb https://debian.drdteam.org/ stable multiverse'
$ sudo apt-get install gzdoom
Then you can run GZDoom from anywhere on the system like any regular program/command, and likewise store your mods anywhere on the system. Personally I use /home/username/Programs/Doom/. If you need to edit your config file, that's in your home/username/.config/gzdoom/ folder.

8-)

Re: The official "ZDoom on Linux" thread.

by BL1TZKRI3G » Mon Sep 14, 2020 7:27 pm

m8f wrote:To add repository for GZDoom: http://debian.drdteam.org/
To load mods, use a frontend (launcher), or use command line or a shell script.
before using apt-get, I decided to remove opt/gzdoom because it may interfere with the installation of GZDoom. But nope, apparently it was necessary. Good work. I love how overly complicated the simple placing of a few files has become for seemingly zero reason.

Re: The official "ZDoom on Linux" thread.

by m8f » Sat Sep 12, 2020 10:03 pm

To add repository for GZDoom: http://debian.drdteam.org/
To load mods, use a frontend (launcher), or use command line or a shell script.
Spoiler:

Top