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.
|
|
|
05-16-2020, 03:17 AM
|
#1
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Rep:
|
OpenSuse Tumbleweed - ALSA not seeing audio
Hey everyone,
So I'm having a little trouble with ALSA seeing my audio output from my NVIDIA card.
I moved to OpenSuse Tumbleweed from Debian 10 Buster, on buster the Display Port would send audio out to my monitor, and I would have a sound card that I could change between the internal PC audio, and the display port audio.
I', running ALSA version k5.6.11-1-default, and kernel 5.6.11-1-default
As you can see, the output of aplay -L only sees my Intel card.
sudo aplay -L
Code:
null
Discard all samples (playback) or generate zero samples (capture)
sysdefault
Default Audio Device
speexrate
Rate Converter Plugin Using Speex Resampler
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
default
Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=PCH
HDA Intel PCH, ALC233 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC233 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=PCH,DEV=4
HDA Intel PCH, HDMI 4
HDMI Audio Output
The same can be seen in ?proc/asound/cards
Code:
cat /proc/asound/cards
0 [C920 ]: USB-Audio - HD Pro Webcam C920
HD Pro Webcam C920 at usb-0000:00:14.0-1.2, high speed
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xb4230000 irq 142
My P400 NVIDIA Quadro card is detected and can been seen, and is working normally.
Code:
sudo lspci
[sudo] password for root:
00:00.0 Host bridge: Intel Corporation 8th Gen Core Processor Host Bridge/DRAM Registers (rev 07)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor PCIe Controller (x16) (rev 07)
00:02.0 Display controller: Intel Corporation UHD Graphics 630 (Desktop)
00:08.0 System peripheral: Intel Corporation Xeon E3-1200 v5/v6 / E3-1500 v5 / 6th/7th/8th Gen Core Processor Gaussian Mixture Model
00:14.0 USB controller: Intel Corporation Cannon Lake PCH USB 3.1 xHCI Host Controller (rev 10)
00:14.2 RAM memory: Intel Corporation Cannon Lake PCH Shared SRAM (rev 10)
00:14.3 Network controller: Intel Corporation Wireless-AC 9560 [Jefferson Peak] (rev 10)
00:15.0 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #0 (rev 10)
00:15.1 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH Serial IO I2C Controller #1 (rev 10)
00:16.0 Communication controller: Intel Corporation Cannon Lake PCH HECI Controller (rev 10)
00:16.3 Serial controller: Intel Corporation Cannon Lake PCH Active Management Technology - SOL (rev 10)
00:17.0 SATA controller: Intel Corporation Cannon Lake PCH SATA AHCI Controller (rev 10)
00:1e.0 Communication controller: Intel Corporation Cannon Lake PCH Serial IO UART Host Controller (rev 10)
00:1f.0 ISA bridge: Intel Corporation Cannon Point-LP LPC Controller (rev 10)
00:1f.3 Audio device: Intel Corporation Cannon Lake PCH cAVS (rev 10)
00:1f.4 SMBus: Intel Corporation Cannon Lake PCH SMBus Controller (rev 10)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Cannon Lake PCH SPI Controller (rev 10)
00:1f.6 Ethernet controller: Intel Corporation Ethernet Connection (7) I219-LM (rev 10)
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P400] (rev a1)
I'm assuming that the ALSA kernel modules are not correctly loaded, which is why tumbleweed is not seeing my NVIDIA audio card, but I am fairly new to openSuse, and only just beginning my journey into Linux.
If this is the case, then how do I update the ALSA kernel modules?
Last edited by Bp_Tec; 05-16-2020 at 10:13 AM.
Reason: Separate terminal output
|
|
|
05-16-2020, 05:47 AM
|
#2
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Can you report back with output from...
Code:
/sbin/lspci -nnk | grep -iA2 vga
|
|
|
05-16-2020, 05:48 AM
|
#3
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
You may just need to configure profile via pavucontrol.
|
|
|
05-16-2020, 06:41 AM
|
#4
|
Member
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629
Rep:
|
Have you checked Sound in System Settings and/or Yast?
|
|
|
05-16-2020, 10:07 AM
|
#5
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
Can you report back with output from...
Code:
/sbin/lspci -nnk | grep -iA2 vga
|
Code:
sudo aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC233 Analog [ALC233 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 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
Code:
sbin/lspci -nnk | grep -iA2 vga
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP107GL [Quadro P400] [10de:1cb3] (rev a1)
Subsystem: NVIDIA Corporation Device [10de:11be]
Kernel driver in use: nvidia
|
|
|
05-16-2020, 10:08 AM
|
#6
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
You may just need to configure profile via pavucontrol.
|
The problem is that the system doesn't see any NVIDIA sound device, so there is nothing to switch to, only my Analogue sound (which is the internal card)
|
|
|
05-16-2020, 10:11 AM
|
#7
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by petelq
Have you checked Sound in System Settings and/or Yast?
|
Yes, but it only see's my internal sound card, not the NVIDIA pass through sound.
If I look in /proc/asound/cards there is only the Intel card and my usb microphone, the NVIDIA is not seen.
|
|
|
05-16-2020, 12:33 PM
|
#8
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
I have been reading the document here https://download.nvidia.com/XFree86/...udio-document/ and here https://download.nvidia.com/XFree86/...issues_in_alsa
In section 10.3 of the alsa issues, it says:-
The ALSA library used to enumerate only a single logical HDMI device per GPU. However, in many cases, there are more. This prevents the creation of an hdmi: device for any but the very first HDMI output of a given sound card, which is often not the device the user needs to use.
I'm wondering if this may have something to do with my issue?
Could this be a bug in Tumbleweed?
|
|
|
05-16-2020, 05:56 PM
|
#9
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Quote:
Originally Posted by Bp_Tec
The problem is that the system doesn't see any NVIDIA sound device, so there is nothing to switch to, only my Analogue sound (which is the internal card)
|
I posted that before we had the requested alsa-related info.
The lspci output you shared tells us nothing. Run the alsa-info.sh diagnostic script, and it will upload the detailed output to an online server. Post the link to it here.
More info in the openSUSE wiki...
https://en.opensuse.org/SDB:Audio_tr..._to_run_script
|
|
|
05-16-2020, 06:13 PM
|
#10
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
Quote:
Originally Posted by Bp_Tec
Could this be a bug in Tumbleweed?
|
Indeed this may be the case...
https://lists.opensuse.org/opensuse-.../msg00307.html
In particular
Quote:
If you're dealing with HDMI audio with Nvidia binary driver, there was
a known regression regarding HDMI hotplug notification on 5.5 kernel,
and it got already fixed in the later 5.5.y kernel. You can try the
kernel package from OBS Kernel:stable repo.
|
BTW, is your TW installation fully-updated?
Last edited by ferrari; 05-16-2020 at 06:14 PM.
|
|
|
05-17-2020, 02:19 PM
|
#11
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
Run the alsa-info.sh diagnostic script, and it will upload the detailed output to an online server. Post the link to it here.
|
As requested
http://alsa-project.org/db/?f=e1eb3d...2503c921f73a18
|
|
|
05-17-2020, 02:22 PM
|
#12
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
Originally Posted by ferrari
|
Yes fully updated with zypper dup every week.
|
|
|
05-17-2020, 04:04 PM
|
#13
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
See if the advice re kernel in post #10 helps.
|
|
|
05-18-2020, 03:11 AM
|
#14
|
LQ Newbie
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18
Original Poster
Rep:
|
Quote:
and it requires the own firmware and the new
UCM support in ALSA and PulseAudio. The SOF firmware is found in
sof-firmware package, while the new UCM support is still not fully
included in TW packages. Those updates are found in OBS
home:tiwai:branches:multimedia:libs repo, waiting for some test
results.
|
Do I need to install sof-firmware? If so where do I get this?
|
|
|
05-18-2020, 03:43 AM
|
#15
|
LQ Guru
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937
|
It's in the official TW repo according to software.opensuse.org
so
Code:
zypper in sof-firmware
However, my thinking was more around Takashi's suggested workaround...trying the kernel package from OBS Kernel:stable repo. Anyway, let us know how you get on.
|
|
|
All times are GMT -5. The time now is 01:57 AM.
|
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
|
|