No sound in games under Wine if used PulseAudio

Bug #608064 reported by RussianNeuroMancer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
wine1.2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: wine1.2

Sound testing in Wine Configurations work, but there is no sound in games under wine at all. Without PulseAudio on Lucid with same verion Wine (from ppa:ubuntu-wine/ppa) same games work with sound.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: wine1.2 1.1.42-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.35-9.14-generic 2.6.35-rc5
Uname: Linux 2.6.35-9-generic x86_64
Architecture: amd64
Date: Wed Jul 21 16:14:49 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
ProcEnviron:
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
SourcePackage: wine1.2

Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :
Revision history for this message
Jack Leigh (leighman) wrote :

Have you tried changing the audio driver under Configure Wine (winecfg) > Audio tab?

Revision history for this message
Jack Leigh (leighman) wrote :
Revision history for this message
RussianNeuroMancer (russianneuromancer) wrote :

> Have you tried changing the audio driver under Configure Wine (winecfg) > Audio tab?
I tried and get bad result - sound in games came back, but it's stuttering. It's work better before with hardware acceleration.

Revision history for this message
Virgil Brummond (uraharakisuke153) wrote :

Try this one, though it may cause some issues with more than one app playing sound at the same time.

1. Press alt+f2 and type: regedit
2. This is the wine registry editor, navigate to: HKEY_CURRENT_USER

Revision history for this message
Virgil Brummond (uraharakisuke153) wrote :

Edit, posted early in error: (Note case sensitive when using regedit, please type exact)

This should let Wine have direct HW access to prevent buffer underruns, the only disadvantage is that some apps do not have access to the sound card while Wine is running. Sometimes this option works best combined with OSS.

Contingency is this does not help is simply to delete the UseDIrectHW key.

1. Press alt+f2 and type: regedit
2. This is the wine registry editor, navigate to: HKEY_CURRENT_USER -> Software -> Wine
3. Right click on Wine, and select New -> Key. Name the new key: Alsa Driver
4. Select Alsa Driver and right click in the white space to the right. Select New -> String Value, name the value: UseDirectHW
5. Double click UseDirectHW, and make the value: y
6. Hit ok, and close all wine apps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.