Driv3r: Sound Kills Frame Rate

Questions about Wine on Linux
Locked
Broski270
Level 2
Level 2
Posts: 10
Joined: Sat Sep 22, 2012 2:02 am

Driv3r: Sound Kills Frame Rate

Post by Broski270 »

I am trying to get one of my favorite games Driv3r to run properly. I have been experimenting with it throughout the entire day. I have noticed that the games runs perfectly except for when sound is enabled. When the sound is enabled, the frame rate gets absolutely ruined. The frame rates go as low as 2FPS, and it is impossible to play. I have tried the different sound drivers, but it makes no difference. I also tried lowering the frequency in the options, still no difference. I tried different numbers for the DirectSound registry keys in here: http://wiki.winehq.org/UsefulRegistryKeys and I'm still having no luck. But if I just set it to "No Sound" in the options, the game runs flawlessly with a consistent frame rate. I am so close to getting this game working, but this sound is holding me back. Is there something I am doing wrong? Is there a way to get it working? Any help is greatly appreciated!
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: Driv3r: Sound Kills Frame Rate

Post by olivierfrdierick »

Hi

I downloaded and installed this Driv3r Demo.
It runs with good frame rate and sound on my computer.
You can try the demo and see if it has the issue.

Also, there is a patch that includes sound fixes.
Did you try with the patch applied?
Broski270
Level 2
Level 2
Posts: 10
Joined: Sat Sep 22, 2012 2:02 am

Re: Driv3r: Sound Kills Frame Rate

Post by Broski270 »

olivierfrdierick wrote:Hi

I downloaded and installed this Driv3r Demo.
It runs with good frame rate and sound on my computer.
You can try the demo and see if it has the issue.

Also, there is a patch that includes sound fixes.
Did you try with the patch applied?
I did try the patch. The problem is that I have the Revival version of Driv3r, published by Ubisoft, not the original publisher Atari. The patch only works for the traditional retail versions. I'm gonna try the demo tomorrow. The problem may be related to my version. Thank you for the demo link, I didn't even know a demo existed for this game!
Broski270
Level 2
Level 2
Posts: 10
Joined: Sat Sep 22, 2012 2:02 am

Re: Driv3r: Sound Kills Frame Rate

Post by Broski270 »

Just realized that I already have the latest version, it came with the Revival package. What is really weird is that I'm having trouble running Far Cry as well. I just tried installing that and it won't work, and yet it has a platinum rating on here. I think there is something wrong with either the prefix or my wine installation. I think the problem may lie in the fact that I have the DirectX 9 Overkill package from Winetricks, which I needed for Need for Speed Most Wanted. Maybe I should try a fresh prefix for Driv3r and try installing the DirectX version that comes with it. Also, if this ends up being the issue, how can I manage multiple .wine prefixes?
lahmbi5678
Level 7
Level 7
Posts: 823
Joined: Thu Aug 27, 2009 6:23 am

Re: Driv3r: Sound Kills Frame Rate

Post by lahmbi5678 »

Just for clarification, you shouldn't install any directx that comes with windows apps or games, because that won't work at all. Winetricks is ok, it installs only a few selected DirectX dlls, which are known to work with wine.

The simplest way to work with wine prefixes is to rename/move .wine to another folder. Wine will automatically create a new ".wine" folder at the next run, just run e.g. winecfg. To switch wine prefixes, you'd have to move/rename the folders back to the original state.

Alternatively you can use different wine prefixes using commands like "WINEPREFIX=.wine2 wine yourapp.exe", assuming you created a ".wine2" prefix before with e.g. "WINEPREFIX=.wine2 winecfg", you just shouldn't forget the WINEPREFIX assignment then, otherwise you'd probably get error messages due to missing files etc.
Broski270
Level 2
Level 2
Posts: 10
Joined: Sat Sep 22, 2012 2:02 am

Re: Driv3r: Sound Kills Frame Rate

Post by Broski270 »

lahmbi5678 wrote:Just for clarification, you shouldn't install any directx that comes with windows apps or games, because that won't work at all. Winetricks is ok, it installs only a few selected DirectX dlls, which are known to work with wine.

The simplest way to work with wine prefixes is to rename/move .wine to another folder. Wine will automatically create a new ".wine" folder at the next run, just run e.g. winecfg. To switch wine prefixes, you'd have to move/rename the folders back to the original state.

Alternatively you can use different wine prefixes using commands like "WINEPREFIX=.wine2 wine yourapp.exe", assuming you created a ".wine2" prefix before with e.g. "WINEPREFIX=.wine2 winecfg", you just shouldn't forget the WINEPREFIX assignment then, otherwise you'd probably get error messages due to missing files etc.
Thanks for clearing that up for me!
Broski270
Level 2
Level 2
Posts: 10
Joined: Sat Sep 22, 2012 2:02 am

Re: Driv3r: Sound Kills Frame Rate

Post by Broski270 »

I GOT IT WORKING!!! :)

Last night in extreme frustration, I decided to downgrade from 1.5 to 1.4, and everything works! The glitch with the low resolution games is gone, sound no longer lags out my games, and Far Cry also runs now!
Locked