Unable to create a suitable GLXContext in GLXContext::GLXCon

Problems building or running the engine, queries about how to use features etc.
Post Reply
sethanath
Halfling
Posts: 46
Joined: Fri Dec 09, 2016 6:43 pm

Unable to create a suitable GLXContext in GLXContext::GLXCon

Post by sethanath »

Hi,

I am able to run many samples from my PC, which has Ogre 2.1 on it. However, from my laptop, which has exact the same setting of Ogre 2.1, I have the error message below.

Code: Select all

erick@erick-Compaq-Presario-F700-Notebook-PC ~ $ cd /home/erick/sinbad-ogre-a6ba860cdb7e-build/bin
erick@erick-Compaq-Presario-F700-Notebook-PC ~/sinbad-ogre-a6ba860cdb7e-build/bin $ ./Sample_TutorialCompute01_UavTexture-2.1.0
Creating resource group General
Creating resource group Internal
Creating resource group Autodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Mesh2
Registering ResourceManager for type OldSkeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for archive type FileSystem registered.
ArchiveFactory for archive type Zip registered.
ArchiveFactory for archive type EmbeddedZip registered.
DDS codec registering
FreeImage version: 3.17.0
This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,sgi,rgb,rgba,bw,exr,j2k,j2c,jp2,pfm,pct,pict,pic,3fr,arw,bay,bmq,cap,cine,cr2,crw,cs1,dc2,dcr,drf,dsc,dng,erf,fff,ia,iiq,k25,kc2,kdc,mdc,mef,mos,mrw,nef,nrw,orf,pef,ptx,pxn,qtk,raf,raw,rdc,rw2,rwl,rwz,sr2,srf,srw,sti,x3f,webp,jxr,wdp,hdp
ETC codec registering
Registering ResourceManager for type HighLevelGpuProgram
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Item' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject2' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
MovableObjectFactory for type 'WireAabb' registered.
Loading library /home/erick/sinbad-ogre-a6ba860cdb7e-build/lib/RenderSystem_GL3Plus
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library /home/erick/sinbad-ogre-a6ba860cdb7e-build/lib/Plugin_ParticleFX
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 2.1.0unstable (Tindalos)
CPU Identifier & Features
-------------------------
 *   CPU ID: AuthenticAMD: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-57
 *   Logical cores: 2
 *      SSE: yes
 *     SSE2: yes
 *     SSE3: yes
 *      MMX: yes
 *   MMXEXT: yes
 *    3DNOW: yes
 * 3DNOWEXT: yes
 *     CMOV: yes
 *      TSC: yes
 *      FPU: yes
 *      PRO: yes
 *       HT: no
-------------------------
******************************
*** Starting GLX Subsystem ***
******************************
GL3PlusRenderSystem::_createRenderWindow "Tutorial: Compute 01", 800x600 windowed  miscParams: FSAA=0 gamma=true parentWindowHandle=6291461 title=Tutorial: Compute 01 vsync=No 
Failed to create an OpenGL 3+ context
An exception has occured: OGRE EXCEPTION(3:RenderingAPIException): Unable to create a suitable GLXContext in GLXContext::GLXContext at /home/erick/sinbad-ogre-a6ba860cdb7e/RenderSystems/GL3Plus/src/windowing/GLX/OgreGLXContext.cpp (line 61)
From the post below, someone mentioned that it has something to do with the driver.

http://www.ogre3d.org/forums/viewtopic.php?f=25&t=85478

My OS on the laptop is Linux Mint 18.1
My video card is Nvidia GeForce 7000M/ nForce 610M
The driver is Nvidia 304.131

Thank you.
frostbyte
Orc Shaman
Posts: 737
Joined: Fri May 31, 2013 2:28 am
x 65

Re: Unable to create a suitable GLXContext in GLXContext::GL

Post by frostbyte »

your laptop is an ancient piece of history...ogre 2.1 won't work as it requires the hardware(GPU) to support at least GL3.1+ or DX11
if you insist on running ogre2.1 on your laptop, you may get lucky with this new RS http://www.ogre3d.org/forums/viewtopic.php?f=25&t=91777
but anyway, even if it works, your laptop's GPU is so very weak....
the woods are lovely dark and deep
but i have promises to keep
and miles to code before i sleep
and miles to code before i sleep..

coolest videos link( two minutes paper )...
https://www.youtube.com/user/keeroyz/videos
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5299
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1279
Contact:

Re: Unable to create a suitable GLXContext in GLXContext::GL

Post by dark_sylinc »

frostbyte wrote:your laptop is an ancient piece of history...
There's no need to be so harsh :lol:

But I'm afraid he is correct. Your GPU is simply too old. You need at least DX10-class HW in order to run Ogre 2.1. Your GPU is DX9-SM3.0-class.
Furthermore that sample in particular (Compute) is even more strict as it requires DX11-class HW.

We MIGHT add very restricted/limited support for these systems if the GLES2 RenderSystem gets finished, but we're far from that point at this moment.
sethanath
Halfling
Posts: 46
Joined: Fri Dec 09, 2016 6:43 pm

Re: Unable to create a suitable GLXContext in GLXContext::GL

Post by sethanath »

Thank you. I will study your libraries some more.
Post Reply