chimeraos icon indicating copy to clipboard operation
chimeraos copied to clipboard

Audio issue with HDMI out

Open sabatmonk opened this issue 2 years ago • 29 comments

I have an AMD r580 and there is no audio on hdmi out. If i go to desktop mode, it works, even in big picture. But as soon as i either reboot or select game mode, the audio stop

sabatmonk avatar Feb 04 '23 21:02 sabatmonk

What doest the Audio tab in Settings shows?

Samsagax avatar Feb 07 '23 16:02 Samsagax

Output device Ellesmere hdmi audio [radeon RX 470/480/570/580/590] slider bar full blast, no input device detected, UI sound Enabled

in Desktop, i have the same settings, but it works. Is there any driver that is loaded in game mode but not desktop (or vice versa)?

sabatmonk avatar Feb 12 '23 17:02 sabatmonk

Additional info:

aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pipewire
    PipeWire Sound Server
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PipeWire Media Server)
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, DENON-AVR
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
    HDA ATI HDMI, HDMI 2
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 3
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=4
    HDA ATI HDMI, HDMI 4
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=5
    HDA ATI HDMI, HDMI 5
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=6
    HDA ATI HDMI, HDMI 6
    HDMI Audio Output
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output

and [gamer@chimeraos ~]$ speaker-test -Dhdmi:CARD=HDMI -c 6 produce pink noise on the proper channels.

sabatmonk avatar Feb 12 '23 18:02 sabatmonk

In which kernel are you having those issues? Can you test latest testing image and report back if it is fixed? IIRC there was some kernel bugs on AMD cards through HDMI that was fixed in the recent kernel releases.

Samsagax avatar Feb 12 '23 20:02 Samsagax

6.1.1.1-arch-1. I've reinstalled it 4 days ago from scratch so I'm at the latest release

sabatmonk avatar Feb 14 '23 00:02 sabatmonk

6.1.1.1-arch-1. I've reinstalled it 4 days ago from scratch so I'm at the latest release

To test the latest unstable branch you need to manually switch from the stable channel which hasn't had an update in over a month. We're trying to get v39 out as soon as possible. To test all the latest changes you'll need to switch to the unstable branch using the terminal. Command sudo frzr-deploy chimeraos/chimeraos:unstable

In future releases it may be possible for us to add an option in the game mode to make the terminal no longer necessary, but that isn't set in stone

ruineka avatar Feb 14 '23 01:02 ruineka

ok, im trying it now, i'll see if it works, anything broken to watch for in unstable ATM?

sabatmonk avatar Feb 14 '23 01:02 sabatmonk

ok, im trying it now, i'll see if it works, anything broken to watch for in unstable ATM?

It should be rather stable we're really close to having the next stable release.

ruineka avatar Feb 14 '23 01:02 ruineka

image

Still no luck, i think it might be related to the fact that alsamixer is reporting s/pdif locked at 0 for the HDMI output. i cannot change the level

sabatmonk avatar Feb 14 '23 01:02 sabatmonk

same behavior as before, in game mode, i have no sound, even when choosing the hdmi output. As soon as i go to desktop mode, all is working. if i go to big picture mode in desktop mode, its the same UI as game mode, but i have sound. Also, i have an A/V receiver with an app that allow me to see what signal it is receiving, in desktop mode, 5.1 is sent to the receiver but in game mode, it alternate between 5.1 and nothing, but there is never any sound, UI and game

sabatmonk avatar Feb 14 '23 01:02 sabatmonk

is there any difference between game mode and and gamepadui running from desktop?

sabatmonk avatar Feb 14 '23 01:02 sabatmonk

Hello I have issue what I change my sound device in settings, always when I change device sound is crashing. I remember issue on steam-group for change shortcut for display device, any have shortcut for sound device properly work? thanks:)

darkmasa avatar Feb 14 '23 13:02 darkmasa

image

Still no luck, i think it might be related to the fact that alsamixer is reporting s/pdif locked at 0 for the HDMI output. i cannot change the level

Same issue for my nvidia gtx 1080.

So after some tinkering which resulted chimera os to somehow reset itself. I think I will uninstall chimera os and install some plain linux just so fixing issues is simpler.

rufreakde avatar Feb 19 '23 13:02 rufreakde

could it be a pipewire issue?


Feb 25 13:19:34 chimeraos pipewire[680]: mod.rt: Can't find org.freedesktop.portal.Desktop. Is xdg-desktop-portal running?
Feb 25 13:19:34 chimeraos pipewire[680]: mod.rt: found session bus but no portal

This is outside my area of expertise in linux so i do not know if it could be that. Given that it seems limited in cases, i assume it is not though, since it would not be limited to my config. I disabled the integrated graphic, in case it would change something but nothing.

Is desktop mode and native steamOS mode using different sound hanfler (pipewire vs pulseaudio or alsa)? I'm grasping at straws here XD

sabatmonk avatar Feb 25 '23 18:02 sabatmonk

Ok. Can you confirm you are in the latest version (v39). And can you go to the Settings page in the Steam client and check which device is selected for output?

Samsagax avatar Feb 28 '23 12:02 Samsagax

I have the same issue as the OP.

  • Latest Chimera OS (installed like today, stable branch, updated)
  • selected Ellesmere hdmi audio [radeon RX 470/480/570/580/590]
  • Works in desktop mode

Also have an AMD RX580

choss avatar Feb 28 '23 18:02 choss

I noticed, when I use the first display port (via DP -> HDMI adapter) the sound works

choss avatar Feb 28 '23 22:02 choss

MHhh... seems like you are hit with this bug: https://bugzilla.kernel.org/show_bug.cgi?id=216836 Version 6.2 would fix it. But I thought it was backported to our main one.

Samsagax avatar Mar 02 '23 11:03 Samsagax

My second sound device is works with only desktop mode but cannot change display device on new "steam deck" mode (old shortcut with "win" key not worked) ofc. I have steamlink app on second tv, maybe I disable sounds on first device when new update my first screen blinks and sometimes only mouse works

darkmasa avatar Mar 02 '23 19:03 darkmasa

so we basically have to wait untill Valve release a new steamOS version with kernel 6.2?

sabatmonk avatar Mar 03 '23 21:03 sabatmonk

so we basically have to wait untill Valve release a new steamOS version with kernel 6.2? or can we patch the kernel? because if we wait for the next LTS, it's gonna be a while...

sabatmonk avatar Mar 03 '23 21:03 sabatmonk

so we basically have to wait untill Valve release a new steamOS version with kernel 6.2? or can we patch the kernel? because if we wait for the next LTS, it's gonna be a while...

ChimeraOS doesn't use any of Valves repos, instead we use the official arch linux ones. 6.2 is out now, but it brought unique issues for us that we are having to deal with at the moment. I had 6.2 in the latest unstable, but it made the system not bootable.

Once we sort all the issues out ChimeraOS will likely have the 6.2 kernel much sooner than Valve's official SteamOS.

ruineka avatar Mar 03 '23 22:03 ruineka

that is great news.

Thanks

sabatmonk avatar Mar 04 '23 22:03 sabatmonk

Same issue. Is there an available fix at this point? Using an RX480

Edit: NVM, was able to sort it out with Steam Settings. Thanks for your work.

moocow1452 avatar Apr 08 '23 21:04 moocow1452

Seeing this also on RX580 today.

@moocow1452 could you elaborate on your workaround? The issue I'm seeing is no audio in game mode regardless of which audio device is selected in Steam settings.

cgarst avatar Jun 25 '23 00:06 cgarst

I was able to set HDMI out within the steam options. This was a while back, so an update may have lost that functionality.

moocow1452 avatar Jul 01 '23 06:07 moocow1452

Sadly still broken in 43 with the 6.3.9-chimeraos-1 kernel.

cgarst avatar Jul 09 '23 03:07 cgarst

Just did a fresh install. No audio when using the sound system. If I install directly to the TV, I have sound, but is sound like a robot having a seizure

sabatmonk avatar Jul 16 '23 21:07 sabatmonk

I had this same problem with an Intel NUC with AMD GPU (NUC8i3CYSM). I also had this problem with HoloISO. The most recent release of HoloISO fixed it, though. The release notes had an entry "Forcefully install holo-wireplumber to make HDMI audio outputs not kill themselves because they wanted so", which I assume was the fix.

shaunmcdade avatar Aug 27 '23 19:08 shaunmcdade