You are not logged in.
I've got a brand new install of Arch through the archinstall tool (thanks so much for it btw, it's really saved my ass with having my laptop get corrupted in the middle of a week of class), and, for some reason, my headphone jack is messed up. I know it works, because, when I set my port to it and change my volume, I can hear stuff, but no applications want to select it. It's also marked as unplugged, which, as I can tell by the cable being plugged into the port, is not true. I'm on the latest version of pipewire (and everything else, just double checked). I've also noticed that, when I try to test the device using plasma system settings, it stops responding. There's also this bass-y thud after a bit of no sound playing. I know it's normal to have some amount of sound after it deactivates or whatever, but I never remember it being this loud.
I've looked around on the internet and can't really find anyone having the same troubles, though I did notice a (seemingly) unrelated gitlab issue about switching ports.
Offline
Worth noting as well that my previous install corrupted right after it started having audio issues. When I got home, I plugged in my headphones and got no sound, so I restarted. I didn't get to plasma, just kwin and a blank screen, so I backed up my files and switched to Arch (I was on Manjaro). I've also done a lot of physical repairs on my laptop recently, so one of those might have introduced problems.
Offline
I switched the port back to speaker and I just noticed that, for some reason, the speaker works! Are there any logs or whatever I could provide that would be helpful? I'm not too used to pipewire.
Offline
Does the speaker port work "as a speaker" or do you get output from the headphones anyway? To diagnose this, post in code tags
sudo fuser -v /dev/snd/*
#Needs alsa-utils
aplay -l
amixer -c0 #Or other card index according to the aplay -l output if it isn't 0
pactl list cards
pactl list sinks
during the not working situation
Also please don't bump and rather edit and append new information if you haven't yet received an answer in your topic.
Last edited by V1del (2022-01-31 09:04:50)
Offline
Sorry for bumping - I'm new to forums and didn't realize that it did that! The internal speaker works when I have the headphones plugged in, but, when I change the selected port, it stops working.
Here's the outputs:
~ ❯ doas fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: mia 1408 F.... pipewire-media-
/dev/snd/controlC1: mia 1408 F.... pipewire-media-
/dev/snd/seq: mia 1407 F.... pipewire
~ ❯ 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 1: Generic_1 [HD-Audio Generic], device 0: ALC255 Analog [ALC255 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
~ ❯ amixer -c1
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 56 [64%] [-23.25dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 255 [100%] [0.00dB]
Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Beep',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 31
Mono:
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Capture',0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 63
Front Left: Capture 63 [100%] [30.00dB] [on]
Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Headset Mic',0
Capabilities: pvolume pswitch cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Playback channels: Front Left - Front Right
Capture channels: Mono
Limits: Playback 0 - 31
Mono: Capture [off]
Front Left: Playback 0 [0%] [-34.50dB] [off]
Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Headset Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 0 [0%] [0.00dB]
Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Internal Mic',0
Capabilities: cswitch cswitch-joined cswitch-exclusive
Capture exclusive group: 0
Capture channels: Mono
Mono: Capture [on]
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 2 [67%] [20.00dB]
Front Right: 2 [67%] [20.00dB]
Simple mixer control 'Loopback Mixing',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
~ ❯ pactl list cards
Card #38
Name: alsa_card.pci-0000_05_00.1
Driver: alsa
Owner Module: n/a
Properties:
device.enum.api = "udev"
device.api = "alsa"
media.class = "Audio/Device"
api.alsa.path = "hw:0"
api.alsa.card = "0"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.card.longname = "HD-Audio Generic at 0xc06c8000 irq 78"
device.plugged.usec = "16637517"
device.bus_path = "pci-0000:05:00.1"
device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.1/sound/card0"
device.bus = "pci"
device.subsystem = "sound"
device.vendor.id = "4098"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
device.product.id = "5598"
device.product.name = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
device.name = "alsa_card.pci-0000_05_00.1"
device.description = "Raven/Raven2/Fenghuang HDMI/DP Audio Controller"
device.nick = "HD-Audio Generic"
device.icon_name = "audio-card-pci"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio0"
factory.id = "14"
client.id = "31"
object.id = "40"
object.serial = "38"
object.path = "alsa:pcm:0"
alsa.card = "0"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xc06c8000 irq 78"
alsa.driver_name = "snd_hda_intel"
device.string = "0"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 5900, available: no)
output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (sinks: 1, sources: 0, priority: 800, available: no)
pro-audio: Pro Audio (sinks: 1, sources: 0, priority: 1, available: yes)
Active Profile: off
Ports:
hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, availability group: Legacy 1, not available)
Properties:
port.type = "hdmi"
port.availability-group = "Legacy 1"
device.icon_name = "video-display"
card.profile.port = "0"
Part of profile(s): output:hdmi-stereo, output:hdmi-surround, output:hdmi-surround71
Card #39
Name: alsa_card.pci-0000_05_00.6
Driver: alsa
Owner Module: n/a
Properties:
device.enum.api = "udev"
device.api = "alsa"
media.class = "Audio/Device"
api.alsa.path = "hw:1"
api.alsa.card = "1"
api.alsa.card.name = "HD-Audio Generic"
api.alsa.card.longname = "HD-Audio Generic at 0xc06c0000 irq 79"
device.plugged.usec = "16933486"
device.bus_path = "pci-0000:05:00.6"
device.sysfs.path = "/sys/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
device.bus = "pci"
device.subsystem = "sound"
device.vendor.id = "4130"
device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
device.product.id = "5603"
device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.name = "alsa_card.pci-0000_05_00.6"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller"
device.nick = "HD-Audio Generic"
device.icon_name = "audio-card-pci"
api.alsa.use-acp = "true"
api.acp.auto-profile = "false"
api.acp.auto-port = "false"
api.dbus.ReserveDevice1 = "Audio1"
factory.id = "14"
client.id = "31"
object.id = "41"
object.serial = "39"
object.path = "alsa:pcm:1"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xc06c0000 irq 79"
alsa.driver_name = "snd_hda_intel"
device.string = "1"
Profiles:
off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (sinks: 1, sources: 1, priority: 6565, available: yes)
output:analog-stereo: Analog Stereo Output (sinks: 1, sources: 0, priority: 6500, available: yes)
input:analog-stereo: Analog Stereo Input (sinks: 0, sources: 1, priority: 65, available: yes)
pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
Active Profile: output:analog-stereo+input:analog-stereo
Ports:
analog-input-internal-mic: Internal Microphone (type: Mic, priority: 8900, latency offset: 0 usec, availability group: Legacy 1, availability unknown)
Properties:
port.type = "mic"
port.availability-group = "Legacy 1"
device.icon_name = "audio-input-microphone"
card.profile.port = "0"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-input-headset-mic: Headset Microphone (type: Headset, priority: 8800, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "headset"
port.availability-group = "Legacy 2"
device.icon_name = "audio-input-microphone"
card.profile.port = "1"
Part of profile(s): input:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-speaker: Speakers (type: Speaker, priority: 10000, latency offset: 0 usec, availability group: Legacy 3, availability unknown)
Properties:
port.type = "speaker"
port.availability-group = "Legacy 3"
device.icon_name = "audio-speakers"
card.profile.port = "2"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
analog-output-headphones: Headphones (type: Headphones, priority: 9900, latency offset: 0 usec, availability group: Legacy 2, not available)
Properties:
port.type = "headphones"
port.availability-group = "Legacy 2"
device.icon_name = "audio-headphones"
card.profile.port = "3"
Part of profile(s): output:analog-stereo, output:analog-stereo+input:analog-stereo
~ ❯ pactl list sinks
Sink #1288
State: SUSPENDED
Name: alsa_output.pci-0000_05_00.6.analog-stereo
Description: Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 26214 / 40% / -23.88 dB, front-right: 26214 / 40% / -23.88 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_05_00.6.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
object.path = "alsa:pcm:1:front:1:playback"
api.alsa.path = "front:1"
api.alsa.pcm.card = "1"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
device.routes = "2"
alsa.resolution_bits = "16"
device.api = "alsa"
device.class = "sound"
alsa.class = "generic"
alsa.subclass = "generic-mix"
alsa.name = "ALC255 Analog"
alsa.id = "ALC255 Analog"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
alsa.device = "0"
alsa.card = "1"
alsa.card_name = "HD-Audio Generic"
alsa.long_card_name = "HD-Audio Generic at 0xc06c0000 irq 79"
alsa.driver_name = "snd_hda_intel"
device.profile.name = "analog-stereo"
device.profile.description = "Analog Stereo"
card.profile.device = "3"
device.id = "41"
factory.name = "api.alsa.pcm.sink"
priority.driver = "945"
priority.session = "945"
media.class = "Audio/Sink"
node.nick = "HD-Audio Generic"
node.name = "alsa_output.pci-0000_05_00.6.analog-stereo"
device.description = "Family 17h (Models 10h-1fh) HD Audio Controller Analog Stereo"
device.icon_name = "audio-card-analog"
device.bus = "pci"
device.bus_path = "pci-0000:05:00.6"
node.pause-on-idle = "false"
factory.id = "18"
client.id = "32"
clock.quantum-limit = "8192"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "78"
object.serial = "1288"
node.max-latency = "16384/48000"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 2, not available)
Active Port: analog-output-speaker
Formats:
pcm
Offline