View previous topic :: View next topic |
Author |
Message |
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Fri Mar 29, 2019 9:50 pm Post subject: No sound with steam since 3 days |
|
|
Hi,
Since 2 or 3 days, no sound in Steam.
I work with pulseaudio.
If i use only ALSA, i have sound in games (like CS GO) but if i use pulseaudio again, no sound in CS:GO.
I have sevral games, such as CS:GO, L4D2, Audiosurf and all have no sound.
The log when i start the game in the terminal :
Code: | ALSA lib /var/tmp/portage/media-libs/alsa-lib-1.1.8/work/alsa-lib-1.1.8/src/pcm/pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave |
How can I restore sound ?
I can't keep ALSA because, i can't record audio from soundcard with audacity and record with OBS-Studio Microphone AND Desktop Sounds.
Can you help me ? _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
hhfeuer Apprentice
Joined: 28 Jul 2005 Posts: 185
|
Posted: Wed Apr 10, 2019 9:34 am Post subject: |
|
|
Use pavucontrol to check if the game uses the right output. |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Wed Apr 10, 2019 4:34 pm Post subject: |
|
|
hhfeuer wrote: | Use pavucontrol to check if the game uses the right output. |
In pavucontrol, i see nothing _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
hhfeuer Apprentice
Joined: 28 Jul 2005 Posts: 185
|
Posted: Wed Apr 10, 2019 4:44 pm Post subject: |
|
|
While the game is running? Then it's probably trying to use alsa. Did you create an ~/.asoundrc that is blocking things? |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Wed Apr 10, 2019 6:48 pm Post subject: |
|
|
hhfeuer wrote: | While the game is running? Then it's probably trying to use alsa. Did you create an ~/.asoundrc that is blocking things? |
If i use ALSA only, it works.
With Pulseaudio :
Left 4 Dead 2 : no sound
Counter Strike Global Offensive : no sound
AudioSurf 2 : no sound
Eurotruck Simulator 2 : OK sound
All the rest of system : sound works
Very strange. I note that pulseaudio have "oss" flag disabled, i don't know if it's new but i think the problem is here _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6069 Location: Removed by Neddy
|
Posted: Wed Apr 10, 2019 7:45 pm Post subject: |
|
|
I ran into this some time ago (on ~arch so that might explain why I hit that). in PA the source device was defaulting to my hdmi gfx card output rather than the sound card. This kept happening.
I then noticed that /etc/init.d/alsasound was removed from my runlevels??? so after adding that back and again choosing the correct soundcard in PA, it is now working consistently _________________ #define HelloWorld int
#define Int main()
#define Return printf
#define Print return
#include <stdio>
HelloWorld Int {
Return("Hello, world!\n");
Print 0; |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Thu Apr 11, 2019 5:43 pm Post subject: |
|
|
My sound card is correct and HDMI off.
alsasound service already at default runlevel. _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Wed Apr 17, 2019 6:33 pm Post subject: |
|
|
Help, did you have an idea ?
Left 4 Dead 2 : no sound
Counter Strike Global Offensive : no sound
AudioSurf 2 : no sound
Eurotruck Simulator 2 : OK sound
All the rest of system : sound works _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Sat Apr 20, 2019 9:24 am Post subject: |
|
|
An other user have same problem on Arch : https://bbs.archlinux.org/viewtopic.php?id=236269
The solution is I was missing pulseaudio-alsa!
But ... pulseaudio have alsa USE.
The package on Arch install only /etc/asound.conf file.
My /etc/asound.conf is empty...
Edit: I copy the file form arch package on my system and reboot.
I have sound into games but .... pulseaudio can't start and I can't use OBS Studio for record microphone AND sound of the game (i need pulseaudio for that) _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
Adrien.D Apprentice
Joined: 18 Jan 2015 Posts: 160
|
Posted: Tue Apr 23, 2019 4:22 pm Post subject: |
|
|
Hummmm....
I downgraded alsa-lib, alsa-utils and alsa-plugins from 1.1.8 to 1.1.6, now I have sound.
There are a problem with alsa 1.1.8.
I open a bug _________________ Desktop : MSI Gaming Pro X470 - AMD Ryzen 5 2600X - RX 560 - OpenRC GNOME - gentoo-sources-6.1 LTS
Server : Acer Barebone - Intel i3-8100T - OpenRC CLI - gentoo-sources-5.4 LTS
VMs : A lot of VMS to practice Gentoo of course (proxmox, virtualbox) |
|
Back to top |
|
|
Ralphred l33t
Joined: 31 Dec 2013 Posts: 661
|
Posted: Tue Apr 23, 2019 9:45 pm Post subject: |
|
|
Adrien.D wrote: | There are a problem with alsa 1.1.8. |
I have a problem with pcm.hint.show in the 1.1.8 alsa update, can't find any docs about it so just commented it out of the config files for now, I'm lazy like that. |
|
Back to top |
|
|
haarp Guru
Joined: 31 Oct 2007 Posts: 535
|
Posted: Wed Apr 24, 2019 5:04 pm Post subject: |
|
|
Yes, since 1.1.8, many things have been broken. I had to throw out some things from my .asoundrc to get sound working at all. And Timidity still refuses to work with it. https://bugs.gentoo.org/682232
I've simply masked 1.1.8 for now. |
|
Back to top |
|
|
rafaelzigx n00b
Joined: 09 Apr 2015 Posts: 11
|
Posted: Wed May 29, 2019 5:22 pm Post subject: |
|
|
Adrien.D wrote: | Hummmm....
I downgraded alsa-lib, alsa-utils and alsa-plugins from 1.1.8 to 1.1.6, now I have sound.
There are a problem with alsa 1.1.8.
I open a bug |
Same here. downgrading to 1.1.6 solved.
I tried the 1.1.9 and nothing.
┌─[rafael][alien][~]
└─▪ cat /etc/portage/package.mask/alsa
>=media-sound/alsa-utils-1.1.8
>=media-plugins/alsa-plugins-1.1.8
>=media-libs/alsa-lib-1.1.8 |
|
Back to top |
|
|
genbort n00b
Joined: 27 May 2019 Posts: 12
|
Posted: Mon Jun 03, 2019 3:27 pm Post subject: |
|
|
Downgrading is a solution for time being since we would the benefits of a higher version.
So they need to fix the problem earlier with the same version or in the next version. |
|
Back to top |
|
|
cyrevolt n00b
Joined: 10 Jan 2015 Posts: 5
|
|
Back to top |
|
|
seankelly n00b
Joined: 09 Oct 2019 Posts: 4 Location: Brisbane/Australia
|
Posted: Fri Oct 11, 2019 10:34 am Post subject: |
|
|
I had the same issue for a long time and tried pretty much everything. It was a very simple fix, just make sure all your drivers are updated. I had windows 10 and it is not the most compatible with gaming so i installed Windows 7 instead and just made sure I had all the updated drivers. Its a long fix but it worked for me. Goodluck! |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat Oct 12, 2019 8:12 am Post subject: |
|
|
seankelly wrote: | I had windows 10 and it is not the most compatible with gaming so i installed Windows 7 |
Nobody here uses Windows. |
|
Back to top |
|
|
majoron Apprentice
Joined: 12 Oct 2005 Posts: 240 Location: Frankfurt
|
Posted: Fri Nov 08, 2019 9:07 am Post subject: |
|
|
That made it work in my case! Thanks! _________________ Computers are like air conditioners, they stop working properly if you open Windows |
|
Back to top |
|
|
Yunoc n00b
Joined: 05 May 2024 Posts: 1
|
|
Back to top |
|
|
|