# OpenGL context creation failed!

**URL:** <https://psychtoolbox.discourse.group/t/opengl-context-creation-failed/2002>\
**Category:** Uncategorized\
**Created:** [August 29, 2016, 1:30pm UTC](https://psychtoolbox.discourse.group/t/opengl-context-creation-failed/2002 "2016-08-29T13:30:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Allen\_Ingling](https://avatars.discourse-cdn.com/v4/letter/a/a183cd/32.png) [@Allen\_Ingling](https://psychtoolbox.discourse.group/u/Allen_Ingling)\
**Post date:** [August 29, 2016, 1:30pm UTC](https://psychtoolbox.discourse.group/t/opengl-context-creation-failed/2002/1 "2016-08-29T13:30:41Z")

</div>

Hi,

I set up a Ubuntu/Win7 dual boot and want to run Psychtoolbox on Ubuntu on a dual monitor system with the stimulation running on the 2nd monitor.  
  
First, are there any synchronization problems under in linux with the 2nd monitor?  
  
Second, I managed to install the toolbox, but when I run&nbsp;

white = WhiteIndex(screenNumber)

from the tutorial,&nbsp;I get the following error:

> > PTB-WARNING: Redundant call to PsychScreenMapRadeonCntlMemory()! Ignored for now. This should not happen!
> > 
> > PTB-ERROR:[glXCreateContext() failed] OpenGL context creation failed!
> > 
> > PTB-ERROR[Low-Level setup of window failed]:The specified display may not support double buffering and/or stereo output. There could be insufficient video memory
> 
>   
> 
> I couldn't find a solution for this problem.
> 
>   
> 
> I spent days struggling with graphics cards, ubuntu installation, ubuntu graphic card installation, Matlab installation, and Matlab incompatibility issues with the latest linux NVIDIA drivers etc etc, so I don't know if any of those workarounds is causing the problem.
> 
> &nbsp;  
> cheers!

---

<div class="post-metadata">

**Author:** ![dcnieho](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@dcnieho](https://psychtoolbox.discourse.group/u/dcnieho)\
**Post date:** [August 29, 2016, 1:56pm UTC](https://psychtoolbox.discourse.group/t/opengl-context-creation-failed/2002/2 "2016-08-29T13:56:02Z")

</div>

You'll need to provide more information. exact graphics hardware, drivers used, ubuntu version and matlab version would be helpful.
  

Cheers,

Dee

  

> On Mon, Aug 29, 2016 at 3:30 PM, [etkfgllgp3axn33hetkdmxtuq4lhojozmntfp3mm@...](mailto:etkfgllgp3axn33hetkdmxtuq4lhojozmntfp3mm@...) [PSYCHTOOLBOX] \<[PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)\> wrote:  
> 
> > Hi,
> > 
> > I set up a Ubuntu/Win7 dual boot and want to run Psychtoolbox on Ubuntu on a dual monitor system with the stimulation running on the 2nd monitor.  
> >   
> > First, are there any synchronization problems under in linux with the 2nd monitor?  
> >   
> > Second, I managed to install the toolbox, but when I run
> > 
> > white = WhiteIndex(screenNumber)
> > 
> > from the tutorial, I get the following error:
> > 
> > > PTB-WARNING: Redundant call to PsychScreenMapRadeonCntlMemory ()! Ignored for now. This should not happen!
> > > 
> > > PTB-ERROR:[glXCreateContext() failed] OpenGL context creation failed!
> > > 
> > > PTB-ERROR[Low-Level setup of window failed]:The specified display may not support double buffering and/or stereo output. There could be insufficient video memory
> > 
> >   
> > 
> > I couldn't find a solution for this problem.
> > 
> >   
> > 
> > I spent days struggling with graphics cards, ubuntu installation, ubuntu graphic card installation, Matlab installation, and Matlab incompatibility issues with the latest linux NVIDIA drivers etc etc, so I don't know if any of those workarounds is causing the problem.
> > 
> > cheers!
