You are not logged in.
Hi All,
it's my first post so i want to be exaustive but i definitely need some guidance.
* Box with onboard graphics and Nvidia NVS 510
* Server usage, no PulseAudio installed at all: video and audio output go to an AVR and in turn a TV)
* I have had HDMI sound on Arch Linux out of the NVidia card using Noveau (no prop drivers installed) working with 5.5 kernels
* I read that 5.6 kernels regressed on NVidia and needed the proprietary drivers
* As i may need the card to be assigned to a KVM guest, and i only would need audio or console terminal out of the onboard graphics, i decided to connect the internal card (activated by default via BIOS)
Current situation:
* Video out of the onboard graphics works (i can see console output via the AVR, connected via the same DP > HDMI cable i was using in 5.5 kernel via the NVidia which was giving also audio)
* I can see both cards and the default card (PC speaker)
* I can hear "speaker-test" output white noise from the card 0 (default)
* with various trial and error attempts, if i try "speaker-test -c 2 -D hdmi:CARD=HDMI,DEV=1" i get:
Unable to set hw params for playback: Cannot allocate memory
Setting of hwparams failed: Cannot allocate memory
* If i add the rate as "speaker-test -c 2 -D hdmi:CARD=HDMI,DEV=1 -r 44100"
I get no errors but NO sound (and i checked that i have all outputs right as i can see the video in the telly out of the AVR connection!!)
...
Periods = 4
was set period_size = 3924896
was set buffer_size = 7849792
0 - Front Left
...
Also, it suspiciously takes a lot of time before switching to the "Front Right" channel (i can only see Front Right on terminal once i press CTRL-C)
Any idea on how to sort this? I am happy to provide any command output in addition to the below you may need to help me sort out the issue and get
=========================================
$$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC3220 Analog [ALC3220 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 8: HDMI 2 [HDMI 2]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 10: HDMI 4 [HDMI 4]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 11: HDMI 5 [HDMI 5]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: NVidia [HDA NVidia], device 12: HDMI 6 [HDMI 6]
Subdevices: 1/1
Subdevice #0: subdevice #0
=========================================
=========================================
$$ aplay -L
surround21
2.1 Surround output to Front and Subwoofer speakers
surround40
4.0 Surround output to Front and Rear speakers
surround41
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50
5.0 Surround output to Front, Center and Rear speakers
surround51
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
null
Discard all samples (playback) or generate zero samples (capture)
default:CARD=PCH
HDA Intel PCH, ALC3220 Analog
Default Audio Device
sysdefault:CARD=PCH
HDA Intel PCH, ALC3220 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
Front speakers
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC3220 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=HDMI,DEV=0
HDA Intel HDMI, HDMI 0
HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
HDA Intel HDMI, HDMI 1
HDMI Audio Output
hdmi:CARD=HDMI,DEV=2
HDA Intel HDMI, HDMI 2
HDMI Audio Output
hdmi:CARD=HDMI,DEV=3
HDA Intel HDMI, 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
hdmi:CARD=NVidia,DEV=4
HDA NVidia, HDMI 4
HDMI Audio Output
hdmi:CARD=NVidia,DEV=5
HDA NVidia, HDMI 5
HDMI Audio Output
hdmi:CARD=NVidia,DEV=6
HDA NVidia, HDMI 6
HDMI Audio Output
=========================================
Last edited by mattange (2020-05-10 09:59:30)
Offline
i managed to figure this out myself.
I had enabled virtualisation in that machine, and plan to use hardware passthrough. so i had passed kernel parameters "intel_iommu=on iommu=pt".
As highlighted by this and other threads (see this link) i needed to pass instead "intel_iommu=on,igfx_off iommu=pt" as kernel parameter.
Offline