Discord screenshare on Manjaro using Xorg and Gnome: no audio

Can’t screenshare in discord etc.

I switched to manjaro for better experience but In discord etc. I can’t screenshare my entire screen or If I screenshare application there is no audio.

:+1: Welcome to Manjaro! :+1:

  1. Please read this:
    How to provide good information
    and post some more information so we can see what’s really going on. Now we know the symptom of the disease, but we need some more probing to know where the origin lies…
  2. An inxi --admin --verbosity=7 --filter --no-host --width would be the minimum required information… (Personally Identifiable Information like serial numbers and MAC addresses will be filtered out by the above command)
    Also, please copy-paste that output in-between 3 backticks ``` at the beginning and end of the code/text.

:+1:

P.S. If you enter a bit more details in your profile, we can also see which Desktop Environment you’re using, which CPU/GPU or Kernel, … you have without typing it every time

Btw I just switched to Xorg and screenshare is nearly fine. I said nearly cause It sees 2 monitor like 1 and shares both of them at same screen. And I have still no sound problem.

My inxi --admin --verbosity=7 --filter --no-host --width output:

  Kernel: 5.10.34-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10-x86_64 
  root=UUID=cb756a31-103f-41d5-b7e4-d26b01d0a5bf rw quiet splash apparmor=1 
  security=apparmor resume=UUID=3775948c-6e6b-4560-ab0d-d02c369e033f 
  udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: Micro-Star model: B350 PC MATE (MS-7A34) v: 2.0 
  serial: <filter> UEFI: American Megatrends v: A.70 date: 09/20/2017 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 15.65 GiB used: 5.75 GiB (36.8%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: 6-Core model: AMD Ryzen 5 1600X bits: 64 type: MT MCP arch: Zen 
  family: 17 (23) model-id: 1 stepping: 1 microcode: 8001129 cache: L2: 3 MiB 
  bogomips: 91188 
  Speed: 3261 MHz min/max: 2200/3800 MHz boost: disabled Core speeds (MHz): 
  1: 3261 2: 3439 3: 3422 4: 3457 5: 3614 6: 3783 7: 3515 8: 3529 9: 3672 
  10: 3670 11: 3769 12: 3761 
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1 
  bmi2 bpext clflush clflushopt clzero cmov cmp_legacy constant_tsc cpb cpuid 
  cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid f16c flushbyasid 
  fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate irperf lahf_lm lbrv lm mca mce 
  misalignsse mmx mmxext monitor movbe msr mtrr mwaitx nonstop_tsc nopl npt 
  nrip_save nx osvw overflow_recov pae pat pausefilter pclmulqdq pdpe1gb 
  perfctr_core perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 
  rdrand rdseed rdtscp rep_good sep sev sha_ni skinit smap smca sme smep ssbd 
  sse sse2 sse4_1 sse4_2 sse4a ssse3 succor svm svm_lock syscall tce topoext 
  tsc tsc_scale v_vmsave_vmload vgif vmcb_clean vme vmmcall wdt xgetbv1 xsave 
  xsavec xsaveerptr xsaveopt xsaves 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full AMD retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] 
  vendor: Micro-Star MSI driver: amdgpu v: kernel bus-ID: 23:00.0 
  chip-ID: 1002:67df class-ID: 0300 
  Display: x11 server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: amdgpu,ati unloaded: modesetting alternate: fbdev,vesa 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Radeon RX 570 Series (POLARIS10 DRM 3.40.0 
  5.10.34-1-MANJARO LLVM 11.1.0) 
  v: 4.6 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] 
  vendor: Micro-Star MSI driver: snd_hda_intel v: kernel bus-ID: 23:00.1 
  chip-ID: 1002:aaf0 class-ID: 0403 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus-ID: 25:00.3 chip-ID: 1022:1457 
  class-ID: 0403 
  Device-3: Focusrite-Novation Focusrite Scarlett 2i2 2nd Gen type: USB 
  driver: snd-usb-audio bus-ID: 3-2:3 chip-ID: 1235:8202 class-ID: 0102 
  Sound Server-1: ALSA v: k5.10.34-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.26 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: f000 bus-ID: 21:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp33s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc 
  bus-ID: 1-3:2 chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter> 
  IF: wlp3s0f0u3 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 2.05 TiB used: 914.96 GiB (43.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM024 HN-M101MBB 
  size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 0001 scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: SanDisk model: SDSSDH3 250G 
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  rotation: SSD serial: <filter> rev: 00RL scheme: GPT 
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10PURX-64D85Y0 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A01 scheme: GPT 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 930.54 GiB size: 914.86 GiB (98.31%) 
  used: 32.49 GiB (3.6%) fs: ext4 dev: /dev/sdc3 maj-min: 8:35 label: N/A 
  uuid: cb756a31-103f-41d5-b7e4-d26b01d0a5bf 
  ID-2: /boot/efi raw-size: 501 MiB size: 500 MiB (99.80%) 
  used: 296 KiB (0.1%) fs: vfat dev: /dev/sdc1 maj-min: 8:33 label: NO_LABEL 
  uuid: 3178-4408 
  ID-3: /run/media/minik/YEDEK raw-size: 931.51 GiB size: 931.51 GiB (100.00%) 
  used: 882.31 GiB (94.7%) fs: ntfs dev: /dev/sda1 maj-min: 8:1 label: YEDEK 
  uuid: BE6283E86283A42D 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 500 MiB used: 160.2 MiB (32.0%) 
  priority: -2 dev: /dev/sdc2 maj-min: 8:34 label: N/A 
  uuid: 3775948c-6e6b-4560-ab0d-d02c369e033f 
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 499 MiB fs: ntfs label: N/A 
  uuid: 14EA4E08EA4DE698 
  ID-2: /dev/sdb2 maj-min: 8:18 size: 100 MiB fs: vfat label: N/A 
  uuid: 3A72-92EE 
  ID-3: /dev/sdb3 maj-min: 8:19 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-4: /dev/sdb4 maj-min: 8:20 size: 232.28 GiB fs: ntfs label: N/A 
  uuid: C86C7ED06C7EB8B0 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-3:2 info: Qualcomm Atheros AR9271 802.11n type: Network 
  driver: ath9k_htc interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter> 
  Device-2: 1-8:3 info: Microsoft Wired Keyboard 400 type: Keyboard 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 045e:0752 class-ID: 0301 
  Device-3: 1-9:4 info: [Maxxter] Optical gaming mouse type: Mouse,Keyboard 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 18f8:0f99 class-ID: 0301 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.1 speed: 10 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-3: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 3-2:3 info: Focusrite-Novation Focusrite Scarlett 2i2 2nd Gen 
  type: Audio driver: snd-usb-audio interfaces: 4 rev: 2.0 speed: 480 Mb/s 
  power: 500mA chip-ID: 1235:8202 class-ID: 0102 
  Hub-4: 4-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 51.8 C mobo: 0 C gpu: amdgpu temp: 43.0 C 
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1230 
Info:
  Processes: 354 Uptime: 5h 02m wakeups: 0 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: 1287 pacman: 1276 lib: 383 
  flatpak: 0 snap: 11 Shell: Zsh v: 5.8 running-in: gnome-terminal 
  inxi: 3.3.04
1 Like

I’ve edited your title to attract other experts than me, because I was suspecting Wayland on Gnome but you seem to have resolved that and I use neither Gnome nor Discord, so I cannot help you any further.

:sob:

No Problem! But thank you anyways :))

1 Like

any solution?

I am facing the same problem, the Discord (v.0.0.16) and Peek (v.1.5.1) show only a black screen and the cursor’s mouse when recording the screen. My pc has the following features (with inxi --admin --verbosity=7 --filter --no-host --width output):

System:
  Kernel: 5.13.19-2-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64
  root=UUID=e0e4c469-75bd-4416-978a-9e095037510f rw quiet splash apparmor=1
  security=apparmor udev.log_priority=3
  Desktop: GNOME 40.5 tk: GTK 3.24.30 wm: gnome-shell dm: GDM 40.1
  Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20308 v: Lenovo Ideapad Flex14
  serial: <filter> Chassis: type: 10 v: Lenovo Ideapad Flex14 serial: <filter>
  Mobo: LENOVO model: Strawberry 4A v: K0E50515STD serial: <filter>
  UEFI: LENOVO v: 8ACN34WW date: 02/13/2014
Battery:
  ID-1: BAT1 charge: 0.2 Wh (6.2%) condition: 3.2/43.4 Wh (7.4%) volts: 14.9
  min: 14.4 model: SANYO L12S4F01 type: Li-ion serial: N/A status: Unknown
Memory:
  RAM: total: 7.68 GiB used: 3.13 GiB (40.7%)
  RAM Report: permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: Dual Core model: Intel Core i7-4500U bits: 64 type: MT MCP
  arch: Haswell family: 6 model-id: 45 (69) stepping: 1 microcode: 26 cache:
  L2: 4 MiB bogomips: 19160
  Speed: 798 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 798 2: 1168
  3: 814 4: 1109
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm
  dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase
  fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx
  monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm
  pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good
  sdbg sep smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
  tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid xsave
  xsaveopt xtopology xtpr
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: spec_store_bypass
  mitigation: Speculative Store Bypass disabled via prctl and seccomp
  Type: spectre_v1
  mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional,
  IBRS_FW, STIBP: conditional, RSB filling
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Lenovo driver: i915
  v: kernel bus-ID: 00:02.0 chip-ID: 8086:0a16 class-ID: 0300
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT
  620M/625M/630M/720M]
  vendor: Lenovo driver: nouveau v: kernel bus-ID: 03:00.0 chip-ID: 10de:1140
  class-ID: 0302
  Device-3: Syntek Lenovo EasyCamera type: USB driver: uvcvideo bus-ID: 2-5:4
  chip-ID: 174f:1487 class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org 1.20.13 compositor: gnome-shell driver:
  loaded: nouveau note: n/a (using device driver) - try sudo/root
  display-ID: 0 resolution: <missing: xdpyinfo>
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
  v: 4.5 Mesa 21.2.3 compat-v: 3.0 direct render: Yes
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Lenovo driver: snd_hda_intel
  v: kernel bus-ID: 00:03.0 chip-ID: 8086:0a0c class-ID: 0403
  Device-2: Intel 8 Series HD Audio vendor: Lenovo driver: snd_hda_intel
  v: kernel bus-ID: 00:1b.0 chip-ID: 8086:9c20 class-ID: 0403
  Sound Server-1: ALSA v: k5.13.19-2-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.19 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.38 running: yes
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Lenovo
  driver: r8169 v: kernel port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8136
  class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel bus-ID: 02:00.0
  chip-ID: 8086:08b2 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
  broadcast: <filter>
  IP v6: <filter> type: dynamic noprefixroute scope: global
  IP v6: <filter> type: noprefixroute scope: link
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
  bus-ID: 2-6:5 chip-ID: 8087:07dc class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 5 state: down bt-service: enabled,running
  rfk-block: hardware: no software: yes address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 465.76 GiB used: 55.34 GiB (11.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LM000-SSHD-8GB
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
  type: HDD rpm: 5400 serial: <filter> rev: LVD3 scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 243.14 GiB size: 238.27 GiB (97.99%)
  used: 55.31 GiB (23.2%) fs: ext4 dev: /dev/sda6 maj-min: 8:6 label: N/A
  uuid: e0e4c469-75bd-4416-978a-9e095037510f
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
  used: 30.3 MiB (11.8%) fs: vfat dev: /dev/sda2 maj-min: 8:2
  label: SYSTEM_DRV uuid: 08B8-4E28
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 1000 MiB fs: ntfs label: WINRE_DRV
  uuid: D8C6B5C9C6B5A860
  ID-2: /dev/sda3 maj-min: 8:3 size: 1000 MiB fs: vfat label: LRS_ESP
  uuid: 5ABE-658D
  ID-3: /dev/sda4 maj-min: 8:4 size: 128 MiB fs: <superuser required>
  label: N/A uuid: N/A
  ID-4: /dev/sda5 maj-min: 8:5 size: 203.98 GiB fs: ntfs label: N/A
  uuid: 34EA8BBEEA8B7B3E
  ID-5: /dev/sda7 maj-min: 8:7 size: 16.3 GiB fs: ntfs label: PBR_DRV
  uuid: D4E6C80BE6C7EC34
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 8 rev: 2.0
  speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 9 rev: 2.0
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 2-1:2 info: D-WAV Scientific eGalaxTouch EXC7910-1018-13.00.02
  type: Mouse driver: hid-multitouch,usbhid interfaces: 1 rev: 2.0
  speed: 12 Mb/s power: 100mA chip-ID: 0eef:a107 class-ID: 0301
  Device-2: 2-4:3 info: Microsoft Nano Transceiver 1.1
  type: Keyboard,HID,Mouse driver: hid-generic,usbhid interfaces: 3 rev: 2.0
  speed: 12 Mb/s power: 100mA chip-ID: 045e:07fd class-ID: 0301
  Device-3: 2-5:4 info: Syntek Lenovo EasyCamera type: Video driver: uvcvideo
  interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA chip-ID: 174f:1487
  class-ID: 0e02 serial: <filter>
  Device-4: 2-6:5 info: Intel Bluetooth wireless interface type: Bluetooth
  driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s power: 100mA
  chip-ID: 8087:07dc class-ID: e001
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s
  chip-ID: 1d6b:0003 class-ID: 0900
Sensors:
  System Temperatures: cpu: 49.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 280 Uptime: 6h 2m wakeups: 9 Init: systemd v: 249 tool: systemctl
  Compilers: gcc: 11.1.0 Packages: 1380 pacman: 1353 lib: 351 flatpak: 8
  snap: 19 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.08

As you are on wayland you could try switching to an x11 session and see if it works

Hello there, Wayland is not very reliable for screen sharing. Use X11 instead as explained here.

Sound will not work as it is not supported by Discord on Linux, see here.
However, as there is always a way, you can try these workarounds: one and two

Note: I haven’t tested neither of them.

Kernel v5.13 has been marked End Of Life in recent update announcements.

And system data is showing 2 sound servers running

  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.38 running: yes

See this previous post for how to deal with both issues