On Debian-based distributions, the easiest way to get the libraries is to open a terminal and run: Versions of CrossOver before 15 did not have direct support for PulseAudio and require an ALSA plugin. With caution, edit both /etc/pulse/nf and /etc/pulse/nf and add the following line to them: It is possible to reduce the amount of memory PulseAudio reserves. PulseAudio attempts to reserve more space than it actually needs and when Wine is using enough of that virtual memory, it causes an out of memory condition. If there are other parameters in this line, do not delete them, simply add tsched=0 to the end of the line. With extreme caution, edit the configuration file at:Īnd add tsched=0 to the end so that the above example would look like this: This setting can be useful if the sound is skipping or glitching The line should look something like:Īfter making the adjustment, restart PulseAudio from terminal with: This setting is usually 10 but putting a smaller number in place may yield better results. Search for default-fragment-size-msec and try a smaller number. With extreme caution, edit the configuration file at: In some cases, PulseAudio's default settings are not ideal. This setting can be useful if the sound quality is generally poor.īefore making this adjustment, it may be best to read about it here. This is our polite way of saying proceed with caution. This section can always be improved upon and as Wine and Linux mature, the information here may become outdated. The following tips are gathered from the community and should not be used without decent Linux knowledge. These settings are generally the same over each Linux distribution. There are other explanations and tutorials out there that explain each setting. We have provided these links as a convenience and a point of reference.
As we searched for the best way to explain each setting, we consistently found ourselves on the Arch Linux wiki. Note that most links for additional information point to the Arch Linux wiki. ~/cxoffice/share/crossover/bottle_data/nf opt/cxoffice/share/crossover/bottle_data/nf If this is something that should be a permanent change to all future bottles, make the same adjustments to the bottle template file located at: If this works for that particular bottle, then do the same for any other bottles that have issues. Find a file called nf.Ĭomment it out so that the line looks like this: Make sure no applications within that bottle are running. Go to the directory of the affected bottle. With CrossOver 15 this line should be removed from all CrossOver bottles With thanks to our community, advocates and developers On reboot, launch Wine Configuration again and select the new audio device to see if sound works. Reboot the system for the changes to take effect. In rare cases, it is better to use a generic sound device rather than what the system defaults to, with caution, add the following line to the end of /etc/modprobe.d/nf:
WINE PULSEAUDIO FULL
Some games and applications also require libmpg123, openal, and libgsm.įor more information about libraries missing on your system, please visit our full diagnostic page available here. If you are not, make sure there are no warnings about ALSA and/or asound. If you are using PulseAudio (very common), make sure there are no warnings about missing "pulse" packages.
WINE PULSEAUDIO 32 BIT
If the sound issue is not resolved, verify that the 32 bit libraries CrossOver needs to use are present. If that doesn't work, you can try using one of the hardware devices directly, but that may prevent other applications from using your sound hardware simultaneously with CrossOver. Using "System Default" or "default" is recommended. If this does not play a sound, and you are using the winealsa.drv driver, you can try adjusting the devices CrossOver is trying to use.We know from testing in-house that some games (like Diablo III) can benefit from toggling the in-game settings. If this plays a sound, the problem may be within the game settings.If it is not, please double-check your installed packages (see below) or file a support ticket.įrom here, click the "Test Sound" button.
Verify that either "winepulse.drv" or "winealsa.drv" is the selected driver. With Wine Configuration launched, choose the Audio tab. ~/cxoffice/bin/wine -bottle "nameofbottle" winecfg opt/cxoffice/bin/wine -bottle "nameofbottle" winecfg Open up the Wine Configuration menu for the specific bottle. If it does not, please check the usual suspects.
There are many factors that can play into sound problems.īefore determining the problem is with CrossOver, please verify that native sound works. Troubleshooting sound is not an easy task on Linux.