multiwindow crash on resolution 1280
Harold L Hunt II
huntharo@msu.edu
Wed Feb 26 15:27:00 GMT 2003
JS,
Nope, you made a mistake. See this line from the log file:
winSetEngine - Multi Window => ShadowGDI
You sent in your -multiwindow log file again. Notice that the log file
ends in failure.
Harold
J S wrote:
> Here you go Harold. This is the log from running
>
> Xwin -ac -engine 1
>
> ddxProcessArgument - Initializing default screens
> winInitializeDefaultScreens - w 1280 h 1024
> winInitializeDefaultScreens - Returning
> OsVendorInit - Creating bogus screen 0
> (EE) Unable to locate/open config file
> InitOutput - Error reading config file
> winDetectSupportedEngines - Windows 95/98/Me
> winDetectSupportedEngines - DirectDraw installed
> winDetectSupportedEngines - Returning, supported engines 00000013
> InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
> winSetEngine - Multi Window => ShadowGDI
> winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits per
> pixel
> winCreateBoundingWindowWindowed - User w: 1280 h: 1024
> winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
> winAdjustForAutoHide - Original WorkArea: 0 0 1024 1280
> winAdjustForAutoHide - Adjusted WorkArea: 0 0 1024 1280
> winCreateBoundingWindowWindowed - WindowClient w 1280 h 1024 r 1280 l 0
> b 1024 t
> 0
> winCreateBoundingWindowWindowed - Returning
> winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024
> depth: 16
> winAllocateFBShadowGDI - Dibsection width: 1280 height: -1024 depth: 16
> size ima
> ge: 2621440
> winAllocateFBShadowGDI - Shadow blit failure
> winFinishScreenInitFB - Could not allocate framebuffer
>
> winAllocateFBShadowGDI - Shadow blit failure
> winFinishScreenInitFB - Could not allocate framebuffer
> winScreenInit - winFinishScreenInit () failed
>
> Fatal server error:
> InitOutput - Couldn't add screen 0
>
>
>>
>> JS,
>>
>> That doesn't make any sense. There should not be any difference at
>> all when running with ``-engine 1'' instead of ``-multiwindow'', as
>> far as the DIB creation is concerned. The only thing I can think of
>> is that this is perhaps running on a system with very little available
>> memory at the time of startup... multiwindow mode might take just
>> enough memory to make the allocation of memory for the DIB fail. That
>> is the only thing that makes any sense.
>>
>> Oh yeah, and I ask you to send in the log file from -engine 1, which
>> would help in diagnosing this problem.
>>
>> Harold
>>
>> J S wrote:
>>
>>> Harold,
>>>
>>> Sorry to reply to this so late. If he starts xwin with -engine 1 that
>>> works fine. The problem is that multiwindow seems to be the only mode
>>> that works with his application and it has to be run with this
>>> resolution.
>>>
>>>
>>>>
>>>> JS,
>>>>
>>>> What happens if he runs in 1280x1024 with "-engine 1" instead of
>>>> "-multiwindow"?
>>>>
>>>> Please send in a log from that run. I suspect it will be the same.
>>>>
>>>> Is 1280x1024 the maximum resolution that he can run in, or is there
>>>> a higher
>>>> resolution that works just fine with -multiwindow? I am just trying to
>>>> figure out if this is a problem where the largest size is not
>>>> possible but
>>>> anything smaller than that is okay, or if it is just that one size
>>>> in the
>>>> middle has problems but all the rest are okay.
>>>>
>>>> Oh yeah, and this was done with 4.2.0-25, right?
>>>>
>>>> Thanks for testing,
>>>>
>>>> Harold
>>>>
>>>> -----Original Message-----
>>>> From: cygwin-xfree-owner@cygwin.com
>>>> [mailto:cygwin-xfree-owner@cygwin.com]On Behalf Of J S
>>>> Sent: Thursday, January 30, 2003 4:30 AM
>>>> To: cygwin-xfree@cygwin.com
>>>> Subject: multiwindow crash on resolution 1280
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I have a customer trying out multiwindow mode on windows 95. He
>>>> usually has
>>>> his resolution set to 1280 x 1024, but for some reason multiwindow
>>>> won't
>>>> work with this. If I change his display settings to anything else
>>>> though, it
>>>> does work. Here is the log:
>>>>
>>>> ddxProcessArgument - Initializing default screens
>>>> winInitializeDefaultScreens - w 1280 h 1024
>>>> winInitializeDefaultScreens - Returning
>>>> OsVendorInit - Creating bogus screen 0
>>>> (EE) Unable to locate/open config file
>>>> InitOutput - Error reading config file
>>>> winDetectSupportedEngines - Windows 95/98/Me
>>>> winDetectSupportedEngines - DirectDraw installed
>>>> winDetectSupportedEngines - Returning, supported engines 00000013
>>>> InitOutput - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
>>>> winSetEngine - Multi Window => ShadowGDI
>>>> winAdjustVideoModeShadowGDI - Using Windows display depth of 16 bits
>>>> per
>>>> pixel
>>>> winCreateBoundingWindowWindowed - User w: 1280 h: 1024
>>>> winCreateBoundingWindowWindowed - Current w: 1280 h: 1024
>>>> winAdjustForAutoHide - Original WorkArea: 0 0 1024 1280
>>>> winAdjustForAutoHide - Adjusted WorkArea: 0 0 1024 1280
>>>> winCreateBoundingWindowWindowed - WindowClient w 1280 h 1024 r 1280
>>>> l 0 b
>>>> 1024 t 0
>>>> winCreateBoundingWindowWindowed - Returning
>>>> winAllocateFBShadowGDI - Creating DIB with width: 1280 height: 1024
>>>> depth:
>>>> 16
>>>> winAllocateFBShadowGDI - Dibsection width: 1280 height: -1024 depth:
>>>> 16 size
>>>> image: 2621440
>>>> winAllocateFBShadowGDI - Shadow blit failure
>>>> winFinishScreenInitFB - Could not allocate framebuffer
>>>> winScreenInit - winFinishScreenInit () failed
>>>>
>>>> Fatal server error:
>>>> InitOutput - Couldn't add screen 0
>>>>
>>>> Thanks for any help,
>>>>
>>>> JS.
>>>>
>>>> _________________________________________________________________
>>>> Stay in touch with MSN Messenger http://messenger.msn.co.uk
>>>
>>>
>>>
>>>
>>> _________________________________________________________________
>>> MSN Messenger - fast, easy and FREE! http://messenger.msn.co.uk
>>>
>>
>
>
> _________________________________________________________________
> Express yourself with cool emoticons http://messenger.msn.co.uk
>
More information about the Cygwin-xfree
mailing list