New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No Audio #12
Comments
Hmmm, I saw you noticed I was having the same problem. I looked up your board specs and noticed you have the same audio chipset as me: Realtek ALC892. Could be they just haven't added support for it yet. |
I am having the same issue. My specs: I tried manually installing the drivers provided by Realtek but when using ./configure there was an error related to compiling a .h file. If more info is needed let me know what i can provide. |
Same issues: MSI GTX 760 |
Closed my issue and reposting here: There is no audio when using SteamOS or Desktop. Using standard 1/8" audio jack on ASUS P8Z77-V Motherboard. Motherboard Specs: Realtek ALC892 8-Channel Audio CODEC |
I haven't installed SteamOS yet, but ALC892 definitely works on Linux. (I've used it on my deskop using Arch Linux). Can anyone supply the log for: lspci -k | grep -i -A 2 audio Does anyone know if it's possible to install vanilla debian packages without changing the sources.list file? The pavucontrol is a utility to configure pulseaudio, you can (possibly) install it using the following command: sudo apt-get install pavucontrol Does the 'pavucontrol' program show any audio devices? If this pavucontrol doesn't show anything, you can try to run the alsamixer command. This program can be installed with: sudo apt-get install alsa-utils I think the problem is related to pulseaudio configuration |
I managed to solve this issue, for me the problem's were that 1.) All of my Nvidia HDMI devices were muted. To solve it I first installed alsa-utils via a deb package from http://packages.debian.org/wheezy/alsa-utils
Then un-muted my HDMI devices.
Press F6 to select the Nvidia card. Press "m" to unmute. Exit. To see what devices you have run:
The Nvidia section should look something like this: Determine which device outputs audio Create a probe mapping for the device that plays audio. Below are the Nvidia mappings for each device. Device 3=0x101 In my case it was device 7 (second device) so i used 0x102 Create this file.
To this add the following, replacing 0x102 with your device map.
Save the file and update the initramfs:
reboot. Note: This worked for me with a Gigabyte GTX 550 and Realtek 892 anboard audio. |
I resolved this issue similar to @jazz1138 I did a little research and it appears the issue is a known/documented bug in pulseaudio ftp://download.nvidia.com/XFree86/gpu-hdmi-audio-document/gpu-hdmi-audio.html#_issues_in_pulseaudio Enable Desktop via Big Picture Settings and then Exit > Return to Desktop. Then bring up a terminal and set your password if you haven't already,
Verify your the kernel drive sees your cards
If so then you can proceed
Create snd-hda-intel.conf if it isn't already there
Sound should be working. |
Broknbottle instructions work perfectly. Fixed my sound problem. Thank you. |
Ok so for some reason i have sound in the system(desktop mode/after following a combination of the tutorials a few posts up) but not in the client (steam client)and no i restarted and that didn't fix EDIT: ok so i Now i got audio in my steam client after doing a full reinstall /testing things and redoing the steps above |
@broknbottle your solution fixed my audio issues, at least mostly. Thank you. Now audio works through HDMI. Still can't seem to get any audio from the Realtek ALC892 on the motherboard. This works for now. |
@broknbottle Similar result to @carlzulauf Audio Works through HDMI only on the desktop but it does not work in steamOS. It also does not work through motherboard with ALC892 chipset. |
@irbigturtle at the shell prompt escalate to root with,
See if the steam user is part of the audio group
Also make sure this was done after making the changes
|
I followed all of the steps @broknbottle listed and I still do not see see the motherboard audio (ALC892). However when I do the following:
I can see the motherboard audio. However, when I restart the machine the motherbord audio disappears again. Any suggestions? |
@chrise524 Are you trying to use the onboard ALC892 audio and NVidia for video? My guide was for fixing audio when using NVidia HDMI out for Audo/Video.
|
@broknbottle It looks like audio is part of the steam group. I then did...
...and still don't have audio in SteamOS, but I do have audio in Desktop. To clarify:
I feel like it could be something as simple as a bad setting in the steam user, but i can't access it because SteamOS forces it's overlay (or whatever it's doing to prevent me from logging in as "steam". |
@irbigturtle The 'X' is not literal, if you look in that directory there should be files such as card1, card2, etc. The 'X' just signifies the number. Sorry about that
Just to clarify you are trying to get audio working over nvidia HDMI out, correct? |
@broknbottle Ahh yes, that makes sense! Yes, whether it is through HDMI or the motherboard, I'm just trying to get audio out of SteamOS. |
My final hurdle was that the default sound process (gnome?) was overwriting the pulse default sink config in /home/steam/.pulse on reboot. I have an Asus Xonar DG that I am using the digital output on to my speakers, but the HDMI of my Nvidia GPU was the default device, and the analog out of the Xonar was the default. I set the Xonar to be the first device indexed, then configured the Sound Control panel to the way I wanted it, eg that the Nvidia output was turned off, and the Xonar was set to digital stereo. I confirmed this the in pulse config file, and then did a chmod -w on only that file for both the steam and desktop users. There must be a bug that the pulse config is overwritten on reboot, because making it read only preserved the settings across reboots, and even into the SteamOS environment after I did the post install script. I hope this helps someone else. |
@broknbottle I was just retracing my footsteps and realized i had misspelt "options snd-hda-intel probe_mask=0xa,-1" in the config file! Sorry for giving you the run around. I just tried to re-do your original instructions and now I've lost my HDMI audio output on the desktop! it has been replaced by "dummy audio" and when i do....
It says there are no cards. Should I not have tried the instructions a second time or is there something else going on here? |
I believe this is a how it is meant to be at the moment, I saw a rep from valve saying that there is no audio in desktop mode. More importantly do you now have audio in Steam? |
@jazz1138 I do not have audio in steam. if that's true, then i'm curious as to how i achieved audio in desktop mode by not steam. |
@irbigturtle no worries, mine says dummy audio so that should be good. Does your steam client audio work now? The steam client/games runs under the user steam and audio will not work if another process is using it. If needed you can just remove that line and it should revert back. |
@broknbottle Ok I removed the line and tested. My audio device came back in desktop. So i added the line back and rebooted. Still no audio in SteamOS, and Dummy audio back in desktop. Seems like i'm on the right track, but i'm still missing audio. |
@irbigturtle if you have audio under desktop user, I would if it would work if you just killed the steam process that is running under steam user and started steam from desktop user. I would just do escalate to root and do a ps faux | grep steam and kill the pid with kill command. Then drop back down to desktop user and try running steam from command line. |
@irbigturtle are you sure you are using the correct mask for your system or are you just copying @broknbottle settings. In my setup I hear audio on card 1 device 7 using aplay so the mask is used to ignore all other devices except that one so that device is always selected by pulseaudio at boot. |
@jazz1138 I am just copying what he has into the config file, I am not sure I am using the correct mask. I just tried follow your instructions and found that ALL of my audio outputs produced sound....
So I tried both...
and
Neither worked in steamOS. |
@jazz1138 If I try running steam from the desktop user, doesn't that mean I would have to do this every time I wanted to use it? |
@irbigturtle I suggested it more so for testing. Trying to find some steady ground and figure out why one application is unable to output audio. You've made sure audio is enable in Steam client settings and volume is turned up? |
@tr37ion No sound in STeam at all, just the games and the desktop. |
They updated pulseaudio and all they did was to completely brake it, now pulseaudio won't even initialize, that's why you don't have sound at all. |
I tried XBMC. First I had audio, then suddenly the the audio was gone for actors voice. The music channel was still there. Then I rebootet and voice channel was back again. @tecnogaming Sounds like you know more?! Any way to initialize PA sound? Or just switch back to the settings of the last version? I currently have three different devices, all with ArchLinux, some have wired audio issues. Even with very old hardware were they never had any problems. Even switching users has different sound issues on the same system. :( |
Ok did a fresh custom install of the updated custom zip today on Vmware 10 - still no audio, However lspci is reporting an Ensonique card as the only device present. Is this correct ? The change logs for theupdate say sound should be working on both the desktop and bigscreen mode, Though it still should default to HDMI audio? which is how my pc is set up connected only via hdmi cable to hdmi tv. This is annoying as the upgrade gives the missing vmware x drivers, the previous version I could have sound and flash from the desktop but not flash from the big screen in ice weasel as it claims it needs flash installing. open to ideas. |
For those with the sound in desktop but not in steam probelm : a kind of hacky fix is this removes all your steam pulse sinks settings and copies your working pulse setup from the desktop to the steam account. i did this after getting frustrated with all the fixes giving me sound / taking away sound on the desktop and none working on the steam side. There are most likely more "right" ways to do this, but this fixed my sound. |
OK, I got sound working in VMware with one config file edit - edit /etc/pulse/system.pa and add "auth-anonymous=1" to the end of the line "load-module module-native-protocol-unix" then reboot. Wish I knew why auth was failing through, and why apparently it's fine on HDMI |
Okay, I reinstalled using an ISO that allowed me to select expert install and allowed me to pick other components to install. After the install, it reorted once during boot up "warning: pulseaudio per user sessons. warning" for half a second before contining on like normal. Now the command "cat /proc/asound/cards" works and output is the following;
and I also do not have "dummy output" any longer, it is all empty. I'm guessing this is progress? The rest of the outputs of this thread is: lspci -k | grep -i -A 2 audio
aplay -l
Trying to test play with device 0 (assuming that is the correct one) I get this;
cat /proc/asound/cardX gives me this now;
I followed the rest of broknbottle's instructions, but nothing has changed. I'll try jazz1138's post next. EDIT Alright changing my config file to any of the following; options snd-hda-intel probe_mask=0x101 Gives me DUmmy Output and makes all the outputs above that worked, give back the previous errors. I'm going to try and revert back so that the outputs work again. |
I think I've solved the riddle, finally. Here's what I did. Sound working in both desktop and in steam, settings do not reset when reboot, working perfectly: First, install pulse audio utils so we can find out what sound card you want to use: We also need to install alsa-utils for afterwards log into desktop activities>applications>terminal cd ~/Downloads pactl list sinks | less look for a line in your sinks list that says something like "Name: alsa_output.pci-0000_00_05.0.analog-stereo" - this is what card you want for on-board audio, if you're looking for an HDMI device look for whichever hdmi device you want, it will end in hdmi-stereo and should not be the one already listed as default back in terminal: change the last two lines (your device may be different. it's default set to the hdmi device on your video card) to correspond with your sound card sink (the line with "Name: blah blah blah" that we just looked up in our sinks list). The original lines will look something like this and correspond with hdmi: so you would change those original lines in system.pa listed above to the following (THIS IS AN EXAMPLE, YOU MUST REPLACE pci-0000_00_05.0 WITH YOUR OWN): set-card-profile alsa_card.pci-0000_00_05.0 output:analog-stereo now lets do some cleanup in case of some lingering attempts at previous fixes: sudo deluser steam audio this will make sure both the steam and desktop user have access to the audio device (we remove both of them first in case one is already there), additionally it removes any settings pulse audio has previously generated for each user individually, and spawns new configs based off the system.pa config additionally, check /etc/lightdm/lightdm.conf and make sure steamos autologin is set to steam as the user. this will make it properly log in as only steam user in steamOS sudo reboot the system should bring you to the Steam OS login, go ahead and log in. Now go to exit to desktop. it will show your sound as muted,but the correct sound card should be working. Now we need to unmute it with alsa mixer. back in terminal: your sound should now work both in steam and in desktop. hurray! |
Hello and thanks for posting your solution here for us. :) However, I cannot get through the command "pactl list sinks | less". It gives me an failure error.
And I also do not have the following in my file;
|
make sure you are logged in as desktop when you use pactl, also try sudo pactl list sinks | less. for those lines be sure you are editing /etc/pulse/system.pa and not default.pa. if those lines don't exist add them and change the device accordingly. i did this off a fresh clean SteamOS install using the SteamOS installer (not the sysrestore file) |
both bring you to the same desktop. either will work. basically the steamOS is setup as two users, steam and desktop. the steam user -only- uses steam, and when you "Exit to Desktop" it switches users to the desktop user |
Ah thank you, but for some reason it only worked when logging into to GNOME with "desktop" and "desktop*" However, I get a weird output with the "pactl list sinks | less" command now, no errors or anything. I can only find an output, no card device like your example. I saw your thread on Steam and posted there before I knew you posted here, but here it is; Sink #0 Base Volume: 100% However, assuming "alsa_output.pci-0000_00_05.0.analog-stereo" is my output, I can't find my card device. Is it something different or am I missing something? |
@illrita so you would use |
Thank you Blackhive! I now have audio! Only the desktop user (and only through intial log in after turning off autologin via lightdm) has sound in both steam and desktop thanks to the edits. However, logging into "SteamOS", the default, only sound emits from steam. |
@Ilrita this will make sure both the steam and desktop user have access to the audio device (we remove both of them first in case one is already there), additionally it removes any settings pulse audio has previously generated for each user individually, and spawns new configs based off the system.pa config additionally, check /etc/lightdm/lightdm.conf and make sure steamos autologin is set to steam as the user. this will make it properly log in as only steam user in steamOS |
RIGHT. First, ensure that the "steam" and "desktop" users are in the group "pulse-access". Use "adduser steam pulse-access" and "adduser desktop pulse-access" Second, remove or comment the set-card-profile and set-default-sink lines at the bottom of /etc/pulse/system.pa which force a specific sound card. The first one is the major one, for some people who upgraded from an older release - membership in pulse-access is needed for system-mode PulseAudio. |
After fresh install and trying to avoid installing alsa-utils by depending on pulseaudio-utils (not from .deb but from desktop add/remove software app - set su passwd to make this work) and system tools already installed never had any gnome volume applet or sound hardware detected in sound settings and all of the above information appears to be unapplicable or ineffective until the application of @directhex's advice. Simply adding desktop and steam users to pulse-access group and commenting (not editing; as i had been trying to do in order to force the device THAT IS BEING USED) the system.pa got gnome volume applet and sound working in desktop after unmuting the NOW available audio devices which is the start to getting sound working in steam. Can not help noticing only half of the lucky three hundred are bothering to give feedback in the 300 group and all the help they get from valve employees is being hidden from public. There appears to be a huge decrease in people posting their feedback here also. More transparency Valve please and less QOTM #74 (comment) especially taking into account what is discussed in that thread and here as well and what is posted in 300 beta group proving many people do not have the FORCED HDMI output in use when using HDMI that is if HDMI is even being used at all. This issue will be greatly affecting feedback due to people installing steam client in desktop or just install windows. Surely more people using Steam@SteamOS is the aim of the game of having beta!? - which they won't if they have no audio /rant
|
I was so excited that these helpful hints got my sound working that I decided to post here! Which normally I'd never do! My solution was actually a combination of @blackhive 's and @jazz1138 's My problem was HDMI audio from an NVIDIA geforce 560 not getting output. Turns out I had to have both pulseaudio-utils and alsa-utils installed from Blackhive's instructions and do his configuration steps but I also had to set the probe_mask=0x102 for my audio device from jazz1138's (and do the update-initiramfs -u) Thanks guys! |
I've try everything in this thread without success at best I got sound in desktop, I have an Alienware X51 R2 with GTX645 So far I only got a workaround: From desktop with pavucontrol I can now select my playback device for "HDA NVidia Digital Stereo (HDMI)" I finally ear a sound, return to steam and sound work now. This only last for the current session however, so only a workaround like I said. I've try setting making it permanent in /etc/pulse/default.pa with those line: but it didn't work. It's just me or it look like that config file is totally ignored somehow... |
Ok finaly got it working. I just figured that pulse audio was running in system mode (weird since it's not recommended anyway) I was using pavucontrol to change my output device to the right one and sound was working but after reboot it was always changing back. In system.pa the settings "load-module module-default-device-restore" was there so it shall remember my selection. At the end I had those line (don't know if it's there by default or I put it myself in my various attempts to fix audio): I removed then and audio was still working after restart, they where overiding the restore option. Hope this help some. EDIT: Worth mentioning that from start I had always my audio cards listed in /proc/asound/cards |
@jazz1138, I do not have NVIDIA audio but following your instructions, I found that the correct card is 1 and the correct device is 0. What is the correct probe_mask in this instance? |
@zoof I no longer configure the sound like in my previous post. Currently I set these two settings in /usr/share/alsa/alsa.conf defaults.pcm.card 0 Then set "set-card-profile 0 output:hdmi-stereo" to the end of /etc/pulseaudio/system.pa as the BPM GUI don't hold after a reboot. So I'm guessing you would set card to 1. |
Isn't this fixed now? Please close if so |
Still broken, at least with Steam 1. |
As this is a quite outdated image of SteamOS, due to the new SteamOS 3.x.x being based on Arch...I think this would be fine to close |
I have everything working except audio. Doesn't work in Steam, doesn't work in GNOME, doesn't work in games (which otherwise work).
Hardware description:
Navigating to
System Settings
>Sound
in gnome shows zero devices.lspci -k
output shows both the Azalia audio on the motherboard and the HDMI audio on the GTS 450 are recognized as audio device. All audio devices are using kernel driversnd_hda_intel
.I have tried getting audio output through HDMI, SPDIF, and 3.5mm stereo. Nothing on any.
The text was updated successfully, but these errors were encountered: