No sound coming from fedora system

Okay so I dual booted fedora 37 on dell inspiron 5402. I instaled sway and after that I messed something up because now I can’t get any sound to play from my laptop’s in-built speakers. Like if I open a youtube video it won’t even play. The moment I connect my earphones the audio starts working normally on the earphones and the video also starts playing. There is no audio coming from the speakers, and for some reason even youtube does not play when it is connected to my laptop speakers. Please tell me what should I do? I’m new here so if there’s anything sort of outputs you need lemme know

(Edit: The sound doesn’t work on the normal gnome interface as well)

Can you post:
systemctl --user status wireplumber pipewire\*
wpctl status

Thanks

Hello @themediumguy ,
Welcome to :fedora: !
What @grumpey was asking was to use a terminal to type in the command he quoted to get the answers to your question, if the use of a terminal wasn’t clear.

1 Like

Hi I’m sorry for the late response :sweat_smile:

But here's the output for the first command:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-07-20 14:51:31 IST; 2min 26s ago
   Main PID: 1746 (wireplumber)
      Tasks: 4 (limit: 9131)
     Memory: 9.1M
        CPU: 104ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1746 /usr/bin/wireplumber

Jul 20 14:51:31 fedora systemd[1600]: Started wireplumber.service - Multimedia Service Session Manager.
Jul 20 14:51:32 fedora wireplumber[1746]: Failed to set scheduler settings: Operation not permitted
Jul 20 14:51:32 fedora wireplumber[1746]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
Jul 20 14:51:32 fedora wireplumber[1746]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
Jul 20 14:51:32 fedora wireplumber[1746]: RegisterProfile() failed: org.bluez.Error.NotPermitted
Jul 20 14:51:32 fedora wireplumber[1746]: <WpPortalPermissionStorePlugin:0x561ad2c21190> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

● pipewire.socket - PipeWire Multimedia System Socket
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; disabled; preset: enabled)
     Active: active (running) since Thu 2023-07-20 14:51:31 IST; 2min 26s ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

Jul 20 14:51:31 fedora systemd[1600]: Listening on pipewire.socket - PipeWire Multimedia System Socket.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
     Active: active (running) since Thu 2023-07-20 14:51:31 IST; 2min 26s ago
TriggeredBy: ● pipewire.socket
   Main PID: 1743 (pipewire)
      Tasks: 2 (limit: 9131)
     Memory: 5.3M
        CPU: 40ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1743 /usr/bin/pipewire

Jul 20 14:51:31 fedora systemd[1600]: Started pipewire.service - PipeWire Multimedia Service.

Here's the output for the second command:

PipeWire 'pipewire-0' [0.3.71, nemesis@fedora, cookie:3950355101]
 └─ Clients:
        31. uresourced                          [0.3.71, nemesis@fedora, pid:1716]
        32. WirePlumber                         [0.3.71, nemesis@fedora, pid:1746]
        33. WirePlumber [export]                [0.3.71, nemesis@fedora, pid:1746]
        43. xdg-desktop-portal                  [0.3.71, nemesis@fedora, pid:2245]
        71. wpctl                               [0.3.71, nemesis@fedora, pid:4375]

Audio
 ├─ Devices:
 │      44. Tiger Lake-LP Smart Sound Technology Audio Controller [alsa]
 │  
 ├─ Sinks:
 │      45. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 3 Output [vol: 1.00]
 │      46. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 2 Output [vol: 1.00]
 │      47. Tiger Lake-LP Smart Sound Technology Audio Controller HDMI / DisplayPort 1 Output [vol: 1.00]
 │  *   48. Tiger Lake-LP Smart Sound Technology Audio Controller Speaker + Headphones [vol: 1.00]
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │      49. Tiger Lake-LP Smart Sound Technology Audio Controller Headset Mono Microphone + Headphones Stereo Microphone [vol: 1.00]
 │  *   50. Tiger Lake-LP Smart Sound Technology Audio Controller Digital Microphone [vol: 1.00]
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Video
 ├─ Devices:
 │      39. Integrated_Webcam_HD                [v4l2]
 │      40. Integrated_Webcam_HD                [v4l2]
 │  
 ├─ Sinks:
 │  
 ├─ Sink endpoints:
 │  
 ├─ Sources:
 │  *   41. Integrated_Webcam_HD (V4L2)        
 │  
 ├─ Source endpoints:
 │  
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink    alsa_output.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__hw_sofhdadsp__sink
         1. Audio/Source  alsa_input.pci-0000_00_1f.3-platform-skl_hda_dsp_generic.HiFi__Mic1__source.4

Tiger Lake, Smart Sound… This audio chip is not working normally in Linux. More info: here

Out of curiosity can you make a new user and see if they have the same issues with sound?

Issue still persists

But I don’t understand it was working perfectly before, why did it stop suddenly?

Maybe you had a different computer/laptop? Still, if the sound does not work even on the standard Fedora Workstation, then most likely this indicates a lack of support from the Fedora 37 kernel. Try upgrading to Fedora 38. If that doesn’t work, then try other distributions with a more recent kernel and audio stack (for example , Arch Linux). And if it doesn’t work on Arch… Then only Windows.

If it worked before, it should work after updates, regressive breakage is something that usually doesn’t get through, it tends to be treated as a blocker if you break someones sound.
In your above posting of the Pipewire and WirePlumber commands, you can see that your devices are being recognized and even defaults are set. Check the settings with pavucontrol.

Hi thank you for responding! No I was talking about this device only. The isses first started when I was messing around with sway, and was trying to set up something. I think that might be the issue. However uninstalling sway would probably not fix it. AFter updating to Fedora 38 I still see no changes :*(

Did you try a Fedora Workstation? If this issue is exist, this is problem of device.

What if commands raise an error? :melting_face:

bash-5.2$ sudo systemctl --user status wireplumber pipewire\*
Failed to connect to bus: No medium found

bash-5.2$ sudo wpctl status
Could not connect to PipeWire

Those should be run as the user, not with sudo.

Thank you for pointing that out :pray:.
Here is the output for my desktop configuration. It looks like pipewire is actually not running “disabled” :thinking:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
    Drop-In: /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Mon 2024-04-15 13:32:55 CEST; 3h 17min ago
   Main PID: 2341 (wireplumber)
      Tasks: 6 (limit: 9362)
     Memory: 5.8M
        CPU: 198ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2341 /usr/bin/wireplumber

avril 15 13:32:55 stldworkstation systemd[1935]: Started wireplumber.service - Multimedia Service Session Manager.
avril 15 13:32:55 stldworkstation wireplumber[2341]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
avril 15 13:32:55 stldworkstation wireplumber[2341]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
avril 15 13:32:55 stldworkstation wireplumber[2341]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/user/pipewire.service.d
             └─00-uresourced.conf
             /usr/lib/systemd/user/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Mon 2024-04-15 13:32:55 CEST; 3h 17min ago
TriggeredBy: ● pipewire.socket
   Main PID: 2339 (pipewire)
      Tasks: 3 (limit: 9362)
     Memory: 5.9M
        CPU: 307ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─2339 /usr/bin/pipewire

@grumpey more context here . Like me someone has a similar issue.

pipewire.service is active and running as shown.
Disabled is correct since it is started as noted in the TriggeredBy line

Thank you, okay. I am obviously not used to this command’s output.
So does it mean that the issue doesn’t come from the audio stack?