Rstudio installation :GL implmentation

I can only open rstudio via the terminal on ubuntu anh below the error message :
[17133:0427/220613.734090: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)].
[17133:0427/220613.735974:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[17177:0427/220614.159885: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)].
[17177:0427/220614.164985:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[17169:0427/220614.400244:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.

I'm on Linux Mint (Ubuntu-based) and, strange to say, those error messages are normal. I get them when I open RStudio from a terminal, but it does open, and I have no problem running RStudio from the start menu (which invokes /usr/lib/rstudio/rstudio %F). Are you having problems running it from the menu shortcut?

I re-installed Rstudio and I can access Rstudio by clicking on the icon but very slow to launch. If I run it from the terminal I still have these errors messages and R is als very slow to launch.

How slow is "very slow". On my system it takes RStudio 15 seconds to get to an initial window and 20 seconds or so to get to the point where it's ready for use. (That's on the first use. If I exit RStudio and restart it later, it usually starts faster.)