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: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: The official "ZDoom on Linux" thread.
This is a bug and it's already reported here.
Note: Gez backported those changes to GZdoom as well, so now it doesn't compile.
Note: Gez backported those changes to GZdoom as well, so now it doesn't compile.
Re: The official "ZDoom on Linux" thread.
Well, try GZDoom r1259 then and tell me if it works. I don't have enough room on my HD to install a Linux partition and test myself...
Worst case, hide or rename <X11 folder>/Xcursor/Xcursor.h before compiling ZDoom.
Worst case, hide or rename <X11 folder>/Xcursor/Xcursor.h before compiling ZDoom.
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
Thanks for the feedback.
I tried the easiest first. I renamed Xcursor.h which was found under /usr/include/X11/Xcursor
However, the make now fails on finding the Xcursor.h.
[ 39%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/i_system.o
/home/brett/Downloads/Doom/zdoom-src/trunk/src/sdl/i_system.cpp:85:33: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/i_system.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
I can try the GZDoom r1259, however I need some pointers and clarification as I am new to this.
Where is it? What is the difference between ZDoom and GZDoom? Also is this an older version, and if so what would I be missing?
Thanks!
/Brett
I tried the easiest first. I renamed Xcursor.h which was found under /usr/include/X11/Xcursor
However, the make now fails on finding the Xcursor.h.
[ 39%] Building CXX object src/CMakeFiles/zdoom.dir/sdl/i_system.o
/home/brett/Downloads/Doom/zdoom-src/trunk/src/sdl/i_system.cpp:85:33: fatal error: X11/Xcursor/Xcursor.h: No such file or directory
compilation terminated.
make[2]: *** [src/CMakeFiles/zdoom.dir/sdl/i_system.o] Error 1
make[1]: *** [src/CMakeFiles/zdoom.dir/all] Error 2
make: *** [all] Error 2
I can try the GZDoom r1259, however I need some pointers and clarification as I am new to this.
Where is it? What is the difference between ZDoom and GZDoom? Also is this an older version, and if so what would I be missing?
Thanks!
/Brett
Re: The official "ZDoom on Linux" thread.
Okay, so the Xcursor manip didn't work.
[wiki]GZDoom[/wiki] is a fork of ZDoom created by Graf Zahl (one of the ZDoom devs). Its SVN repository tree is hosted on Mancubus.net too. You will not miss anything, but you will gain an OpenGL renderer (which you are still free not to use anyway).
Since I have developer access to GZDoom, but not to ZDoom, that means that sometimes I can address various issues that ZDoom doesn't.
[wiki]GZDoom[/wiki] is a fork of ZDoom created by Graf Zahl (one of the ZDoom devs). Its SVN repository tree is hosted on Mancubus.net too. You will not miss anything, but you will gain an OpenGL renderer (which you are still free not to use anyway).
Since I have developer access to GZDoom, but not to ZDoom, that means that sometimes I can address various issues that ZDoom doesn't.
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
Cool. Thanks for the clarification/info. I will give it a go!
/Brett
/Brett
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: The official "ZDoom on Linux" thread.
It does, I didn't need to change anything in the code. Also, it appears that the in-game cursor movement is smoother than expected.Gez wrote:Well, try GZDoom r1259 then and tell me if it works.
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
OK, so GZDoom compiled fine. Thanks for getting me past that.
Now, I am able to start and play. However, it is too slow to play.
I ran top in another terminal and see that gzdoom is taking anywhere
from 96%-98% CPU. Thus, I am suspecting there is something
in either the video settings or something else.
I did some searches on the forum and saw some mention of
vsync, and cl_capfps. I tried setting cl_capfps=true(default is false)
but it made no difference. However, it also made mention of
changing the FPS, but I saw no where to set this. Not sure if
I am chasing a red herring or what.
Any ideas on tweaking video to see if it has any bearing on
the high CPU/slow play, or other areas to look for?
TIA,
/Brett
Now, I am able to start and play. However, it is too slow to play.
I ran top in another terminal and see that gzdoom is taking anywhere
from 96%-98% CPU. Thus, I am suspecting there is something
in either the video settings or something else.
I did some searches on the forum and saw some mention of
vsync, and cl_capfps. I tried setting cl_capfps=true(default is false)
but it made no difference. However, it also made mention of
changing the FPS, but I saw no where to set this. Not sure if
I am chasing a red herring or what.
Any ideas on tweaking video to see if it has any bearing on
the high CPU/slow play, or other areas to look for?
TIA,
/Brett
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: The official "ZDoom on Linux" thread.
Are you using software renderer or opengl renderer? Which hardware spec do you have?
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
How do I tell? Is that a setting for GZDoom, or at the OS level?
I do see OpenGL settings in the options of the game.
In the zdoom.ini I see vid_renderer=1 if that applies.
As for hardware specs, not sure what you want exactly.
I am running on a Dell Latitude E6410 Laptop. 8GB RAM
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
lspci output -
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
Not sure what else you might need. Just let me know.
I do see OpenGL settings in the options of the game.
In the zdoom.ini I see vid_renderer=1 if that applies.
As for hardware specs, not sure what you want exactly.
I am running on a Dell Latitude E6410 Laptop. 8GB RAM
CPU Vendor ID: GenuineIntel
Name: Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
lspci output -
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
Not sure what else you might need. Just let me know.
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
Forgot to mention, that I have used skulltag on this same laptop for sometime and
do not experience this slowness/lag. I have been trying to compare the settings
between it and GZDoom, but have not found anything yet.
do not experience this slowness/lag. I have been trying to compare the settings
between it and GZDoom, but have not found anything yet.
-
- Posts: 1774
- Joined: Sat Oct 17, 2009 9:40 am
Re: The official "ZDoom on Linux" thread.
I was talking about the game settings. vid_renderer=1 means you're using the gl renderer. What happens if you set vid_renderer=0 (software renderer) and restart the program? Is it there a difference about the performances?BrettMckee wrote:How do I tell? Is that a setting for GZDoom, or at the OS level?
I do see OpenGL settings in the options of the game.
In the zdoom.ini I see vid_renderer=1 if that applies.
About the gzdoom vs skulltag situation, I don't know what happened which worsened the performance...
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
That did it! It is working quite well now. I also checked the skulltag.ini and saw that it had set vid_renderer=0. So, setting it the same
in zdoom.ini fixed the slowness/CPU issue.
Thanks!
/Brett
in zdoom.ini fixed the slowness/CPU issue.
Thanks!
/Brett
- Hirogen2
- Posts: 2033
- Joined: Sat Jul 19, 2003 6:15 am
- Graphics Processor: Intel with Vulkan/Metal Support
- Location: Central Germany
- Contact:
Re: The official "ZDoom on Linux" thread.
Many games always run at max CPU, because they run in a simple busyloop and to also give you the highest-attainable framerate.BrettMckee wrote:Now, I am able to start and play. However, it is too slow to play.
I ran top in another terminal and see that gzdoom is taking anywhere
from 96%-98% CPU.
Re: The official "ZDoom on Linux" thread.
Anyone here use Mint Linux? I'm wondering if there are any issues.
-
- Posts: 8
- Joined: Wed Sep 21, 2011 1:32 pm
Re: The official "ZDoom on Linux" thread.
I do. See my last few posts to see what issues I ran into. I have been using it fine now on Linux Mint 11.04