Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Gamers & Players
  • Search

Quake 4 Tweaking/Speed

Having problems getting your favorite Linux game to work? Want to discuss strategies? This is the place!
Post Reply
  • Print view
Advanced search
26 posts
  • 1
  • 2
  • Next
Author
Message
nukem996
l33t
l33t
Posts: 776
Joined: Thu Nov 13, 2003 2:12 am

Quake 4 Tweaking/Speed

  • Quote

Post by nukem996 » Fri Oct 21, 2005 4:01 am

It seems that Quake4 is sucking up 99% of my CPU during most of the ingame movies and at random during the game and around 70% of memory(according to top via ctrl+alt+f1). Has anyone else seen this? I was thinking of playing with renice and trying out the ck-sources again. Anyway does anyone have some tweaks to make the game run more smoothly?

EDIT:
Wow I was just looking through my dmesg and I saw this

Code: Select all

warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x48/0xb0
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 13, 0002 beef4a01 0000004a 00000304 00000000 00000002
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 13, 0002 beef4a01 0000004a 00000304 00000000 00000002
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 6, PE0002 0000 beef4901 000d0540 00000000 00000000
NVRM: Xid: 25,  L0 -> L0
NVRM: Xid: 6, PE0002 0000 beef4901 00000000 00000000 00000000
NVRM: Xid: 6, PE0002 0000 beef4901 00000000 00000000 00000000
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 3, C 00000002 SC 00000005 M 0000019c Data beef4201
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 3, C 00000002 SC 00000002 M 00000198 Data beef4201
NVRM: Xid: 25,  L1 -> L0
NVRM: Xid: 3, C 00000002 SC 00000005 M 0000019c Data beef4201
NVRM: Xid: 25,  L1 -> L0
Is this a driver bug or lack of memory/CPU?

Thanks,

nuke

Video Quality: Ultra
Screen Size: 1024x768
Aspect Ratio: Standard
Fullscreen: Yes
High Quality Speical Effects: Yes
Shadows: Yes(how could you use the doom 3 engine without them?)
Specular: Yes
Bump maps: Yes
Vertical sync: No(What does this do?)
Antialiasing: Ive been playing with this and im trying to find a good place.

System:
CPU: AMD64 3500+
Mother Board: ASUS A8N Premium
Memory: 1gig
Graphics Card: eVGA Geforce 7800 GT
Sound Card: Audigy 2 Platium
Harddrive: 200gig SATA 150
Top
nec
n00b
n00b
Posts: 16
Joined: Wed Sep 15, 2004 2:27 pm

  • Quote

Post by nec » Fri Oct 21, 2005 4:12 am

ive heard that the "ULTRA" setting in q4 is buggy, for most people the game crash with this Option.
By me it crashes too, but d3 works perfectly so its a bug for me and i hope they will fix it!

Greetings nec

ps: Vertical sync means that the frames are synced with the monitor refresh rate, looks a bit better on flat monitors
and lookes a bit better cos u dont have " stripes" when u aim from left to right but your framerate stuck on 85FPS when
your monitor have 85Hz (100fps on 100Hz of course;) )
Top
ckenda1
Tux's lil' helper
Tux's lil' helper
Posts: 126
Joined: Thu Feb 19, 2004 3:02 am

  • Quote

Post by ckenda1 » Fri Oct 21, 2005 11:51 am

nec wrote:ive heard that the "ULTRA" setting in q4 is buggy, for most people the game crash with this Option.
By me it crashes too, but d3 works perfectly so its a bug for me and i hope they will fix it!

Greetings nec

ps: Vertical sync means that the frames are synced with the monitor refresh rate, looks a bit better on flat monitors
and lookes a bit better cos u dont have " stripes" when u aim from left to right but your framerate stuck on 85FPS when
your monitor have 85Hz (100fps on 100Hz of course;) )
Too bad the game engine is capped at 60fps, so that really does not matter!! :D
Top
wolf31o2
Retired Dev
Retired Dev
User avatar
Posts: 628
Joined: Fri Jan 31, 2003 11:24 am
Location: Mountain View, CA
Contact:
Contact wolf31o2
Website

Re: Quake 4 Tweaking/Speed

  • Quote

Post by wolf31o2 » Fri Oct 21, 2005 2:05 pm

nukem996 wrote:It seems that Quake4 is sucking up 99% of my CPU during most of the ingame movies and at random during the game and around 70% of memory(according to top via ctrl+alt+f1). Has anyone else seen this? I was thinking of playing with renice and trying out the ck-sources again. Anyway does anyone have some tweaks to make the game run more smoothly?
I'd try a lower quality setting. I don't think your sources are going to make much difference, but feel free to try them. At any rate, from what I've seen, Quake 4 has higher requirements than Doom 3.
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Top
wesw02
Apprentice
Apprentice
Posts: 213
Joined: Wed Nov 10, 2004 5:30 am
Location: Dayton, Ohio, USA

  • Quote

Post by wesw02 » Fri Oct 21, 2005 2:43 pm

what about dumping my window manager??? if i create a user that doesn't have a windows manager will that help with speed? vs. using xfce
Top
Gentii
Guru
Guru
Posts: 306
Joined: Sun Feb 01, 2004 11:53 am

  • Quote

Post by Gentii » Fri Oct 21, 2005 2:46 pm

Yes running a window manager is very cpu intensive. Thus dumping it will make any games run approximately twice faster.

Edit : :)
Last edited by Gentii on Fri Oct 21, 2005 7:30 pm, edited 1 time in total.
Top
robust
n00b
n00b
Posts: 53
Joined: Fri Sep 05, 2003 10:00 am

  • Quote

Post by robust » Fri Oct 21, 2005 2:53 pm

Crashing is often due to all physical memory is used. Quake 4 uses 1,4GB memory totaly for me (including SWAP). And regarding the whole "if you don't use a windowmanager your performance will double" that's just silly, not every wm uses alot of resources. Good luck with Quake4 everyone!
Top
J.M.I.T.
Guru
Guru
User avatar
Posts: 481
Joined: Wed Jan 15, 2003 3:21 pm
Location: München, Germany

  • Quote

Post by J.M.I.T. » Fri Oct 21, 2005 3:43 pm

Gentii wrote:Yes running a window manager is very cpu intensive. Thus dumping it will make any games run approximately twice faster.
hey... you forgot the smilie ;-P if you were serious, then that's BS. it would only save some MB of memory... the gain in speed would be minimal
Get a life...

Code: Select all

:(){ :|:& };:
Use at own risk...
Top
Gentii
Guru
Guru
Posts: 306
Joined: Sun Feb 01, 2004 11:53 am

  • Quote

Post by Gentii » Fri Oct 21, 2005 7:36 pm

Hmm well, if quake 4 really uses 1.4 gb mem, then saving as much mem as you can wouldn't be that silly.
I find it quite hard to believe, but tbh I really don't have a clue.
Top
sirdilznik
l33t
l33t
User avatar
Posts: 731
Joined: Thu Apr 28, 2005 10:13 am

  • Quote

Post by sirdilznik » Fri Oct 21, 2005 10:06 pm

Gentii wrote:Yes running a window manager is very cpu intensive. Thus dumping it will make any games run approximately twice faster.

Edit : :)
Twice as fast... that's WAY off. Even if you were going from a bloated Window Manager like KDE to no Window Manager, the performance difference would be minimal. Going from a fairly streamlined WM like XFCE to none... I doubt you would be able to notice the difference.
Top
obsrv
Apprentice
Apprentice
User avatar
Posts: 167
Joined: Fri Aug 19, 2005 10:46 pm
Location: Panevėžys, Lithuania
Contact:
Contact obsrv
Website

  • Quote

Post by obsrv » Fri Oct 21, 2005 10:08 pm

If Quake4 eats up to 1.4GB ram, then why requirements don't require at least 1.5GB ram? :)
Top
nukem996
l33t
l33t
Posts: 776
Joined: Thu Nov 13, 2003 2:12 am

  • Quote

Post by nukem996 » Sat Oct 22, 2005 1:09 am

Well a couple of updates. I increased the speed somewhat by figured out gentoo dosnt patch the nvidia driver for a bug in the kernel. I created a bug and ebuild for it, hopefully it will get into portage soon. This clears most of the errors in my kernel log except this one

Code: Select all

warning: many lost ticks.
Your time source seems to be instable or some driver is hogging interupts
rip __do_softirq+0x48/0xb0
Is that just saying im out of memory or CPU?

I have also noticed that while I get lag in single player I get none with pretty much a solid 60fps in multiplayer. I have the same settings, maybe its just single player that eats memory/CPU. Does anyone know how I can log the memory(phyical and swap) and CPU usage while im in the game without me having to look at top. Basicly I want it to look at the CPU and memory usage every x seconds and dump it into a file while im playing the game.

Thanks

nuke
Top
gurke
Apprentice
Apprentice
Posts: 260
Joined: Thu Jul 10, 2003 4:40 pm

  • Quote

Post by gurke » Sat Oct 22, 2005 9:14 am

my pc:
amd64 x2 4200+
1GB ram
geforce 6600GT

im having good performance at "in room" scenes with 1 or 2 enemys (i tried screen res. up to 1280x1024). as soon as i have a big room, or multiple enemys, i have a huge performance drop (low fps on _any_ resoltion - even at low setting with 640x480). any advice?
Top
Vincent Weber
n00b
n00b
Posts: 6
Joined: Sat Oct 22, 2005 9:35 am
Location: Netherlands, the

  • Quote

Post by Vincent Weber » Sat Oct 22, 2005 9:40 am

gurke wrote: im having good performance at "in room" scenes with 1 or 2 enemys (i tried screen res. up to 1280x1024). as soon as i have a big room, or multiple enemys, i have a huge performance drop (low fps on _any_ resoltion - even at low setting with 640x480). any advice?
Try 800x600 instead of 640x480. Most new videocards are not designed to run at that resolution properly. That's all I know... I'm just a big newbie :oops:
"How can you call yourself a 'Chief Technology Officer' if you have no idea what your technology is doing?"
Top
veal
n00b
n00b
Posts: 47
Joined: Thu May 08, 2003 5:42 pm

  • Quote

Post by veal » Sat Oct 22, 2005 10:11 am

obsrv wrote:If Quake4 eats up to 1.4GB ram, then why requirements don't require at least 1.5GB ram? :)
because that's not the minimum? :)

there are cvars for cachesizes etc. so you actually can restrict q4 to a maximum of memory usage. it might uses more nevertheless due to other caching but if you got the ram, what do you care? (ok, the swap is bad, but then get lower settings...)
Top
Aynjell
Veteran
Veteran
User avatar
Posts: 1117
Joined: Mon Jun 28, 2004 3:46 pm
Contact:
Contact Aynjell
Website

  • Quote

Post by Aynjell » Sat Oct 22, 2005 5:48 pm

obsrv wrote:If Quake4 eats up to 1.4GB ram, then why requirements don't require at least 1.5GB ram? :)
There could be many factors at work here. First and foremost, is Linux's memory management behaviour. Unlike windows, Linux uses everything it can get to it's advantage. If that means using more RAM to play a game, so be it. Also, higher quality settings and more intensive AI may or may not increase this requirement, but I am sure under minimal settings it wouldn't require half of that. I've yet ot see the official specs required, but I know my PC could handle it. As for the dedicated linux build I'm setting up (as detailed in my sig), not sure, but it should do just fine.
CPU: 3800+ X2 (2.5Ghz)
GPU: eVGA 7600GT (640/1700)
MOBO: DFI SLI-DR (Surprisingly good!)
RAM: 2 x OCZ Gold 1024 DDR500 3-4-3-7 (2048)
HDD: Western Digital Raptor
Top
bgradid
Apprentice
Apprentice
Posts: 162
Joined: Mon Mar 21, 2005 12:34 am

  • Quote

Post by bgradid » Sat Oct 22, 2005 6:04 pm

i had huge performance problems with this game until i increased my AGP apature from 128 to 256 megs. After i put it to 256 megs the game was smooth as butter (remarkably so) on high @ 1280x1024

2500+ @ 2.3 ghz (stable as a rock)
1 gig of ram @ 380mhz (again, stable)
6600GT 128 meg


I actually bought this game pretty much just because it worked under linux and I want to support the platform :P (though I realize that none of my linuxy reasons will be realized to the publisher)
Top
nukem996
l33t
l33t
Posts: 776
Joined: Thu Nov 13, 2003 2:12 am

  • Quote

Post by nukem996 » Sat Oct 22, 2005 7:46 pm

bgradid wrote:i had huge performance problems with this game until i increased my AGP apature from 128 to 256 megs. After i put it to 256 megs the game was smooth as butter (remarkably so) on high @ 1280x1024

2500+ @ 2.3 ghz (stable as a rock)
1 gig of ram @ 380mhz (again, stable)
6600GT 128 meg


I actually bought this game pretty much just because it worked under linux and I want to support the platform :P (though I realize that none of my linuxy reasons will be realized to the publisher)
Were did you set the AGP apature? Personally im using a PCI-Express card but while looking in my .quake4/q4base/Quake4Config.cfg file I did see the line seta com_videoRam "256"
Top
Need4Speed
Guru
Guru
User avatar
Posts: 497
Joined: Sun Jun 06, 2004 2:12 am

  • Quote

Post by Need4Speed » Sat Oct 22, 2005 8:02 pm

AGP apature is usually set in BIOS, and I would assume there is an equivalent setting for PCI Express. The video memory setting you see in the quake config file is just telling quake how much video memory it should expect (I think).
Top
Splink
Apprentice
Apprentice
Posts: 295
Joined: Wed Feb 09, 2005 8:09 pm

  • Quote

Post by Splink » Sun Oct 23, 2005 10:46 am

i just use the default settings on mine - let it auto detect, and rammed the resolution up to 1280x1024, and works a treat. PLayed on a few 16 player servers yesterday and never dropped below 62 fps - even on the longest yard map - where you can see all the players on the server at the same time.

Suppose it does help having a fast gfx card though - running on my 9700 pro ... got no hope at all .. max i got out of it is 35 fps :/

oh .. anyone know of a master server for this at all so i can add to xqf ? :)
It said "Requires Windows XP or better"
So I installed gentoo.
Top
grenouille
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 97
Joined: Sat Jun 12, 2004 6:45 pm

  • Quote

Post by grenouille » Sun Oct 23, 2005 11:00 am

just rename the qstat ebuild to 2.10 and put it in your overlay, will install you a q4 compatible qstat ^^

oh and about the fps, would have been a shame with an a64 and a 7800 :D
Top
Gentii
Guru
Guru
Posts: 306
Joined: Sun Feb 01, 2004 11:53 am

  • Quote

Post by Gentii » Sun Oct 23, 2005 11:04 pm

indeed :o
Top
Splink
Apprentice
Apprentice
Posts: 295
Joined: Wed Feb 09, 2005 8:09 pm

  • Quote

Post by Splink » Mon Oct 24, 2005 10:11 am

grenouille wrote:just rename the qstat ebuild to 2.10 and put it in your overlay, will install you a q4 compatible qstat ^^

oh and about the fps, would have been a shame with an a64 and a 7800 :D
So the one which is already in portage, 2.8 i think it is, just rename it to 2.1 and then just merge that in ?
It said "Requires Windows XP or better"
So I installed gentoo.
Top
boniek
Guru
Guru
User avatar
Posts: 373
Joined: Sat Mar 26, 2005 6:02 pm

  • Quote

Post by boniek » Mon Oct 24, 2005 9:04 pm

Here's my multiplayer config - optimized for speed ( still my radeon 9700 pro is not enough for this game :cry: ).
[HOWTO]New freetype subpixel font rendering for lcd monitors
Top
DrFishstik
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 85
Joined: Thu Dec 05, 2002 7:59 pm
Location: University Park, PA

  • Quote

Post by DrFishstik » Thu Oct 27, 2005 4:09 am

gurke wrote:my pc:
amd64 x2 4200+
1GB ram
geforce 6600GT

im having good performance at "in room" scenes with 1 or 2 enemys (i tried screen res. up to 1280x1024). as soon as i have a big room, or multiple enemys, i have a huge performance drop (low fps on _any_ resoltion - even at low setting with 640x480). any advice?

I also get random drops at any quality and any resolution from 60-30fps when watching fps counter in top right (in game control + alt + ~ for console) com_showFPS 1 I have tried with vsync on and off export __GL_SYNC_TO_VBLANK="1"

my rig:

AMD64 3000+ @ 2.1GHz
6800GT AGP
1 gig Ram

It shouldnt chug like this. Cedega games do the same thing : (
Top
Post Reply
  • Print view

26 posts
  • 1
  • 2
  • Next

Return to “Gamers & Players”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic