The official "ZDoom on Linux" thread.
Moderators: GZDoom Developers, Raze Developers
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.
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.
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
-
- Posts: 1113
- Joined: Wed Jul 16, 2003 8:53 am
- Location: Perth, Western Australia
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
I was planning on either clearing out all the posts that aren't installation instructions or writing a wiki page. I'll have to wait untill there is a good amount of info though.David Ferstat wrote:And/or Wiki-fied, od course.Psycho Siggi wrote:This seems somewhat sticky worthy? (when it develops of course)
So I tried again today. I checked out r198 and it won't compile.
Code: Select all
make: *** No rule to make target `src/g_strife/a_strifeweaps.h', needed by `releaseobj/a_strifeitems.o'. Stop.
EDIT: Perhaps this particular issue would be best taken up on IRC? It would keep this thread a bit cleaner.
irc.oftc.net #DRDTeam
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
Okay so now it compiles but still dies. Any idea how to figure this out?
Let's see. I need a mapfile and a way to figure out where it dies. Then I might be able to figure it out myself.
EDIT: I've been playing around with the command-line args and if I run it at my desktop resolution, It gets to the title screen with the startup console, but when it tries to load the screen or the game, it dies.
EDIT 2: After a bit more playing, I discovered it's the music. Playing with -nomusic works fine. Except there is no regular sound either. Any ideas?
EDIT 3: WHEEEEE!
Yay. With a bit of forum searching, I discovered that +snd_output oss works!
Now I just need to figure out where to put the ini file so I can have my settings back.
EDIT 4: After some more playing, I have discovered that if you type "snd_output alsa;snd_reset" while in game, sound will start working through ALSA. If you don't type the "snd_output alsa" first, even if snd_output is already alsa, ZDoom will lock up.
ZDoom on Linux seems to work pretty well. I played njma01.wad, TNTLE.wad and my old copy of Z1M9.wad. No problems so far. It's a bit slow, but I'm used to GZD's super-fastness. Perhaps I can someday tackle that mess.
Let's see. I need a mapfile and a way to figure out where it dies. Then I might be able to figure it out myself.
EDIT: I've been playing around with the command-line args and if I run it at my desktop resolution, It gets to the title screen with the startup console, but when it tries to load the screen or the game, it dies.
EDIT 2: After a bit more playing, I discovered it's the music. Playing with -nomusic works fine. Except there is no regular sound either. Any ideas?
EDIT 3: WHEEEEE!
Yay. With a bit of forum searching, I discovered that +snd_output oss works!
Now I just need to figure out where to put the ini file so I can have my settings back.
EDIT 4: After some more playing, I have discovered that if you type "snd_output alsa;snd_reset" while in game, sound will start working through ALSA. If you don't type the "snd_output alsa" first, even if snd_output is already alsa, ZDoom will lock up.
ZDoom on Linux seems to work pretty well. I played njma01.wad, TNTLE.wad and my old copy of Z1M9.wad. No problems so far. It's a bit slow, but I'm used to GZD's super-fastness. Perhaps I can someday tackle that mess.
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
In case you haven't found this out yet, the ini (and saved game directory) is in "~/.zdoom".Bio Hazard wrote:Yay. With a bit of forum searching, I discovered that +snd_output oss works!
Now I just need to figure out where to put the ini file so I can have my settings back.
I haven't had that problem.Bio Hazard wrote:After some more playing, I have discovered that if you type "snd_output alsa;snd_reset" while in game, sound will start working through ALSA. If you don't type the "snd_output alsa" first, even if snd_output is already alsa, ZDoom will lock up.
-
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Operating System Version (Optional): Tumbleweed x64
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
Some hint: if you enable -g (or -ggdb3 to get the full fun), please turn off optimization by either killing all -O options, or use -O0 at the end of CFLAGS. That way, control won't jump around lines when debugging. (GCC might reorder assembler instructions which looks like gdb is jumping between and forth source lines.)
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
I noticed.Jim wrote:In case you haven't found this out yet, the ini (and saved game directory) is in "~/.zdoom".
Well I'm trying to compile 2.1.1, but I can't figure out how to get the source out of the .7z file.
Also, does anyone know where I'd start looking in the source to fix this sound problem I'm having?
-
- Posts: 3288
- Joined: Sun Oct 03, 2004 8:57 am
- Preferred Pronouns: They/Them
- Location: South Africa
Do you have timidy? I think I had this problem untill I installed it, oddly enough I still didn't have music untill enabling opl emulation.Bio Hazard wrote:After a bit more playing, I discovered it's the music. Playing with -nomusic works fine. Except there is no regular sound either. Any ideas?
Funny you should mention this, I used Wine to run 7zip's File Manager to extract itBio Hazard wrote:Well I'm trying to compile 2.1.1, but I can't figure out how to get the source out of the .7z file.
But that was because I was to lazy to download 7zip for linux. I have not looked, but I'm pretty sure it's there.
Also, what sound problem? Just no sound untill you enable ALSA, then reset sound?
I'm also having sound issues, but mine are that all sound effects in ZDoom are delayed by a split second or 2. Enough to be noticeable. I'm using ESD for sound, as ALSA gives me an error then ZDoom just switches to ESD on it's own.
I should also mention I'm using an nForce4 board which has been giving me issues with my onboard sound from the start, however ZDoom is the only remaining program with a noticeable problem.
-
- Posts: 535
- Joined: Mon Aug 11, 2003 10:56 am
ESD and aRts (the funny capitalization is not a mistake, aRts is ) are crap for things that require low-latency and they are both no longer being developed. Use ALSA (or OSS failing that) for games and multimedia.Psycho Siggi wrote:Also, what sound problem? Just no sound untill you enable ALSA, then reset sound?
I'm also having sound issues, but mine are that all sound effects in ZDoom are delayed by a split second or 2. Enough to be noticeable. I'm using ESD for sound, as ALSA gives me an error then ZDoom just switches to ESD on it's own.
-
- Posts: 4019
- Joined: Fri Aug 15, 2003 8:15 pm
- Location: ferret ~/C/ZDL $
EsounD seems to work a lot better than anything in almost all applications for me, oddly enough.
Well I got ZD 2.1.1 compiled and installed sucsessfully. It worked right out of the box. I really want to write an ebuild of it since currently most Linuxers who don't do compiling only have the options of doomsday or god forbid... legacy. The only problem is I have no idea how to do this. I have the docs right here but I'm not sure about some of the things I need to do.
Strange, ZDoom is running excruciatingly slow. I can't run it at anything above 640x480 at 35 FPS. Are there any compiler hacks I could use to speed it up a bit?
Well I got ZD 2.1.1 compiled and installed sucsessfully. It worked right out of the box. I really want to write an ebuild of it since currently most Linuxers who don't do compiling only have the options of doomsday or god forbid... legacy. The only problem is I have no idea how to do this. I have the docs right here but I'm not sure about some of the things I need to do.
- What's ZD's Licence? Should I just put "Doom licence"? "ID Software Licence"? I know this isin't based off the GPL version.
- The dependancies would be fmod, flac, nasm, and SDL?
- I set the download URI to the .7z archive? Does that mean 7z is a dependancy too? Can you make a .tar.bz2 file for us Linuxers?
- Is there anything I could use the USE flags for? Perhaps for a default sound output daemon?
- Where would the installation part put it? Does the makefile automatically install it when I run "make install"?
- Where do I tell the user to put the IWAD without editing the INI?
- Does there need to be a ZDoom.ini file? Maybe there should be a default INI in the source archive?
Strange, ZDoom is running excruciatingly slow. I can't run it at anything above 640x480 at 35 FPS. Are there any compiler hacks I could use to speed it up a bit?