SteamOS icon indicating copy to clipboard operation
SteamOS copied to clipboard

Loud audio crackles and static with HDMI

Open sircrowbar opened this issue 12 years ago • 47 comments

I've installed SteamOS on a new PC(ASRock FM2A88X-ITX+ with a AMD A10-7850K Kaveri APU) and I'm having pretty good success with it so far. The only major issue that I'm having has to do with static and crackling heard anytime sound is playing anywhere. Using a standard audio jack works just fine, but the HDMI audio experience is ruined. I suspect that this is a PulseAudio issue itself, but the standard fixes I've found for it do not work.

Modifying /etc/pulse/default.pa's load-module module-udev-detect line to include tsched=0 did nothing for it.

No differences in changing the resampling method in daemon.conf either. I've tried to reinstall PulseAudio and experimented with the AMD Beta drivers and it seems like the issue was not resolved with either. I have restored back to the standard SteamOS with beta repos.

For reference, the problem are similar to the ones mentioned in this Bug Report: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1188406. I understand that this one is in particular dealing with Ubuntu, but it highlights the same issues that I am experiencing under SteamOS.

sircrowbar avatar Jan 28 '14 18:01 sircrowbar

I have the exact same hardware, and the exact same problem. Analog audio is fine, but HDMI audio is cracking to the point of being unusable, whether or not I'm in big picture mode.

Unlike the Ubuntu bug report, I saw the same problem when trying to use VLC from desktop mode.

Thanks!

iroll avatar Feb 08 '14 01:02 iroll

Yeah, I can confirm this as well with VLC. It seems to be a general problem throughout the system, actually, though it is definitely most apparently when using a media application like VLC or Steam itself.

sircrowbar avatar Feb 17 '14 15:02 sircrowbar

I have the same mother board, but an A10-7700K CPU. I get the same issue over hdmi, and while analogue audio works fine for a while after, it to develops crackling after a while.

Nocturnal42 avatar Feb 26 '14 01:02 Nocturnal42

I also have an A10-7700K CPU on a GA-F2A88XN-WIFI motherboard and am experiencing the same issues with hdmi sound. Interestingly it doesnt always crackle as e.g. when streaming from my windows box the sound is fine. Also when playing Portal 2 the sound is mostly fine whereas in BigPictureMode and game like SeriousSam3 or SyderArcade the sound is pretty horrible.

200Puls avatar Mar 11 '14 12:03 200Puls

I've spent hours streaming, and I still get crackle (HDMI audio is unusable, analogue is managable). Certain sounds are more likely to trigger crackling (and once triggered it happens with previously fine sounds), such as using instinct in Tomb Raider.

Portal 2 won't launch for me, so I can't compare with your experience there until I get that sorted.

Nocturnal42 avatar Mar 12 '14 04:03 Nocturnal42

I have this problem too. Same setup as OP(ASRock FM2A88X-ITX+ with a AMD A10-7850K Kaveri APU)

ghost avatar Apr 05 '14 14:04 ghost

For those using AMD graphics and HDMI, does setting something like: default-fragment-size-msec = 125 in /etc/pulse/daemon.conf improve the audio quality?

NOTE: I am not an AMD graphics user, and this hint is scrapped from an unreliable source.

Tele42 avatar Apr 13 '14 13:04 Tele42

Can't tell. Something killed my steamos install (not this), and I can't get a new install to work either.

Nocturnal42 avatar Apr 13 '14 18:04 Nocturnal42

Seems Im in the excact same situation as you Nocturnal42. Had sound problem, downloaded newest version of SteamOS, installed and now I just get a black screen when I start steamos. Guess ill wait for the next version of the installer.

ghost avatar Apr 14 '14 13:04 ghost

Well I seem to have got SteamOS running again (no idea how, perhaps they coincidentally pushed an update while I was fiddling)

Changing the default_fragment_size_msec seems to have little to no effect on the audio. I did come across this article which details how to calculate suitable values. I'll give it a try sometime in the next few days.

http://www.techrepublic.com/blog/linux-and-open-source/pulseaudio-an-achilles-heel-that-needs-repair/#.

What I did notice was that once when I ctrl-alt-f2 to get a shell, the steam audio continued to play, but without the static. returning to steam brought the static back.

Nocturnal42 avatar May 06 '14 16:05 Nocturnal42

Is everyone affected by this issue running on an AMD chip? Are they all APUs or does the issue happen with their discrete graphics as well?

Plagman avatar May 06 '14 23:05 Plagman

I believe all of the people in this thread (myself included) are running AMD APUs.

However, it is my understanding that HDMI audio crackle is a common problem and usually solved by tinkering with pulseaudio settings. With my analog audio working, I haven't felt like diving in to try and fix the HDMI. If you have any specific ideas, let me know and I'll be happy to test them.

On Tue, May 6, 2014 at 4:16 PM, Pierre-Loup A. Griffais < [email protected]> wrote:

Is everyone affected by this issue running on an AMD chip? Are they all APUs or does the issue happen with their discrete graphics as well?

— Reply to this email directly or view it on GitHubhttps://github.com/ValveSoftware/SteamOS/issues/144#issuecomment-42371706 .

iroll avatar May 06 '14 23:05 iroll

For me it's an APU (kaveri) too. I recently reinstalled SteamOS and it is worse than ever. On my old install I had updgraded Pulse to version 4 and tweaked the settings a bit which let me at least use Streaming and play some games like Portal 2. But now with the stock SteamOS settings it is basically unussable...

200Puls avatar May 07 '14 04:05 200Puls

Hmm, well, that's disconcerting. It sounds like its a common enough problem with Pulse to mean that a fix could happen in the near future.

I've installed Win 8 on the Kaveri APU PC in the mean time and I haven't had any issues with it (Mostly for a sanity check with the new hardware at the time.) but I'm still keeping tabs. I may try to reinstall SteamOS soon and experiment with it some more. If I come up with anything, I'll post it here!

sircrowbar avatar May 07 '14 05:05 sircrowbar

I have this as well. FX 8350 and R9 290. I have only tried audio over HDMI -> Receiver -> Projector.

erikbadman avatar May 07 '14 12:05 erikbadman

I have this as well with an APU: A10-7850K. Works fine in Windows 8.1. HDMI => Receiver => Any external HDMI destination.

nord73 avatar May 20 '14 12:05 nord73

I tried installing Ubuntu 14.04 Desktop and installing Steam on that. Same problem. Then I tried modifying /etc/pulse/default.pa. Added "tsched=0" to the "load-module module-udev-detect" line. That worked. Fixed the sound problem.

I tried installing SteamOS again and did that same modification. But didnt work. Anyone know what version of Pulse, SteamOS and Ubuntu 14.04 are using?

ghost avatar Jun 07 '14 19:06 ghost

@bakertt The difference between steamos pulseaudio (pulseaudio_2.0-6.1+steamos9+bsos1) and ubuntu 14.04 pulseaudio (pulseaudio 1:4.0-0ubuntu11) is the difference between working sound and not for you.

Every linux distribution has a database of packages that come with that distro. i.e. http://repo.steampowered.com/steamos/pool/main/p/pulseaudio/ and http://www.ubuntuupdates.org/package/core/trusty/main/base/pulseaudio

Ubuntu 14.04 uses version 4.0 pulseaudio and SteamOS uses 2.0 pulseaudio. The most recent available stable release of pulseaudio is 5.0. http://www.freedesktop.org/wiki/Software/PulseAudio/

Some more reading: http://en.wikipedia.org/wiki/PulseAudio http://steamcommunity.com/groups/steamuniverse/discussions/1/648814843807695993/#c648816743259744181 If you do not have time to research you could have just http://askubuntu.com/questions/21521/what-is-the-command-to-know-my-pulseaudio-version

Balderick avatar Jun 11 '14 07:06 Balderick

Thanks Balderick. Great Info.

ghost avatar Jun 11 '14 08:06 ghost

Same issue on an Intel NUC, setting the audio mode to 5.1 screws up the audio quality big time. Also the default upscaling to 5.1 is stupid, I do not want to hear the content for a center speaker on the back left and right.

jesmiatka avatar Jun 25 '14 06:06 jesmiatka