Rstudio Rendering is slow compared to windows.

My specs:

Component Details
OS Pop!_OS 22.04 LTS x86_64
Host Model B550M DS3H
Kernel 6.12.10-76061203-generic
Uptime 36 minutes
Packages 2575 (dpkg), 9 (flatpak)
Shell bash 5.1.16
Display Resolution 1080x1920, 1080x1920, 2560x1440
Desktop Environment GNOME 42.9
Window Manager Mutter
WM Theme Pop
GTK Theme Dracula [GTK2/3]
Icons kora [GTK2/3]
Terminal gnome-terminal
CPU AMD Ryzen 5 5600X (12 cores) @ 4.651 GHz
GPU AMD ATI Radeon RX 6700/6700 XT / 6800M
Memory Usage 5149 MiB / 48074 MiB

The issue is primarily with rendering, instead of code execution. The code execution is actually faster in Pop Os (1.03s vs 2.64s on Windows). But the cursor gets stuck, and it takes awfully long time to have the code show up on the console.

The fixes I've tried.

  • Latest Stable AMD driver:
glxinfo | grep "OpenGL version"
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.8-1~bpo12+1pop1~1744225826~22.04~b077665
  • Switched to "software" for rendering (nothing is different).

  • Updated R (R version 4.5.0 (2025-04-11) -- "How About a Twenty-Six") and Rstudio (2025.05.0+496).

I'm out of options. Help?