This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Unable to launch openGL application on cygwin/X server from Sun Solaris OS


I intend to use an openGL demo on my cygwin/X server XWin or XWin_GL from a
Solaris box.


I can't make it work at all. When I launch ogl_install_check, I get:

bash-2.03$ /usr/openwin/demo/GL/ogl_install_check 
/usr/openwin/demo/GL/sparcv9/ogl_install_check: glXChooseVisual Error: Can't
find visual.


Why does it that it doesn't work when it works perfectly with a linux box ?

I know that I can make it work replacing the OpenGL libs by Mesa libs, but
the application I intend to use doesn't use mesa (SDRC Ideas with OGL).

Is there any one who encounters the same trouble and is there any solution
to fix it?

Thanks a lot.



My XWin.log file is:

$ cat /tmp/XWin.log 
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 6.8.1.0-5

Contact: cygwin-xfree@cygwin.com

XWin was started with the following command line:

/usr/X11R6/bin/XWin_GL -multiwindow -clipboard 
-silent-dup-error 

ddxProcessArgument - Initializing default screens
winInitializeDefaultScreens - w 1280 h 1024
winInitializeDefaultScreens - Returning
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
(==) FontPath set to
"/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/TT
F/,/usr/X11R6/lib/X11/fonts/Type1/,/usr/X11R6/lib/X11/fonts/CID/,/usr/X11R6/
lib/
X11/fonts/75dpi/,/usr/X11R6/lib/X11/fonts/100dpi/"
winAdjustVideoModeShadowGDI - Using Windows display depth of 32 bits per
pixel
winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024 depth:
32
winInitVisualsShadowGDI - Masks 00ff0000 0000ff00 000000ff BPRGB 8 d 24 bpp
32
glWinInitVisuals:1476: glWinInitVisuals
glWinInitVisualConfigs:1383: glWinInitVisualConfigs
glWinSetVisualConfigs:1461: 
glWinSetVisualConfigs
init_visuals:906: init_visuals
null screen fn ReparentWindow
null screen fn RestackWindow
InitQueue - Calling pthread_mutex_init
InitQueue - pthread_mutex_init returned
InitQueue - Calling pthread_cond_init
InitQueue - pthread_cond_init returned
winInitMultiWindowWM - Hello
winMultiWindowXMsgProc - Hello
winMultiWindowXMsgProc - Calling pthread_mutex_lock ()
winInitMultiWindowWM - Calling pthread_mutex_lock ()
MIT-SHM extension disabled due to lack of kernel support
XFree86-Bigfont extension local-client optimization disabled due to lack of
shar
ed memory support in the kernel
glWinScreenProbe:1270: glWinScreenProbe
fixup_visuals:1160: fixup_visuals
init_screen_visuals:1193: init_screen_visuals
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0000040C" (0000040c) 
(--) Using preset keyboard for "French (Standard)" (40c), type "4"
(--) 3 mouse buttons found
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing
from li
st!
glWinRealizeWindow:709: glWinRealizeWindow
winInitMultiWindowWM - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_lock () returned.
winMultiWindowXMsgProc - pthread_mutex_unlock () returned.
winInitMultiWindowWM - pthread_mutex_unlock () returned.
winInitMultiWindowWM - DISPLAY=127.0.0.1:0.0
winMultiWindowXMsgProc - DISPLAY=127.0.0.1:0.0
winProcEstablishConnection - Hello
winInitClipboard ()
winProcEstablishConnection - winInitClipboard returned.
winClipboardProc - Hello
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened
the di
splay.
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the
disp
lay.
DetectUnicodeSupport - Windows NT/2000/XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winClipboardProc - XOpenDisplay () returned and successfully opened the
display.
glWinRealizeWindow:709: glWinRealizeWindow
glWinCopyWindow:772: glWinCopyWindow - passing to hw layer
glWinCopyWindow:772: glWinCopyWindow - passing to hw layer
glWinRealizeWindow:709: glWinRealizeWindow
glWinRealizeWindow:709: glWinRealizeWindow
glWinCreateContext:677: glWinCreateContext
glWinCreateContext:696: glWinCreateContext done
glWinRealizeWindow:709: glWinRealizeWindow
glWinCopyWindow:772: glWinCopyWindow - passing to hw layer
glWinCreateBuffer:1357: glWinCreateBuffer
attach:374: attach (ctx 0x0)
attach:393: attached
glWinDestroyDrawablePrivate:1338: glWinDestroyDrawablePrivate
glWinUnrealizeWindow:788: glWinUnrealizeWindow
glWinDestroyContext:411: glWinDestroyContext (ctx 0x10000)
unattach:292: unattach (ctx 0x10000)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]