Linux no sound in games

Arch Linux

I have an up-to-date Arch64 and I installed Steam Linux from the multilib repository, it’s version is: steam 1.0.0.43-1. I have a couple of native Linux games purchased, and some of them does not have sound. Others does though. and needless to say, I have no other sound problems at all on my system.

Games having flawless sound:
— The Cave
— FTL: Faster Than Light
— Prison Architect

Games having no sound:
— Shadowrun Returns
— Monaco (it even crashes on start but runs fine WITH sound when started from the command line without steam)

I found several references of problems with Steam Linux and pulseaudio but killing it or killing and restarting the pulseaudio process did not help in either case. Any ideas or hints to try?

Last edited by kjozsa (2013-11-27 22:46:05)

#2 2013-11-27 22:45:47

Re: [SOLVED] Some native linux Steam games has no sound

After a couple of hours of playing around, installing the package lib32-alsa-plugins has solved this issue for me (it has the pulse plugins for 32 bits as it seems). Hope it helps someone..

#3 2014-01-16 20:53:48

Re: [SOLVED] Some native linux Steam games has no sound

After a couple of hours of playing around, installing the package lib32-alsa-plugins has solved this issue for me (it has the pulse plugins for 32 bits as it seems). Hope it helps someone..

Yup helped me, many thanks

#4 2014-02-13 18:20:00

Re: [SOLVED] Some native linux Steam games has no sound

After a couple of hours of playing around, installing the package lib32-alsa-plugins has solved this issue for me (it has the pulse plugins for 32 bits as it seems). Hope it helps someone..

solution of these posts did not help me play in the EU IV on x64 : (

The correct solutions is:
1) you can run gre using an executable file that is in the game directory (but wtecy not work achievements and all system IronMode — that is, just like you would a pirate fired)
2) you can fire up the steam with system libraries (you first need to install!) — «$ env STEAM_RUNTIME = 0 steam»
3) You can use libraries of steam, but to use the sound libraries of system (most ease way), — «$ env SDL_AUDIODRIVER = alsa steam»

Читайте также:  Zona установить в linux

Last edited by emol007 (2014-02-13 18:42:38)

#5 2015-10-28 04:30:10

Re: [SOLVED] Some native linux Steam games has no sound

After a couple of hours of playing around, installing the package lib32-alsa-plugins has solved this issue for me (it has the pulse plugins for 32 bits as it seems). Hope it helps someone..

Yup helped me, many thanks

Источник

How To Fix No Sound in Ubuntu And Linux Mint

As it happens with every Ubuntu release, you install or upgrade to a newer Ubuntu version and run in to a number of problems. But then, there is always a way to overcome these big little problems.

One of the most common problems faced is no sound after installing Ubuntu. While there could be several reasons for no sound in Ubuntu, I will share the tricks that worked for me.

Let’s see in steps how I fixed and how you can fix it.

Various methods to fix no audio in Ubuntu

There could be various reasons why there is no sound in Ubuntu. The fix depends on the kind of problem you have. Before you take the steps to fix it, I suggest get some information about your system, specially about the audio related hardware.

Now check the system, machine and audio information with this command:

You should see some information like this:

[email protected]:~$ inxi -SMA System: Host: itsfoss Kernel: 5.4.0-18-generic x86_64 bits: 64 Desktop: Gnome 3.35.91 Distro: Ubuntu 20.04 LTS (Focal Fossa) Machine: Type: Laptop System: Dell product: XPS 13 9360 v: N/A serial: Mobo: Dell model: 05JK94 v: A00 serial: UEFI: Dell v: 2.13.0 date: 11/14/2019 Audio: Device-1: Intel Sunrise Point-LP HD Audio driver: snd_hda_intel Sound Server: ALSA v: k5.4.0-18-generic

Look closely in the audio section of the above output. It tells that it is Intel Sunrise Point-LP HD Audio and it has the Linux driver snd_hda_intel and the sound is served with Alsa. This information maybe useful in some stages of your audio troubleshooting.

Fixing dummy output in sound settings

First step, just to verify, check if the sound is not muted. Once you verify this, go to Sound Settings:

Fix No SOund In Ubuntu 13.04

In the Sound Settings, you’ll find that you have practically nothing here except a dummy output. Quite frustrating. It means that your sound card is not even recognized. Puff!

Fix No Audio after installing Ubuntu 13.04

No worries. The one shot solution which fixed the sound problem for me on my Intel powered Dell Inspiron is to force reload Alsa. To do that, use the following command in terminal (Ctrl+Alt+T):

The output will be like this.

No sound in Ubuntu 13.04

You may think that it is hanged or still in processing but it takes only couple of seconds. You can simply close it afterwards by using Ctrl+C.

Now, you need to reboot your computer. Either play some music/video files or check in the system settings to see if it worked for you.

Читайте также:  Linux force mount ntfs

No-Sound-in-Ubuntu-Fixed

First Alternate method to fix no sound in Ubuntu

If the above problem did not fix it for you, try reinstalling Alsa and Pulse audio in the following manner:

sudo apt-get install --reinstall alsa-base pulseaudio

And force reload Alsa again:

Restart and check if sound is back or not.

Second alternate method to fix no sound in Ubuntu

Try starting Pulseaudio and see if it works:

Third alternate method: remove old Pulseaudio config

Go to your home directory and then go to the hidden config directory. Rename the directory named pulse here:

mv ~/.config/pulse ~/.config/old_pulse

Now reboot your system. The pulse directory should be created afresh and you should have sound.

Third alternate method: Try alsamixer

Open a terminal and use the following command to open alsamixer:

You should see a screen like this:

alsamixer in Ubuntu Linux

Check if the speakers or your desired audio output is muted here. MM means mute and OO means unmute. If your desired audio output (mostly it’s speakers) or the Master is muted, unmute it.

You can exit the screen using Esc key.

Note that if alsamixer command returns error, it’s probably because you have more than one sound card. In that case, you need to specify the sound card number (refer to the inxi output I mentioned in the beginning) like this:

Fourth alternate method to fix no audio in Ubuntu

Speed dispatcher is the feature that allows your system to convert text to speech. Sometimes, it conflicts with other audio settings. If you do not need this feature, you may try disabling it as it may bring your audio back.

Open the terminal and edit speech-dispatcher file by using the following command:

sudo gedit /etc/default/speech-dispatcher

In here, change RUN=yes to RUN=no . Reboot and enjoy the sound.

Fifth alternate method (specially for Lenovo Carbon X1)

A few of It’s FOSS readers mentioned that none of the above methods worked for their Lenovo Thinkpad Carbon X1 7th Gen laptop.

I looked into various places and found that this newer model has issues with Linux. While Linux kernel 5.5 and above versions has improved support for this model, it is still tricky for Ubuntu 18.04 and Mint 19 users because the kernel in use is still 5.3.

Check your Linux kernel version and if it is 5.4 or lower, try this possible workaround that is suggested by Arch Linux and Ubuntu developers.

Open the alsa configuration file (command might be different for Mint because Gedit text editor is not used in Mint):

sudo gedit /etc/modprobe.d/alsa-base.conf

Add the following line to the end of this file:

options snd-hda-intel dmic_detect=0

Save and close the file and reboot your system. You should have the audio back.

If it fixed your sound problem, you may want to fix brightness issue as well. Fixing the sound problem is definitely one of the must do things after installing Ubuntu.

Donate Itsfoss

If one of the above mentioned methods worked for you, please leave a comment below specifying the method that saved your day. Any other suggestions and feedback is also welcomed.

Читайте также:  Canon pixma mp230 linux

Источник

Linux no sound in games

Newbie

LordMord Newbie
Posts: 1 Joined: Fri Apr 04, 2014 10:50 pm

No Sound in Game

Post by LordMord » Fri Apr 04, 2014 11:01 pm

i just can’t seem to get this to work. In the wine config ‘winealsa.drv’ is the Selected driver and the Test Sound button works. But ingame the sound doesn’t work. (tested with different games)

I tried turning off pulseaudio completely but that didn’t help.

I hope some off you can help me.

Moderator

dimesio Moderator
Posts: 13165 Joined: Tue Mar 25, 2008 10:30 pm

Re: No Sound in Game

Post by dimesio » Sat Apr 05, 2014 8:55 am

Level 12

Bob Wya Level 12
Posts: 3068 Joined: Sat Oct 16, 2010 7:40 pm

Re: No Sound in Game

Post by Bob Wya » Sun Apr 06, 2014 10:53 am

yaourt -Qs alsa ; yaourt -Qs openal extra/alsa-lib 1.0.27.2-1 An alternative implementation of Linux sound support extra/alsa-plugins 1.0.27-2 Extra alsa plugins extra/alsa-tools 1.0.27-5 Advanced tools for certain sound cards local/alsamixergui 0.9.1-3 FLTK based mixer program for use with ALSA. extra/gnome-alsamixer 0.9.7-1 Gnome ALSA mixer multilib/lib32-alsa-lib 1.0.27.2-1 An alternative implementation of Linux sound support (32 bit) multilib/lib32-alsa-plugins 1.0.27-1 Extra alsa plugins (32-bit) extra/pulseaudio-alsa 2-2 ALSA Configuration for PulseAudio multilib/lib32-openal 1.15.1-1 OpenAL audio library for use with opengl (32-bit) extra/openal 1.15.1-1 A cross-platform 3D audio library 

That should be enough to get most game sound working in 32-bit or 64-bit Wineprefixes.

Moderator

dimesio Moderator
Posts: 13165 Joined: Tue Mar 25, 2008 10:30 pm

Re: No Sound in Game

Post by dimesio » Sun Apr 06, 2014 6:42 pm

Huh? That issue has been around for over two years, in Pulseaudio versions going back even before 1.0. http://bugs.winehq.org/show_bug.cgi?id=28282

Level 12

Bob Wya Level 12
Posts: 3068 Joined: Sat Oct 16, 2010 7:40 pm

Re: No Sound in Game

Post by Bob Wya » Sun Apr 06, 2014 11:31 pm

Huh? That issue has been around for over two years, in Pulseaudio versions going back even before 1.0. http://bugs.winehq.org/show_bug.cgi?id=28282

Well in my experience on 2 machines, 2 different USB wireless headsets, with both Gentoo & Arch, when I switched from Pulseaudio 4.01 to Pulseaudio >=4.99 my working sound simply stopped working very dramatically. I mean a dramatic jump from working to completely garbled. I then had to perform the tuning operation — or simply not get any sound with Wine + using Pulseaudio on either of the headsets. I am sure the issue has existed before — but Pulseaudio appears to be more sensitive to the issue now.

What about this Arch Forums thread? Note: I have not installed the POL package on either of my Arch installs — so the vanilla multilib Wine package must have been affected as well. Downgrading Pulseaudio to 4.01 or tuning the fragment size (for a unique sound device) resolved the situation completely in my case.

Источник

Оцените статью
Adblock
detector