RStudio visual mode not working with official Fedora rpm

With the current version of RStudio, 2023.03.0+386-1.fc38, Visual display does not work. It shows a spinning cog wheel. However, the official version from rstudio downloaded from their website, with the same version number, works. I don’t know enough about this to troubleshoot. Fedora 38 wants to update the rstudio-version to the fedora version.

Are you using wayland or Xorg graphics, why 386, and what command-line options are you using?

Edited after some experiments:

Most of my work in rstudio is done using rstudio-server on a more powerful but headless server.

A fresh install in a Wayland session produced a non-working display. Starting on the command-line with “rstudio --no-sandbox” gives a 90% functiong GUI with messages like:

qt.qpa.wayland: setGrabPopup called with a parent, QtWaylandClient::QWaylandXdgSurface(0x55be0b25d8e0) which does not match the current 
topmost grabbing popup, QtWaylandClient::QWaylandXdgSurface(0x55be0cebc060) 
According to the xdg-shell protocol, this is not allowed. 
The wayland QPA plugin is currently handling it by setting the parent to the topmost grabbing 
popup. Note, however, that this may cause positioning errors and popups closing 
unxpectedly [SIC] because xdg-shell mandate that child popups close before parents

qt.qpa.wayland: Wayland does not support QWindow::requestActivate()

Starting rtsudio again without the --no-sandbox is now working. Rstudio stores state data in
~/.local/share/rstudio. You could try running under a new user login, or renaming the ~/.local/share/rstudio directory to see if saved state is causing problems.

1 Like

@gnwiii thanks for the reply!

It’s in wayland without additional command-line options. i386 is the only available version in the repos. I get similar error messages when running from terminal. However, it is mostly functional. Only visual mode isn’t working. Removing ~/.local/share/rstudio or using --no-sandbox has no effect on the problem.

The qt.qpa.wayland errors are not present when running the version from the website:

$ rstudio
[6946:0409/091135.157849:ERROR:gpu_init.cc(523)] Passthrough is not supported, GL is desktop, ANGLE is 
[6946:0409/091139.592291:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[6946:0409/091141.460288:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[6946:0409/091153.509437:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

This is just the current numeric version:
https://bodhi.fedoraproject.org/updates/?packages=rstudio
Don’t confuse it with package architecture.

@vgaetera ah, of course, just a coincidence.

I can see there is a f39 version as well with a fixed yarn path.

However, to install that package I need newer versions of some dependencies…

sudo rpm -i rstudio-2023.03.0+386-2.fc39.x86_64.rpm 

error: Failed dependencies:
	glibc >= 2.37.9000-5 is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libboost_chrono.so.1.81.0()(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libboost_filesystem.so.1.81.0()(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libboost_iostreams.so.1.81.0()(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libboost_program_options.so.1.81.0()(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libboost_thread.so.1.81.0()(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64
	libc.so.6(GLIBC_2.38)(64bit) is needed by rstudio-2023.03.0+386-2.fc39.x86_64

How would I report this problem so someone looks at it? Currently I’m using the .rpm from the rstudio website which is working fine. But I have to remove it each time there’s an upgrade, since fedora wants to upgrade rstudio to the fedora version. I would also prefer the fedora version.

1 Like

Redirect Notice

DNF versionlock Plugin

1 Like