You are not logged in.

#1 2023-07-22 08:49:10

Myphis
Member
Registered: 2023-07-22
Posts: 61

Sound issue on fresh installation [ASUS Flow Z13]

Hello, Community, I need your help!
I installed Arch on my laptop yesterday, and I have an issue with sound.
System

OS: Arch Linux x86_64 
Host: ROG Flow Z13 GZ301VV_GZ301VV 1.0 
Kernel: 6.1.39-1-lts 
Uptime: 1 min 
Packages: 1198 (pacman) 
Shell: zsh 5.9 
Resolution: 2560x1600 
DE: Plasma 5.27.6 
WM: KWin 
Theme: [Plasma], Breeze [GTK2/3] 
Icons: [Plasma], breeze-dark [GTK2/3] 
Terminal: kitty 
CPU: 13th Gen Intel i9-13900H (20) @ 5.200G 
GPU: Intel Raptor Lake-P [Iris Xe Graphics] 
GPU: NVIDIA GeForce RTX 4060 Max-Q / Mobile 
Memory: 3194MiB / 15624MiB 

pacmd list-sinks

                                                                
1 sink(s) available.
  * index: 1
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: APPLICATION
	priority: 9039
	volume: front-left: 30129 /  46% / -20.25 dB,   front-right: 30129 /  46% / -20.25 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: 1
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 1 <alsa_card.pci-0000_00_1f.3>
	module: 25
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC285 Analog"
		alsa.id = "ALC285 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0x6830290000 irq 197"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "51ca"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio 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"
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>

pacmd list-sink-inputs

                                                           
1 sink input(s) available.
    index: 2
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: CORKED
	sink: 1 <alsa_output.pci-0000_00_1f.3.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	       balance 0.00
	muted: no
	current latency: 125.00 ms
	requested latency: 75.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	            Stereo
	resample method: copy
	module: 12
	client: 10 <Firefox>
	properties:
		media.name = "Debian 12 \"Bookworm\" is the Best Release of Debian. Ever. - YouTube"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "35"
		application.process.id = "2243"
		application.process.user = "myphis"
		application.process.host = "milkyWay"
		application.process.binary = "firefox"
		application.language = "C.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "4b936ebcd7f442a6acdd2bd1c059698f"
		application.process.session_id = "2"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

systemctl --user status pulseaudio.{socket,service}

                             
● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; preset: enabl>
● pulseaudio.socket - Sound System
● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; preset: enabled)
     Active: active (running) since Sat 2023-07-22 10:10:43 CEST; 28min ago
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.socket

Jul 22 10:10:43 milkyWay systemd[878]: Listening on Sound System.

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; enabled; preset: enabled)
     Active: active (running) since Sat 2023-07-22 10:10:45 CEST; 28min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 886 (pulseaudio)
      Tasks: 8 (limit: 18709)
     Memory: 26.8M
        CPU: 139ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pulseaudio.service
             ├─ 886 /usr/bin/pulseaudio --daemonize=no --log-target=journal
             └─1193 /usr/lib/pulse/gsettings-helper

Jul 22 10:10:43 milkyWay systemd[878]: Starting Sound Service...
Jul 22 10:10:45 milkyWay systemd[878]: Started Sound Service.
Jul 22 10:10:45 milkyWay pulseaudio[886]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features e>
Jul 22 10:13:06 milkyWay pulseaudio[886]: Failed to create sink input: sink is suspended.
Jul 22 10:13:06 milkyWay pulseaudio[886]: Failed to create sink input: sink is suspended.
Jul 22 10:13:06 milkyWay pulseaudio[886]: Failed to create sink input: sink is suspended.

pulseaudio -vv 

                                                                 
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 16.1
D: [pulseaudio] main.c: Compilation CFLAGS: Not yet supported on meson
D: [pulseaudio] main.c: Running on host: Linux x86_64 6.1.39-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 19 Jul 2023 17:58:31 +0000
D: [pulseaudio] main.c: Found 20 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: yes
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Running from build tree: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: All asserts enabled.
I: [pulseaudio] main.c: Machine ID is 4b936ebcd7f442a6acdd2bd1c059698f.
I: [pulseaudio] main.c: Session ID is 2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/myphis/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulseaudio/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.

alsactl init

Found hardware: "HDA-Intel" "Realtek ALC285" "HDA:10ec0285,10431573,00100002 HDA:8086281f,80860101,00100000" "0x1043" "0x1573"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,10431573,00100100" "0x1043" "0x1573"
Hardware is initialized using a generic method

fuser -v /dev/snd/*

                                                         
                                      USER        PID ACCESS COMMAND
/dev/snd/controlC0:  myphis      886 F.... pulseaudio
                     myphis      887 F.... wireplumber
/dev/snd/controlC1:  myphis      886 F.... pulseaudio
                     myphis      887 F.... wireplumber
/dev/snd/seq:        myphis      885 F.... pipewire

I tried to switch to pipewire, but it did not work!
Can you help me, please?

Last edited by Myphis (2023-07-22 08:50:16)

Offline

#2 2023-07-22 17:11:02

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,924

Re: Sound issue on fresh installation [ASUS Flow Z13]

How do you know it did not work?  Not trying to be funny, but what audio source did you try to use?  Were there any errors?

You have both an HDMI output and an Intel HDA.  Any chance your audio is not going where you expect?  Is your monitor HDMI?  Your audio might be going there.  Not much help if there are no speakers.
What desktop environment is this?

May I suggest you install and run pavucontrol ?  It is a handy GUI tool that lets you see what sources are hooked to what sinks, has controls that let you check volumes and mute states, and has audio level meters that might show audio activity even if it is not audible.   


Finally, I suggest you also circle back around to pipewire and find out what are the issues there.  I say this as it is the preferred solution for Arch Linux.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Online

#3 2023-07-22 19:52:42

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

ewaller wrote:

How do you know it did not work?  Not trying to be funny, but what audio source did you try to use?  Were there any errors?

You have both an HDMI output and an Intel HDA.  Any chance your audio is not going where you expect?  Is your monitor HDMI?  Your audio might be going there.  Not much help if there are no speakers.
What desktop environment is this?

May I suggest you install and run pavucontrol ?  It is a handy GUI tool that lets you see what sources are hooked to what sinks, has controls that let you check volumes and mute states, and has audio level meters that might show audio activity even if it is not audible.   


Finally, I suggest you also circle back around to pipewire and find out what are the issues there.  I say this as it is the preferred solution for Arch Linux.

All what concerns my system I posted in my first post, I use Plasma DE.

I try to play youtube video in browser, Firefox, and I don't have output, BTW the video has some problem to reproduce, even if my internet connection is very well.

So it is a laptop, and I want to use built-in speakers those Intel HDA.

Error is with creation of deamon for pulseaudio, as I posted in 5th code block. So I guess there is another instance of pulseaudio is running but I don't know how to stop it.

I tried pavuconsole, and all of possible outputs there, no result. Built-in speakers are not muted, I checked it as well.

Some suggestions?

Last edited by Myphis (2023-07-22 19:54:00)

Offline

#4 2023-07-23 14:47:08

jason_gates
Member
Registered: 2013-02-12
Posts: 7

Re: Sound issue on fresh installation [ASUS Flow Z13]

Hi,
Most likely, pulseaudio is managed by the systemd/User service ( https://wiki.archlinux.org/title/systemd/User ).

Enter the following commands in a terminal:
- view status
$>  systemctl --user status pulseaudio{.socket,.service}
- stop
$> systemctl --user stop pulseaudio{.socket,.service}
- start
$>  systemctl --user start pulseaudio{.socket,.service}

Hope that helps.

Offline

#5 2023-07-23 17:22:57

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

jason_gates wrote:

Hi,
Most likely, pulseaudio is managed by the systemd/User service ( https://wiki.archlinux.org/title/systemd/User ).

Enter the following commands in a terminal:
- view status
$>  systemctl --user status pulseaudio{.socket,.service}
- stop
$> systemctl --user stop pulseaudio{.socket,.service}
- start
$>  systemctl --user start pulseaudio{.socket,.service}

Hope that helps.

Hello, jason_gates!
Thank you for your response, I tried to do so multiple times, it doesn't work.
What is interesting that on my desktop I have the same logs for

pulseaudio -v

like what the deamon is already run, but I have audio output.

Offline

#6 2023-07-23 17:24:53

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

speaker-test

gives nothig

Offline

#7 2023-07-30 19:39:02

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

First see whether your your hardware generates any kind of noise before introducing ways to break your sound (aka "pulseaudio")

aplay -lL
amixer -c0 # that's a guess, also check -c1 and -c2
mpv -ao alsa thunderstruck.mp3
ewaller wrote:

I suggest you also circle back around to pipewire and find out what are the issues there.

Offline

#8 2023-07-31 10:58:45

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

First see whether your your hardware generates any kind of noise before introducing ways to break your sound (aka "pulseaudio")

aplay -lL
amixer -c0 # that's a guess, also check -c1 and -c2
mpv -ao alsa thunderstruck.mp3
ewaller wrote:

I suggest you also circle back around to pipewire and find out what are the issues there.

I reinstalled arch only with pipewire, but a problem persists.

aplay -lL

null
    Discard all samples (playback) or generate zero samples (capture)
pipewire
    PipeWire Sound Server
default
    Default ALSA Output (currently PipeWire Media Server)
sysdefault:CARD=PCH
    HDA Intel PCH, ALC285 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    Front output / input
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC285 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
hdmi:CARD=PCH,DEV=1
    HDA Intel PCH, HDMI 1
    HDMI Audio Output
hdmi:CARD=PCH,DEV=2
    HDA Intel PCH, HDMI 2
    HDMI Audio Output
hdmi:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 3
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, HDMI 0
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=1
    HDA NVidia, HDMI 1
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=2
    HDA NVidia, HDMI 2
    HDMI Audio Output
hdmi:CARD=NVidia,DEV=3
    HDA NVidia, HDMI 3
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC285 Analog [ALC285 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

amixer -c0

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 252 [99%] [-0.60dB]
  Front Right: Playback 252 [99%] [-0.60dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
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 'Internal Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'Internal Mic 1',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
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: 3 [100%] [30.00dB]
  Front Right: 3 [100%] [30.00dB]
Simple mixer control 'Internal Mic Boost',1
  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]

amixer -c1

Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

pacman -Qs pipewire

local/gst-plugin-pipewire 1:0.3.76-2
    Multimedia graph framework - pipewire plugin
local/libpipewire 1:0.3.76-2
    Low-latency audio/video router and processor - client library
local/libwireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire - client library
local/pipewire 1:0.3.76-2
    Low-latency audio/video router and processor
local/pipewire-alsa 1:0.3.76-2
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:0.3.76-2
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:0.3.76-2
    Low-latency audio/video router and processor - JACK support
local/pipewire-pulse 1:0.3.76-2
    Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.4.14-1
    Session / policy manager implementation for PipeWire

pacman -Qs alsa

   
local/alsa-card-profiles 1:0.3.76-2
    Low-latency audio/video router and processor - ALSA card profiles
local/alsa-lib 1.2.9-1
    An alternative implementation of Linux sound support
local/alsa-topology-conf 1.2.5.1-3
    ALSA topology configuration files
local/alsa-ucm-conf 1.2.9-1
    ALSA Use Case Manager configuration (and topologies)
local/alsa-utils 1.2.9-1
    Advanced Linux Sound Architecture - Utilities
local/pipewire-alsa 1:0.3.76-2
    Low-latency audio/video router and processor - ALSA configuration

fuser -v /dev/snd/*

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  myphis      886 F.... wireplumber
/dev/snd/controlC1:  myphis      886 F.... wireplumber
/dev/snd/seq:        myphis      884 F.... pipewire

I suppose that a problem comes from drivers, I have modern laptop and I read that I need sof-firmware, but drivers used by kernel is standard ones, here:

lspci -k

0000:00:1f.3 Audio device: Intel Corporation Device 51ca (rev 01)
	Subsystem: ASUSTeK Computer Inc. Device 1573
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel, snd_sof_pci_intel_tgl
0000:01:00.1 Audio device: NVIDIA Corporation Device 22be (rev a1)
	Subsystem: ASUSTeK Computer Inc. Device 1573
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

Last edited by Myphis (2023-07-31 11:03:30)

Offline

#9 2023-07-31 11:51:14

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

https://archlinux.org/packages/extra/x8 … -firmware/ - didn't see and relevant complaints in your journal in the other thread, though.
Master is on, headphones are off, speakers are on.

Did you try "mpv -ao alsa thunderstruck.mp3" (and don't dare to complain that you don't have a thunderstruck.mp3 in every directory, that's your cultural deficit only tongue )

Offline

#10 2023-07-31 14:01:25

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

https://archlinux.org/packages/extra/x8 … -firmware/ - didn't see and relevant complaints in your journal in the other thread, though.
Master is on, headphones are off, speakers are on.

Did you try "mpv -ao alsa thunderstruck.mp3" (and don't dare to complain that you don't have a thunderstruck.mp3 in every directory, that's your cultural deficit only tongue )

ok, sof-firmware is already installed, how to load this firmware ?

Unfortunately I don't have music at all on my laptop....

Offline

#11 2023-07-31 14:06:23

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

The firmware is automatically loaded if required.

Unfortunately I don't have music at all on my laptop....

Ok, let's fix that first:
https://archlinux.org/packages/extra/any/yt-dlp/

yt-dlp -f140 'https://www.youtube.com/watch?v=v2AC41dglnM'
mpv -ao alsa AC⧸DC\ -\ Thunderstruck\ \(Official\ Video\)\ \[v2AC41dglnM\].m4a

Offline

#12 2023-07-31 14:29:59

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

The firmware is automatically loaded if required.

Unfortunately I don't have music at all on my laptop....

Ok, let's fix that first:
https://archlinux.org/packages/extra/any/yt-dlp/

yt-dlp -f140 'https://www.youtube.com/watch?v=v2AC41dglnM'
mpv -ao alsa AC⧸DC\ -\ Thunderstruck\ \(Official\ Video\)\ \[v2AC41dglnM\].m4a

Thank you for yt package!
No, I hear nothing

Offline

#13 2023-07-31 14:32:01

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

alsamixer -c0

Ramp up the volume for the headphones, do you hear anything (on headphones or speaker)?

Offline

#14 2023-07-31 14:49:31

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:
alsamixer -c0

Ramp up the volume for the headphones, do you hear anything (on headphones or speaker)?

No, nothing....

Offline

#15 2023-07-31 15:54:17

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

Try to add

snd-intel-dspcfg.dsp_driver=1

or

snd-hda-intel.model=asus-zenbook

to the https://wiki.archlinux.org/title/Kernel_parameters and try the regular (non-lts) kernel, https://wiki.archlinux.org/title/ASUS_R … 2LXS#Audio + https://wiki.archlinux.org/title/ASUS_L … tom_kernel

Offline

#16 2023-07-31 18:16:32

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

Try to add

snd-intel-dspcfg.dsp_driver=1

or

snd-hda-intel.model=asus-zenbook

to the https://wiki.archlinux.org/title/Kernel_parameters and try the regular (non-lts) kernel, https://wiki.archlinux.org/title/ASUS_R … 2LXS#Audio + https://wiki.archlinux.org/title/ASUS_L … tom_kernel

so I tried both options in GRUB, it doesn't work in regular kernel neither.
https://wiki.archlinux.org/title/ASUS_R … 2LXS#Audio - it means that I need pulse-audio instead of pipewire?
https://wiki.archlinux.org/title/ASUS_L … tom_kernel - is it a linux kernel for asus laptops? does it mean that I won't be able to use a main lts linux kernel?

Offline

#17 2023-07-31 19:04:11

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

pulseaudio and pipewire are userspace sound daemons; if you don't get sound through alsa, neither of them will help you.
The pulseaudio notion in that article is only because that approach wouldn't let you change the volume except for "on" or "off", so you'd need *some* userspace sound daemon to fine tune the volume.

As the other wiki link points out, the asus kerneĺ no longer has patches that are not in the regular kernel as well (why I asked to try that instead of the LTS one)

You did try to plug in some headphones?

so I tried both options in GRUB

To be sure: you didn't just edit /etc/default/grub but added them to the interactive commandline editor?

Offline

#18 2023-07-31 19:44:41

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

pulseaudio and pipewire are userspace sound daemons; if you don't get sound through alsa, neither of them will help you.
The pulseaudio notion in that article is only because that approach wouldn't let you change the volume except for "on" or "off", so you'd need *some* userspace sound daemon to fine tune the volume.

As the other wiki link points out, the asus kerneĺ no longer has patches that are not in the regular kernel as well (why I asked to try that instead of the LTS one)

You did try to plug in some headphones?

so I tried both options in GRUB

To be sure: you didn't just edit /etc/default/grub but added them to the interactive commandline editor?

How I got from first link there are 3 ways to set it, so I changed GRUB and generated new grub config.

I have to find my wired headphones. I guess u already got that I'm not into music ...

And if standard kernel has all patches, pipewire and pulseaudio don't work for me, in rog control center I don't have any option linked with audio, what else can I do? Because when I play media in web browser I can see over pavucontrol some kind of " equalizer" that indicates output, it's a blue line that moves in tact with sound

Last edited by Myphis (2023-07-31 19:45:49)

Offline

#19 2023-07-31 19:47:58

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

Because when I play media in web browser I can see over pavucontrol some kind of " equalizer" that indicates output, it's a blue line that moves in tact with sound

Just that the system plays something obviously doesn't mean you necessarily hear anything. There're several layers between the userspace sound daemon and your ears.

Test the HP output behavior first.

Offline

#20 2023-07-31 19:57:27

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

Because when I play media in web browser I can see over pavucontrol some kind of " equalizer" that indicates output, it's a blue line that moves in tact with sound

Just that the system plays something obviously doesn't mean you necessarily hear anything. There're several layers between the userspace sound daemon and your ears.

Test the HP output behavior first.

Yeah, I understand this.

OK I will try it tomorrow.

And what do you think about sof-firmware that I installed. In Linux kernel there are standard audio drivers snd_hda_intel, sof-firmware proposes snd_sof_pci_intel_tgl. My kernel uses the standard one. Is there any chance to force kernel to use another one?

And alsa says that intel speaker and nvidia are initiated over standard way, is it good sign?

Last edited by Myphis (2023-07-31 20:00:25)

Offline

#21 2023-07-31 20:16:26

seth
Member
Registered: 2012-09-03
Posts: 53,650

Re: Sound issue on fresh installation [ASUS Flow Z13]

sof-firmware provides firmware, not a kernel module (driver)
They work together and I didn't see any related issues in your former post (also the more common outcome would be the absensence of a sound device)

And alsa says that

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

But your previous aplay/amixer output shows that the intel chip is the default soundcard (which is "good", the nvidia one only feeds the HDMI output)

Offline

#22 2023-07-31 20:42:28

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

seth wrote:

sof-firmware provides firmware, not a kernel module (driver)
They work together and I didn't see any related issues in your former post (also the more common outcome would be the absensence of a sound device)

And alsa says that

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

But your previous aplay/amixer output shows that the intel chip is the default soundcard (which is "good", the nvidia one only feeds the HDMI output)

I posted it here again

Found hardware: "HDA-Intel" "Realtek ALC285" "HDA:10ec0285,10431573,00100002 HDA:8086281f,80860101,00100000" "0x1043" "0x1573"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,10431573,00100100" "0x1043" "0x1573"
Hardware is initialized using a generic method

Offline

#23 2023-08-01 16:09:58

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

Myphis wrote:
seth wrote:

sof-firmware provides firmware, not a kernel module (driver)
They work together and I didn't see any related issues in your former post (also the more common outcome would be the absensence of a sound device)

And alsa says that

Please don't paraphrase, https://bbs.archlinux.org/viewtopic.php?id=57855

But your previous aplay/amixer output shows that the intel chip is the default soundcard (which is "good", the nvidia one only feeds the HDMI output)

I posted it here again

Found hardware: "HDA-Intel" "Realtek ALC285" "HDA:10ec0285,10431573,00100002 HDA:8086281f,80860101,00100000" "0x1043" "0x1573"
Hardware is initialized using a generic method
Found hardware: "HDA-Intel" "Nvidia GPU a7 HDMI/DP" "HDA:10de00a7,10431573,00100100" "0x1043" "0x1573"
Hardware is initialized using a generic method

Hello, so I could not find any wired PH at my place, I tried BT but it does not work
Maybe I have to ask someone a wired PH just to test the sound

Offline

#24 2023-08-02 02:57:25

icar
Member
From: Catalunya
Registered: 2020-07-31
Posts: 469

Re: Sound issue on fresh installation [ASUS Flow Z13]

I have an ASUS zenbook as well, and I used to have issues with the audio system. The fix ended up being a kernel patch:
https://bugzilla.kernel.org/show_bug.cgi?id=212547

Offline

#25 2023-08-02 10:15:21

Myphis
Member
Registered: 2023-07-22
Posts: 61

Re: Sound issue on fresh installation [ASUS Flow Z13]

Searching in Google I found another post about my card  HDA Intel PCH, ALC285 Analog , it tells that there is some issue with pins and solution for that is to disable the hardware acceleration for audio. I can not find any related information how to do so on Linux.
Is it possible? How?

Offline

Board footer

Powered by FluxBB