LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-16-2020, 03:17 AM   #1
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Rep: Reputation: Disabled
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
 
Old 05-16-2020, 05:47 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Can you report back with output from...
Code:
aplay -l
Code:
/sbin/lspci -nnk | grep -iA2 vga
 
Old 05-16-2020, 05:48 AM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
You may just need to configure profile via pavucontrol.
 
Old 05-16-2020, 06:41 AM   #4
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 629

Rep: Reputation: Disabled
Have you checked Sound in System Settings and/or Yast?
 
Old 05-16-2020, 10:07 AM   #5
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Can you report back with output from...
Code:
aplay -l
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
 
Old 05-16-2020, 10:08 AM   #6
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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)
 
Old 05-16-2020, 10:11 AM   #7
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by petelq View Post
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.
 
Old 05-16-2020, 12:33 PM   #8
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-16-2020, 05:56 PM   #9
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Quote:
Originally Posted by Bp_Tec View Post
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
 
Old 05-16-2020, 06:13 PM   #10
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
Quote:
Originally Posted by Bp_Tec View Post
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.
 
Old 05-17-2020, 02:19 PM   #11
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post

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
 
Old 05-17-2020, 02:22 PM   #12
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
Indeed this may be the case...
https://lists.opensuse.org/opensuse-.../msg00307.html
In particular


BTW, is your TW installation fully-updated?
Yes fully updated with zypper dup every week.
 
Old 05-17-2020, 04:04 PM   #13
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
See if the advice re kernel in post #10 helps.
 
Old 05-18-2020, 03:11 AM   #14
Bp_Tec
LQ Newbie
 
Registered: Oct 2019
Location: Portugal
Distribution: OpenSUSE Tumbleweed
Posts: 18

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-18-2020, 03:43 AM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,937

Rep: Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165Reputation: 1165
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Upgrading OpenSUSE Leap to OpenSUSE Tumbleweed LXer Syndicated Linux News 0 10-25-2016 11:31 AM
LXer: How to upgrade openSUSE Leap to openSUSE Tumbleweed LXer Syndicated Linux News 0 10-11-2016 09:48 AM
LXer: GCC 6 Imminent for openSUSE Tumbleweed, openSUSE Leap 42.2 Alpha 2 Coming Soon LXer Syndicated Linux News 0 06-16-2016 02:51 AM
OpenSUSE 12.1 and Tumbleweed make screen shake and flicker schachwizard SUSE / openSUSE 5 11-24-2011 10:53 AM
LXer: openSUSE 11.4 review – KDE 4.6 and Tumbleweed shine LXer Syndicated Linux News 0 03-18-2011 02:00 PM

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

All times are GMT -5. The time now is 01:57 AM.

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