Hi,

after an update of the radeon graphics driver including mesa, I can no longer 
get OSG to run. This is what I get:

osgviewer
Error: Not able to create requested visual.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows
Error: Not able to create requested visual.
  GraphicsWindow has not been created successfully.
Viewer::realize() - failed to set up any windows


Here a longer debug version:

RegisterWindowingSystemInterfaceProxy()
X11WindowingSystemInterface()
GraphicsContext::setWindowingSystemInterface() 0x11cc570        0x7f94fa6e2b70
CullSettings::readEnvironmentalVariables()
DatabasePager::addDatabaseThread() HANDLE_NON_HTTP
DatabasePager::addDatabaseThread() HANDLE_ONLY_HTTP
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
DriveManipulator::_height set to ==1.5
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
CullSettings::readEnvironmentalVariables()
itr='/usr/lib64/osgPlugins-2.9.7'
FindFileInPath() : trying 
/usr/lib64/osgPlugins-2.9.7/osgPlugins-2.9.7/osgdb_ac.so ...
itr='/usr/lib/'
FindFileInPath() : trying /usr/lib64/osgPlugins-2.9.7/osgdb_ac.so ...
FindFileInPath() : USING /usr/lib64/osgPlugins-2.9.7/osgdb_ac.so
Opened DynamicLibrary osgPlugins-2.9.7/osgdb_ac.so
FindFileInPath(fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/ffm_deutsche_bank_twintowers.ac): returning fg-
svn/trunk/rhein-main/deutsche_bank_twintowers/ffm_deutsche_bank_twintowers.ac
osgDB ac3d reader: starting reading "fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/ffm_deutsche_bank_twintowers.ac"
itr='fg-svn/trunk/rhein-main/deutsche_bank_twintowers'
FindFileInPath() : trying /home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_logo.rgb ...
FindFileInPath() : USING /home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_logo.rgb
itr='/usr/lib64/osgPlugins-2.9.7'
FindFileInPath() : trying 
/usr/lib64/osgPlugins-2.9.7/osgPlugins-2.9.7/osgdb_rgb.so ...
itr='/usr/lib/'
FindFileInPath() : trying /usr/lib64/osgPlugins-2.9.7/osgdb_rgb.so ...
FindFileInPath() : USING /usr/lib64/osgPlugins-2.9.7/osgdb_rgb.so
Opened DynamicLibrary osgPlugins-2.9.7/osgdb_rgb.so
FindFileInPath(/home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_logo.rgb): returning 
/home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_logo.rgb
raw->sizeX = 128
raw->sizeY = 128
raw->sizeZ = 1
raw->bpc = 1
image read ok 128  128
itr='fg-svn/trunk/rhein-main/deutsche_bank_twintowers'
FindFileInPath() : trying /home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_fenster.png ...
FindFileInPath() : USING /home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_fenster.png
itr='/usr/lib64/osgPlugins-2.9.7'
FindFileInPath() : trying 
/usr/lib64/osgPlugins-2.9.7/osgPlugins-2.9.7/osgdb_png.so ...
itr='/usr/lib/'
FindFileInPath() : trying /usr/lib64/osgPlugins-2.9.7/osgdb_png.so ...
FindFileInPath() : USING /usr/lib64/osgPlugins-2.9.7/osgdb_png.so
Opened DynamicLibrary osgPlugins-2.9.7/osgdb_png.so
FindFileInPath(/home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_fenster.png): returning 
/home/chris/fg-svn/trunk/rhein-
main/deutsche_bank_twintowers/deutsche_bank_fenster.png
width=64 height=64 depth=8

Stats before:
 Object Type    Unique Instanced
 -----------    ------ ---------
 StateSet            8         8
 Group              12        12
 Transform           0         0
 LOD                 0         0
 Switch              0         0
 Geode               8         8
 Drawable            8         8
 Geometry            8         8
 Fast geom.          8         8
 Vertices          346       346
 Primitives         88        88
Optimizer::optimize() doing REMOVE_LOADED_PROXY_NODES
Optimizer::optimize() doing COMBINE_ADJACENT_LODS
Optimizer::optimize() doing OPTIMIZE_TEXTURE_SETTINGS
Optimizer::optimize() doing SHARE_DUPLICATE_STATE
Num of StateSet=8
state attribute list
    0x11f76f0  CullFace
    0x11e9890  CullFace
    0x11f1700  CullFace
    0x11e9f40  CullFace
    0x11ea0e0  CullFace
    0x11eac90  CullFace
    0x11f0300  CullFace
    0x11ee380  CullFace
    0x11e6f00  Material
    0x11e6c50  Material
    0x11f81e0  ShadeModel
    0x11f17e0  ShadeModel
    0x11f0a90  ShadeModel
    0x11ee460  ShadeModel
    0x11ebe30  ShadeModel
    0x11ead00  ShadeModel
    0x11e9ed0  ShadeModel
    0x11e9960  ShadeModel
    0x11e6aa0  TexEnv
    0x11ec4b0  Texture2D
    0x11e7340  Texture2D
searching for duplicate attributes
    found duplicate CullFace  first=0x11f76f0  current=0x11e9890
       replace duplicate 0x11e9890 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11f1700
       replace duplicate 0x11f1700 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11e9f40
       replace duplicate 0x11e9f40 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11ea0e0
       replace duplicate 0x11ea0e0 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11eac90
       replace duplicate 0x11eac90 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11f0300
       replace duplicate 0x11f0300 with 0x11f76f0
    found duplicate CullFace  first=0x11f76f0  current=0x11ee380
       replace duplicate 0x11ee380 with 0x11f76f0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11f17e0
       replace duplicate 0x11f17e0 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11f0a90
       replace duplicate 0x11f0a90 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11ee460
       replace duplicate 0x11ee460 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11ebe30
       replace duplicate 0x11ebe30 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11ead00
       replace duplicate 0x11ead00 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11e9ed0
       replace duplicate 0x11e9ed0 with 0x11f81e0
    found duplicate ShadeModel  first=0x11f81e0  current=0x11e9960
       replace duplicate 0x11e9960 with 0x11f81e0
searching for duplicate attributes
    found duplicate StateSet  first=0x11ebc20  current=0x11f8010
       replace duplicate 0x11f8010 with 0x11ebc20
    found duplicate StateSet  first=0x11ee0f0  current=0x11f0840
       replace duplicate 0x11f0840 with 0x11ee0f0
    found duplicate StateSet  first=0x11ee0f0  current=0x11f14f0
       replace duplicate 0x11f14f0 with 0x11ee0f0
    found duplicate StateSet  first=0x11e9380  current=0x11e9600
       replace duplicate 0x11e9600 with 0x11e9380
Optimizer::optimize() doing FLATTEN_STATIC_TRANSFORMS
** RemoveStaticTransformsVisitor *** Pass 0
Optimizer::optimize() doing CHECK_GEOMETRY
Optimizer::optimize() doing MAKE_FAST_GEOMETRY
Optimizer::optimize() doing MERGE_GEOMETRY
MERGE_GEOMETRY took 5e-06
Optimizer::optimize() doing REMOVE_REDUNDANT_NODES

Stats after:
 Object Type    Unique Instanced
 -----------    ------ ---------
 StateSet            4         8
 Group               4         4
 Transform           0         0
 LOD                 0         0
 Switch              0         0
 Geode               8         8
 Drawable            8         8
 Geometry            8         8
 Fast geom.          8         8
 Vertices          346       346
 Primitives         88        88
View::setSceneData() Reusing exisitng scene0x11ce070
DriveManipulator::_height set to ==1.5
getCoordinateFrame(5 54.7439 -5)
   no coordinate system found, using default orientation
Setting terrain manipulator _minimumDistance to 0.125896
Viewer::realize() - No valid contexts found, setting up view across all 
screens.
GraphicsContext::getWindowingSystemInterface() 0x11cc570        0x7f94fa6e2b70
GraphicsContext::registerGraphicsContext 0x11edf60
Relaxing traits
Error: Not able to create requested visual.
close(1)0x11edf60
close(0)0x11edf60
GraphicsContext::unregisterGraphicsContext 0x11edf60
  GraphicsWindow has not been created successfully.
DriveManipulator::_height set to ==1.5
Setting terrain manipulator _minimumDistance to 0.125896
Viewer::realize() - failed to set up any windows
Viewer::realize() - No valid contexts found, setting up view across all 
screens.
GraphicsContext::getWindowingSystemInterface() 0x11cc570        0x7f94fa6e2b70
GraphicsContext::registerGraphicsContext 0x11edf60
Relaxing traits
Error: Not able to create requested visual.
close(1)0x11edf60
close(0)0x11edf60
GraphicsContext::unregisterGraphicsContext 0x11edf60
  GraphicsWindow has not been created successfully.
DriveManipulator::_height set to ==1.5
Setting terrain manipulator _minimumDistance to 0.125896
Viewer::realize() - failed to set up any windows
Viewer::~Viewer():: start destructor getThreads = 0
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
Viewer::~Viewer() end destrcutor getThreads = 0
Destructing osgViewer::View
Destructing osg::View
Done destructing osg::View
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
DatabasePager::RequestQueue::~RequestQueue() Destructing queue.
~RegisterWindowingSystemInterfaceProxy()
GraphicsContext::setWindowingSystemInterface() 0        0x7f94fa6e2b70
Closing DynamicLibrary osgPlugins-2.9.7/osgdb_ac.so
Closing DynamicLibrary osgPlugins-2.9.7/osgdb_rgb.so
Closing DynamicLibrary osgPlugins-2.9.7/osgdb_png.so


I tried both, OSG 2.9.7 and trunk. Is there any way to further debug this or 
do you have any hints?

Thanks
Chris
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to