Fullscreen mode crashes applications

Hello all!
Whenever I try to run a Panda application in fullscreen mode (using fullscreen #t in the Config.prc file) it crashes. I changed the notify-level to spam and this is what i got:


[...]
:display:gsg:glgsg(debug): Unable to query GL_VENDOR
:display:gsg:glgsg(debug): Unable to query GL_RENDERER
:display:gsg:glgsg(debug): Unable to query GL_VERSION
:display:gsg:glgsg(debug): GLX_VENDOR (client) = ATI
:display:gsg:glgsg(debug): GLX_VERSION (client) = 1.3
:display:gsg:glgsg(debug): GLX_VENDOR (server) = SGI
:display:gsg:glgsg(debug): GLX_VERSION (server) = 1.2
:display:gsg:glgsg(debug): GLX_VERSION = 1.2
:display:gsg:glgsg(debug): GL Extensions:
:display:gsg:glgsg(debug): GLX_ARB_get_proc_address
:display:gsg:glgsg(debug): GLX_ARB_multisample
:display:gsg:glgsg(debug): GLX_EXT_import_context
:display:gsg:glgsg(debug): GLX_EXT_visual_info
:display:gsg:glgsg(debug): GLX_EXT_visual_rating
:display:gsg:glgsg(debug): frame buffer depth = -1073755480 bits/channel, enabling dithering
:08-04-2005 20:55:55 ShowBase(info): Window did not open, removing.
:display(debug): Removed glxGraphicsWindow 0x8bbbc18
Traceback (most recent call last):
  File "Tut-Eve.py", line 13, in ?
    import direct.directbase.DirectStart
  File "/opt/panda3d/direct/src/directbase/DirectStart.py", line 4, in ?
    ShowBase.ShowBase()
  File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 190, in __init__
    self.openDefaultWindow()
  File "/opt/panda3d/direct/src/showbase/ShowBase.py", line 489, in openDefaultWindow
    self.notify.error("Unable to open '%s' window." % (self.windowType))
  File "/home/dbuchloh/Desktop/panda3d-1.0.5/built/direct/../../direct/src/directnotify/Notifier.py", line 111, in error
    raise exception(errorString)
StandardError: Unable to open 'onscreen' window.

All my other OpenGL applications are working without problems. I’m using Panda 1.0.5 on Gentoo Linux with Python 2.4.1. My graphics card is a Radeon X700. Seems to me like there is some problem with my radeon drivers, but i can’t figure out what’s going wrong.
Any suggestions are welcome :slight_smile:

Actually, fullscreen mode is not supported on Linux–unfortunately, the standard glx API for OpenGL via X does not define a way to switch the monitor into fullscreen mode.

Of course, Panda shouldn’t have crashed when you requested fullscreen mode; it should have ignored the request. I’ll fix that bug.

David

Oh, that’s good to know. Maybe there will be a workaround in the future.
Thanks for your reply!

Heiko