I have been stuck for 2 days on this....my R version is 4.4.1 and Rstudio 2024.09.....I try to start Rstudio both from terminal and desktop but it keeps getting stuck on logo. Any help would be appreciated
Try resetting RStudio's state. If that doesn't help, report any error messages here that you see when starting from a terminal.
I tried that and it didn't work.....this is the error message I get:
[admin@rockylinux8 ~]$ rstudio
[3321285:1007/075655.649934:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321285:1007/075655.651553:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321235:1007/075656.639871:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.StartServiceByName: object_path= /org/freedesktop/DBus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[3321363:1007/075726.573510:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321363:1007/075726.574854:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321382:1007/075727.453866:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321382:1007/075727.454975:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
[3321235:1007/075732.097002:ERROR:network_service_instance_impl.cc(599)] Network service crashed, restarting service.
[3321396:1007/075732.115229:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[3321396:1007/075732.131506:ERROR:viz_main_impl.cc(198)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[3321369:1007/075736.507333:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[3321362:1007/075736.507014:ERROR:command_buffer_proxy_impl.cc(131)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
It looks like it might be an issue with the video drivers. What Linux distribution are you running, and which RStudio installer did you download?
using rocky linux 8...and I just installed it via following documentation online...installed it thru this link
and ran dnf
The last (currently) comment here, dated June 14, suggests a command line option that might help. Does it fix the problem?
OK. I just discovered that the (gl=none, angle=none) stuff in the first error dump is probably meaningless. I get the same slew of messages on my system (Linux Mint), after which RStudio launches just fine.
What I don't get is the "ContextResult::kTransientFailure" messages. Some googling turned up that message in the context of issues with Chromium, which may be what RStudio uses for the GUI (?). You might try starting RStudio with the option --use-gl=desktop
, which was reported to help with Chromium.
I'm out of ideas. Sorry. The only thing I've got left is a true shot in the dark. I assume you installed one of the two Fedora/Red Hat RPMs on the RStudio download page. Maybe try whichever version you didn't install?
I foud the fix....I was installing RHEL 8 rpm package in rocky linux 8....instead I installed centos 8 rpm package which worked......had to get it from this
wget https://download1.rstudio.org/electron/rhel8/x86_64/rstudio-2023.06.1-524-x86_64.rpm
That looks like a pretty old version of RStudio. Glad it works, but I wonder if there's something in Centos/Rocky that needs updating to work with current versions.