The official "ZDoom on Linux" thread.

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

Postby ducon » Mon Jun 26, 2006 1:10 am

Bio Hazard, what’s your video card, and what driver are you using?
User avatar
ducon
A shell, an imp.
 
Joined: 21 Dec 2003

Postby Bio Hazard » Mon Jun 26, 2006 2:09 am

I've got a GeForce FX 5700 LE 128MB DDR AGP8x at /dev/video0 running on nvidia-kernel-1.0.8762 ~x86 and nvidia-glx-1.0.8762 ~x86.


Everything else runs super-fast. It's just ZDoom that's slow. It's likely a CPU thing.
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby ducon » Mon Jun 26, 2006 2:25 am

Did you try to launch it from an xterm? Something in the zdoom logs?
User avatar
ducon
A shell, an imp.
 
Joined: 21 Dec 2003

Postby Bio Hazard » Mon Jun 26, 2006 9:00 am

I've only launched it out of the console. Nothing looks out of the ordinary.
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

Postby ducon » Mon Jun 26, 2006 9:41 am

Did you try it without a WAD, in Doom2 for example?
Did you try my executable?
User avatar
ducon
A shell, an imp.
 
Joined: 21 Dec 2003

Postby Hirogen2 » Mon Jun 26, 2006 10:34 am

Bio Hazard wrote: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.

Then look at zdoom-2.1.1-0.src.rpm's specfile - it is precise instructions as can be.
What's ZD's Licence? Should I just put "Doom licence"? "ID Software Licence"? I know this isin't based off the GPL version.

BSD/DSC. If you find any GPL, you can keep it and stick it to your wall like a picture :D
The dependancies would be fmod, flac, nasm, and SDL?

A good packaging system should auto-find any dependencies.
Can you make a .tar.bz2 file for us Linuxers?

zdoom-2.1.1-src.tar.bz2 (download stats on SF show it's preferred over 7z)
Where would the installation part put it?

See specfile, /usr/games for binaries, /usr/share/PACKAGENAME for data. Also see Patch1 of the src.rpm.
Does the makefile automatically install it when I run "make install"?

It does not come with an install target.
Where do I tell the user to put the IWAD without editing the INI?

/usr/share/zdoom (after applying Patch1)
Does there need to be a ZDoom.ini file?

Doom will start with the defaults if there is none.
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?

Using OpenGL might help. (I also get only 83 fps in 320x200 mode using vid_fps when looking at a simple wall - this is a known X11 "problem". Under DirectX, I get somewhat over 799 fps.)
User avatar
Hirogen2
 
Joined: 19 Jul 2003
Location: Central Germany
Github ID: jengelh
Operating System: RedHat-like Linux (RHEL, Fedora, CentOS, etc) 64-bit
Graphics Processor: Intel (Modern GZDoom)

Postby Jim » Mon Jun 26, 2006 10:44 am

Bio, are you setting CFLAGS? I actually don't have any arch-specific settings set (no -march=yourarch).

If you have things setup right, this should give a good speed boost:
Code: Select allExpand view
$ export SDL_VIDEODRIVER=dga
$ ./zdoom

If that simply makes it crash, then tell me what you get when you run
Code: Select allExpand view
$ ls -l /dev/mem

and this:
Code: Select allExpand view
$ grep -n kmem /etc/group


As for your other questions:
The license for ZDoom is the conjunction of several licenses including the orginal Doom license and the license Ken Silverman released build under. The dependancies are flac, flac++, fmod, nasm, SDL, and zlib. The most simple summary of these licenses is: For noncommercial use only. Also, as I said before, there is no install target in the makefile. Lastly, distributing a zdoom.ini file is neither necessary nor useful.
User avatar
Jim
By the Power of Grayskull...I have the Source Code!
 
Joined: 11 Aug 2003

Postby ducon » Mon Jun 26, 2006 12:42 pm

I have 35 FPS with the console, but 60 without it. Yes, it’s a few.
User avatar
ducon
A shell, an imp.
 
Joined: 21 Dec 2003

Postby LeSanglier » Mon Jun 26, 2006 1:56 pm

Hello !

Does it possible to compile Zdoom without fmod ??

Thanks in advance !!
LeSanglier
 

Postby Jim » Mon Jun 26, 2006 2:22 pm

No, not at the moment.
User avatar
Jim
By the Power of Grayskull...I have the Source Code!
 
Joined: 11 Aug 2003

Postby Siggi » Mon Jun 26, 2006 5:07 pm

Jim wrote:ESD and aRts (the funny capitalization is not a mistake, aRts is :p) 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.
I would use ALSA if I could, but for some reason neither OSS or ALSA work correctly. Also on a different system, which was using ALSA correctly, I noticed that it would only play sounds from a single application at once.

Although I think my problem is with my onboard sound's driver :(
I don't know enough about Linux right now to know how to fix it. At some point I hope to upgrade from Ubuntu 5.10 to 6.06. I'm just waiting for an opportunity to get the ISO and write myself a CD. I don't feel like downloading another ISO with my 56k.
User avatar
Siggi
 
Joined: 03 Oct 2004
Location: South Africa

Postby ducon » Tue Jun 27, 2006 3:57 am

You can use ALSA with OSS emulation modules like snd-pcm-oss.
The multiple applications sound access may work with ALSA (it depends on your sound card, and works with mine), but it will not work if an OSS application makes sound.
User avatar
ducon
A shell, an imp.
 
Joined: 21 Dec 2003

Postby Krillancello » Mon Aug 07, 2006 4:05 pm

It looks like ZDoom 2.1.4 is looking in ~/.zdoom automatically (as in, without cd'ing to the directory). :D
User avatar
Krillancello
LWM is My Hero
 
Joined: 27 Nov 2004
Location: Teh Intarwebivurs

Postby scen » Tue Aug 08, 2006 9:52 am

Hello to everybody!

This is my first post! :roll:

Today i'v made a working ebuild of ZDoom (version 2.1.4) for Gentoo Linux 8-)

This is a "work-in-progress", i'll submit it on Gentoo Bugzilla as soon as possible!

Some instruction (i'll insert them in ebuild):
  • Create an overlay and put the ebuild in games-fps/zdoom dir
  • put IWAD files in /usr/share/games/doom-data
  • run zdoom without parameters to choose IWAD from menù, or use -iwad <game>.wad switch


Feel free to test it!
You do not have the required permissions to view the files attached to this post.
User avatar
scen
Doomed forever
 
Joined: 08 Aug 2006
Location: Padova, Italy

Postby Bio Hazard » Tue Aug 08, 2006 10:18 am

:')
I'll do my best to iron out bugs!
Come Krillancello! We must join forces! Onward to portage victory!


On another note, I really need to clean out this thread. Most of it can go on the wiki.


EDIT: ZDoom isin't GPL-2. It's something like "Random mashup of licences V4.78.9.8.2.98.4"
I'd probably just stick with "DOOM" for the licence.
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 15 Aug 2003
Location: ferret ~/C/ZDL $

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 2 guests