Games performance with wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
MaTi
Level 1
Level 1
Posts: 9
Joined: Sat Dec 20, 2008 1:10 pm

Games performance with wine

Post by MaTi »

I've been using Linux Ubuntu for a few days, but I already love it :) However, when I'm running windows games under wine, I get less than 10fps, while under windows they work really fast. I have installed latest Nvidia drivers from ubuntu repositories and Direct X 9c under wine (yes, dxdiag works, and it passes all the tests). I have also seen on youtube, that many people don't have any problems with running those games under ubuntu. Is there any solution for this problem?

Some info that might be needed:

Hardware:
CPU - Core2Duo e4300 @ 2.34GhZ
Graphic Card - Palit Geforce 7300GS
Ram - 2GB @ 800MhZ

Wine version: 1.1.10
Ubuntu version: 8.10 with all the updates

Games I tried to run:
Steam - works, but when I switch to games list, even it's windows moves very slowly
Half-LIfe 2 (steam) - only 5-7 fps
GTA San Andreas - when many NPC's appear on screen it's getting laggy. When I turn my back to NPC's it's fine again.
chourmovs
Level 3
Level 3
Posts: 80
Joined: Wed Apr 09, 2008 3:11 pm

Games performance with wine

Post by chourmovs »

Half life 2 can run better with some tweak
GTA San Andreas is known not to run very fast under wine

Welcome in Linux world, prepare to be disapointed if you want to
play.... yu had to know...



2008/12/21 MaTi <[email protected]>:
I've been using Linux Ubuntu for a few days, but I already love it :) However, when I'm running windows games under wine, I get less than 10fps, while under windows they work really fast. I have installed latest Nvidia drivers from ubuntu repositories and Direct X 9c under wine (yes, dxdiag works, and it passes all the tests). I have also seen on youtube, that many people don't have any problems with running those games under ubuntu. Is there any solution for this problem?

Some info that might be needed:

Hardware:
CPU - Core2Duo e4300 @ 2.34GhZ
Graphic Card - Palit Geforce 7300GS
Ram - 2GB @ 800MhZ

Wine version: 1.1.10
Ubuntu version: 8.10 with all the updates

Games I tried to run:
Steam - works, but when I switch to games list, even it's windows moves very slowly
Half-LIfe 2 (steam) - only 5-7 fps
GTA San Andreas - when many NPC's appear on screen it's getting laggy. When I turn my back to NPC's it's fine again.




Andrew Fenn

Games performance with wine

Post by Andrew Fenn »

On Sun, Dec 21, 2008 at 9:30 PM, MaTi <[email protected]> wrote:
Direct X 9c under wine
I believe you're not suppose to install directx in wine. Wine has it's
own implementation which might be why you're only getting 10fps
Rico
Moderator
Moderator
Posts: 91
Joined: Sat Feb 23, 2008 12:10 pm

Re: Games performance with wine

Post by Rico »

MaTi wrote:GTA San Andreas - when many NPC's appear on screen it's getting laggy. When I turn my back to NPC's it's fine again.
Disabling the vertexshader in winecfg should solve your problem. Also have a look in the appdb, there are several hints about settings which you could try ( http://appdb.winehq.org/objectManager.p ... n&iId=7677 ).
MaTi
Level 1
Level 1
Posts: 9
Joined: Sat Dec 20, 2008 1:10 pm

Re: Games performance with wine

Post by MaTi »

Welcome in Linux world, prepare to be disapointed if you want to
play.... yu had to know...
I really never expected it to work perfectly. I guess if we give developers some more time, wine will handle directx better... They're doing great job anyway :)
I believe you're not suppose to install directx in wine. Wine has it's
own implementation which might be why you're only getting 10fps
But it's not complete implementation. When I tried to run some games with bullitin direct x libraries I got error about .dll missing.
Disabling the vertexshader in winecfg should solve your problem
Yes, it gave me noticeable fps boost, but it's still very slow. Well, I guess I'll check the appdb and follow instruction in there.

Anyway, thanks for help everyone!
Warren Dumortier

Games performance with wine

Post by Warren Dumortier »

Many games run better with OffscreenRenderingMode to fbo, also setting
the amount of memory of your graphics card can let you have more fps,
especially if it's not a 256mb card...

2008/12/21 MaTi <[email protected]>:
Welcome in Linux world, prepare to be disapointed if you want to
play.... yu had to know...
I really never expected it to work perfectly. I guess if we give developers some more time, wine will handle directx better... They're doing great job anyway :)

I believe you're not suppose to install directx in wine. Wine has it's
own implementation which might be why you're only getting 10fps
But it's not complete implementation. When I tried to run some games with bullitin direct x libraries I got error about .dll missing.

Disabling the vertexshader in winecfg should solve your problem
Yes, it gave me noticeable fps boost, but it's still very slow. Well, I guess I'll check the appdb and follow instruction in there.

Anyway, thanks for help everyone!




DaVince
Level 8
Level 8
Posts: 1099
Joined: Wed Oct 29, 2008 4:53 pm

Post by DaVince »

But it's not complete implementation. When I tried to run some games with bullitin direct x libraries I got error about .dll missing.
I'm not sure if this is a good thing to do, but rather than install DirectX at this point, have you tried just finding that specific DLL and overriding Wine's internal one with it? For example, I had a game that needed a real DirectX d3dx9_36.dll and ONLY that file to work, and having that file around actually made some games work for me.

In any case, fiddling around and looking for a solution is probably better than installing DirectX on Wine, because real DirectX doesn't work on Wine (though Wine can handle a bunch of its native DLLs and suddenly unlock missing Wine DX functions).
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Post by oiaohm »

Ok this is a wrong to have to say not Ubuntu again.

Double check what version of Nvidia drivers you have. Ubuntu has a really bad habit of dishing up old versions of Nvidia drivers leading to problems.

Disable desktop effects and remove pulseaudio from your system most likely the cause of all the steam and Half-life speed problems.

2d rendered games have issues with wine normally. Hopefully in 2009 lot of issues will be able to got on top of. None of your desktop interface under Linux has hardware 2d acceleration yet that will be in the next x.org X11 server. Ie part of the problem is technical limitations.
Leonardo

Games performance with wine

Post by Leonardo »

MaTi, you can try some tweaks. The for-windows-games indeed will not be so
fast (for now maybe, ;D), but you can, for example, disable compiz effects
while play, use a ligthweight window manager so certain resources consumed
by gnome will be free for use in games.

usually i setup a fluxbox in order to play, there's no icons or lots of
things available inside a desktop, but his lack of resources can help when
you go play.

also fluxbox menu can easliny edited and prepared to launch any game!

2008/12/21 MaTi <[email protected]>
I've been using Linux Ubuntu for a few days, but I already love it :)
However, when I'm running windows games under wine, I get less than 10fps,
while under windows they work really fast. I have installed latest Nvidia
drivers from ubuntu repositories and Direct X 9c under wine (yes, dxdiag
works, and it passes all the tests). I have also seen on youtube, that many
people don't have any problems with running those games under ubuntu. Is
there any solution for this problem?

Some info that might be needed:

Hardware:
CPU - Core2Duo e4300 @ 2.34GhZ
Graphic Card - Palit Geforce 7300GS
Ram - 2GB @ 800MhZ

Wine version: 1.1.10
Ubuntu version: 8.10 with all the updates

Games I tried to run:
Steam - works, but when I switch to games list, even it's windows moves
very slowly
Half-LIfe 2 (steam) - only 5-7 fps
GTA San Andreas - when many NPC's appear on screen it's getting laggy. When
I turn my back to NPC's it's fine again.





-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-us ... chment.htm
Locked