Okay
So I’m fairly new to Linux, but I’ve tried mostly everything and still can’t seem to enable audio over DisplayPort on my MSI laptop with a GTX 1060 and Intel iGPU. Could someone please help me with this?
OS - Ubuntu 20.10
Kernel - 5.8.0
Driver - 460.56
Prime - Nvidia (Performance Mode)
Setup - Laptop with an external Monitor over DP connected on the side
In sound settings, I only see options for Speakers/Headphones and SPDIF output, nothing for DP.
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC898 Analog [ALC898 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC898 Digital [ALC898 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
lspci | grep -i audio
00:1f.3 Audio device: Intel Corporation CM238 HD Audio Controller (rev 31)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev ff)
lspci | grep -i nvidia
01:00.0 VGA compatible controller: NVIDIA Corporation GP106M [GeForce GTX 1060 Mobile] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev ff)
aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
default
Playback/recording through the PulseAudio sound server
samplerate
Rate Converter Plugin Using Samplerate Library
speexrate
Rate Converter Plugin Using Speex Resampler
jack
JACK Audio Connection Kit
oss
Open Sound System
pulse
PulseAudio Sound Server
upmix
Plugin for channel upmix (4,6,8)
vdownmix
Plugin for channel downmix (stereo) with a simple spacialization
hw:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
HDA Intel PCH, ALC898 Digital
Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
HDA Intel PCH, ALC898 Digital
Hardware device with all software conversions
sysdefault:CARD=PCH
HDA Intel PCH, ALC898 Analog
Default Audio Device
front:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
Front output / input
surround21:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=PCH,DEV=0
HDA Intel PCH, ALC898 Analog
Direct sample mixing device
dmix:CARD=PCH,DEV=1
HDA Intel PCH, ALC898 Digital
Direct sample mixing device
usbstream:CARD=PCH
HDA Intel PCH
USB Stream Output
usbstream:CARD=Device
USB PnP Audio Device
USB Stream Output
I tried this but it crashed my laptop on the login screen if I had DP connected. If I removed DP and then turned it on, then I could log in and connect the DP cable back and 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev ff) in lspci changed to 01:00.1 Audio device: NVIDIA Corporation GP106 High Definition Audio Controller (rev a1) but there was still no option to change audio output to DisplayPort.
I also tried pulseaudio volume control but even that has no outputs.
I don’t understand what’s wrong here. BIOS has no setting to permanently keep Nvidia GPU on, nor does it have any settings to change/disable onboard/external audio. I’ve tried everything I could search for, so I’m posting this for help.
If you need any more info, please let me know.
Thanks!
nvidia-bug-report.log.gz (437.5 KB)