# Problems with libGL libraries and ROOT - swrast driver

**URL:** <https://root-forum.cern.ch/t/problems-with-libgl-libraries-and-root-swrast-driver/29496>\
**Category:** ROOT\
**Created:** [June 22, 2018, 1:56pm UTC](https://root-forum.cern.ch/t/problems-with-libgl-libraries-and-root-swrast-driver/29496 "2018-06-22T13:56:51Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![guido.fantini](https://root-forum.cern.ch/letter_avatar_proxy/v4/letter/g/34f0e0/32.png) [@guido.fantini](https://root-forum.cern.ch/u/guido.fantini)\
**Post date:** [June 25, 2018, 9:55am UTC](https://root-forum.cern.ch/t/problems-with-libgl-libraries-and-root-swrast-driver/29496/6 "2018-06-25T09:55:54Z")

</div>

Good then!

I think I got the solution. On mac OSX one should just kill the X server (go to activity monitor, look for the xquartz processes and kill them all), then open a shell and give

`defaults write org.macosforge.xquartz.X11 enable_iglx -bool true`

which would set the -iglx option (whatever it means).  
Then restart the ssh -XY session, and run any GL-based application (such as glxgears).

Thank you all for your patience, suggestions and useful help!  
Cheers!

Guido

---

_[View the full topic](https://root-forum.cern.ch/t/problems-with-libgl-libraries-and-root-swrast-driver/29496)._
