-
Notifications
You must be signed in to change notification settings - Fork 1
[regression] disconnect/connect HDMI cable leads to no sound and some kind of wayfire reload #205
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
Comments
Try using the Advanced Options menu in raspi-config to switch the audio system to pulseaudio instead of pipewire - does that make a difference? |
I could reproduce this. Switching to pulseaudio does not have the issue (so may be a temporary workaround). Looks like wireplumber (and then pipewire) is "stopped by signal" (not sure if this a crash, or deliberate shutdown based on the hdmi audio device disappearing).
|
yes, when I switch to pulseaudio there is no such issue, but I need better control on sound card sample rate from user app to avoid unwanted resampling. In pipewire I just put all supported sample rate into /usr/share/pipewire/pipewire.conf as With pulseaudio I don't know how to achieve that. The only way that I find is to setup hardcoded sample rate in /etc/pulse/daemon.conf. But since I'm using different sample rate, it requires to reconfigure pulseaudio each time when I need to change sample rate in app... Could you please fix pipewire service? PS: also I found that pulseaudio has higher max sound volume, so it seems that something is wrong with sound volume when using pipeware service... |
We're trying to - the problem is unfortunately not trivial. |
I have a very similar problem with quite the same logs. SYSTEMS INFO: Raspberry PI 4 Steps to reproduce the behaviour LOGS: 2024-02-14T14:13:51.581663+01:00 rpi sh[4488]: Warning: ../src/main.c: 319: Selected output HDMI-A-1 went away After i switched to: and when Alexa activated itself the logs were: 2024-02-19T21:48:45.120582+01:00 rpi sh[929]: Warning: ../src/main.c: 319: Selected output HDMI-A-1 went away I noticed that, even if I switched to Pulse Audio, the pipewire service is enabled and active: $ systemctl list-units --user | grep wire |
Uh oh!
There was an error while loading. Please reload this page.
Steps to reproduce:
Expected result: music should continue play even with no display and after reconnecting HDMI all should works as before, the music play should continue
Actual result: the sound immediately stops when HDMI cable is disconnected and didn't restored even after HDMI cable reconnected again. The apps which playing sounds cannot play sound anymore until app restart
In addition there some weird update of taskbar and background image, probably wayfire restart or something like that...
The sound works after reconnecting HDMI cable, but only for newly opened apps, for apps which continue to run it stops with no way to resume and requires restart the application in order to fix no sound issue.
The same issue with apps which playing sound through OpenAL.
Previously there was no such issue, all worked ok. This is regression issue. It starts to happens with some apt update, but I cannot say exactly how long ago it starts to happens, probably about week or one-two month ago...
Probably it caused with some fix for app close & logout issue which happened sometimes during HDMI cable reconnect.
The text was updated successfully, but these errors were encountered: