You are not logged in.
Hey guys.So In the past few years I always used pulseaudio as the default one. But today I found that when I opened up a browser and started playing a video , the sound disappeared.And this problem could not be activated all the time I paused or resumed a video -- I don't know why.
And I open the pavucontrol,finding that all the things is the same : the sound bar went up and down ; my card was loaded correctly ; in short, nothing was wrong,all the things seemed as if there was sound.and I looked through the wiki ,and found that this problem can be temporarily fixed by
pulseaudio -k
pulseaudio --startbut just for one time.
and I started thinking whether it was related to pulseaudio . So I switched to pipewire and deleted all the pulseaudio stuff.But , the problem remained. This time, I found that if I ran
pipewire-media-sessionIt could also be fixed temporarily for one time.
and, If I went to trigger this problem, the output would be like:
[W][01493.657022] ms.core | [ media-session.c: 2211 core_error()] error id:72 seq:1764 res:-17 (File exists): link-factory: can't link ports 79 and 104: File exists
[W][01493.657057] ms.core | [ media-session.c: 2211 core_error()] error id:19 seq:1765 res:-17 (File exists): link-factory: can't link ports 95 and 101: File exists
[W][01525.082587] ms.core | [ media-session.c: 2211 core_error()] error id:74 seq:2002 res:-17 (File exists): link-factory: can't link ports 106 and 104: File exists
[W][01525.082639] ms.core | [ media-session.c: 2211 core_error()] error id:77 seq:2003 res:-17 (File exists): link-factory: can't link ports 95 and 101: File exists
[E][01526.374373] pw.conf | [ conf.c: 389 pw_conf_save_state()] can't rename temp file 'restore-stream.tmp': No such file or directory
[E][01526.374404] ms.mod.restore-stream | [restore-stream.c: 116 remove_idle_timeout()] can't save restore-stream state: No such file or directory
[E][01529.431256] pw.conf | [ conf.c: 389 pw_conf_save_state()] can't rename temp file 'restore-stream.tmp': No such file or directory
[E][01529.431287] ms.mod.restore-stream | [restore-stream.c: 116 remove_idle_timeout()] can't save restore-stream state: No such file or directory
[E][01556.727194] pw.conf | [ conf.c: 389 pw_conf_save_state()] can't rename temp file 'restore-stream.tmp': No such file or directory
[E][01556.727222] ms.mod.restore-stream | [restore-stream.c: 116 remove_idle_timeout()] can't save restore-stream state: No such file or directory
[E][01564.541151] pw.conf | [ conf.c: 389 pw_conf_save_state()] can't rename temp file 'restore-stream.tmp': No such file or directory
[E][01564.541182] ms.mod.restore-stream | [restore-stream.c: 116 remove_idle_timeout()] can't save restore-stream state: No such file or directory
[E][01566.738019] pw.conf | [ conf.c: 389 pw_conf_save_state()] can't rename temp file 'restore-stream.tmp': No such file or directory
[E][01566.738050] ms.mod.restore-stream | [restore-stream.c: 116 remove_idle_timeout()] can't save restore-stream state: No such file or directorySo how could I fix this problem once and for all? Thanks in advance.
Offline
There's a kernel regression affecting LTS 5.15.81+ and 6.0.11, if you are on either of these make sure you are up to date or appropriately downgraded, upstream is aware should be fixed in the next few stable releases
Online