You are not logged in.

#1 2020-12-10 14:58:07

Alkindi
Member
Registered: 2020-12-10
Posts: 4

SOLVED [Thinkpad T14s AMD] Sound does not work

Hello,

From my laptop, I have no sound, but I see in pavucontrol that the sound is "working" (sound indicator move).When I am connected to my screen in usb-c, then I hear the sound on the speakers of my screen.

My machine is the Lenovo Thinkpad T14s AMD and here my bios information:

Vendor: LENOVO
Version: R1CET56W(1.25 )
Release Date: 09/15/2020
Address: 0xE0000
Runtime Size: 128 kB
BIOS Revision: 1.25
Firmware Revision: 1.25

Kernel version: 5.9.12-arch1-1

I'm using Pipewire (with pipewire-pulse):

$ yay -Q | rg pipewire
pipewire 0.3.17-1
pipewire-pulse 0.3.17-1
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 61
Tile Size: 65472
Server Name: PulseAudio (on PipeWire 0.3.17)
Server Version: 14.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink
Default Source: alsa_input.pci-0000:06:00.6.HiFi: hw:acp: source
Cookie: 364e:a722

Cards

$ pactl list cards short
40      alsa_card.pci-0000:06:00.1      alsa
41      alsa_card.pci-0000:06:00.6      alsa

Sinks:

$ pactl list sinks short
46      alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink   PipeWire        s32le 2ch 48000Hz       SUSPENDED

Same command when playing audio:

$ pactl list sinks short
46      alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink   PipeWire        s32le 2ch 48000Hz       RUNNING

Sinks (when playing audio):

$ pactl list sinks
Sink #46
        State: RUNNING
        Name: alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink
        Description: Family 17h (Models 10h-1fh) HD Audio Controller Speaker + Headphones
        Driver: PipeWire
        Sample Specification: s32le 2ch 48000Hz
        Channel Map: front-left,front-right
        Owner Module: 4294967295
        Mute: no
        Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
                balance 0.00
        Base Volume: 65536 / 100% / 0.00 dB
        Monitor Source: alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink.monitor
        Latency: 0 usec, configured 0 usec
        Flags: HARDWARE DECIBEL_VOLUME LATENCY
        Properties:
                object.path = "alsa:pcm:1:hw:Generic_1:playback"
                api.alsa.path = "hw:Generic_1"
                api.alsa.pcm.card = "1"
                api.alsa.pcm.stream = "playback"
                audio.channels = "2"
                alsa.mixer_device = "hw:Generic_1"
                device.profile.name = "HiFi: hw:Generic_1: sink"
                device.profile.description = "Speaker + Headphones"
                card.profile.device = "0"
                device.id = "41"
                factory.name = "api.alsa.pcm.sink"
                priority.driver = "936"
                priority.session = "936"
                media.class = "Audio/Sink"
                node.nick = "HD-Audio Generic"
                node.name = "alsa_output.pci-0000:06:00.6.HiFi: hw:Generic_1: sink"
                node.description = "Family 17h (Models 10h-1fh) HD Audio Controller Speaker + Headphones"
                factory.id = "18"
                client.id = "30"
                device.api = "alsa"
                node.driver = "true"
                factory.mode = "merge"
                audio.adapt.follower = ""
                library.name = "audioconvert/libspa-audioconvert"
                object.id = "46"
        Ports:
                [Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
                [Out] Headphones: Headphones (type: Headphones, priority: 200, availability group: Headphone, not available)
        Active Port: [Out] Speaker
        Formats:
                pcm

Dmesg errors:

$ dmesg -l err
[    0.597472] pci 0000:00:00.2: AMD-Vi: Unable to read/write to IOMMU perf counter.
[    5.786496] I2C multi instantiate pseudo device driver INT3515:00: IRQ index 1 not found
[    5.824782] snd_pci_acp3x 0000:06:00.5: Invalid ACP audio mode : 0
[    5.921545] sp5100-tco sp5100-tco: Watchdog hardware is disabled
[    6.062512] ACPI Error: No handler for Region [ECSI] (000000000d5e8fa0) [EmbeddedControl] (20200717/evregion-127)
[    6.062521] ACPI Error: Region EmbeddedControl (ID=3) has no handler (20200717/exfldio-261)
[    6.062532] ACPI Error: Aborting method \_SB.UBTC.ECRD due to previous error (AE_NOT_EXIST) (20200717/psparse-529)
[    6.062539] ACPI Error: Aborting method \_SB.UBTC._DSM due to previous error (AE_NOT_EXIST) (20200717/psparse-529)
[    6.062554] ucsi_acpi USBC000:00: ucsi_acpi_dsm: failed to evaluate _DSM 2
[    6.449235] acp_pdm_mach acp_pdm_mach.0: snd_soc_register_card(acp) failed: -517

Pipewire logs:

$ journalctl -b --user -u pipewire.service
Dec 10 14:40:18 user systemd[665]: Started Multimedia Service.
Dec 10 14:40:18 user pipewire[673]: Could not get portal pid: Argument 0 is specified to be of type "uint32", but is actually of type "string"
Dec 10 14:40:18 user pipewire-media-session[682]: Register() failed: org.freedesktop.DBus.Error.ServiceUnknown
Dec 10 14:40:18 user pipewire-media-session[682]: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown
Dec 10 14:40:18 user pipewire-media-session[682]: can't make factory instance: No such file or directory
Dec 10 14:40:18 user pipewire-media-session[682]: core 0x565171d92bf0: proxy 0x565171dd21d0 id:4: bound:-1 seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"
Dec 10 14:40:18 user pipewire-media-session[682]: error id:4 seq:4 res:-2 (No such file or directory): can't create device: No such file or directory

Don't hesitate to tell me if you need more information. Thanks.

Last edited by Alkindi (2020-12-16 18:54:46)

Offline

#2 2020-12-11 07:30:15

MountainX
Member
Registered: 2016-02-08
Posts: 371

Re: SOLVED [Thinkpad T14s AMD] Sound does not work

Alkindi wrote:

Isn't pipewire still in a testing phase? Have you made sure that sound works as expected under either Pulse Audio or vanilla jack? If it is a new laptop for you, and you haven't successfully gotten all functionality working yet, testing an experimental application makes troubleshooting complex. I am interested in pipewire myself, but I have to wait until it has matured more.

EDIT: On the other hand, if your main interest is to test pipewire, you should change the title of your question.

Last edited by MountainX (2020-12-11 07:31:33)

Offline

#3 2020-12-11 09:56:49

Alkindi
Member
Registered: 2020-12-10
Posts: 4

Re: SOLVED [Thinkpad T14s AMD] Sound does not work

Thanks for your answer.

Isn't pipewire still in a testing phase?

I'm using pipewire on my lenovo thinkpad T480s for a few months and I have no problem. I have wayland + sway, I need pipewire to be to share my screen (and it works great for T480s). Do you think the issue come from pipewire? It works when I connected my laptop to my monitor.

If it is a new laptop for you, and you haven't successfully gotten all functionality working yet, testing an experimental application makes troubleshooting complex

Yes is it. You are right, I will test with pulseaudio.

I am interested in pipewire myself, but I have to wait until it has matured more.

Did you try it?

Offline

#4 2020-12-16 18:53:40

Alkindi
Member
Registered: 2020-12-10
Posts: 4

Re: SOLVED [Thinkpad T14s AMD] Sound does not work

I don't have the problem with pulseaudio. For those interested:

$ yay -Rsn pipewire-pulse
$ yay -S pulseaudio
$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 34
Server Protocol Version: 34
Is Local: yes
Client Index: 23
Tile Size: 65472
Server Name: pulseaudio
Server Version: 14.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_06_00.1.HiFi__hw_Generic_3__sink
Default Source: alsa_input.pci-0000_06_00.6.HiFi__hw_acp__source
Cookie: 52e0:4841

Last edited by Alkindi (2020-12-16 18:53:57)

Offline

Board footer

Powered by FluxBB