Flight simulator 2004 on second X server not working

Questions about Wine on Linux
Locked
laurenth50
Newbie
Newbie
Posts: 1
Joined: Sun May 12, 2013 2:55 am

Flight simulator 2004 on second X server not working

Post by laurenth50 »

Hi,

I had the good surprise that the recent releases of Wine can run fs2004 quite well (not perfectly tough!)

I tried it on my Ubuntu 12.10 Quetzal 64 bits, with wine ppa activated so that i uses wine 1.5.29. I have a Nvidia card 7300GT with proprietary drivers activated.

running it is ok then, with the same limitations as described on the appdb. Then i decided to focus on grabbing some FPS as the game under wine has about 50% of the FPS i have under the proprietary OS.

The first try for me was to run it under a separate X server.

Code: Select all

# on a terminal, under my main gnome-shell session
sudo X :3 -ac -terminate
# then  :
DISPLAY=:3 metacity &
DISPLAY=:3 /usr/bin/xterm &
# on the new X session, on xterm :
cd ".wine/drive_c/Program Files (x86)/Microsoft Games/Flight Simulator 9"
ck-launch-session wine fs9.exe
the game lauches but after running a previously saved flight, it crashes (which does not happen on the main X session)

The error messages are :

Code: Select all

fixme:service:scmdatabase_autostart_services Auto-start service L"SecDrv" failed to start: 2
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: /usr/lib/i386-linux-gnu/pkcs11/gnome-keyring-pkcs11.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
fixme:win:EnumDisplayDevicesW ((null),0,0x32ea38,0x00000000), stub!
fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030
fixme:wbemprox:enum_class_object_Next timeout not supported
fixme:win:EnumDisplayDevicesW ((null),0,0x32da78,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x32d9d8,0x00000000), stub!
fixme:ddraw:ddraw7_Initialize Ignoring guid {aeb2cdd4-6e41-43ea-941c-8361cc760781}.
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a760-90c8-11d0-bd43-00a0c911ce86} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {33d9a761-90c8-11d0-bd43-00a0c911ce86} not found
fixme:winediag:AUDDRV_GetAudioEndpoint Winepulse is not officially supported by the wine project
fixme:winediag:AUDDRV_GetAudioEndpoint For sound related feedback and support, please visit http://ubuntuforums.org/showthread.php?t=1960599
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb41-f175-11d1-a392-00e0291f3959} not found
fixme:devenum:DEVENUM_ICreateDevEnum_CreateClassEnumerator Category {cc7bfb46-f175-11d1-a392-00e0291f3959} not found
fixme:win:RegisterDeviceNotificationA (hwnd=0x30070, filter=0x32e7d4,flags=0x00000000) returns a fake device notification handle!
fixme:wtsapi:WTSRegisterSessionNotification Stub 0x30070 0x00000000
fixme:msctf:LangBarMgr_GetShowFloatingStatus STUB:(0x1709c0)
fixme:msctf:LangBarMgr_ShowFloating STUB:(0x1709c0)
fixme:imm:ImmReleaseContext (0x10082, 0x15d5e8): stub
fixme:imm:ImmDisableTextFrameService Stub
fixme:msxml:saxxmlreader_putFeature (0x19d7f0)->(L"validation" 1) stub
fixme:dpnet:IDirectPlay8ThreadPoolImpl_Initialize (0x1c7348)->(0x20d873c8,0x20d77fa0,0): stub
fixme:dpnet:IDirectPlay8LobbiedApplicationImpl_Initialize (0x1c78a8): stub
fixme:dpnet:IDirectPlay8LobbiedApplicationImpl_SetAppAvailable (0x1c78a8): stub
fixme:d3d9:Direct3DShaderValidatorCreate9 stub
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_buffer_preload Too many declaration changes or converting dynamic buffer, stopping converting
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:resource_check_usage Unhandled usage flags 0x8.
fixme:d3d:wined3d_device_set_dialog_box_mode Dialogs cannot be disabled yet.
err:d3d:context_create Failed to set pixel format 1 on device context 0x150033.
err:d3d:context_create Failed to set pixel format 1 on device context 0x150033.
err:d3d:swapchain_create_context Failed to create a new context for the swapchain
wine: Unhandled page fault on read access to 0x00000f38 at address 0x7db515fd (thread 0009), starting debugger...
start of backtrace output :

Code: Select all

Unhandled exception: page fault on read access to 0x00000f38 in 32-bit code (0x7dade5fd).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7dade5fd ESP:0032ca00 EBP:0032ca48 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000000 EBX:7dbceff4 ECX:00000000 EDX:00000052
 ESI:00000000 EDI:00000000
Stack dump:
0x0032ca00:  00169a60 00000000 7db6395b 7dbceff4
0x0032ca10:  00000001 00183d00 0032ca48 7db63cb4
0x0032ca20:  001761c8 00020000 00000001 7bc490eb
0x0032ca30:  00004000 00099a80 7dade1cb 7dbceff4
0x0032ca40:  001761c8 00183d00 0032caa8 7db6a66d
0x0032ca50:  00183d00 00177750 00000000 7bc490eb
Backtrace:
=>0 0x7dade5fd in wined3d (+0x2e5fd) (0x0032ca48)
  1 0x7db6a66d in wined3d (+0xba66c) (0x0032caa8)
  2 0x7db63ff8 wined3d_surface_update_desc+0x257() in wined3d (0x0032cb18)
  3 0x7daeb44b wined3d_device_reset+0x39a() in wined3d (0x0032cbe8)
  4 0x7dbf2909 in d3d9 (+0x12908) (0x0032cc6c)
0x7dade5fd: movl	0xf38(%eax),%eax
so if anyone has a clue about what's wrong...
Locked