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]

RE: slow 256 color XWin on XP


Norbert,

Shooting from the hip here it sounds like you have a bunch of clients in your 
XWin startup script that, one-by-one, attempt to connect to the server, find 
that they don't support the only available visual, then disconnect from the 
server (which causes the server to reset since that was the only connected 
client).  After this the next client in your batch or script file is launched 
and does the same thing.  Each client connection and server restart takes, 
say, 30 seconds.

Am I totally wrong here?  Are you not trying to start any X clients?

Something is telling the server to restart... we just have to figure out what 
that something is.

Harold


Norbert Schmidt <ns@1en.de> said:

> 
> /tmp/XWin.log (after start you have 19 rows, then remote Xsession contacts
> XWin):
> 
> ddxProcessArgument () - Initializing default screens
> winInitializeDefaultScreens () - w 1280 h 960
> _XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winRedrawScreenShadowDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2
> winRedrawScreenShadowDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2
> winRedrawScreenShadowDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winCloseScreenShadowDDNL () - Freeing screen resources
> winDetectSupportedEngines () - Windows NT/2000
> winDetectSupportedEngines () - DirectDraw installed
> winDetectSupportedEngines () - Allowing PrimaryDD
> winDetectSupportedEngines () - DirectDraw4 installed
> winDetectSupportedEngines () - Returning, supported engines 0000001f
> winSetEngine () - Using Shadow DirectDraw NonLocking
> winAdjustVideoModeShadowDDNL () - FullScreen, using command line depth: 8
> winAllocateFBShadowDDNL () - Changing video mode
> winAllocateFBShadowDDNL () - lPitch: 1280
> winInitVisualsShadowDDNL () - Masks 00000000 00000000 00000000 BPRGB 8 d 8
> winLayerCreate () - dwDepth 8
> winScreenInit () - returning
> winRedrawScreenShadowDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2
> winRedrawScreenShadowDDNL () - IDirectDrawSurface4_Blt () failed: 887601c2
> 
> 
> 
> > I don't know what to tell you.  I have never had this problem nor have I
> had
> > a user report this same problem.
> >
> > Anything in /tmp/XWin.log?
> >
> > Harold
> >> -----Original Message-----
> >> From: cygwin-xfree-owner@cygwin.com
> >> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of Norbert Schmidt
> >> Sent: Wednesday, September 18, 2002 11:09 AM
> >> To: cygwin-xfree@cygwin.com
> >> Subject: slow 256 color XWin on XP
> >>
> >>
> >>
> >> Only if I start XWin on winXP pro with:
> >>
> >>  XWin -fullscreen -depth 8
> >>
> >> it starts extrem slow. (up to XWin-Test65.exe)
> >>
> >> If I start a remote windowmanager (ssh) then the XWin-server switches 4
> >> times (so slow!) and I wait 5 minutes (1.4GHz/P4). After that speed is
> >> fine, but windows task switching from and to XWin.
> >>
> >> Has anyone same thing on XP, or can test it for me?
> >>
> >> (no problems on w98)
> >>
> >> thanks,
> >> Norbert
> 
> 
> 




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