New to wine -- some problems.

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
Nafets
Newbie
Newbie
Posts: 4
Joined: Mon Mar 08, 2010 7:51 pm

New to wine -- some problems.

Post by Nafets »

I installed Ubuntu 9.10 64 bit around a month ago. About a week ago I downloaded wine, through Ubuntu Software Center, and I've been having some problems in getting games to work fully, many of which are said to work without many bugs at all, or at least not as much as I've been experiencing.

Two games that I've tried were Half-Life(through steam), and recently Perfect World. Half-Life works at an excellent speed as was expected considering its age, but there isn't sound. I've tried switching Audio driver settings, but it didn't work at all. Perfect World, works, but very crudely. I followed this video guide here, but I'm having problems that aren't the product in the video guide.

http://appdb.winehq.org/objectManager.p ... n&iId=9923.

Anyway, my problems are that the game has no sound, it runs very slow. The mouse pointer only shows sometimes, the characters textures show up randomly, and it crashes every other startup or in the middle of trying to play.

I followed all of the steps in the video, and I have up to date drivers.

My PC's specs:

Nvidia 9500gt
Pentium Dual Core E2140 1.6ghz
4x512mb DDR2 sdram 667mhz

I'm wondering, could it be that my version of Wine is outdated? How do I determine if that is the case, and how do I update without losing my files?
hellork
Level 3
Level 3
Posts: 82
Joined: Thu Mar 27, 2008 7:13 pm

No Audio? Try this...

Post by hellork »

Greetings,

I am a fellow wine user running Fedora, which, like Ubuntu, uses pulseaudio as the primary sound server. I cannot be bothered with questions about Ubuntu, but I have been dealing with this issue for a while, so I can volunteer some information that may help.

Wine does not have an official pulseaudio driver, but Ubuntu may have included one. I would be interested to know if they did. The driver is experimental and incomplete. For one, it does not have any mixer controls, so it may not work with chat programs or dictation software that wants to set microphone levels or anything like that, but it should work for most games.

You may run winecfg and choose the pulseaudio driver, if present.

If pulseaudio is not present, either disable pulseaudio or install Ubuntu's pulseaudio alsa plugin so alsa applications (wine) will have sound. This link explains how to do that:

https://wiki.ubuntu.com/PulseAudio

When that's done, run winecfg and set wine's audio driver to alsa. Good luck. Please report back with your results and maybe somebody else can help you.

Remember to include a subject in your forum posts. These messages are copied and mailed out to everybody on the list.
Nafets
Newbie
Newbie
Posts: 4
Joined: Mon Mar 08, 2010 7:51 pm

Alright still doesn't work - Audio

Post by Nafets »

I tried installing Pulse Audio, using that guide, and the sound still doesn't work. Actually it is only exclusive to these two games that I don't have sound. Thanks for the help so far. I still need help in getting the other game up to speed too, if anybody could provide that. For that one I've noticed something. The sound works in the launch menu, but not after that.
billdozor
Newbie
Newbie
Posts: 4
Joined: Fri Dec 11, 2009 8:52 pm

sound launch command

Post by billdozor »

Have you tried the wrapping pulse audio around the launch command solution?

Example: My WoW launcher is:

padsp wine "/Games/World of Warcraft/Wow.exe" -opengl

the "padsp" at the beginning corrected sound issues for me in WoW with Ubuntu and Xubuntu.
Nafets
Newbie
Newbie
Posts: 4
Joined: Mon Mar 08, 2010 7:51 pm

Re: sound launch command

Post by Nafets »

billdozor wrote:Have you tried the wrapping pulse audio around the launch command solution?

Example: My WoW launcher is:

padsp wine "/Games/World of Warcraft/Wow.exe" -opengl

the "padsp" at the beginning corrected sound issues for me in WoW with Ubuntu and Xubuntu.
How should I put it if I already have stuff around it.

For example:

Code: Select all

env WINEPREFIX="/home/my username/.wine" wine "C:\Program Files\Steam\steam.exe" -applaunch 70
billdozor
Newbie
Newbie
Posts: 4
Joined: Fri Dec 11, 2009 8:52 pm

sound launch

Post by billdozor »

try this:

env WINEPREFIX="/home/my username/.wine" padsp wine "C:\Program Files\Steam\steam.exe" -applaunch 70
michaelclarve
Newbie
Newbie
Posts: 1
Joined: Thu Mar 11, 2010 9:06 am

Re: sound launch

Post by michaelclarve »

Worked for me..!! Thanks..!!

Not a permanent solution I think is it..!!??

Clarve..!!

.
Nafets
Newbie
Newbie
Posts: 4
Joined: Mon Mar 08, 2010 7:51 pm

Re: sound launch

Post by Nafets »

billdozor wrote:try this:

env WINEPREFIX="/home/my username/.wine" padsp wine "C:\Program Files\Steam\steam.exe" -applaunch 70
It worked for half-life, but not the other game. Thanks!
Locked