LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-01-2023, 09:58 PM   #1
dinaoexpert
LQ Newbie
 
Registered: Aug 2022
Posts: 6

Rep: Reputation: 1
No audio for Razer Blade 18 2023


I have Ubuntu 22.04 running on Razer Blade 18 2023 and everything seems to work fine except for audio.

My kernel:
Code:
Linux <redacted> 5.19.0-32-generic #33~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Mon Jan 30 17:03:34 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
A couple observations:
- sof-hda-dsp Speaker + Headphones is recognized by pavucontrol
- Speaker does not work
- Headphone port works and the L/R channels are correct
- Both onboard and headphone mic works

I am quite new to audio debugging, what are some good ways to dig into this issue? What logs should I grab and what should I be looking for?
 
Old 03-03-2023, 09:37 AM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,148
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
Sound come out of speakers when you do

Code:
speaker-test
To give future responders some hardware info on your sound chip and your install in general

Code:
inxi -Fxz
I think inxi is in ubuntu. I know speaker test is.

On this chromebook. Took me 2 days to figure out sound.

Code:
harry@antix1:~
$ cd UCM
harry@antix1:~/UCM
$ ls
bytcht-da7213   byt-rt5640      sof-bdw-rt5677     sof-cht-bsw-rt5672
bytcht-nocodec  cht-bsw-rt5672  sof-bxtda7219max   sof-chtmax98090
bytcht-pcm512x  chtmax98090     sof-bxt-pcm512x    sof-chtrt5645
bytcr-rt5640    chtnau8824      sof-bytcht-da7213
bytcr-rt5651    chtrt5645       sof-bytcr-rt5640
byt-max98090    skl_hda_card    sof-bytcr-rt5651
harry@antix1:~/UCM
Thanks to the internet. Bluetooth I am still working on, sometimes. Head scratching involved running linux on newer gear.
 
Old 03-03-2023, 10:38 AM   #3
cracklier
LQ Newbie
 
Registered: May 2020
Posts: 1

Rep: Reputation: Disabled
nice Solution
 
Old 03-04-2023, 02:47 PM   #4
dinaoexpert
LQ Newbie
 
Registered: Aug 2022
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by rokytnji View Post
Sound come out of speakers when you do

Code:
speaker-test
To give future responders some hardware info on your sound chip and your install in general

Code:
inxi -Fxz
My inxi output looks like:

Code:
System:
  Kernel: 5.19.0-35-generic x86_64 bits: 64 compiler: N/A Desktop: GNOME 42.5
    Distro: Ubuntu 22.04.2 LTS (Jammy Jellyfish)
Machine:
  Type: Laptop System: Razer product: Blade 18 - RZ09-0484 v: 9.04
    serial: <superuser required>
  Mobo: Razer model: KI890 v: 4 serial: <superuser required> UEFI: Razer
    v: 1.01 date: 12/01/2022
Battery:
  ID-1: BAT0 charge: 85.2 Wh (88.1%) condition: 96.7/91.7 Wh (105.5%)
    volts: 15.9 min: 15.4 model: Razer Blade status: Discharging
CPU:
  Info: 24-core (8-mt/16-st) model: 13th Gen Intel Core i9-13950HX bits: 64
    type: MST AMCP arch: N/A rev: 1 cache: L1: 2.1 MiB L2: 32 MiB L3: 36 MiB
  Speed (MHz): avg: 1972 high: 2400 min/max: 800/5300:5500:4000 cores:
    1: 935 2: 2400 3: 2400 4: 2400 5: 977 6: 2400 7: 926 8: 2400 9: 990
    10: 2400 11: 1438 12: 2400 13: 800 14: 2400 15: 954 16: 2400 17: 995
    18: 2400 19: 2400 20: 826 21: 2400 22: 2400 23: 2400 24: 2400 25: 2400
    26: 2400 27: 2400 28: 2400 29: 1470 30: 2400 31: 2400 32: 2400
    bogomips: 154828
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel vendor: Razer USA driver: i915 v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA vendor: Razer USA driver: nvidia v: 525.85.05
    bus-ID: 01:00.0
  Device-3: Luxvisions Innotech Integrated Camera type: USB
    driver: uvcvideo bus-ID: 1-8:3
  Display: x11 server: X.Org v: 1.21.1.3 driver: X:
    loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa gpu: i915
    resolution: 2560x1600~240Hz
  OpenGL: renderer: NVIDIA GeForce RTX 4070 Laptop GPU/PCIe/SSE2
    v: 4.6.0 NVIDIA 525.85.05 direct render: Yes
Audio:
  Device-1: Intel vendor: Razer USA driver: sof-audio-pci-intel-tgl
    bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.19.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Intel driver: iwlwifi v: kernel port: N/A bus-ID: 00:14.3
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Razer USA driver: r8169
    v: kernel port: 3000 bus-ID: 6e:00.0
  IF: enp110s0 state: down mac: <filter>
  IF-ID-1: br-812a844680b4 state: down mac: <filter>
  IF-ID-2: br-87d857a8844f state: down mac: <filter>
  IF-ID-3: br-e1d19f37843d state: down mac: <filter>
  IF-ID-4: br-e293a6fce44b state: down mac: <filter>
  IF-ID-5: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel type: USB driver: btusb v: 0.8 bus-ID: 1-14:5
  Report: hciconfig ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
  Local Storage: total: 2.75 TiB used: 66.98 GiB (2.4%)
  ID-1: /dev/nvme0n1 model: NVMe CA6-8D1024 size: 953.87 GiB temp: 24.9 C
  ID-2: /dev/nvme1n1 vendor: Sabrent model: Rocket 4.0 Plus size: 1.82 TiB
    temp: 27.9 C
Partition:
  ID-1: / size: 1.79 TiB used: 66.93 GiB (3.7%) fs: ext4 dev: /dev/nvme1n1p2
  ID-2: /boot/efi size: 96 MiB used: 54 MiB (56.3%) fs: vfat
    dev: /dev/nvme0n1p2
Swap:
  ID-1: swap-1 type: partition size: 1.91 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme1n1p1
Sensors:
  System Temperatures: cpu: 45.0 C mobo: 27.8 C gpu: nvidia temp: 51 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 561 Uptime: 11h 53m Memory: 62.44 GiB used: 6.18 GiB (9.9%)
  Init: systemd runlevel: 5 Compilers: gcc: 11.3.0 Packages: 1932 Shell: Bash
  v: 5.1.16 inxi: 3.3.13
Some more information:
Code:
$ sudo lspci -v | grep -A6 Audio
01:00.1 Audio device: NVIDIA Corporation Device 22bd (rev a1)
	Subsystem: Razer USA Ltd. Device 3007
	Flags: bus master, fast devsel, latency 0, IRQ 17, IOMMU group 16
	Memory at 74080000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: [60] Power Management version 3
	Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [78] Express Endpoint, MSI 00
Code:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0

The speaker does not play any sound with any sound testing programs including speaker-test.

Last edited by dinaoexpert; 03-04-2023 at 02:57 PM.
 
Old 03-04-2023, 06:58 PM   #5
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 274

Rep: Reputation: 89
Your problem is that HDMI is assigned to card 0 and HDA to card 1.
This can be toggled but it's a little bit difficult.
It seems to be more easy to try pavucontrol:
Open pavucontrol, go to "Configuration" and set HDMI Audio to "off" and HD Audio Controller to "Analog Stereo Output" (for speakers/headphones only) or "Analog Stereo Duplex" (for speakers/headphones & microphone). Then go to "Output Devices" and set for HD Audio Controller Line Out a value of 100% (0 dB) or a shade less.
 
Old 03-05-2023, 02:22 AM   #6
dinaoexpert
LQ Newbie
 
Registered: Aug 2022
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Arnulf View Post
Your problem is that HDMI is assigned to card 0 and HDA to card 1.
This can be toggled but it's a little bit difficult.
It seems to be more easy to try pavucontrol:
Open pavucontrol, go to "Configuration" and set HDMI Audio to "off" and HD Audio Controller to "Analog Stereo Output" (for speakers/headphones only) or "Analog Stereo Duplex" (for speakers/headphones & microphone). Then go to "Output Devices" and set for HD Audio Controller Line Out a value of 100% (0 dB) or a shade less.
In the configuration tab, I see:
- HDA Nvidia
- Profile:
- *HDMI* output (unplugged)(unavailable)
- Off <<< currently selected
- sof-hda-dsp
- Profile:
- Play Hifi quality Music <<< currently selected
- Off
I then went back to output devices and see the following:
- sof-hda-dsp HDMI / Displayport 3 Output
- Port: HDMI / Displayport 3 Output (unplugged)
- Volume: 100%
- sof-hda-dsp HDMI / Displayport 2 Output
- Port: HDMI / Displayport 2 Output (unplugged)
- Volume: 100%
- sof-hda-dsp HDMI / Displayport 1 Output
- Port: HDMI / Displayport 1 Output (unplugged)
- Volume: 100%
- sof-hda-dsp Speaker + Headphones
- Port: Speaker
- Volume: 100%
There was nothing valid to set to in the configuration tab basically and there is still no sound.
 
Old 03-05-2023, 08:27 PM   #7
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,148
Blog Entries: 21

Rep: Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483Reputation: 3483
Most relevant info I see for google search term

Code:
Audio:
  Device-1: Intel vendor: Razer USA driver: sof-audio-pci-intel-tgl
    bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.19.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Shotgun link

Now you see why it took me a couple of days to figure out this chromebook.

Ubuntu shotgun link
 
Old 03-21-2023, 03:13 AM   #8
MirandaOchoa
LQ Newbie
 
Registered: Jan 2023
Posts: 3

Rep: Reputation: 2
Quote:
Originally Posted by rokytnji View Post
Most relevant info I see for google search term

Code:
Audio:
  Device-1: Intel vendor: Razer USA driver: sof-audio-pci-intel-tgl
    bus-ID: 00:1f.3
  Device-2: NVIDIA vendor: Razer USA driver: snd_hda_intel v: kernel
    bus-ID: 01:00.1
  Sound Server-1: ALSA v: k5.19.0-35-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Shotgun link

Now you see why it took me a couple of days to figure out this chromebook.
Thanks for the help, you made my day.If you are looking for the best essay writer online then you can go to this official source and read what he said here you can see many sites with the reviews where you can find the best writer for your essay writing.
Thanks for the help, you made my day.

Last edited by MirandaOchoa; 03-26-2023 at 07:36 PM.
 
Old 09-26-2023, 04:59 PM   #9
Goddard
LQ Newbie
 
Registered: Apr 2009
Posts: 7

Rep: Reputation: Disabled
I'm not really following what you did to fix this.

Having the same issue here.

Appreciate any help.
 
Old 10-03-2023, 12:33 PM   #10
dinaoexpert
LQ Newbie
 
Registered: Aug 2022
Posts: 6

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by Goddard View Post
I'm not really following what you did to fix this.

Having the same issue here.

Appreciate any help.
Yeah I am not sure what that guy meant, still haven't found a solution to this.
 
  


Reply

Tags
audio, no audio, soundcard



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
No high refresh rate on any linux distro - Razer Blade 15 2022 rook21 Linux - Laptop and Netbook 3 10-20-2022 09:06 PM
Audio issues with razer blade 15 2022 brianmay27 Linux - Hardware 19 09-02-2022 05:11 AM
[SOLVED] Razer Blade (2016) + Debain zoelee4 Linux - Hardware 43 09-26-2016 11:16 AM
USB to PS2 Adapter Mice How To / Razer Boomslang 2.6 transeunt Linux - Hardware 0 12-26-2003 01:49 PM
Razer Boomslang nihility Linux - Hardware 0 01-10-2003 11:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration