R studio desktop bad performance

I recently install R studio using the package rstudio-desktop-bin, which has a bad performance on my machine. For example, when I select files in the ‘Files’ tab or ‘Git’ tab, it shows the tick really slow, and when I right click it shows black box like this

and goes normal soon if I move my mouse onto it. And the app sometimes blinks or flickers.

System info:
latest EndeavourOS;
CPU: 11th Gen Intel i7-11700K (16) @ 4.900GHz
GPU: NVIDIA GeForce RTX 3080 Ti

This issue does not appear on my laptop, which has same latest EndeavourOS but different hard ware:
CPU: AMD Ryzen 9 6900HS with Radeon Graphics (16)
GPU: AMD ATI Radeon 680M

Which DE do you use?
X or Wayland?
On this machine with problems where you have 3080 Ti, do you use proprietary Nvidia driver?

You can just give inxi -Faz command

I am using KDE wayland and I am using package nvidia-dkms of latest version.

inxi -Faz returns:

-> bsh > inxi -Faz
  Kernel: 6.1.11-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 12.2.1
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=83157aa0-af26-44e1-8f26-d6f83cd80e97 rw loglevel=3 quiet
    nowatchdog nvme_load=YES nvidia_drm.modeset=1
  Desktop: KDE Plasma v: 5.26.5 tk: Qt v: 5.15.8 wm: kwin_wayland vt: 2
    dm: SDDM Distro: EndeavourOS base: Arch Linux
  Type: Desktop Mobo: Micro-Star model: MEG Z590I UNIFY (MS-7D05) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.00
    date: 02/25/2021
  Info: model: 11th Gen Intel Core i7-11700K bits: 64 type: MT MCP
    arch: Rocket Lake gen: core 11 level: v4 note: check built: 2021+
    process: Intel 14nm family: 6 model-id: 0xA7 (167) stepping: 1
    microcode: 0x56
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache:
    L1: 640 KiB desc: d-8x48 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB
    L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4474 high: 4888 min/max: 800/4900:5000 scaling:
    driver: intel_pstate governor: powersave cores: 1: 4649 2: 4630 3: 4830
    4: 3600 5: 4619 6: 4662 7: 4640 8: 3600 9: 4666 10: 4734 11: 4530 12: 4600
    13: 4709 14: 4630 15: 3600 16: 4888 bogomips: 115232
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] driver: nvidia v: 525.89.02
    alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2023-02) arch: Ampere code: GAxxx
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 2 speed: 5 GT/s lanes: 16
    link-max: gen: 4 speed: 16 GT/s ports: active: none off: DP-1
    empty: DP-2,DP-3,HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:2208
    class-ID: 0300
  Display: wayland server: X.org v: with: Xwayland v: 22.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa gpu: nvidia display-ID: 0
  Monitor-1: DP-1 res: 2560x1440 size: N/A modes: N/A
  API: OpenGL v: 4.6.0 NVIDIA 525.89.02 renderer: NVIDIA GeForce RTX 3080
    Ti/PCIe/SSE2 direct-render: Yes
  Device-1: Intel Tiger Lake-H HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel bus-ID: 1-2.4:9 v: kernel
    alternate: snd_sof_pci_intel_tgl chip-ID: 0bda:4028 class-ID: 0300
    bus-ID: 00:1f.3 serial: <filter> chip-ID: 8086:43c8 class-ID: 0403
  Device-2: NVIDIA GA102 High Definition Audio driver: snd_hda_intel
    v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 10de:1aef class-ID: 0403
  Device-3: Realtek LG Monitor HP MIC type: USB driver: hid-generic,usbhid
  Sound API: ALSA v: k6.1.11-arch1-1 running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.65 running: yes
  Device-1: Intel Ethernet I225-V vendor: Micro-Star MSI driver: igc v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: N/A bus-ID: 04:00.0
    chip-ID: 8086:15f3 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  Device-2: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8
    bus-ID: 1-14:7 chip-ID: 8087:0032 class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
  Local Storage: total: 942.7 GiB used: 169.16 GiB (17.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Sabrent model: Rocket 4.0 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT401.3 temp: 22.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Sabrent model: N/A
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 type: SSD serial: <filter> rev: RKT343.4 temp: 25.9 C scheme: GPT
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%)
    used: 169.16 GiB (37.0%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:3
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 620 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2
  Alert: No swap data was found.
  System Temperatures: cpu: 28.0 C mobo: N/A
  Fan Speeds (RPM): N/A
  Processes: 336 Uptime: 0m wakeups: 0 Memory: 31.25 GiB used: 2.63 GiB (8.4%)
  Init: systemd v: 252 default: graphical tool: systemctl Compilers:
  gcc: 12.2.1 Packages: pm: pacman pkgs: 1246 libs: 397 tools: yay Shell: Bash
  v: 5.1.16 running-in: konsole inxi: 3.3.25

Try with X11 to see if it fixes that issue, i have a feeling it’s connected

Just tested, in X11 this issue does not exist anymore … so it is related to wayland.
but my amd laptop also use wayland, exactly same distro, it doesn’t have this problem, could this be a problem caused jointly by Nvidia and kde wayland?

1 Like

Very possible, try to report it to KDE bugtracker

1 Like

Bad mix

1 Like