[Bug 1201418] New: Steam deck sound doesn't work
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418 Bug ID: 1201418 Summary: Steam deck sound doesn't work Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Sound Assignee: tiwai@suse.com Reporter: monkeyboyted@yahoo.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hi. Steam deck sound does not seem to be working on Opensuse Tumbleweed and I realize Valve uses a custom linux kernel. I guess somebody will need to follow up on Valve's commitment to working with upstream. http://alsa-project.org/db/?f=28d414863433c8d52ee7e7c7a128f779d1624ada Opensuse LSB Version: n/a Distributor ID: openSUSE Description: openSUSE Tumbleweed Release: 20220711 Codename: n/a !!Kernel Information !!------------------ Kernel release: 5.18.9-2-default Operating System: GNU/Linux Architecture: x86_64 Processor: x86_64 SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.18.9-2-default Library version: Utilities version: 1.2.7 doof@steamdeck:~> aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 Steam deck alsa info http://alsa-project.org/db/?f=545342eb1dc31f24764a82e977fea44deec587ba http://alsa-project.org/db/?f=545342eb1dc31f24764a82e977fea44deec587ba deck@steamdeck -> aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Generic [HD-Audio Generic], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: acp5x [acp5x], device 0: Playback/Capture nau8821-hifi-0 [] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: acp5x [acp5x], device 1: CS35L41 Stereo Playback multicodec-1 [] Subdevices: 1/1 Subdevice #0: subdevice #0 !!Kernel Information !!------------------ Kernel release: 5.13.0-valve15-1-neptune-02197-gf6ec7ad3762a Operating System: GNU/Linux Architecture: x86_64 Processor: unknown SMP Enabled: Yes !!ALSA Version !!------------ Driver version: k5.13.0-valve15-1-neptune-02197-gf6ec7ad3762a Library version: Utilities version: 1.2.6 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c1
ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c2
ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c3
--- Comment #3 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c4
--- Comment #4 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c5
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c6
--- Comment #6 from ted chang
Andr� Almeida and Shreeya Patel worked on upstreaming patches for the new version of the AMD SPI controller used by the Steam Deck, the handheld gaming computer developed by Valve. These patches are essential for the correct functionality of the audio stack of this console. The upstream support is not yet complete, but we are actively working on getting every bit of it in the common kernel. Soon enough, the community kernel will be able to explore the full potential of this gaming platform masterpiece.
Muhammad Usama Anjum fixed a long-standing bug in the kselftest build framework. He enabled the kselftests to be built in separate output directories in any combination. This made it possible to build kselftests out of tree.
-- Collabora Thank you Takashi Iwai for making sound work on Linux -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c7
--- Comment #7 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c8
--- Comment #8 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c9
--- Comment #9 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c10
--- Comment #10 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c11
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c12
ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c13
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c14
--- Comment #14 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c15
--- Comment #15 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c16
--- Comment #16 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c17
--- Comment #17 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c18
--- Comment #18 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c19
--- Comment #19 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c23
--- Comment #23 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c24
--- Comment #24 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c25
--- Comment #25 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c27
--- Comment #27 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c30
--- Comment #30 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c31
--- Comment #31 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c38
--- Comment #38 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c39
--- Comment #39 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c42
--- Comment #42 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c43
--- Comment #43 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c45
--- Comment #45 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c46
--- Comment #46 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c47
--- Comment #47 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c48
--- Comment #48 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c49
--- Comment #49 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c50
--- Comment #50 from Takashi Iwai
Created attachment 860950 [details] Steam OS HiFi conf
Take from path /rootfs/usr/share/alsa/ucm2/conf.d/acp5x/
Nice to see this piece. Some elements look missing in the upstream side (or differently implemented), hence those should be removed from Enable/DisableSequence. Below is the revised UCM profile tarball. Let me know if this works. It might be that the preload and DSP parts won't work as is with the upstream code and firmware. In that case, those need to be dropped. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c51
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c52
--- Comment #52 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c53
--- Comment #53 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c54
--- Comment #54 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c55
--- Comment #55 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c56
--- Comment #56 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c57
--- Comment #57 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c58
--- Comment #58 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c59
--- Comment #59 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c60
ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c61
--- Comment #61 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c62
--- Comment #62 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c63
--- Comment #63 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c64
--- Comment #64 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c65
--- Comment #65 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c66
--- Comment #66 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c68
--- Comment #68 from ted chang
Created attachment 860969 [details] UCM HiFi.conf rev 5
Speaker doesn't work. I can click on the speakers in gnome settings but no sound is outputted [ 23.179302] cs35l41 spi-VLV1776:00: DSP1: No algorithms [ 23.229816] cs35l41 spi-VLV1776:00: ASoC: POST_PMU: Left DSP1 event failed: -5 [ 23.314642] cs35l41 spi-VLV1776:01: DSP1: Firmware: 0 vendor: 0x0 v0.0.0, 0 algorithms [ 23.314659] cs35l41 spi-VLV1776:01: DSP1: No algorithms [ 23.315319] cs35l41 spi-VLV1776:01: ASoC: POST_PMU: Right DSP1 event failed: -5 Can you tell me why your original ucm2 only plays sounds on the left channel but output sounds to both speakers? The configuration without ucm2 file also plays the left channel out two speakers I tested it with this command and it never worked on the right channel. speaker-test -Dplughw:1,1 -c2 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c69
--- Comment #69 from ted chang
cset "name='Left PCM Source' 0"
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c70
--- Comment #70 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c71
--- Comment #71 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c72
--- Comment #72 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c73
--- Comment #73 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c74
--- Comment #74 from Takashi Iwai
Created attachment 860970 [details] alsa info - no ucm2 profile - kerne 6.0.0-rc1-3.g2fae8fb-default
lsb_release -a LSB Version: n/a Distributor ID: openSUSE Description: openSUSE Tumbleweed Release: 20220820 Codename: n/a
No ucma2 profile.
Mic is detected but records nothing in audacity.
Speakers are not detected properly. Head phone jack works but I wonder why there is a option to select between headset and headphones. The volume buttons works with the headset.
Linux steamdeck 6.0.0-rc1-3.g2fae8fb-default #1 SMP PREEMPT_DYNAMIC Sun Aug 21 11:11:49 UTC 2022 (2fae8fb) x86_64 x86_64 x86_64 GNU/Linux
I guess that the previous controls that had been set up with UCM profile were still taken over here. The states are saved in /var/lib/alsa/* and restored at boot. So, you'd need to re-initialize the whole controls manually once. Maybe the easiest way would be to take out the data from the (good working) alsa-info.sh output "Alsactl output" section, save it a file, and restore it via alsactl like alsactl -f /somewhere/saved-data restore Then run alsa-info.sh and compare the result. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c75
--- Comment #75 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c76
--- Comment #76 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c77
--- Comment #77 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c78
--- Comment #78 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c79
--- Comment #79 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c81
--- Comment #81 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c82
--- Comment #82 from Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c83
--- Comment #83 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c84
--- Comment #84 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c85
--- Comment #85 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c86
Takashi Iwai
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c87
--- Comment #87 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c88
--- Comment #88 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c89
--- Comment #89 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c90
--- Comment #90 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c91
--- Comment #91 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c92
--- Comment #92 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c93
--- Comment #93 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c94
--- Comment #94 from ted chang
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418
http://bugzilla.opensuse.org/show_bug.cgi?id=1201418#c95
--- Comment #95 from ted chang
participants (1)
-
bugzilla_noreply@suse.com