Skip to content
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

Since v41, HDMI audio stops working after reboot. #13354

Open
imtav opened this issue Jan 28, 2025 · 5 comments
Open

Since v41, HDMI audio stops working after reboot. #13354

imtav opened this issue Jan 28, 2025 · 5 comments

Comments

@imtav
Copy link

imtav commented Jan 28, 2025

Batocera build version

41 2025/01/06 01:50

Your architecture

Beelink Ser5 AMD x86_64

Your Graphic Processor Unit(s) (GPU)

Ryzen 5 5500U

Issue description

Audio was working fine in previous version after manually selecting Audio Profile and Audio Output. After updating to v41, I can select a Profile and Output to get audio working through HDMI, but upon reboot, it no longer works and the options have changed in the available output list. I need to reboot batocera a second time, and then the appropriate option returns in the Output list. On selection, however, it reverts volume to 40, when it was originally set to 100.

When I type in batocera-audio list, the Output options which are listed are:
alsa_output.pci-0000_04_00.1.HiFi__HDMI4__sink Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 4 Output
alsa_output.pci-0000_04_00.1.HiFi__HDMI3__sink Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 3 Output
alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 2 Output (this one works)
alsa_output.pci-0000_04_00.1.HiFi__HDMI1__sink Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 1 Output

Upon reboot, and executing batocera-audio list command, these devices are listed instead:
alsa_output.pci-0000_04_00.1.pro-output-3 Renoir Radeon High Definition Audio Controller Pro
alsa_output.pci-0000_04_00.1.pro-output-7 Renoir Radeon High Definition Audio Controller Pro 7
alsa_output.pci-0000_04_00.1.pro-output-8 Renoir Radeon High Definition Audio Controller Pro 8
alsa_output.pci-0000_04_00.1.pro-output-9 Renoir Radeon High Definition Audio Controller Pro 9
(however, in the Audio Output menu for ES, it shows my choice as: alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink)

At this point, I am not able to pick an output option which works. If I select something other than alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink, and then reboot once again, the original 4 options return and I can choose a working output.

This issue did not exist in versions 37 through 40.

Detailed reproduction steps

Beelink SER5, Radeon 5 5500U had Batocera v40 installed and working without issue.
Updated batocera on Beelink SER5 from v40 to v41.
Manually configure Audio Output to: alsa_output.pci-0000_04_00.1.HiFi__HDMI2__sink Renoir Radeon High Definition Audio Controller HDMI / DisplayPort 2 Output.
Audio works fine until reboot.
After reboot, the working audio output option no longer exists in batocera-audio list. Select different (non-working option).
Reboot again, manually select the previously working audio option.
Audio again works until reboot. Rinse and repeat.

Details of any attempts to fix this yourself

No response

Details of any modifications you have made to Batocera.

curl -L dark.batocera.pro | bash

Logs and data

batocera-support-20250128104548.tar.gz

@tribune-lab
Copy link

Hello @imtav

I have exactly the same Problem on my Beelink SER5 5500U !
Weired Audio Devices appear in Devices List. I also can select the proper Device and hear the Background Music etc. but when i shutdown and start the SER5 again, i have again no audio.
If i then start Kodi and exit it, then i have audio again!?
But i have noticed, that i can bypass the audio problems, when i select the original splash video/audio at boot time!
Then every time i reboot or shutdown and boot again, i have audio!

best regards
tribune

@chrussu77
Copy link

Dear both,
I do also have the same issue with Ryzen 5700 mini PC. Yesterday I updated to v41 and after reboot there IS No audio output anymore. Tried all available audioprofile options without success. Attached the settings which worked fine before update.

Any hint very welcome.
Chrussu77

Image

@chrussu77
Copy link

PS.: the batocera boot sequence is much shorter than before update. There is no animation anymore. Only Batocera with the red bar and then immediately the GUI appears is that normal with v41?
To me it looks ike that some init. processes are skipped during booting.

@chrussu77
Copy link

Now I have updated to v42 Beta but still no audio. Tried all available audio output and audioprofile options.

Please help

@ifben
Copy link

ifben commented Feb 9, 2025

Hello, I have similar hardware to @imtav and have had similar issues. I was able to fix this by disabling pulseaudio's automatic device switching. Go to /etc/pulse/ and open default.pa in an editor. Find load-module module-switch-on-port-available and comment it out with a #. After doing that, my audio output settings persist after reboot. Hope it works for others!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants