Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Major lag with Darkplaces
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
phil_r
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 264
Location: Omaha, NE, USA

PostPosted: Sat May 17, 2008 2:37 am    Post subject: Major lag with Darkplaces Reply with quote

Hey guys. I've installed Darkplaces for Quake - had it before, no issues. This time around though, about every 4 seconds the game freezes for maybe one second. I've got dual displays so I fired up a console running top on the second display, and put Darkplaces on the primary. When Darkplaces lags, according to top, X takes about 95% CPU for that duration. Any idea what's going on?

[ Found these USE variables for games-fps/darkplaces-20060616_beta1 ]
U I
+ + alsa : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
- - cdinstall : Copies files from the CD rather than asking the user to copy them, mostly used with games
- - cdsound : Enables using CD audio in the engine
- - dedicated : Adds support for dedicated game servers (some packages do not provide clients and servers at the same time)
- - demo : Uses the demo data from quake1 (quake1-demodata)
- - dpmod : Sets up the darkplaces mod from icculus
+ + lights : Install and setup the updated light maps
+ + opengl : Adds support for OpenGL (3D graphics)
- - oss : Adds support for OSS (Open Sound System)
- - sdl : Adds support for Simple Direct Layer (media library)
+ + textures : Install and setup the updated textures

My setup is AMD64 with 1.75Gb of memory and a GeForce 8400GS card. I know OpenGL works ok because Doom 3 runs fine.
_________________
Just when you think you know the answers, I change the questions.
Back to top
View user's profile Send private message
PaulBredbury
Watchman
Watchman


Joined: 14 Jul 2005
Posts: 7310

PostPosted: Sat May 17, 2008 6:01 am    Post subject: Reply with quote

I would first of all try a version which isn't almost 2 years old! :wink:

Try the latest.
Back to top
View user's profile Send private message
WhiteDwarf
n00b
n00b


Joined: 26 Oct 2003
Posts: 32
Location: Edmonton

PostPosted: Sat May 17, 2008 2:04 pm    Post subject: Reply with quote

Try the 173.08 beta drivers. This sounds like a bug in the driver that affects 8xxx series cards on the 169 series driver. I've seen this same behavior elsewhere: wasn't there using 100.14.19, showed up on the 169 series, disappeared again on 173.08.
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 691

PostPosted: Sun May 18, 2008 5:53 pm    Post subject: Reply with quote

PaulBredbury wrote:
I would first of all try a version which isn't almost 2 years old! :wink:

Yeah.... that's sad.

@phil_r
You can check out overlay from my sig. There's lots of cool quake1 stuff + new darkplaces (and some other engines) ebuilds.
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
phil_r
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 264
Location: Omaha, NE, USA

PostPosted: Mon May 19, 2008 1:46 pm    Post subject: Reply with quote

I'll take a look. The fact it's 2 years old shouldn't matter - it worked fine before, all I've done is reinstall. Software doesn't fail just because it gets old. It doesn't have a time limit on it :) If that were the case, Quake 1 wouldn't work at all, but it still does, you know what I mean? I'm more interested to know why X suddenly starts grabbing 95% CPU every 4-5 seconds, just for a second each time. Other games work ok...
_________________
Just when you think you know the answers, I change the questions.
Back to top
View user's profile Send private message
progo
n00b
n00b


Joined: 22 May 2006
Posts: 31

PostPosted: Sat May 31, 2008 4:57 pm    Post subject: Reply with quote

I have the same problem. Both the newest from that site and the old one from portage makes that. Very irritating indeed.

My runner is Geforce 6600GT.
Back to top
View user's profile Send private message
lazy_bum
l33t
l33t


Joined: 16 Feb 2005
Posts: 691

PostPosted: Mon Jun 02, 2008 6:54 am    Post subject: Reply with quote

Maybe compile it with "debug" USE flag? Or contact the author? It works fine for me on GF7600GS.
_________________
roslin uberlay | grubelek
Back to top
View user's profile Send private message
progo
n00b
n00b


Joined: 22 May 2006
Posts: 31

PostPosted: Mon Jun 02, 2008 7:14 am    Post subject: Reply with quote

Compiled the newest with debuging, nothing did show up .. I read the "manual" (darkplaces.txt) and it suggested to type "gl_finish 1" to console to prevent jerky input. And it worked, it seems! I'm using the glx-version if that matters. No more peaks in cpu graphs or anything like that.
Back to top
View user's profile Send private message
phil_r
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 264
Location: Omaha, NE, USA

PostPosted: Mon Jun 02, 2008 1:56 pm    Post subject: Reply with quote

I got the latest version from the site and it was fine. I'm also running the brand new nvidia drivers (173) that came out on Friday but not tried Darkplaces yet. My glxgears framerate sucks though - 1600fps, on a 64-bit dual core AMD 5000 with 2Gig of ram and a 8400GS card with 512mb ram.
_________________
Just when you think you know the answers, I change the questions.
Back to top
View user's profile Send private message
phil_r
Apprentice
Apprentice


Joined: 14 Mar 2006
Posts: 264
Location: Omaha, NE, USA

PostPosted: Mon Jun 16, 2008 8:39 pm    Post subject: Reply with quote

Ok the problem has returned, exactly the same thing. It's also affecting Doom3 and Quake4 this time so I know it's not a Darkplaces issue. Any ideas? I even tried swapping out my usb keyboard and mouse to ps/2 incase it was a problem relating to input. I'm certain X is to blame.
_________________
Just when you think you know the answers, I change the questions.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum