Re: [R-SIG-Mac] [External] Re: more rgl problems

2021-02-18 Thread Richard M. Heiberger
This is from my MacBook Air mid-2012 running Catalina 10.15.7 with Xquartz 2.7.11 I never placed the beta on this machine. I also see from a fresh R session plot(1:10, col=7) library(rgl) open3d() is fine, whereas this: library(rgl) plot(1:10, col=7) open3d() segfaults R versi

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
I've made some progress on this, but I don't know how to fix it properly. What's happening is that rgl is trying to open the new window that open3d() asks for. It gets most of the way through that operation, then calls glXMakeCurrent, which associates the OpenGL context with that window. Tha

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 7:15 a.m., Peter West wrote: I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. One approach that was fruitful for me: After uninstalling and reinstalling XQuartz 2.7.11, I looked around for related files wi

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 7:15 a.m., Peter West wrote: I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. In any case, it's a generic XQuartz problem, not related to R or rgl. Duncan ___ R-

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
I’ve enabled /opt/X11/libexec/launchd_startx for full disk access in Security & Privacy, but it hasn’t fixed the problem. > On 18 Feb 2021, at 10:06 pm, Peter West wrote: ___ R-SIG-Mac mailing list R-SIG-Mac@r-project.org https://stat.ethz.ch/mailman/

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
This is happening as a result of the Launch* startx and privileged_startx execution. The Operation not permitted stuff just scrolls on by. > On 18 Feb 2021, at 9:58 pm, Peter West wrote: > > Looks like an authorization problem. > > xclockk did not appear, so I had a look at system.log. > > He

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
Looks like an authorization problem. xclockk did not appear, so I had a look at system.log. Here’s a sample. --- Feb 18 20:40:09 Rosie org.macosforge.xquartz.startx[10388]: waiting for X server to begin accepting connections Feb 18 20:

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 18/02/2021 6:14 a.m., Peter West wrote: Yes, I went through that process. I have no org.xquartz.* files in /Library Launch* now. If you run x11(), does it cause the same issue? What about not starting R at all, and just running some X11 app like xclock from the terminal? Duncan Murdoch

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
I can reproduce this on a Catalina machine, working in R from the terminal. This definitely looks similar to the problem that rgl::setGraphicsDelay() was designed to solve, but even adding a 10 second delay doesn't help. I get a slightly different message than you: > open3d() error: xp_attac

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Peter West
Yes, I went through that process. I have no org.xquartz.* files in /Library Launch* now. > On 18 Feb 2021, at 9:08 pm, Duncan Murdoch wrote: > > On 17/02/2021 10:13 p.m., Peter West wrote: >> And speaking of M1 Silicon: >> My XQuartz version is 2.7.11. >> Started R 4.0.4. >> Stopped R 4.0.4 >>

Re: [R-SIG-Mac] more rgl problems

2021-02-18 Thread Duncan Murdoch
On 17/02/2021 10:13 p.m., Peter West wrote: And speaking of M1 Silicon: My XQuartz version is 2.7.11. Started R 4.0.4. Stopped R 4.0.4 Started RStudio install.packages("rgl") trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/rgl_0.105.13.tgz' Content type 'application/x-gzip' lengt