LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-30-2022, 01:03 PM   #16
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by keithpeter View Post
Hello All

Not sure if this is going to help at all.

I usually install RStudio Desktop from the *rpm* binary on the rstudio Web site. My notes from last time I tried this on --current 64 bit (3rd Dec 21, now trashed) go something like this...



.
Tried it here... Still didn't worked...
 
Old 01-30-2022, 01:42 PM   #17
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,357

Rep: Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962Reputation: 962
rstudio is a binary rebuild ?

Because build from source ever fix missing libs.
 
Old 01-30-2022, 02:00 PM   #18
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
rstudio is a binary rebuild ?

Because build from source ever fix missing libs.
I've builded it from source. The problem now is not related with libs, but some unknown error, related with video drivers. No solution until now. I sent a email to the sbo mainteiner, and am waitting for some help. When he answer me, I will post here the solution. Thanks anyway!.
 
Old 01-30-2022, 02:02 PM   #19
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,144

Rep: Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212Reputation: 4212
Quote:
Originally Posted by keithpeter View Post
Add an entry in the ~/.config/RStudio/desktop.info to disable hardware rendering to prevent RStudio crashing on launch (ancient nvidia card on an old ThinkPad T61p)
maybe this can help OP' segfaults?
 
Old 01-30-2022, 02:15 PM   #20
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
maybe this can help OP' segfaults?
The rstudio support note is here...

https://support.rstudio.com/hc/en-us...ndering-Errors

The line I used in the desktop.info file was...

Code:
$ cat ~/.config/RStudio/desktop.ini
 [General]
 desktop.renderingEngine=software
I'm compiling postgresql on my 64bit current test laptop now. This laptop has basic intel graphics though and may not show the issue.
 
Old 01-30-2022, 02:43 PM   #21
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keithpeter View Post
The rstudio support note is here...

https://support.rstudio.com/hc/en-us...ndering-Errors

The line I used in the desktop.info file was...

Code:
$ cat ~/.config/RStudio/desktop.ini
 [General]
 desktop.renderingEngine=software
I'm compiling postgresql on my 64bit current test laptop now. This laptop has basic intel graphics though and may not show the issue.
Nice tip. I'll try it! Thanks!
 
Old 01-30-2022, 02:49 PM   #22
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by slackuser222 View Post
Nice tip. I'll try it! Thanks!
To recap, on Slackware Current 64 bit I have installed from the unofficial slackbuilds repo...

academic/R-4.0.0 (no dependencies)
system/postresql (no dependencies)

Then downloaded RStudio Desktop rpm rstudio-2021.09.2-382-x86_64.rpm and converted this to .tgz using rpm2tgz.

Because I'm using an old laptop with intel graphics I don't get the segfault related to graphics acceleration.

Best of luck!
 
Old 01-30-2022, 06:27 PM   #23
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keithpeter View Post
The rstudio support note is here...

https://support.rstudio.com/hc/en-us...ndering-Errors

The line I used in the desktop.info file was...

Code:
$ cat ~/.config/RStudio/desktop.ini
 [General]
 desktop.renderingEngine=software
I'm compiling postgresql on my 64bit current test laptop now. This laptop has basic intel graphics though and may not show the issue.
I've noticed that I don't have this folder in my root tree: ~/.config/RStudio/desktop.ini. This may be the problem? Can I just create such folder and write the desktop.ini file into it?

Instead, I have another folder related with Rstudio in my system, with a directory tree inside, with is .rstudio-desktop, but no desktop.ini file inside of it...

Last edited by slackuser222; 01-30-2022 at 07:57 PM.
 
Old 01-31-2022, 04:06 AM   #24
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by slackuser222 View Post
I've noticed that I don't have this folder in my root tree: ~/.config/RStudio/desktop.ini. This may be the problem? Can I just create such folder and write the desktop.ini file into it?
I think I just created it (must improve my note taking!) then logged out/in again. I use xfce4 as well in case that is relevant.

I took Slackware current off that T61p laptop with its very old nvidia card. I'm on the Thinkpad X laptops with intel graphics so that issue does not occur at all now.

Offtopic

I found it interesting that the slackbuild that repackages the binary for RStudio is using an older version presumably so both 32bit and 64bit can be covered. RStudio don't support 32bit in recent versions.

I also found it educational that the Debian packagers and the Redhat packagers made different choices about the configuration of their RStudio builds and so we have to install different dependencies.
 
Old 01-31-2022, 05:38 AM   #25
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keithpeter View Post
I think I just created it (must improve my note taking!) then logged out/in again. I use xfce4 as well in case that is relevant.

I took Slackware current off that T61p laptop with its very old nvidia card. I'm on the Thinkpad X laptops with intel graphics so that issue does not occur at all now.

Offtopic

I found it interesting that the slackbuild that repackages the binary for RStudio is using an older version presumably so both 32bit and 64bit can be covered. RStudio don't support 32bit in recent versions.

I also found it educational that the Debian packagers and the Redhat packagers made different choices about the configuration of their RStudio builds and so we have to install different dependencies.
I tried, but did't worked at all. Still the same problem here...
 
Old 01-31-2022, 11:33 AM   #26
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
Quote:
Originally Posted by slackuser222 View Post
I tried, but did't worked at all. Still the same problem here...
Reading over the thread, I was thinking...

What graphics card are you using on the computer that you are installing on?

Which version of R are you using?

Which RStudio Desktop package are you using? The debian package in the unofficial slackbuild along with its dependencies (gst0-plugins-base and gstreamer) OR the rpm package and its postgres dependency?

I'm also wondering about the Miktex installation you mentioned at the beginning of the thread. I have no experience at all of installing a different TeX distro to the one that comes with Slackware current. The one in slackware current is based on texlive.

Googling 'Linux RStudio segfaults on start' does bring up a lot of pages so this must be fairly common.
 
Old 01-31-2022, 12:09 PM   #27
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keithpeter View Post
Reading over the thread, I was thinking...

What graphics card are you using on the computer that you are installing on?

Which version of R are you using?

Which RStudio Desktop package are you using? The debian package in the unofficial slackbuild along with its dependencies (gst0-plugins-base and gstreamer) OR the rpm package and its postgres dependency?

I'm also wondering about the Miktex installation you mentioned at the beginning of the thread. I have no experience at all of installing a different TeX distro to the one that comes with Slackware current. The one in slackware current is based on texlive.

Googling 'Linux RStudio segfaults on start' does bring up a lot of pages so this must be fairly common.
Hi there!

Well, answering your questions:

- VGA compatible controller: Intel Corporation HD Graphics 620 (rev 07) (prog-if 00)
- R-4.0.0-x86_64-1_SBo
- Rstudio version: tried all of then, including old ones, all with the same error.

Something that I could not understand yet is that in some answers here I was advised to change the ~/.config/RStudio/desktop.ini file, but in any of my attempts of installation of Rstudio, the directory RStudio in my home doesn't appear.

About MikTex, I call it from my code, to automatically generate one PDF report with results form my calculations.
 
Old 01-31-2022, 02:40 PM   #28
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 15.0, OpenBSD 7.4
Posts: 310

Rep: Reputation: Disabled
I'm out of ideas and knowledge at this point.

I installed R-3.6.3 and RStudio 1.1.463 using the slackbuild (with the two gstreamer/gst0 deps) and it works on the T61p with an old nvidia card - fresh default install of -current 32bit. On this laptop I have to start Firefox in safe mode and switch of graphics accel otherwise it freezes KDE, but RStudio 1.1.4xx seems fine!

I also have a desktop.ini file which contains some settings that I have changed in the options tab... I did not create the file. I think this file gets created when you can change settings once RStudio has loaded.

Code:
root@T61p:/home/keith/Downloads# updatedb
root@T61p:/home/keith/Downloads# locate desktop.ini | grep RStudio
/home/keith/.config/RStudio/desktop.ini
root@T61p:/home/keith/Downloads# cat /home/keith/.config/RStudio/desktop.ini
[General]
view.zoomLevel=1.2

[mainwindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\x6\x8f\0\0\x3\xf9\0\0\0\xf6\0\0\0w\0\0\x4\xf5\0\0\x3v\0\0\0\0\x2\0\0\0\x6\x90)
root@T61p:/home/keith/Downloads#
Googling for "RStudio on Linux and Intel HD graphics 620 crash" gives the kinds of page you have already looked at...

https://askubuntu.com/questions/1238...ct-same-way-wh

leading to

https://support.rstudio.com/hc/en-us...ndering-Errors

I suppose you need to create an issue on the RStudio community site

https://community.rstudio.com/
 
Old 01-31-2022, 03:15 PM   #29
slackuser222
Member
 
Registered: Jan 2022
Posts: 64

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by keithpeter View Post
I'm out of ideas and knowledge at this point.

I installed R-3.6.3 and RStudio 1.1.463 using the slackbuild (with the two gstreamer/gst0 deps) and it works on the T61p with an old nvidia card - fresh default install of -current 32bit. On this laptop I have to start Firefox in safe mode and switch of graphics accel otherwise it freezes KDE, but RStudio 1.1.4xx seems fine!

I also have a desktop.ini file which contains some settings that I have changed in the options tab... I did not create the file. I think this file gets created when you can change settings once RStudio has loaded.

Code:
root@T61p:/home/keith/Downloads# updatedb
root@T61p:/home/keith/Downloads# locate desktop.ini | grep RStudio
/home/keith/.config/RStudio/desktop.ini
root@T61p:/home/keith/Downloads# cat /home/keith/.config/RStudio/desktop.ini
[General]
view.zoomLevel=1.2

[mainwindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x2\0\0\0\0\0\0\0\0\0\0\0\0\x6\x8f\0\0\x3\xf9\0\0\0\xf6\0\0\0w\0\0\x4\xf5\0\0\x3v\0\0\0\0\x2\0\0\0\x6\x90)
root@T61p:/home/keith/Downloads#
Googling for "RStudio on Linux and Intel HD graphics 620 crash" gives the kinds of page you have already looked at...

https://askubuntu.com/questions/1238...ct-same-way-wh

leading to

https://support.rstudio.com/hc/en-us...ndering-Errors

I suppose you need to create an issue on the RStudio community site

https://community.rstudio.com/
Thank you very much for all the attention and support. Indeed, I've created a new ticket in the rstudio community and will wait for some sollution. I guess there's not a simple solution for that issui, once it may be hardware specific, but I have some hope that thet can help me about this!

In any case, I'll post here if they manage to solve this (or if they don't). kkk
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
libgstreamer-0.10.so.0 Error cozi Linux - Software 1 08-08-2018 03:46 AM
Installing Wine from Source, libgstreamer-plugins-base0.10-dev and Rodebian Linux - Software 1 10-30-2012 10:31 PM
Can`t find C-compiler in Debian ,or at least can`t find one that can make executables hemmelig Linux - Software 4 05-26-2008 03:07 AM
i can't find driver for dell monitor can some help me find a driver for it krt47 Linux - Hardware 1 07-28-2004 02:16 PM
I cant find anything using find yeehi Fedora - Installation 1 05-24-2004 08:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration