Bug 2011737 - no sound after upgrade to Fedora 35
Summary: no sound after upgrade to Fedora 35
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: pipewire
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wim Taymans
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1989959
TreeView+ depends on / blocked
 
Reported: 2021-10-07 08:42 UTC by Karel Volný
Modified: 2021-10-11 13:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-10-11 13:18:38 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karel Volný 2021-10-07 08:42:59 UTC
Description of problem:
after running fedora-upgrade to upgrade from F34 to F35 and rebooting to F35, everything is silent and the KDE mixer shows red strike over the icon, without any sound configuration options available

Version-Release number of selected component (if applicable):
pipewire-0.3.38-1.fc35.x86_64

How reproducible:
haven't tried the upgrade obivously, however the resulting problem is constant over reboots and between various applications

Steps to Reproduce:
1. start KDE, stare at the mixer icon, try to open the mixer
2. run systemsettings, go to hardware => audio
3. $ mplayer somefile.mp3

Actual results:
1. there is red strike over the mixer icon and there is nothing you can set volume on

2. the settings tab is completely empty

3. after a while, I get
AO: [pulse] Init failed: Timeout
Failed to initialize audio driver 'pulse'
[AO_ALSA] alsa-lib: pcm_pulse.c:758:(pulse_prepare) PulseAudio: Unable to create stream: Timeout
1989959
[AO_ALSA] Unable to set hw-parameters: Input/output error
Failed to initialize audio driver 'alsa'
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
[AO_ALSA] alsa-lib: pcm_pulse.c:758:(pulse_prepare) PulseAudio: Unable to create stream: Timeout

[AO_ALSA] Unable to set hw-parameters: Input/output error
AO: [pulse] Init failed: Timeout
[JACK] no physical ports available
[AO SDL] Samplerate: 44100Hz Channels: Stereo Format floatle
[AO SDL] Unsupported audio format: 0x1d.1989959
[AO SDL] Unable to open audio: Invalid audio device ID
AO: [null] 44100Hz 2ch floatle (4 bytes per sample)
Starting playback...

and then silence


Expected results:
1. no red strike, you can set at least master volume

2. you can toggle various audio backend settings

3. no such errors, music plays

Additional info:
before upgrade, I had to remove some pulseaudio related packages due to file conflicts from pipewire packages to be installed

however, after install, fedora-upgrade does group reinstall, so anything from default install which wasn't pulled in as dependency should be brought back by this; to be exact, the pipewire package set on my system looks like this:

# rpm -qa pipewire*
pipewire-libs-0.3.38-1.fc35.x86_64
pipewire-0.3.38-1.fc35.x86_64
pipewire-jack-audio-connection-kit-0.3.38-1.fc35.x86_64
pipewire-pulseaudio-0.3.38-1.fc35.x86_64
pipewire-alsa-0.3.38-1.fc35.x86_64
pipewire-utils-0.3.38-1.fc35.x86_64
pipewire-devel-0.3.38-1.fc35.x86_64
pipewire0.2-libs-0.2.7-6.fc35.x86_64

note that I can run mplayer like this:
mplayer -ao alsa:device=hw=0.3 somefile

and it pretends to work, but nothing is heard

trying to run alsamixer, it show only one master control which is set to zero; maxing it to 100 does not help, and after exiting and rerunning alsamixer, it shows 0 again

trying to choose different card in alsamixer, normal hardware controls are shown, but despite I max all the outputs, everything is silent; these settings are kept after closing and re-running alsamixer

I've also tried to rm ~/.config/pulse and kill pipewire-pulse (which keeps respawning)

Comment 1 Adam Williamson 2021-10-07 20:23:50 UTC
can you post the output of `rpm -q --whatprovides pipewire-session-manager` , please? Also, if you can find logs with details on the file conflicts problem you had and exactly which packages you had to remove, that may also help. Thanks!

Comment 2 Karel Volný 2021-10-08 09:42:51 UTC
(In reply to Adam Williamson from comment #1)
> can you post the output of `rpm -q --whatprovides pipewire-session-manager`
> , please?

[root@kvolny ~]# rpm -q --whatprovides pipewire-session-manager
wireplumber-0.4.2-1.fc35.x86_64

> Also, if you can find logs with details on the file conflicts
> problem you had and exactly which packages you had to remove, that may also
> help. Thanks!

[root@kvolny log]# grep conflicts dnf.*
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pulseaudio-15.0-2.fc35.x86_64 conflicts with pulseaudio-daemon provided by pipewire-pulseaudio-0.3.38-1.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package pipewire-pulseaudio-0.3.38-1.fc35.x86_64 conflicts with pulseaudio-daemon provided by pulseaudio-15.0-2.fc35.x86_64
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64
dnf.log.4:  - package python3-devel-3.10.0~rc2-1.fc35.x86_64 conflicts with python3 < 3.10.0~rc2-1.fc35 provided by python3-3.9.7-1.fc34.x86_64

Comment 3 Karel Volný 2021-10-08 09:44:39 UTC
FTR, current set of pulseaudio packages on my system:

[root@kvolny ~]# rpm -qa  *pulse*
pulseaudio-libs-15.0-2.fc35.x86_64
pipewire-pulseaudio-0.3.38-1.fc35.x86_64
pulseaudio-libs-glib2-15.0-2.fc35.x86_64
pulseaudio-qt-1.2-6.fc35.x86_64
pulseaudio-libs-devel-15.0-2.fc35.x86_64
alsa-plugins-pulseaudio-1.2.5-2.fc35.x86_64
kde-settings-pulseaudio-35.0-1.fc35.noarch
mpg123-plugins-pulseaudio-1.26.5-2.fc35.x86_64
pulseaudio-utils-15.0-2.fc35.x86_64
pulseaudio-debuginfo-15.0-2.fc35.x86_64

Comment 4 Adam Williamson 2021-10-08 16:23:54 UTC
Thanks...does switching to pipewire-media-session solve the problem? You can use `dnf shell` to `remove wireplumber` then `install pipewire-media-session` then `run`, to try it. Thanks!

Comment 5 Adam Williamson 2021-10-08 16:24:27 UTC
Oh, and if that works, please test wireplumber 0.4.3: https://bodhi.fedoraproject.org/updates/FEDORA-2021-b70755fdc3

Comment 6 Karel Volný 2021-10-11 13:18:38 UTC
both solutions work for me, thanks!

as the update became stable meanwhile, I guess this can be closed ...


Note You need to log in before you can comment on or make changes to this bug.