Bug 95345 - R package rgl crashes
Summary: R package rgl crashes
Status: RESOLVED NOTABUG
Alias: None
Product: XQuartz
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 2.7.8 (xserver-1.16.4)
Hardware: x86-64 (AMD64) Mac OS X (All)
: medium normal
Assignee: Jeremy Huddleston Sequoia
QA Contact: Jeremy Huddleston Sequoia
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-11 00:33 UTC by Mike
Modified: 2016-05-12 19:23 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Mike 2016-05-11 00:33:50 UTC
Hello,

I'm getting the following error when I try to use rgl:

No matching pixelformats found, perhaps try using LIBGL_ALLOW_SOFTWARE
Abort trap: 6

The following tips in bug 92640 https://bugs.freedesktop.org/show_bug.cgi?id=92640 didn't help.

I tried replacing my 2.7.8 libGL.1.dylib 2.7.7 and vice versa.

I also tried replacing 2.7.8 /Applications/Utilities/XQuartz.app/Contents/MacOS/X11.bin with 2.7.7 version.

None of these worked for me.

Any help would be much appreciated.

Thx,
Mike
Comment 1 Jeremy Huddleston Sequoia 2016-05-12 06:39:27 UTC
I don't know what rgl is, but try setting LIBGL_ALLOW_SOFTWARE as instructed.  You might not have any supported configs in whatever mode you're running.
Comment 2 Mike 2016-05-12 19:23:03 UTC
Yup I figured it out.

I had to set the environment variable LIBGL_ALWAYS_SOFTWARE=1.

In R the command is:

Sys.setenv(LIBGL_ALWAYS_SOFTWARE=1)

Thanks.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.