[Wine] Blank Screen in Game after 30 Seconds

Marcelo R wineforum-user at winehq.org
Tue Jan 12 07:41:20 CST 2010


Hi All,
 
I finally could install and run a game in wine called USAF (a flight simulator program), but I am experiencing the following problem:

The whole presentation and configuration pages run just fine, but when the simulation begins (even at the lowest resolution: 640x480x16), it is shown for a about 15/30 seconds and then the screen turns completely black except for the cursor. After a while (another 15/30 secs) the game will run just fine for about that period of time to go black again and so on...

The game is not frozen during the "black out" time, its music still plays and I can hear sounds that I cause by typing certain keys (commands to the game).

When running the game with logging enabled, I get the following (after cleaning out tons of repeating lines):


Code:

mmap() failed: Cannot allocate memory
ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave
err:alsa:ALSA_CheckSetVolume Could not find 'PCM Playback Volume' element
fixme:mixer:ALSA_MixerInit No master control found on Logitech USB Headset, disabling mixer
fixme:ntdll:find_reg_tz_info Can't find matching timezone information in the registry for bias 180, std (d/m/y): 0/00/0000, dlt (d/m/y): 0/00/0000
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:ddraw:DirectDrawEnumerateExA flags 0x00000007 not handled
fixme:win:EnumDisplayDevicesW ((null),0,0x32ea08,0x00000000), stub!
fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16
fixme:d3d:WineD3D_ChoosePixelFormat Add OpenGL context recreation support to SetDepthStencilSurface
err:d3d7:IDirect3DViewportImpl_Clear  Trying to clear the color buffer without background material !
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
fixme:d3d:set_tex_op_nvrc >>>>>>>>>>>>>>>>> GL_INVALID_ENUM (0x500) from set_tex_op_nvrc() @ nvidia_texture_shader.c / 454
fixme:d3d_draw:drawPrimitive Using software emulation because manual fog coordinates are provided
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
err:d3d7:IDirect3DDeviceImpl_7_SetRenderState Unhandled texture mag 4 !
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:dsalsa:IDsDriverBufferImpl_SetVolumePan (0x188988,0x1b3d4a0): stub
fixme:bitblt:client_side_dib_copy potential optimization: client-side color-index mode DIB copy
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
fixme:d3d:state_mipmaplodbias Render state WINED3DRS_MIPMAPLODBIAS not implemented yet
err:d3d_surface:d3dfmt_p8_init_palette This code should never get entered for DirectDraw!, expect problems
err:d3d7:IDirect3DTextureImpl_Load Trying to load surfaces with different mip-map counts !
fixme:d3d7:IDirect3DDeviceImpl_3_SetLightState  D3DLIGHTSTATE_MATERIAL called with NULL material !!!
fixme:d3d:state_mipmaplodbias Render state WINED3DRS_MIPMAPLODBIAS not implemented yet




I run the game with Direct3D: "DirectDrawRenderer"="opengl"
X11 Driver: "UseXrandR=Y"

I tried it both with and without a virtual desktop with no luck.
Shall I try changing "UseGLSL", "OffscreenRenderingMode" and "RenderTargetLockMode"? to correct this problem?
Thanks!

Marcelo







More information about the wine-users mailing list