Low FPS in Wine games

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Low FPS in Wine games

Post by valente500 »

My computer was working fine up until a few days ago. The games I were playing were getting 60 FPS or more. Then suddenly I rebooted to find that the games are now getting < 10 FPS.

This happened a few times already, and somehow I've managed to make it go back to normal each time (last time I tweaked some nvidia-settings to fix it). I'm unable to get it to go back this time and also wondering why this happens. I have no idea whether its a Wine, Graphics Driver, or Linux error.

Any help would be greatly appreciated.
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Low FPS in Wine games

Post by vitamin »

valente500 wrote:My computer was working fine up until a few days ago. The games I were playing were getting 60 FPS or more. Then suddenly I rebooted to find that the games are now getting < 10 FPS.
Try reinstalling video drivers.
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

That might be it, I'm currently using 256.53 (latest last time I checked). I'll go back to the ones the software channel supports, and see if that fixes it

Cheers
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

I installed 185.18.36, and nothing has changed. Are there any other reasons I could be getting such low fps? (compiz effects are not on btw)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

valente500 wrote:I installed 185.18.36, and nothing has changed.
If your system is 64-bit, make sure you also installing 32-bit opengl libraries with your driver.
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

I'm running a 32-bit version of Ubuntu Karmic. Any other ideas?
Sniper_Lion
Level 1
Level 1
Posts: 7
Joined: Thu Sep 30, 2010 12:16 am

Post by Sniper_Lion »

although i'm fairly new to maintaining wine apps,
i read that low FPS is (almost) always related to in-game sound changes.

i'm not really sure how to alter many settings, but look at some of your sound settings in game and under your wine logs.

Apparently, many times when a game has low FPS in wine it's because the in-game music or sound effects are not loading completely right and can cause things like stutters.

hope this helps :)
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

I disabled sound completely under wine via winecfg, which seemed to increase my frame rate slightly, but it's still extremely low (much lower than it was before the error occurred). It hasn't fixed the problem.
Sniper_Lion
Level 1
Level 1
Posts: 7
Joined: Thu Sep 30, 2010 12:16 am

Post by Sniper_Lion »

huh - well i'm sorry :(

i'll check out some other stuff and post some more info if i find anything
jadeli89
Newbie
Newbie
Posts: 1
Joined: Fri Oct 01, 2010 2:01 am

comment

Post by jadeli89 »

i think you have a problem on your operating system..better run a pretty scan and see al those corrupting elements in the inner interface.. :lol:
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

:shock: How on earth do I do that?. Also, I only just formatted the other day (since I thought that might have fixed it), so how could I still be having OS issues?
User avatar
Loadus
Level 1
Level 1
Posts: 7
Joined: Tue Apr 29, 2008 8:11 am

Post by Loadus »

@valente500:
Before starting a game, run nvidia-settings once. It will "initialize" the card with proper settings. I don't know why the driver from nvidia doesn't correctly "zap" the card at startup but the settings dialog does.

Also, on my computer, shutting down desktop composition made all the difference (all games ran at half speed with desktop composition on) - this in Kubuntu 10.04 with a 260GTX card.
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

Loadus wrote: Before starting a game, run nvidia-settings once. It will "initialize" the card with proper settings. I don't know why the driver from nvidia doesn't correctly "zap" the card at startup but the settings dialog does.
I ran nvidia-settings, then closed the window that popped up, and then run a game, but nothing changed. Do I need to run them all in order in a script file?
Loadus wrote: Also, on my computer, shutting down desktop composition made all the difference (all games ran at half speed with desktop composition on) - this in Kubuntu 10.04 with a 260GTX card.
If by desktop composition you mean the compiz effects, I dont have them enabled.
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

Tried running "nvidia-settings --load-config-only" in a script along with wine'ing my game, and that still didn't fix the problem.

I also re-enabled dynamic twinview, since I disabled it to try and run KOTOR. That hasn't fixed my framerate either.

Also, I'm checking all my framerates in Counter Strike 1.6, which is generally considered a strong game under wine (the framerate issues also carry across to my other games aswell).

Does anyone have any other ideas? Perhaps its a hardware problem?
valente500
Level 2
Level 2
Posts: 12
Joined: Sat Aug 21, 2010 6:27 am

Post by valente500 »

I've found out what the problem is. My laptops battery is stuffed up (not holding its charge or something). I took out the battery and the games are now back to normal. Probably might be time for me to get a new computer, as it is not worth replacing the battery. Might see if I can find some way to fix the battery.

Anyway, thank you all for your help!
asmodaous
Newbie
Newbie
Posts: 2
Joined: Thu Nov 13, 2008 1:10 pm

Post by asmodaous »

I am having the same problem except I have a desktop. When I unplug my computer for about 20 secs then WoW works fine for about 2-3 mins then I start to drop to about 5FPS. I normally get about 40FPS.
asmodaous
Newbie
Newbie
Posts: 2
Joined: Thu Nov 13, 2008 1:10 pm

Post by asmodaous »

I'm wondering if it's the battery that controls the CMOS? I'm not sure how to fix this. i just don't see how battery can affect the game play in Wine since I can use Ubuntu with no problems. I watch Youtube, surf the net with no problems, but the minute I start playing WoW in Wine the game starts playing in very low frame rates. This just started 2 days ago.
User avatar
triso
Level 2
Level 2
Posts: 37
Joined: Mon May 18, 2009 8:30 pm

Post by triso »

asmodaous wrote:I am having the same problem except I have a desktop. When I unplug my computer for about 20 secs then WoW works fine for about 2-3 mins then I start to drop to about 5FPS. I normally get about 40FPS.
It could be an overheating problem. What video card do you have in that computer? Does this also happen with native (non-wine) games?
Locked