Anydesk Remote Desktop Graphical Glitch using OpenGL

I would like to mention first that I have already reached out to Anydesk support regarding this issue. I am hoping that this post would help direct anyone else who may experience the same problem I am having, or that there may be a workaround/solution within Garuda besides what I've already tried. With OpenGL selected as a rendering backend, either 3.1 or 2.0, I get major glitching and graphical issues when remote connecting to my Garuda machine. The issues go away if I switch the backend to Xrender. The only thing I noticed right away was the windows liquid movement ceased to work. What other graphical options are lost when switching to Xrender? I would like to continue to use the OpenGL option if it gives me the full DE experience, so it's a sacrifice now. Any thoughts on this or possible solutions on our end?

System:    Kernel: 5.11.1-127-tkg-bmq x86_64 bits: 64 compiler: gcc v: 10.2.1
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-bmq
           root=UUID=5a9ad671-df1a-4411-845c-db31e54b64dc rw rootflags=subvol=@ quiet splash
           rd.udev.log_priority=3 vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1
           loglevel=3
           Desktop: KDE Plasma 5.21.1 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 dm: SDDM
           Distro: Garuda Linux
Machine:   Type: Convertible System: LENOVO product: 81EM v: Lenovo ideapad FLEX 6-14IKB
           serial: <filter> Chassis: type: 31 v: Lenovo ideapad FLEX 6-14IKB serial: <filter>
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO
           v: 7QCN44WW date: 06/22/2020
Battery:   ID-1: BAT0 charge: 37.8 Wh condition: 37.8/45.5 Wh (83%) volts: 8.4/7.7
           model: CPT-COS L17C4PB0 type: Li-poly serial: <filter> status: Full
CPU:       Info: Quad Core model: Intel Core i5-8250U bits: 64 type: MT MCP arch: Kaby Lake
           note: check family: 6 model-id: 8E (142) stepping: A (10) microcode: E0
           L2 cache: 6 MiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28824
           Speed: 3333 MHz min/max: 400/3400 MHz Core speeds (MHz): 1: 3333 2: 3123 3: 3400
           4: 1255 5: 975 6: 1521 7: 3401 8: 3401
           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 UHD Graphics 620 vendor: Lenovo driver: i915 v: kernel
           bus ID: 00:02.0 chip ID: 8086:5917 class ID: 0300
           Device-2: Syntek Integrated Camera type: USB driver: uvcvideo bus ID: 1-8:4
           chip ID: 174f:2426 class ID: 0e02 serial: <filter>
           Display: x11 server: X.Org 1.20.10 compositor: kwin_x11 driver: loaded: intel
           unloaded: modesetting alternate: fbdev,vesa display ID: :0 screens: 1
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2")
           s-diag: 582mm (22.9")
           Monitor-1: eDP1 res: 1920x1080 hz: 60 dpi: 157 size: 310x170mm (12.2x6.7")
           diag: 354mm (13.9")
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (KBL GT2) v: 4.6 Mesa 20.3.4
           direct render: Yes
Audio:     Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo driver: snd_hda_intel
           v: kernel bus ID: 00:1f.3 chip ID: 8086:9d71 class ID: 0403
           Sound Server: ALSA v: k5.11.1-127-tkg-bmq
Network:   Device-1: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter
           vendor: Lenovo ThinkPad E595 driver: rtw_8822be v: N/A port: 3000 bus ID: 01:00.0
           chip ID: 10ec:b822 class ID: 0280
           IF: wlp1s0 state: up mac: <filter>
Bluetooth: Device-1: Realtek RTL8822BE Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
           bus ID: 1-7:3 chip ID: 0bda:b023 class ID: e001 serial: <filter>
           Message: Required tool hciconfig not installed. Check --recommends
Drives:    Local Storage: total: 1.86 TiB used: 22.81 GiB (1.2%)
           SMART Message: Unable to run smartctl. Root privileges required.
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNW020T8 size: 1.86 TiB
           block size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD
           serial: <filter> rev: 002C temp: 37.9 C scheme: GPT
Partition: ID-1: / raw size: 49.55 GiB size: 49.55 GiB (100.00%) used: 22.78 GiB (46.0%)
           fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
           ID-2: /boot/efi raw size: 260 MiB size: 256 MiB (98.46%) used: 35.5 MiB (13.9%)
           fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
           ID-3: /home raw size: 49.55 GiB size: 49.55 GiB (100.00%) used: 22.78 GiB (46.0%)
           fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
           ID-4: /var/log raw size: 49.55 GiB size: 49.55 GiB (100.00%) used: 22.78 GiB (46.0%)
           fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
           ID-5: /var/tmp raw size: 49.55 GiB size: 49.55 GiB (100.00%) used: 22.78 GiB (46.0%)
           fs: btrfs dev: /dev/nvme0n1p4 maj-min: 259:4
Swap:      Kernel: swappiness: 10 (default 60) cache pressure: 75 (default 100)
           ID-1: swap-1 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram0
           ID-2: swap-2 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram1
           ID-3: swap-3 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram2
           ID-4: swap-4 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram3
           ID-5: swap-5 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram4
           ID-6: swap-6 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram5
           ID-7: swap-7 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram6
           ID-8: swap-8 type: zram size: 967.1 MiB used: 0 KiB (0.0%) priority: 32767
           dev: /dev/zram7
Sensors:   System Temperatures: cpu: 50.5 C mobo: N/A
           Fan Speeds (RPM): N/A
Info:      Processes: 256 Uptime: 2d 17h 15m wakeups: 22 Memory: 7.56 GiB used: 3.5 GiB (46.4%)
           Init: systemd v: 247 Compilers: gcc: 10.2.0 clang: 11.1.0 Packages: pacman: 1434
           lib: 346 Shell: fish v: 3.1.2 running in: alacritty inxi: 3.3.01

Hi, are you willing to try NoMachine for a remote desktop alternative.
Not sure if you use anydesk because you don't have a static IP address but if possible try NoMachine.
It works on top of any OS and for me works just great.

I have tried nomachine before and it just doesn't compare to the ease of use. I have my entire fleet setup for Anydesk and plan on staying with this configuration.

I moved your thread to the "Unofficially Supported Software" category as this is definitely not a Garuda support issue.

Have you considered researching writing a script to change your compositor to xrender when you start the program and switch it back after closing the software. Not a solution, but I guess an adequate workaround if no ther fix is found.

3 Likes

OK thanks! No, I have not considered that but that would certainly be a good option. I will look into doing this.

1 Like