LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 06-01-2015, 08:42 AM   #1
McCrow
LQ Newbie
 
Registered: May 2015
Location: France
Distribution: Slackware 14.1-(customised)
Posts: 8

Rep: Reputation: Disabled
Wine : DX9 apps crashing on startup , Intel GMA945 (Slackware 14.1)


Hi.

This is something that bothers me a lot recently.

I've tried to run games via Wine on my machine but apparently I've got this problems.
( at first I believe i was only NFSU2 so I've tried with other games of my collection but they all do the same).
I think I've narrowed it down to graphics problem ( since BF1942 crashed only when it called Dx) and that only 3D games does that ( Diablo works fine, as for Diablo II when perspective disabled...)

in order to help you, here's the log of wine ( tested with NFSU2)

Code:
 preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
preloader: Warning: failed to reserve range 00010000-00110000
fixme:win:EnumDisplayDevicesW ((null),0,0x33f8a8,0x00000000), stub!
fixme:win:RegisterRawInputDevices Unhandled flags 0x100 for device 0.
fixme:d3d:buffer_internal_preload Too many declaration changes or converting dynamic buffer, stopping converting
fixme:d3d:state_zenable Z buffer disabled, but ARB_depth_clamp isn't supported.
wine: Unhandled page fault on read access to 0x0000000c at address 0x7eac806a (thread 0009), starting debugger...
preloader: Warning: failed to reserve range 00010000-00110000
Unhandled exception: page fault on read access to 0x0000000c in 32-bit code (0x7eac806a).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:7eac806a ESP:0033f060 EBP:0033f078 EFLAGS:00010206(  R- --  I   - -P- )
 EAX:0000000c EBX:7eba6c60 ECX:0012fffc EDX:0013e0b8
 ESI:0000000c EDI:001b7b10
Stack dump:
0x0033f060:  00000003 1318a944 7d55c3b9 7d55a5a8
0x0033f070:  7eba6c60 0000000c 0033f2a8 7ead272d
0x0033f080:  0000000c 00000000 00000000 7eb6d290
0x0033f090:  00650054 00740078 00720075 00730065
0x0033f0a0:  0062002e 7eb6d1c0 00000000 00000000
0x0033f0b0:  00000000 00000000 00000000 00000000
Backtrace:
=>0 0x7eac806a in wined3d (+0x4806a) (0x0033f078)
  1 0x7ead272d in wined3d (+0x5272c) (0x0033f2a8)
  2 0x7eab1aaa in wined3d (+0x31aa9) (0x0033f2d8)
  3 0x7eab10db in wined3d (+0x310da) (0x0033f2f8)
  4 0x7eab1d15 in wined3d (+0x31d14) (0x0033f318)
  5 0x7eac29c5 wined3d_device_draw_primitive+0x74() in wined3d (0x0033f358)
  6 0x7ebc650a in d3d9 (+0x16509) (0x0033f3b4)
  7 0x005c544e in speed2 (+0x1c544d) (0x0033f4bc)
  8 0x005c7370 in speed2 (+0x1c736f) (0x0033f5dc)
  9 0x005cba14 in speed2 (+0x1cba13) (0x0033fd4c)
  10 0x005d2b2a in speed2 (+0x1d2b29) (0x0033fe60)
  11 0x7ec7edac call_process_entry+0xb() in kernel32 (0x0033fe78)
  12 0x7ec7fe33 in kernel32 (+0x4fe32) (0x0033feb8)
  13 0x7ef9ced0 call_thread_func_wrapper+0xb() in ntdll (0x0033fed8)
  14 0x7ef9fffd call_thread_func+0x7c() in ntdll (0x0033ffa8)
  15 0x7ef9ceae RtlRaiseException+0x21() in ntdll (0x0033ffc8)
  16 0x7ef71b6e call_dll_entry_point+0x3fd() in ntdll (0x0033ffe8)
  17 0xb75d077d wine_call_on_stack+0x1c() in libwine.so.1 (0x00000000)
  18 0xb75d083b wine_switch_to_stack+0x2a() in libwine.so.1 (0xbfffaab8)
  19 0x7ef77669 LdrInitializeThunk+0x238() in ntdll (0xbfffaaf8)
  20 0x7ec86613 __wine_kernel_init+0xa02() in kernel32 (0xbfffb9f8)
  21 0x7ef78563 __wine_process_init+0x192() in ntdll (0xbfffba88)
  22 0xb75cdec8 wine_init+0x2c7() in libwine.so.1 (0xbfffbae8)
  23 0x7bf00e3c main+0x7b() in <wine-loader> (0xbfffbf28)
  24 0xb740a773 __libc_start_main+0xf2() in libc.so.6 (0x00000000)
0x7eac806a: movl        0x0(%eax),%esi
Modules:
Module  Address                 Debug info      Name (111 modules)
PE        390000-  39e000       Deferred        dimap
PE        400000-  92fc08       Export          speed2
PE      51080000-510e1000       Deferred        dsound
PE      6ce10000-6cebf000       Deferred        dinput8
ELF     7bf00000-7bf03000       Dwarf           <wine-loader>
ELF     7c843000-7c93b000       Deferred        libasound.so.2
ELF     7c966000-7c996000       Deferred        winealsa<elf>
  \-PE  7c970000-7c996000       \               winealsa
ELF     7c996000-7cade000       Deferred        oleaut32<elf>
  \-PE  7c9b0000-7cade000       \               oleaut32
ELF     7cade000-7cb00000       Deferred        mmdevapi<elf>
  \-PE  7cae0000-7cb00000       \               mmdevapi
ELF     7cc06000-7cc76000       Deferred        setupapi<elf>
  \-PE  7cc10000-7cc76000       \               setupapi
ELF     7cc76000-7cc8b000       Deferred        hid<elf>
  \-PE  7cc80000-7cc8b000       \               hid
ELF     7d0c9000-7d0d2000       Deferred        librt.so.1
ELF     7d323000-7d328000       Deferred        libtxc_dxtn.so
ELF     7d428000-7d7f8000       Deferred        libdricore9.1.7.so.1
ELF     7d87f000-7d889000       Deferred        libpciaccess.so.0
ELF     7d889000-7d8a5000       Deferred        libgcc_s.so.1
ELF     7d98d000-7d9ae000       Deferred        libdrm_intel.so.1
ELF     7d9ae000-7da09000       Deferred        i915_dri.so
ELF     7da09000-7da15000       Deferred        libdrm.so.2
ELF     7da15000-7da1a000       Deferred        libxcb-dri2.so.0
ELF     7da1a000-7da31000       Deferred        libxcb-glx.so.0
ELF     7da31000-7da90000       Deferred        libgl.so.1
ELF     7dabb000-7dac0000       Deferred        libxfixes.so.3
ELF     7dac0000-7daca000       Deferred        libxcursor.so.1
ELF     7daca000-7dad9000       Deferred        libxi.so.6
ELF     7dad9000-7dadc000       Deferred        libxcomposite.so.1
ELF     7dadc000-7dae6000       Deferred        libxrandr.so.2
ELF     7dae6000-7daf0000       Deferred        libxrender.so.1
ELF     7daf0000-7daf5000       Deferred        libxxf86vm.so.1
ELF     7daf5000-7daf8000       Deferred        libxinerama.so.1
ELF     7daf8000-7dafe000       Deferred        libxdmcp.so.6
ELF     7dafe000-7db1e000       Deferred        libxcb.so.1
ELF     7db1e000-7dc55000       Deferred        libx11.so.6
ELF     7dc55000-7dc67000       Deferred        libxext.so.6
ELF     7dc67000-7dcfa000       Deferred        winex11<elf>
  \-PE  7dc70000-7dcfa000       \               winex11
ELF     7dcfa000-7dd14000       Deferred        libresolv.so.2
ELF     7dd17000-7dd19000       Deferred        libx11-xcb.so.1
ELF     7dd19000-7dd1c000       Deferred        libxdamage.so.1
ELF     7dd1c000-7dd3b000       Deferred        libglapi.so.0
ELF     7dd3b000-7dd3f000       Deferred        iso8859-1.so
ELF     7dd3f000-7dd65000       Deferred        iphlpapi<elf>
  \-PE  7dd50000-7dd65000       \               iphlpapi
ELF     7dd65000-7dd93000       Deferred        netapi32<elf>
  \-PE  7dd70000-7dd93000       \               netapi32
ELF     7dd93000-7ddb5000       Deferred        tapi32<elf>
  \-PE  7dda0000-7ddb5000       \               tapi32
ELF     7ddb5000-7de2a000       Deferred        ddraw<elf>
  \-PE  7ddc0000-7de2a000       \               ddraw
ELF     7de2a000-7de54000       Deferred        msacm32<elf>
  \-PE  7de30000-7de54000       \               msacm32
ELF     7de54000-7df0c000       Deferred        winmm<elf>
  \-PE  7de60000-7df0c000       \               winmm
ELF     7df0c000-7e04c000       Deferred        ole32<elf>
  \-PE  7df20000-7e04c000       \               ole32
ELF     7e04c000-7e0cf000       Deferred        rpcrt4<elf>
  \-PE  7e060000-7e0cf000       \               rpcrt4
ELF     7e0cf000-7e107000       Deferred        ws2_32<elf>
  \-PE  7e0e0000-7e107000       \               ws2_32
ELF     7e107000-7e12b000       Deferred        imm32<elf>
  \-PE  7e110000-7e12b000       \               imm32
ELF     7e153000-7e17a000       Deferred        libexpat.so.1
ELF     7e17a000-7e1b3000       Deferred        libfontconfig.so.1
ELF     7e1b3000-7e1c9000       Deferred        libz.so.1
ELF     7e1c9000-7e1f4000       Deferred        libpng14.so.14
ELF     7e1f4000-7e284000       Deferred        libfreetype.so.6
ELF     7e284000-7e2d2000       Deferred        libncurses.so.5
ELF     7e2fd000-7e376000       Deferred        shlwapi<elf>
  \-PE  7e310000-7e376000       \               shlwapi
ELF     7e376000-7e5ad000       Deferred        shell32<elf>
  \-PE  7e380000-7e5ad000       \               shell32
ELF     7e5ad000-7e5c0000       Deferred        shfolder<elf>
  \-PE  7e5b0000-7e5c0000       \               shfolder
ELF     7e5c0000-7e66f000       Deferred        msvcrt<elf>
  \-PE  7e5e0000-7e66f000       \               msvcrt
ELF     7e66f000-7e7ca000       Deferred        user32<elf>
  \-PE  7e680000-7e7ca000       \               user32
ELF     7e7ca000-7e83c000       Deferred        advapi32<elf>
  \-PE  7e7e0000-7e83c000       \               advapi32
ELF     7e83c000-7e95a000       Deferred        gdi32<elf>
  \-PE  7e850000-7e95a000       \               gdi32
ELF     7e95a000-7ea68000       Deferred        opengl32<elf>
  \-PE  7e980000-7ea68000       \               opengl32
ELF     7ea68000-7ebab000       Dwarf           wined3d<elf>
  \-PE  7ea80000-7ebab000       \               wined3d
ELF     7ebab000-7ebe8000       Dwarf           d3d9<elf>
  \-PE  7ebb0000-7ebe8000       \               d3d9
ELF     7ec1f000-7ee7f000       Dwarf           kernel32<elf>
  \-PE  7ec30000-7ee7f000       \               kernel32
ELF     7ee7f000-7ee8c000       Deferred        libnss_files.so.2
ELF     7ee8c000-7ee98000       Deferred        libnss_nis.so.2
ELF     7ee98000-7eeb3000       Deferred        libnsl.so.1
ELF     7eeb3000-7eef5000       Deferred        libm.so.6
ELF     7eef6000-7ef07000       Deferred        libbz2.so.1
ELF     7ef07000-7ef20000       Deferred        version<elf>
  \-PE  7ef10000-7ef20000       \               version
ELF     7ef20000-7f000000       Dwarf           ntdll<elf>
  \-PE  7ef30000-7f000000       \               ntdll
ELF     b73e2000-b73e5000       Deferred        libxau.so.6
ELF     b73e5000-b73ef000       Deferred        libnss_compat.so.2
ELF     b73f1000-b757d000       Dwarf           libc.so.6
ELF     b757d000-b7582000       Deferred        libdl.so.2
ELF     b7582000-b759c000       Deferred        libpthread.so.0
ELF     b75c7000-b777d000       Dwarf           libwine.so.1
ELF     b777e000-b77a1000       Deferred        ld-linux.so.2
ELF     b77a3000-b77a4000       Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) Z:\media\WINDOWS\Program Files\EA GAMES\Need for Speed Underground 2\speed2.exe
        0000003d    1
        0000003c   15
        0000003b    0
        0000003a   15
        00000039   15
        00000029    0
        00000028    0
        00000027    2
        00000026    1
        00000025   15
        00000024    2
        00000009    0 <==
0000000e services.exe
        0000001d    0
        0000001c    0
        00000014    0
        00000010    0
        0000000f    0
00000012 winedevice.exe
        0000001b    0
        00000018    0
        00000017    0
        00000013    0
00000019 plugplay.exe
        0000001f    0
        0000001e    0
        0000001a    0
00000022 explorer.exe
        00000023    0
I know at some point, it could be repported to wine HQ, but I believe they're not responsible for the problem, the game is reported to work flawlessly on most out of the box wine installs.

Maybe it's due to the fact that the intel GMA945 mesa driver are just worst than I though... last point : these games use to work on the previous Windows install on the very same PC.

If you have any suggestion, I beg you, shout them.
 
Old 06-01-2015, 10:21 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,349

Rep: Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331Reputation: 2331
Ok, let's try with wine first.

Update to wine git, which is fairly reliable, and run winecfg and set XP. You might not want XP, but the other ones have more system calls missing; i.e, they are still WIP. Things that won't run on XP will run wine XP.

Then have a look Here at the WINEDEBUG variables. Usage is
Code:
WINEDEBUG=+Blah   wine <your program>   
     OR
WINEDEBUG=+var1,var2,var3[etc]   wine <your program>
Resist the urge to use "+all" and see if you can isolate what has the issue. This looks like the terminal error
Code:
wine: Unhandled page fault on read access to 0x0000000c at address 0x7eac806a (thread 0009), starting debugger...
I would google that and see what you can find.
 
Old 06-02-2015, 08:04 AM   #3
McCrow
LQ Newbie
 
Registered: May 2015
Location: France
Distribution: Slackware 14.1-(customised)
Posts: 8

Original Poster
Rep: Reputation: Disabled
Thank you for the answer !
Hum...
Updating to latest wine didn't change a thing. default wine prefix and a custom one give's the same results...

I'd guess it have something to do with the hardware... I wonder if there's a way that wine does'nt emulate dx9 but rather install it and make it work ( a virtual machine maybe ?)

nothing on the unhandled page fault on google. it was to be expected, seems I'm the only one trying such things...

I'm gonna try the debug thing, but it may take time for me to find who's the guilty one.

I'll give youan update by then. if you have any other idea, please tell !
 
Old 06-03-2015, 07:19 AM   #4
McCrow
LQ Newbie
 
Registered: May 2015
Location: France
Distribution: Slackware 14.1-(customised)
Posts: 8

Original Poster
Rep: Reputation: Disabled
Smile

I think I can mark it as solved, however it's no completly working.

I've kindof messed completly with wine

I've ended up deleting every file linked to it whatsoever and installed an official package from Sourceforge ( latest 1.7.44)

I must admit that you were right business_kid , updating did the trick... still there's a lot of problems with this ( NFSU2 launch, but lag so much, even in a resolution as low as 640x480)

the console still leaves a lot of messages starting with "fixme", but i looks like dx9 as a better support in this newer version of Wine.
thx !
 
  


Reply

Tags
directx, intel, wine



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Intel HDMI audio mysteriously broken in XFCE apps with ALSA on Slackware 14.1 esme_squalor Slackware 4 01-25-2015 11:00 AM
[SOLVED] Slackware 14.0 RC : KDE kwin keeps crashing at startup lemmens Slackware 8 08-30-2012 03:34 PM
Reinstalling Wine apps in a new Slackware install Cultist Slackware 2 12-19-2011 02:45 AM
apps keep crashing arunvk Fedora 15 09-04-2009 01:02 AM
Wine trouble with DX9, can run the test, but not the game. Letherian Linux - Games 2 11-17-2006 04:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 12:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration