You are not logged in.

#1 2024-05-18 15:39:27

MrFriot
Member
Registered: 2024-05-18
Posts: 3

[NOT SOLVED] Audio problems on laptop

I recently installed Arch in dualboot with Windows on my laptop, and no sound appeared on Arch. I tried to do something about it, but it had no visible effect. I also have a monitor connected to my laptop via hdmi (I point because once on Windows I couldn't figure out where the sound was going, and it went into the monitor for some reason).
Here is the result of running some commands:

aplay -L

null
    Discard all samples (playback) or generate zero samples (capture)
lavrate
    Rate Converter Plugin Using Libav/FFmpeg Library
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output

cat /proc/asound/cards

 0 [Generic        ]: HDA-Intel - HD-Audio Generic
                      HD-Audio Generic at 0xd03c0000 irq 77

speaker-test -c 2
Works without errors, but no sound.

What can I do to fix it?

Last edited by MrFriot (2024-06-01 15:53:48)

Offline

#2 2024-05-19 09:32:40

MrFriot
Member
Registered: 2024-05-18
Posts: 3

Re: [NOT SOLVED] Audio problems on laptop

Helpers?

Offline

#3 2024-05-19 14:16:18

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,224

Re: [NOT SOLVED] Audio problems on laptop

Please don't do that: https://wiki.archlinux.org/title/Genera … es#Bumping

What "I tried to do something about it but had no effect" did you do exactly?

Post

sudo fuser -v /dev/snd/*
aplay -l
pactl list cards
pactl list sinks
sudo dmesg | grep -E 'snd|sof'
systemctl --user status pipewire{,-pulse} pulseaudio wireplumber

does

speaker-test -Dhw:0 -c2

work instead?

Offline

#4 2024-05-19 17:41:53

MrFriot
Member
Registered: 2024-05-18
Posts: 3

Re: [NOT SOLVED] Audio problems on laptop

Following the advice from the forum, I downloaded the sof-firmwire package or something like that and a few other packages, like alsa-utils, from the wiki.

sudo fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  Alex        773 F.... pulseaudio

aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [QG241Y]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

pactl list cards

Card #0
	Name: alsa_card.pci-0000_03_00.1
	Driver: module-alsa-card.c
	Owner Module: 6
	Properties:
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd03c0000 irq 78"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.string = "0"
		device.description = "Renoir Radeon High Definition Audio Controller"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (sinks: 1, sources: 0, priority: 38668, available: yes)
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
	Active Profile: output:hdmi-stereo
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, latency offset: 0 usec, available)
			Properties:
				device.icon_name = "video-display"
				device.product.name = "QG241Y"
			Part of profile(s): output:hdmi-stereo

pactl list sinks

Sink #0
	State: SUSPENDED
	Name: alsa_output.pci-0000_03_00.1.hdmi-stereo
	Description: Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	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_03_00.1.hdmi-stereo.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE DECIBEL_VOLUME LATENCY SET_FORMATS 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "QG241Y"
		alsa.id = "HDMI 0"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "3"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xd03c0000 irq 78"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:03:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
		device.bus = "pci"
		device.vendor.id = "1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		device.product.id = "1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.string = "hdmi:0"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "hdmi-stereo"
		device.profile.description = "Digital Stereo (HDMI)"
		device.description = "Renoir Radeon High Definition Audio Controller Digital Stereo (HDMI)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		hdmi-output-0: HDMI / DisplayPort (type: HDMI, priority: 5900, available)
	Active Port: hdmi-output-0
	Formats:
		pcm

sudo dmesg | grep -E 'snd|sof'

[    0.052129] software IO TLB: area num 16.
[    0.482238] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.482240] software IO TLB: mapped [mem 0x00000000c3b8c000-0x00000000c7b8c000] (64MB)
[    7.463041] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[    7.463269] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    7.463711] snd_acp_pci 0000:03:00.5: enabling device (0000 -> 0002)
[    7.463978] snd_acp_pci 0000:03:00.5: Runtime PM usage count underflow!
[    7.463982] snd_acp_pci 0000:03:00.5: probe with driver snd_acp_pci failed with error -22
[    7.477550] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])

systemctl --user status pipewire{,-pulse} pulseaudio wireplumber

Unit pipewire.service could not be found.
Unit pipewire-pulse.service could not be found.
Unit wireplumber.service could not be found.
● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset: enabled)
     Active: active (running) since Sun 2024-05-19 20:23:15 UTC; 9min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 773 (pulseaudio)
      Tasks: 7 (limit: 18341)
     Memory: 51.5M (peak: 51.8M)
        CPU: 111ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
             ├─773 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─789 /usr/lib/pulse/gsettings-helper

May 19 20:23:15 ArchPC systemd[703]: Starting Sound Service...
May 19 20:23:15 ArchPC systemd[703]: Started Sound Service.
May 19 20:23:15 ArchPC pulseaudio[773]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NameHasNoOwner: Could not activate remote peer 'org.bluez': activation request failed: unknown unit

speaker-test -Dhw:0 -c2

speaker-test 1.2.11

Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Playback open error: -2,No such file or directory

Before I installed one of the packages, I had the same error in speaker-test -с 2

Sorry about https://wiki.archlinux.org/title/Genera ... es#Bumping

Last edited by MrFriot (2024-05-19 17:43:22)

Offline

Board footer

Powered by FluxBB