Discord Screen Share Audio Not Working

System:    Host: taki Kernel: 5.6.16-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.1.0 Desktop: KDE Plasma 5.18.5 
           Distro: Manjaro Linux 
Machine:   Type: Laptop System: LENOVO product: 81FV v: Lenovo Legion Y530-15ICH serial: <root required> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <root required> UEFI: LENOVO v: 8JCN48WW date: 11/02/2018 
Battery:   ID-1: BAT0 charge: 48.6 Wh condition: 48.6/52.5 Wh (93%) model: CPT-COS L17C3PG1 status: Full 
CPU:       Topology: 6-Core model: Intel Core i7-8750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 9216 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 52815 
           Speed: 800 MHz min/max: 800/4100 MHz Core speeds (MHz): 1: 813 2: 817 3: 811 4: 818 5: 805 6: 824 7: 808 8: 812 
           9: 818 10: 825 11: 817 12: 820 
Graphics:  Device-1: Intel UHD Graphics 630 vendor: Lenovo driver: i915 v: kernel bus ID: 00:02.0 
           Device-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile] vendor: Lenovo driver: nouveau v: kernel bus ID: 01:00.0 
           Display: x11 server: X.Org 1.20.8 driver: intel,nouveau unloaded: modesetting 
           resolution: 1920x1080~60Hz, 1600x900~60Hz 
           OpenGL: renderer: Mesa Intel UHD Graphics 630 (CFL GT2) v: 4.6 Mesa 20.0.7 direct render: Yes 
Audio:     Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
           Device-2: NVIDIA GP107GL High Definition Audio driver: snd_hda_intel v: kernel bus ID: 01:00.1 
           Sound Server: ALSA v: k5.6.16-1-MANJARO 
Network:   Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter vendor: Lenovo ThinkPad E595 driver: rtw_pci v: N/A 
           port: 4000 bus ID: 06:00.0 
           IF: wlp6s0 state: up mac: 28:3a:4d:75:02:0d 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000 
           bus ID: 07:00.0 
           IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: e8:6a:64:91:39:6d 
           IF-ID-1: tun0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Drives:    Local Storage: total: 931.51 GiB used: 217.04 GiB (23.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB 
RAID:      Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 bus ID: 00:17.0 
Partition: ID-1: / size: 898.80 GiB used: 217.04 GiB (24.1%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 17.06 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 62.0 C mobo: N/A gpu: nouveau temp: 51 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 293 Uptime: 52m Memory: 15.51 GiB used: 5.17 GiB (33.3%) Init: systemd Compilers: gcc: 10.1.0 
           Shell: bash v: 5.0.17 inxi: 3.0.37 

Newbie here. Casual gamer.

I'm wanting to stream a show to one of my friends using VLC Media Player using the Discord Screen Share feature. I've streamed video games and videos on my web browser on Discord in the past, and I've never run into a problem until now. My audio just... doesn't work when streaming. It works everywhere else, but not here. I restarted my computer, uninstalled and reinstalled Discord, made sure everything was up to date, repeatedly checked my Discord settings and adjusted them, changed my audio input and output settings multiple times, and nothing has changed. Windows users have this problem too, but all the solutions are things one can only do in Windows, so there goes that. I also asked my friend to stream something, and he did, and it worked perfectly. Also, every time I stream VLC Media Player fullscreen, Discord instantly crashes, which could be related. I also attempted to stream on Firefox, KMPlayer, and MPlayer Media Player, all to no avail. Is there something I'm missing?

You might want to check and use proprietary drivers for that GPU, not the nouveau. This might reveal a few things about it, since your system has hybrid GPUs:

For that you might want to take a look here:

Thank you for your response.

I followed the instructions of both of those threads to the letter, and I intend to give it another go when I'm in the mood to diffuse a bomb, but some programs I use on a daily basis outright stopped working due to switching my graphics card and - especially - installing sof-firmware. Also, upon checking after switching my graphics card, the audio from my stream still didn't work. Which made sense. Everything works fine with my current driver (ironically enough), so I restored my system image so that I have the one listed.

I must admit that my issue has not been addressed to its fullest potential. I moved this thread to Newbie Corner, because upon entering the rabbit hole you put me in, I realized my assistance requires more... explanation. Not that your response was bad by any means, but I'm interested in why.

Lenovo has a solution for another OS that is more similar to Linux than i realised
Audio device missing or cannot find audio device - ThinkPad, ThinkCentre, ThinkStation

i am surprised Lenovo is recommending use of High Definition Audio Controller over the Intel SST Audio as i thought sofproject issues were just a Linux problem

sof-firmware is needed for driver sof-hds-dsp to support internal digital microphone array
( required by another OS for supporting voice commands to a virtual assistant)
as far as i know, all Intel Cannon Lake audio codec laptops have internal digital array of 2 or 4 microphones
intel.com - Smart Sound Technology
sofproject.org

but if a user has an external microphone, the internal microphone array can be disabled and the rest of the audio codec will work with the 'legacy' driver snd_hda_intel

current solution to disable internal microphone is to use a command like this:

echo 'options snd-intel-dspcfg dsp_driver=1' | sudo tee -a etc/modprobe.d/alsa-hda.conf

command creates a file etc/modprobe.d/alsa-hda.conf to add boot option dspcfg dsp_driver=1 to load snd_hda_intel driver
this boot option replaces another kernel option - options snd_hda_intel.dmic_detect=0 this option still works at the moment, but is expected to be dropped soon

2 Likes

Oh!!! Thank you so much!

Just a little FYI, Discord does not officially support sharing audio when streaming on Linux & Mac as mentioned on there website:

Unfortunately, audio sharing is unavailable on Mac and Linux.

2 Likes

Hm. That's annoying. Thanks for the heads up.

Forum kindly sponsored by