Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGRE EXCEPTION in docker container #1123

Closed
ZongliangLee opened this issue Jul 14, 2017 · 1 comment
Closed

OGRE EXCEPTION in docker container #1123

ZongliangLee opened this issue Jul 14, 2017 · 1 comment

Comments

@ZongliangLee
Copy link

ZongliangLee commented Jul 14, 2017

this is warning mesg, it shows up and rviz crash.

OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GLFrameBufferObject::initialise at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 241)

I've tried to change my environment OGRE_RTT_MODE = Copy, PBuffer or FBO. But it did not work

I'm sure my nvidia driver and cuda have been installed correctly.

rviz -l

[ INFO] [1500027958.109911243]: rviz version 1.11.16
[ INFO] [1500027958.109958128]: compiled against Qt version 4.8.6
[ INFO] [1500027958.110025000]: compiled against OGRE version 1.8.1 (Byatis)
[ INFO] [1500027958.298811667]: Creating resource group General
[ INFO] [1500027958.298898672]: Creating resource group Internal
[ INFO] [1500027958.298915340]: Creating resource group Autodetect
[ INFO] [1500027958.298981122]: SceneManagerFactory for type 'DefaultSceneManager' registered.
[ INFO] [1500027958.299082968]: Registering ResourceManager for type Material
[ INFO] [1500027958.299107620]: Registering ResourceManager for type Mesh
[ INFO] [1500027958.299129928]: Registering ResourceManager for type Skeleton
[ INFO] [1500027958.299160225]: MovableObjectFactory for type 'ParticleSystem' registered.
[ INFO] [1500027958.299198016]: OverlayElementFactory for type Panel registered.
[ INFO] [1500027958.299220149]: OverlayElementFactory for type BorderPanel registered.
[ INFO] [1500027958.299242749]: OverlayElementFactory for type TextArea registered.
[ INFO] [1500027958.299268252]: Registering ResourceManager for type Font
[ INFO] [1500027958.299289497]: ArchiveFactory for archive type FileSystem registered.
[ INFO] [1500027958.299308367]: ArchiveFactory for archive type Zip registered.
[ INFO] [1500027958.299326645]: ArchiveFactory for archive type EmbeddedZip registered.
[ INFO] [1500027958.299343482]: DDS codec registering
[ INFO] [1500027958.299367172]: FreeImage version: 3.15.4
[ INFO] [1500027958.299385643]: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
[ INFO] [1500027958.299475624]: 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,g3,sgi,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
[ INFO] [1500027958.299501783]: Registering ResourceManager for type HighLevelGpuProgram
[ INFO] [1500027958.299530907]: Registering ResourceManager for type Compositor
[ INFO] [1500027958.299641708]: MovableObjectFactory for type 'Entity' registered.
[ INFO] [1500027958.299669130]: MovableObjectFactory for type 'Light' registered.
[ INFO] [1500027958.299694764]: MovableObjectFactory for type 'BillboardSet' registered.
[ INFO] [1500027958.299718491]: MovableObjectFactory for type 'ManualObject' registered.
[ INFO] [1500027958.299741369]: MovableObjectFactory for type 'BillboardChain' registered.
[ INFO] [1500027958.299756122]: MovableObjectFactory for type 'RibbonTrail' registered.
[ INFO] [1500027958.299814003]: *-*-* OGRE Initialising
[ INFO] [1500027958.299829565]: *-*-* Version 1.8.1 (Byatis)
[ INFO] [1500027958.299846734]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/RenderSystem_GL
[ INFO] [1500027958.300986638]: Installing plugin: GL RenderSystem
[ INFO] [1500027958.301015382]: OpenGL Rendering Subsystem created.
[ INFO] [1500027958.367117235]: Plugin successfully installed
[ INFO] [1500027958.367171105]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_OctreeSceneManager
[ INFO] [1500027958.367848951]: Installing plugin: Octree Scene Manager
[ INFO] [1500027958.367877864]: Plugin successfully installed
[ INFO] [1500027958.367927652]: Loading library /usr/lib/x86_64-linux-gnu/OGRE-1.8.0/Plugin_ParticleFX
[ INFO] [1500027958.368684794]: Installing plugin: ParticleFX
[ INFO] [1500027958.368713971]: Particle Emitter Type 'Point' registered
[ INFO] [1500027958.368740483]: Particle Emitter Type 'Box' registered
[ INFO] [1500027958.368765432]: Particle Emitter Type 'Ellipsoid' registered
[ INFO] [1500027958.368787152]: Particle Emitter Type 'Cylinder' registered
[ INFO] [1500027958.368809634]: Particle Emitter Type 'Ring' registered
[ INFO] [1500027958.368829097]: Particle Emitter Type 'HollowEllipsoid' registered
[ INFO] [1500027958.368848413]: Particle Affector Type 'LinearForce' registered
[ INFO] [1500027958.368869442]: Particle Affector Type 'ColourFader' registered
[ INFO] [1500027958.368891160]: Particle Affector Type 'ColourFader2' registered
[ INFO] [1500027958.368910163]: Particle Affector Type 'ColourImage' registered
[ INFO] [1500027958.368932010]: Particle Affector Type 'ColourInterpolator' registered
[ INFO] [1500027958.368955239]: Particle Affector Type 'Scaler' registered
[ INFO] [1500027958.368976735]: Particle Affector Type 'Rotator' registered
[ INFO] [1500027958.368996917]: Particle Affector Type 'DirectionRandomiser' registered
[ INFO] [1500027958.369016788]: Particle Affector Type 'DeflectorPlane' registered
[ INFO] [1500027958.369037138]: Plugin successfully installed
[ INFO] [1500027958.369067526]: CPU Identifier & Features
[ INFO] [1500027958.369088475]: -------------------------
[ INFO] [1500027958.369107995]:  *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
[ INFO] [1500027958.369127078]:  *      SSE: yes
[ INFO] [1500027958.369145436]:  *     SSE2: yes
[ INFO] [1500027958.369163349]:  *     SSE3: yes
[ INFO] [1500027958.369179999]:  *      MMX: yes
[ INFO] [1500027958.369197648]:  *   MMXEXT: yes
[ INFO] [1500027958.369216389]:  *    3DNOW: no
[ INFO] [1500027958.369236148]:  * 3DNOWEXT: no
[ INFO] [1500027958.369254938]:  *     CMOV: yes
[ INFO] [1500027958.369273773]:  *      TSC: yes
[ INFO] [1500027958.369293837]:  *      FPU: yes
[ INFO] [1500027958.369311093]:  *      PRO: yes
[ INFO] [1500027958.369328632]:  *       HT: no
[ INFO] [1500027958.369345515]: -------------------------
[ INFO] [1500027958.369362483]: ******************************
*** Starting GLX Subsystem ***

***Ignore useless info***
[ INFO] [1500027958.453080369]: All done
[ INFO] [1500027958.453090168]: Parsing scripts for resource group rviz
[ INFO] [1500027958.453694216]: Parsing script glsl120.program
[ INFO] [1500027958.454960076]: Parsing script nogp.program
[ INFO] [1500027958.455773749]: Parsing script glsl150.program
[ INFO] [1500027958.456462979]: Parsing script indexed_8bit_image.material
[ INFO] [1500027958.456618534]: Parsing script default_pick_and_depth.material
[ INFO] [1500027958.456873282]: Parsing script point_cloud_point.material
[ INFO] [1500027958.457086482]: Parsing script point_cloud_tile.material
[ INFO] [1500027958.457314310]: Parsing script point_cloud_sphere.material
[ INFO] [1500027958.457545459]: Parsing script point_cloud_square.material
[ INFO] [1500027958.457755569]: Parsing script point_cloud_flat_square.material
[ INFO] [1500027958.457968030]: Parsing script point_cloud_box.material
[ INFO] [1500027958.458152804]: Parsing script arial.fontdef
[ INFO] [1500027958.458212722]: Finished parsing scripts for resource group rviz
[ INFO] [1500027958.458230670]: Creating resources for group rviz
[ INFO] [1500027958.458242516]: All done
[ INFO] [1500027958.462612035]: GLRenderSystem::_createRenderWindow "OgreWindow(1)", 100x30 windowed  miscParams: FSAA=4 contentScalingFactor=1 externalGLControl=� macAPI=carbon parentWindowHandle=75497500 
[ INFO] [1500027958.488499080]: GLXWindow::create used FBConfigID = 209
[ INFO] [1500027958.576245149]: Mesh: Loading rviz_sphere.mesh.



**[ WARN] [1500027958.580338242]: OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GLFrameBufferObject::initialise at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 241)
terminate called after throwing an instance of 'Ogre::InvalidParametersException'
  what():  OGRE EXCEPTION(2:InvalidParametersException): All framebuffer formats with this texture internal format unsupported in GLFrameBufferObject::initialise at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLFrameBufferObject.cpp (line 241)**
@wjwwood
Copy link
Member

wjwwood commented Jul 14, 2017

I would guess that it is something related to your docker setup. Perhaps someone else on answers.ros.org who uses rviz within docker can help you.

I don't see any evidence of this being a bug in rviz, so I'll close this for now. If we find an issue with rviz (like if other 3D programs work in your docker but rviz doesn't) we can try to reopen this. But I won't probably have time to look into it myself.

@wjwwood wjwwood closed this as completed Jul 14, 2017
130s pushed a commit to 130s/rviz that referenced this issue Aug 21, 2024
…1123)

Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit dffc11df2a639d509a9bc9798fe2c3660efeae5a)

Co-authored-by: Alejandro Hernández Cordero <alejandro@openrobotics.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants