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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
03-01-2023, 10:58 PM
|
#1
|
LQ Newbie
Registered: Aug 2022
Posts: 6
Rep:
|
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?
|
|
|
03-03-2023, 10:37 AM
|
#2
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,279
|
Sound come out of speakers when you do
To give future responders some hardware info on your sound chip and your install in general
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.
|
|
|
03-03-2023, 11:38 AM
|
#3
|
LQ Newbie
Registered: May 2020
Posts: 1
Rep: 
|
nice Solution
|
|
|
03-04-2023, 03:47 PM
|
#4
|
LQ Newbie
Registered: Aug 2022
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by rokytnji
Sound come out of speakers when you do
To give future responders some hardware info on your sound chip and your install in general
|
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 03:57 PM.
|
|
|
03-04-2023, 07:58 PM
|
#5
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 305
Rep: 
|
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.
|
|
|
03-05-2023, 03:22 AM
|
#6
|
LQ Newbie
Registered: Aug 2022
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by Arnulf
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.
|
|
|
03-05-2023, 09:27 PM
|
#7
|
LQ Veteran
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,279
|
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
|
|
|
03-21-2023, 04:13 AM
|
#8
|
LQ Newbie
Registered: Jan 2023
Posts: 3
Rep:
|
Quote:
Originally Posted by rokytnji
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 08:36 PM.
|
|
|
09-26-2023, 05:59 PM
|
#9
|
LQ Newbie
Registered: Apr 2009
Posts: 7
Rep: 
|
I'm not really following what you did to fix this.
Having the same issue here.
Appreciate any help.
|
|
|
10-03-2023, 01:33 PM
|
#10
|
LQ Newbie
Registered: Aug 2022
Posts: 6
Original Poster
Rep:
|
Quote:
Originally Posted by Goddard
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.
|
|
|
All times are GMT -5. The time now is 06:04 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|