Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to EMU10k1 + Enemy Territory = Choppy game
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
Bradeeoh
n00b
n00b


Joined: 12 Mar 2004
Posts: 26

PostPosted: Wed Nov 10, 2004 5:43 am    Post subject: Upgrade to EMU10k1 + Enemy Territory = Choppy game Reply with quote

Sick of dealing with DMIX for mixing multiple streams on my motherboard's built in sound chip that doesn't support hardware mixing, I found an old SB Live! card in a box and put it in today. Fired 'er ALSA drivers up and played some music and browsed some web and things worked great - including the hardware mixing.

With that having been the only thing that changed, Enemy Territory has developed a symptom I cannot live with. When I start'er'up, things are as usual. I can connect to a server and play 1, sometimes 2 maps before the problem starts.

After I play the map and after the next map has loaded, things are choppy. But choppy I mean the sound and the mouse/UI chop once or twice every second. The sound, mouse, and graphics all leap ahead at the same time, and the game is unplayable. Disconnecting from the server does nothing - the main menu exhibits the same behavior and I must completely exit the program to get rid of the symptoms (they do not carry over back to the desktop, thankfully).

I have yet to try reverting to my old kernel with the old MOBO sound drivers to confirm that this behavior is directly tied to the new card.

Another possibility is that previously I was using 2.6.6-vanilla and for this new card I jumped to 2.6.9.

Other than that, I can't think of what else may have caused this. Any and all ideas appreciated - if I get around to tinkering with kernels and options and stuff, I'll update this thread.

Thanks!
Back to top
View user's profile Send private message
monotom
n00b
n00b


Joined: 15 Nov 2004
Posts: 6
Location: Sweden, ya!

PostPosted: Tue Nov 16, 2004 3:52 pm    Post subject: Reply with quote

I can confirm this as I have the exact same problem.
It's not just enemy territory, but also other games like e.g. American Army.
I read somewhere that this could come from a lousy network connection, but since I have 10Mbps+ and I get the same problem when I run RTCW single player. I don't think that is what causes the problem. I switched from using my sb live to my onboard cmedia soundcard as the first soundcard. This did not change anything... I'm not shure that it's the emu10k1 that's the problem here.

My setup is: Kernel 2.6.9 (got the same choppy gameplay in 2.6.8 ) with alsa. Do you have a nvidia card or an ati card? I had a radeon 9000 before and then I did not have this problem. Don't remember whether I used the oss or alsa at that time though. The really strange thing is that this doesn't happen all the time. It's really bugging me. :evil:
Back to top
View user's profile Send private message
Bradeeoh
n00b
n00b


Joined: 12 Mar 2004
Posts: 26

PostPosted: Tue Nov 16, 2004 4:55 pm    Post subject: re: Upgrade to EMU10k1 + Enemy Territory = Choppy game Reply with quote

It's sounding suspiciously similar. My mobo (MSI KT4-Ultra FISR) has onboard cmedia 8738MX 6-channel sound.

As I could not figure out how to tell ET to use /dev/dsp or /dev/dsp1 (it seems to ignore asound.conf...?) I manually relinked those to point to the other card so ET would hit up the cmedia instead of the SBLive. When I did that our problems seem to diverge a little as it DID infact work.

When I relinked the DSPs back to the SBLive, I started having better luck - for some odd reason I cannot explain. Every other time it is choppy, and quitting/restarting the app fixes it. And sometimes the app will start choppy but fix itself in the first 30-45 seconds.

However the problem definitely does still remain and definitely still pisses me off.

And yes, of course I "remember" which video card I have - built this box from the ground up. :) ATI 9500 Pro. But as I have indicated, with that video card, I never had this problem with just the cmedia sound installed and with kernel 2.6.4. The simultaneous upgrade to 2.6.9 and the SBLive is what borked this.

I still haven't had time to recompile 2.6.4 with the emu10k1 drivers but I will at some point to see if it's kernel related or something else.

2 questions - anyone else out there have a similar problem? And more importantly, anyone FIX it?

-Bradeeoh
Back to top
View user's profile Send private message
monotom
n00b
n00b


Joined: 15 Nov 2004
Posts: 6
Location: Sweden, ya!

PostPosted: Tue Nov 16, 2004 5:22 pm    Post subject: Reply with quote

Quote:

When I relinked the DSPs back to the SBLive, I started having better luck - for some odd reason I cannot explain. Every other time it is choppy, and quitting/restarting the app fixes it. And sometimes the app will start choppy but fix itself in the first 30-45 seconds.


Has been that way ever since I first started to notice the problem. The fps drops to 6-7fps instead of 40-90 fps. Even if the game works 9 times out of 10 it's still annoying (more like 1 out of 3 now).

One other thing: I used the 2.4 kernel series before I switched to 2.6 at the same time I changed from ati to nvidia. At that time my hw setup was the same as it is now.

My mobo is a A7A133 with the ALI MAGICK chipset. And the sound chipset is CMI8738-MC6. Given that we have the same soundcards and different graphic drivers I would bet on the soundcards/drivers being the problem.
Kind of narrows it down anyway.

Have you tried to disable the sound in et? Does that help?
Back to top
View user's profile Send private message
wolf31o2
Retired Dev
Retired Dev


Joined: 31 Jan 2003
Posts: 628
Location: Mountain View, CA

PostPosted: Tue Nov 16, 2004 9:22 pm    Post subject: Reply with quote

Try removing the SB Live! completely from your system. Creative cards are notorious for causing signalling problems on the PCI bus.
_________________
Ex-Gentoo Developer
Catalyst/Genkernel Development Lead
http://wolf31o2.org
Back to top
View user's profile Send private message
DoktorSeven
Apprentice
Apprentice


Joined: 21 Feb 2003
Posts: 194
Location: Here, somewhere

PostPosted: Wed Nov 17, 2004 12:12 am    Post subject: Reply with quote

I do know that kernel 2.6.9 has a bug in kswapd that causes the problem you describe (system slows down after a few minutes when playing games). I've stayed at 2.6.7 because of this (never went to 2.6.8.1).
_________________
WARNING: this post may be filled with lies and/or extreme sarcasm.
I write stuff on the internet, just like everyone else. I'M SPECIAL
Back to top
View user's profile Send private message
monotom
n00b
n00b


Joined: 15 Nov 2004
Posts: 6
Location: Sweden, ya!

PostPosted: Wed Nov 17, 2004 2:49 pm    Post subject: Reply with quote

It turns out that I was using 2.6.9 when I thought that it was 2.6.8
With 2.6.8 it works just fine, so it's the kswap bug that's the problem.
Back to top
View user's profile Send private message
Dashiva
n00b
n00b


Joined: 13 Dec 2003
Posts: 8
Location: CA

PostPosted: Fri Nov 19, 2004 7:58 pm    Post subject: Reply with quote

Also you might consider using the stock oss kernel driver. It comes from the creative tree [ opensource.creative.com ] and I find it a lot easier to manage with more features than the Alsa drivers even now. You can do Pro Logic/SPDIF/midi with it and it works great.
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