[SOLVED] Rstudio crashes

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Rstudio crashes

Postby pamputt » Apr 18th, '20, 22:55

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
Last edited by pamputt on Apr 19th, '20, 16:51, edited 2 times in total.
pamputt
 
Posts: 8
Joined: Dec 7th, '19, 01:34

Re: Rstudio crashes

Postby pamputt » Apr 18th, '20, 22:58

Hmmm, actually it is weird. If I start Rstudio from the menu, it works fine. What is wrong with the command line?
pamputt
 
Posts: 8
Joined: Dec 7th, '19, 01:34

Re: Rstudio crashes

Postby doktor5000 » Apr 19th, '20, 11:17

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
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Rstudio crashes

Postby pamputt » Apr 19th, '20, 16:50

Oh yes, because I installed a custom version of Qt that is loaded by my bashrc, it explains the crash. Thanks for the hint.
pamputt
 
Posts: 8
Joined: Dec 7th, '19, 01:34


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron