Jovian-Experiments/Jovian-NixOS

Steam Deck OLED Speakers Not Working

devusb opened this issue · 3 comments

It seems like after #323, my OLED's speakers no longer work. I am able to use wired headphones and audio over HDMI, but not speakers. I have tried selecting different devices using both Plasma system settings as well as pavucontrol, but am only able to see and select Headphones.

I have tried stopping Wireplumber, removing ~/.local/state/wireplumber, and then rebooting, but no luck. Reverting to d3ce25a385ec7ed899ffb282d1e54ccb4ac9ef0d restores speaker functionality.

I am on nixpkgs unstable (currently NixOS/nixpkgs@6143fc5). Output of wpctl status when audio is not working is:

PipeWire 'pipewire-0' [1.0.5, mhelton@bob, cookie:6475569]
 └─ Clients:
        36. .gamescope-wrapped                  [1.0.5, mhelton@bob, pid:1989]
        37. WirePlumber                         [1.0.5, mhelton@bob, pid:2042]
        38. pipewire                            [1.0.5, mhelton@bob, pid:2041]
        39. pipewire                            [1.0.5, mhelton@bob, pid:2041]
        42. pipewire                            [1.0.5, mhelton@bob, pid:2041]
        43. pipewire                            [1.0.5, mhelton@bob, pid:2041]
        59. WirePlumber [export]                [1.0.5, mhelton@bob, pid:2042]
       108. pipewire                            [1.0.5, mhelton@bob, pid:3538]
       109. Steam Voice Settings                [1.0.5, mhelton@bob, pid:3185]
       110. Steam                               [1.0.5, mhelton@bob, pid:3185]
       111. Chromium input                      [1.0.5, mhelton@bob, pid:3852]
       112. wpctl                               [1.0.5, mhelton@bob, pid:5901]

Audio
 ├─ Devices:
 │      62. Rembrandt Radeon High Definition Audio Controller [alsa]
 │      63. ACP/ACP3X/ACP6x Audio Coprocessor   [alsa]
 │  
 ├─ Sinks:
 │  *   77. ACP/ACP3X/ACP6x Audio Coprocessor Stereo [vol: 0.65]
 │  
 ├─ Sources:
 │  *   76. ACP/ACP3X/ACP6x Audio Coprocessor Stereo [vol: 1.00]
 │  
 ├─ Filters:
 │    - filter-chain-2041-29                                        
 │      44. filter-chain-capture                                         [Stream/Input/Audio]
 │      45. filter-chain-source                                          [Audio/Source/Internal]
 │    - filter-chain-2041-30                                        
 │      46. filter-chain-sink                                            [Audio/Sink/Internal]
 │      47. filter-chain-playback                                        [Stream/Output/Audio]
 │    - loopback-2041-31                                            
 │      48. output.virtual-sink                                          [Stream/Output/Audio]
 │      49. input.virtual-sink                                           [Audio/Sink/Internal]
 │    - loopback-2041-32                                            
 │      50. output.virtual-source                                        [Audio/Source/Internal]
 │      51. input.virtual-source                                         [Stream/Input/Audio]
 │  
 └─ Streams:

Video
 ├─ Devices:
 │  
 ├─ Sinks:
 │  
 ├─ Sources:
 │  *   40. (null)                             
 │  
 ├─ Filters:
 │  
 └─ Streams:

Settings
 └─ Default Configured Devices:

I am totally open to the fact that this may be related to some rogue state somewhere in my system, but have so far been unable to find it. Happy to try anything that might help. My NixOS configuration is available here.

Output from wireplumber during a boot with no sound:

❯ journalctl -u wireplumber --user -b-1
Apr 23 19:36:47 bob systemd[1900]: Started Multimedia Service Session Manager.
Apr 23 19:36:47 bob wireplumber[2044]: Old configuration file detected: /etc/wireplumber/main.lua.d/60-alsa-acp5x-config.lua
Apr 23 19:36:47 bob wireplumber[2044]: Old configuration file detected: /etc/wireplumber/main.lua.d/60-alsa-card0-config.lua
Apr 23 19:36:47 bob wireplumber[2044]: Old configuration file detected: /etc/wireplumber/main.lua.d/60-alsa-ps-controller-config.lua
Apr 23 19:36:47 bob wireplumber[2044]: Lua configuration files are NOT supported in WirePlumber 0.5. You need to port them to the new format if yo>
                                       -> See https://pipewire.pages.freedesktop.org/wireplumber/daemon/configuration/migration.html
Apr 23 19:36:47 bob wireplumber[2044]: 0x12dc090: no modules loaded from context.modules
Apr 23 19:36:47 bob wireplumber[2044]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Apr 23 19:36:47 bob wireplumber[2044]: RTKit does not give us MaxRealtimePriority, using 1
Apr 23 19:36:47 bob wireplumber[2044]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Apr 23 19:36:47 bob wireplumber[2044]: RTKit does not give us MinNiceLevel, using 0
Apr 23 19:36:47 bob wireplumber[2044]: RTKit error: org.freedesktop.DBus.Error.ServiceUnknown
Apr 23 19:36:47 bob wireplumber[2044]: RTKit does not give us RTTimeUSecMax, using -1
Apr 23 19:36:47 bob wireplumber[2044]: Failed to get the verb HiFi
Apr 23 19:36:47 bob wireplumber[2044]: No UCM verb is valid for hw:1
Apr 23 19:36:48 bob wireplumber[2044]: Failed to get percentage from UPower: org.freedesktop.DBus.Error.NameHasNoOwner
Apr 23 19:36:48 bob wireplumber[2044]: [0:00:21.199472300] [2044]  INFO IPAManager ipa_manager.cpp:143 libcamera is not installed. Adding '/nix/st>
Apr 23 19:36:48 bob wireplumber[2044]: [0:00:21.200854071] [2044]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Apr 23 20:02:27 bob wireplumber[2044]: Failed to get the verb HiFi
Apr 23 20:02:27 bob wireplumber[2044]: No UCM verb is valid for hw:1
Apr 23 20:02:27 bob systemd[1900]: Stopping Multimedia Service Session Manager...
Apr 23 20:02:27 bob wireplumber[2044]: Error opening low-level control device 'hw:1': No such file or directory
Apr 23 20:02:28 bob wireplumber[2044]: Card can't get card_name from card_index 0
Apr 23 20:02:28 bob wireplumber[2044]: Error opening low-level control device 'hw:0': No such file or directory
Apr 23 20:02:28 bob wireplumber[2044]: can't open control for card hw:0: No such file or directory
Apr 23 20:02:28 bob wireplumber[2044]: stopped by signal: Terminated
Apr 23 20:02:28 bob wireplumber[2044]: disconnected from pipewire
Apr 23 20:02:28 bob systemd[1900]: Stopped Multimedia Service Session Manager.
K900 commented

Apr 23 19:36:47 bob wireplumber[2044]: Failed to get the verb HiFi
Apr 23 19:36:47 bob wireplumber[2044]: No UCM verb is valid for hw:1

huh

K900 commented

Ugh hold on I'm an idiot sorry.