Continuing the discussion from Sound from speakers no sound from 3.5mm jack-audio :
@uniquepito
Your hardware is completely different to original discussion. sof-firmware
to support digital microphone array on Intel laptops would not work on an AMD laptop
alsa-info.sh
data for working audio is showing ALSA module snd_acp3x_rn
and a 2nd audio capture device
**** List of CAPTURE Hardware Devices ****
card 1: Generic_1 [HD-Audio Generic], device 0: CX8070 Analog [CX8070 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: acp [acp], device 0: DMIC capture dmic-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
phoronix.com - Linux 5.8 Sound Changes Bring New AMD Renoir ACP Driver
AMD Renoir (Ryzen 4000 mobile) Audio Co-Processor (ACP) support. This Renoir ACP support is coming via a brand new driver
post on Arch forum (Microphone not working on Thinkpad T14s )
Linux 5.8 is already in testing as well. And the relevant module should be available .
pulseaudio from testing might be the key.
suggest check both installed OS with
pulseaudio --version
fresh Manjaro install would respond pulseaudio 13.0
but if pulseaudio-git
was installed, response would be pulseaudio 13.99
1 Like
Installed pulseaudio 13.99.1-71-g47d81 and kernel 5.8.1-3-MANJARO and sound over headphones still not working. The headphones plug in/out over 3.5mm jack are detected as Microphone/Internal Microphone switch.
BTW Lenovo E595 has Ryzen 3500U (Picasso) not Renoir 4xxx CPU
ALSA data does not show CPU information, but data posted for both configurations show internal DMIC using driver snd_acp3x_rn
Now that a later version of Pulseaudio is installed, suggest clear old user configurations from home folder
mv ~/.config/pulse ~/config/pulse.old && reboot
Pulseaudio will create a new configuration folder when it restarts after reboot
After reboot check if outputs for speakers and headphones are available
pacmd list-sinks
It did not help.
Here’s the output for pacmd list-sinks
1 sink(s) available.
index: 0
name: <alsa_output.pci-0000_05_00.6.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 30419 / 46% / -20,00 dB, front-right: 30419 / 46% / -20,00 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100,00 ms
card: 2 <alsa_card.pci-0000_05_00.6>
module: 8
properties:
alsa.resolution_bits = “16”
device.api = “alsa”
device.class = “sound”
alsa.class = “generic”
alsa.subclass = “generic-mix”
alsa.name = “CX8070 Analog”
alsa.id = “CX8070 Analog”
alsa.subdevice = “0”
alsa.subdevice_name = “subdevice #0 ”
alsa.device = “0”
alsa.card = “2”
alsa.card_name = “HD-Audio Generic”
alsa.long_card_name = “HD-Audio Generic at 0xd06c0000 irq 82”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:05:00.6”
sysfs.path = “/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card2”
device.bus = “pci”
device.vendor.id = “1022”
device.vendor.name = “Advanced Micro Devices, Inc. [AMD]”
device.product.id = “15e3”
device.product.name = “Family 17h (Models 10h-1fh) HD Audio Controller (ThinkPad E595)”
device.string = “front:2”
device.buffering.buffer_size = “19200”
device.buffering.fragment_size = “3840”
device.access_mode = “mmap”
device.profile.name = “analog-stereo”
device.profile.description = “Analog Stereo”
device.description = “Family 17h (Models 10h-1fh) HD Audio Controller (ThinkPad E595) Analog Stereo”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
properties:
device.icon_name = “audio-speakers”
active port:
A very strange thing happened.
Seems like If I reboot from Windows to Linux I am not able to see Headphones at all. Then I have turned off my laptop, wait for 10s and started on and now the headphones jack is working even with the old pulseaudio v 13.0.
pacmd list-sinks
1 sink(s) available.
index: 0
name: <alsa_output.pci-0000_05_00.6.analog-stereo>
driver: <module-alsa-card.c>
flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
state: SUSPENDED
suspend cause: IDLE
priority: 9039
volume: front-left: 30419 / 46% / -20,00 dB, front-right: 30419 / 46% / -20,00 dB
balance 0,00
base volume: 65536 / 100% / 0,00 dB
volume steps: 65537
muted: no
current latency: 0,00 ms
max request: 0 KiB
max rewind: 0 KiB
monitor source: 1
sample spec: s16le 2ch 48000Hz
channel map: front-left,front-right
Stereo
used by: 0
linked by: 0
fixed latency: 100,00 ms
card: 2 <alsa_card.pci-0000_05_00.6>
module: 8
properties:
alsa.resolution_bits = “16”
device.api = “alsa”
device.class = “sound”
alsa.class = “generic”
alsa.subclass = “generic-mix”
alsa.name = “CX8070 Analog”
alsa.id = “CX8070 Analog”
alsa.subdevice = “0”
alsa.subdevice_name = “subdevice #0 ”
alsa.device = “0”
alsa.card = “2”
alsa.card_name = “HD-Audio Generic”
alsa.long_card_name = “HD-Audio Generic at 0xd06c0000 irq 82”
alsa.driver_name = “snd_hda_intel”
device.bus_path = “pci-0000:05:00.6”
sysfs.path = “/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card2”
device.bus = “pci”
device.vendor.id = “1022”
device.vendor.name = “Advanced Micro Devices, Inc. [AMD]”
device.product.id = “15e3”
device.product.name = “Family 17h (Models 10h-1fh) HD Audio Controller (ThinkPad E595)”
device.string = “front:2”
device.buffering.buffer_size = “19200”
device.buffering.fragment_size = “3840”
device.access_mode = “mmap”
device.profile.name = “analog-stereo”
device.profile.description = “Analog Stereo”
device.description = “Family 17h (Models 10h-1fh) HD Audio Controller (ThinkPad E595) Analog Stereo”
module-udev-detect.discovered = “1”
device.icon_name = “audio-card-pci”
ports:
analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: no)
properties:
device.icon_name = “audio-speakers”
analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: unknown)
properties:
device.icon_name = “audio-headphones”
active port:
Reboot on other OS uses a ‘Fast Startup’ , that puts hardware into a hybrid hibernation state instead of a full shutdown. Manjaro cannot initialise audio device correctly from hybrid hibernation state, but rebooting Manjaro will power down the device and reload it correctly
Delivering a great startup and shutdown experience | Microsoft Docs
Customer telemetry tells us that users boot and shut down their PC at least once a day…
The default boot performance has improved dramatically with the leveraging of hibernation technology…
…The faster startup and shutdown sequence uses the hibernate infrastructure to place the PC in hibernate. Unlike a full shutdown and boot, the user session is closed and a hibernate is performed. As a result, the hibernate file is much smaller, ensuring that the hibernate and resume process is faster.
Use Shutdown option instead of Reboot on other OS to confirm the problem is due to ‘Fast Startup’
then suggest disable ‘Fast Startup’ and hybrid hibernation in other OS
Dual boot with Windows - ArchWiki
2 Likes
Thanks for explaining this, confirmed with OpenSuse TumbleWeed - after shutdown sound works from headphones as expected. Now finally installing Majaro for final!
system
Closed
January 28, 2021, 2:21pm
8
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.