-
-
Notifications
You must be signed in to change notification settings - Fork 270
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 sound, randomly, viewing video with FF , Chrome, VLC #1789
Comments
This reminds of a bug whose source is still a mystery https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1733. The next time this happens try to see if enabling and disabling the global bypass button, the one next to the presets menu, makes the sound come back. Or if disabling and enabling effects for the streams in the corresponding EasyEffects checkbox makes any difference. If one of these things work it is probably the same situation as the one in the issue I have opened in the PipeWire's page.
Executing |
pipewire 0.3.56 Ok, I will try your solution and I will report the result. Thanks |
The problem has just occured with VLC. I get again the sound by clicking twice the "bypass" button. |
Ok. The next time this happens run |
Exactly what happens. With FF I play a video. |
I would just like to mention that this / https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/1733 is also happening for me, |
That is one of the main problems with this bug. It is too random and as a result hard to debug. I think that just like https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/2617 we are facing some kind of bug in PipeWire. As far as PipeWire's API is concerned I do not see what else I could do different in order to avoid these 2 bugs. |
Whenever this "no sound" bug happens it is important to run |
(left channel is silent) |
Worse case: left channel is somehow random noise, right channel is good. |
The pw-dot output is totally fine. Just like I have seen in the last months when this problem happens. I will need some time to take a good look at the pw-dump file. Such a frustrating bug... According to PipeWire's own tool the links are there and in the active state. There should be audio but somehow there isn't. |
New phenomenon. during a skype video talk suddenly no more mic. playing with "by pass" button does not solve the problem. I recalled my contact then again after a while no more mic. more info : the mic is dynamically shared between the host and a qemu guest. I never get any problem till this day using mic with Skype. |
And again the output is totally fine. The filters are loaded and the links between them are in the active state... I wonder what is happening inside PipeWire under the hoods. If the links are active they are literally sending silent audio buffers to the filters. It doesn't make any sense. |
More info about mic : I get an error message from Skype saying there is a problem with the mic and suggesting to restart the PC. |
I get the problem with VLC. Playing with "by pass" button does not solve the problem. I had to relaunch VLC to get again sound. |
I wonder if PipeWire |
I'll report back after statistically-significant time frame. |
Just had the "left channel is somehow random noise, right channel is good." case again. So nothing changed basically. |
I am having a somewhat similar issue; I didn't want to create a new issue in case this is the same bug. |
If this is easy to reproduce you are probably seeing a different kind of problem. The bug in this issue is so random that it never happens when I need it to happen. |
After having a problem with the mic (see my previous comment 19 days before.) in EE settings, I disabled the input stream process. |
It is the only explanation I can think of. In the issue I opened at the PipeWire's page I asked if some kind of special procedure was needed when creating/destroying links based on when the players streams enter/exit the playing state. The answer was that things should work out of the box. No delays or special procedures required. So as far as I can see I am doing nothing wrong. |
Still happening with pipewire 0.3.59, wireplumber 0.4.11, easyeffects 6.3.0. |
I had the same problem and was using wireplumber. I tried to switch to pipewire-media-session, the problem still happened. The method i used to test was playing a video with Freetube (should be the same with firefox) and have pavucontrol opened on the side to see when the output of the app disappear and when it disappears unpause the video. It seems like the microphone input works fine while this issue is happening, it appears to be only happening on the ouputs. Replacing easyeffects with the Flatpak seems to have fixed the issue. |
So now what is the difference between the flatpack version and the openSUSE Tumbleweed version for example ? |
The flatpak version is using it's own dependencies and not the system ones. I'm surprised to have this issue because i'm on Arch Linux like @wwmm and a friend a mine. Both of them doesn't seem to have the issue. |
It's nos sufficient to say this. The question is where is the bug. For example, openSUSE okular get a bug and not the flatpack version supplied by KDE team. |
This lack of sound is super random and hard to reproduce. I still haven't found a way to make it happen when I want. It is always the same thing. After several hours without issue out of nowhere there is no sound after starting a new stream. I think that of all the software bugs I have ever seen in my life this one is the hardest to figure out. I have absolutely no idea about why it is even happening. |
Yeah sorry about that, i actually don't know what versions of packages it's using. I don't think it really matters because i actually encountered the same issue on the Flatpak version.
Agreed 100%, this is really annoying and hard to reproduce. Like you said, sometimes it will not happen at all for hours and sometimes it will happen every time you pause a stream. I don't know if it's related, it seems to appear when i had the issue happening every time i did a quick journalctl command to check what's happening. This is the output for
This is for
|
Alright, i've been running easyeffects with this command: Here's the last few lines:
When the issue happened, no new messages appeared. Only when the stream i paused was paused long enough to be removed. Started the stream again and it was working. I was thinking it might be related on how easyeffects removes streams references or something? I also ran the same command without |
WirePlumber 0.4.13 released
|
Certainly possible, but I can reliably prevent all issues by simply not launching EE. So it appears to be something about how they interact. |
There isn't much to be done. We just load the filters and link them on demand based on whether there are audio players active or not. Once the links are made everything is done by pipewire. We do not even have a way to pause the pipeline for example. It is all handled internally by pipewire. Compared to not using easyeffects the main difference is that the audio player is linked to a null-sink that we create using a pipewire module. So again pipewire's code. |
"No audio in one of the channels" is still happening with
Will get the debug logs next time ithappens... |
So as suspected by one of PipeWire developers the wireplumber patch is fixing another problem. That is unfortunate but it makes some sense. I think that in the wireplumber issue the player was not being liked to the sink. This is not what happens here. All the links are made and are active. But somehow there is no sound. |
Observation: this seems to reliable happen when there is an audio playback (a chrome tab with youtube), |
As usual all the links are there and according to pw-dot in the active state. Nothing seems to have changed =/. |
It's more like 10s for me. Pause video, wait maybe 10-15s until the stream disappears from the EE outputs tab, resume video: video's frozen again and the YT buffering animation starts playing. The stream in EE comes up inactive and re-enabling it makes the video run again. |
I think i haven't encountered this issue in last few weeks; |
Another month flew by. No new occurrences. |
I also haven't seen it for a long time. But I will keep monitoring it for more time. |
So the bug is just harder to reproduce on some setups. I guess things are getting better but PipeWire definitely still has some weird link management problem. |
I can still reproduce this (if what happened to me is indeed this issue). |
I think we can close this issue. Similar problems probably have a different origin. The corresponding issue at PipeWire's page have also been closed. |
@lilydjwg : are you sure it's the same issue and that you have a fixed EasyEffects version? Please note that this almost exclusively and most obviously affects the right channel, because it was processed later. If you always lose all channels, that may be a different issue and not even related to EasyEffects at all (or EE could only be acting as the trigger due to extra processing and possibly latency). |
FWIW: I haven't had this/my issue in a while now. |
@pinkflames oh, I lost both channels so that should be another issue, and recently I'm not paying a close eye to EE's issues but instead try to restart EE, reconnect the speaker, or pause and play. At least sometimes it's the speaker's fault. |
To be clear, it's not impossible for the issue to affect both channels sometimes. It's just that more often it only broke the right channel, because the link for it would get activated after the left channel's link and there were race conditions around that. If you only see this affect all or no channels, then it's probably something else. |
EasyEffects Version
6.2.6
What package are you using?
openSUSE
Distribution
openSUSE Tumbleweed
Describe the bug
Randomly, sometime when viewing a video with FF or Chrome (YouTube) or VLC then there is no sound.
It seems this occurs after several starts and stops, or several launching and quitting.
Speakers are "on".
I must restart the PC to get again sound For FF or Chrome or VLC.
Expected Behavior
Output sound is never cut.
Debug Log
Debug Log
Additional Information
No response
The text was updated successfully, but these errors were encountered: