Page 1 of 1

[SOLVED] Rstudio crashes

PostPosted: Apr 18th, '20, 22:55
by pamputt
Hello, I've just installed rstudio but I get a crash when I start it by typing "rstudio" in a terminal
Here is the output I get
Code: Select all
$ rstudio
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Abandon (core dumped)
pamputt@localhost:~$ [3:3:0100/000000.082811:ERROR:zygote_linux.cc(621)] Zygote could not fork: process_type renderer numfds 3 child_pid -1
[3:3:0100/000000.082933:ERROR:zygote_linux.cc(653)] write: Broken pipe (32)


I use Mageia 7 64-bits. Do you get the same? Here I see that someone got the same issue and solved it by updating graphics driver

Re: Rstudio crashes

PostPosted: Apr 18th, '20, 22:58
by pamputt
Hmmm, actually it is weird. If I start Rstudio from the menu, it works fine. What is wrong with the command line?

Re: Rstudio crashes

PostPosted: Apr 19th, '20, 11:17
by doktor5000
There's nothing wrong with the command line, although it might have a different environment there (environment variables for some QT libraries and such).
Could be a similar issue as viewtopic.php?f=7&t=13394

What graphics card and driver do you use ? Also, can you please post the output from
Code: Select all
/sbin/alternatives --display gl_conf

Re: Rstudio crashes

PostPosted: Apr 19th, '20, 16:50
by pamputt
Oh yes, because I installed a custom version of Qt that is loaded by my bashrc, it explains the crash. Thanks for the hint.