The forum

Problems with neverwinter nights 1

It installs but then blue screen

Author Replies
vanquishedangel Tuesday 25 March 2014 at 5:18
vanquishedangelAnonymous

Hi,

I am running Lubuntu 13.10 64bit, I have wine 1.4 from the repo and playonlinux from the repo as well. My computer is an HPdc5750, 3.1ghz dual core, 8 gig ram, Powercolor Radeon HD 7750 (proprietary driver).

I bought Neverwinter nights 1 from gog, but I also own the Diamond edition disk. The reason I bought it from GOG was I was hoping that version worked with POL and wine, plus my disk is getting old. The disk version has not worked with POL or wine in years. Also the native Linux client is very old, no longer updated, and requires dependencies not available in the repo any more. I have tried newer version of POL but it still didn't work and the command "apt-get autoremove" removed all dependencies for playonlinux including wine. I used the script to install NWN.


Thankyou for your time




Here is the error I got in wine (below it will be playonlinux debug):

Unhandled exception: page fault on read access to 0x000000fc in 32-bit code (0xf73e00d6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:f73e00d6 ESP:0032f6c4 EBP:0032f8d4 EFLAGS:00210206(  R- --  I   - -P- )
 EAX:00000000 EBX:f7516000 ECX:00000100 EDX:000000f8
 ESI:7c6a320c EDI:f7516478
Stack dump:
0x0032f6c4:  7c6a320c 0000076a 0032f8d4 76098fc3
0x0032f6d4:  f73dfcb7 f73e00b6 7ca22b18 76e5ed3f
0x0032f6e4:  00000100 76099766 00000100 f73ddb53
0x0032f6f4:  7c435920 7ca3b564 00000700 7ca21301
0x0032f704:  00000000 7609588d f73dd9ff 00000008
0x0032f714:  00000004 00000002 00000000 00000100
Backtrace:
=>0 0xf73e00d6 cfree+0x26() in libc.so.6 (0x0032f8d4)
  1 0x76e5ed3f in fglrx_dri.so (+0x1b12d3e) (0x0032f8d4)
  2 0x76099766 in fglrx_dri.so (+0xd4d765) (0x0032f8d4)
  3 0x7613db3e in fglrx_dri.so (+0xdf1b3d) (0x7c5fd688)
  4 0x7c704648 (0x7c8ff701)
0xf73e00d6 cfree+0x26 in libc.so.6: movl 0xfffffffc(%ecx),%ecx
Modules:
Module Address Debug info Name (109 modules)
PE  400000- 626d000 Deferred        nwmain
PE 21100000-2115f000 Deferred        mss32
PE 22100000-2211f000 Deferred        mssa3d.m3d
PE 22200000-22219000 Deferred        mssds3d.m3d
PE 22300000-22329000 Deferred        msseax.m3d
PE 22400000-22417000 Deferred        msssoft.m3d
PE 22600000-2261c000 Deferred        mssdx7.m3d
PE 22700000-22764000 Deferred        mssrsx.m3d
PE 24100000-2411c000 Deferred        mssdsp.flt
PE 26400000-26436000 Deferred        mssvoice.asi
PE 26f00000-26f2a000 Deferred        mssmp3.asi
PE 30000000-3006d000 Deferred        binkw32
ELF 7534c000-777ff000 Dwarf           fglrx_dri.so
ELF 7b800000-7ba4a000 Deferred        kernel32<elf>
  \-PE 7b810000-7ba4a000 \               kernel32
ELF 7bc00000-7bcd0000 Deferred        ntdll<elf>
  \-PE 7bc10000-7bcd0000 \               ntdll
ELF 7bf00000-7bf03000 Deferred        <wine-loader>
ELF 7ce2a000-7ce90000 Deferred        libatiadlxx.so
ELF 7d7ab000-7d923000 Deferred        libvorbisenc.so.2
ELF 7d9aa000-7d9b3000 Deferred        libogg.so.0
ELF 7d9b3000-7d9df000 Deferred        libvorbis.so.0
ELF 7d9df000-7da13000 Deferred        libflac.so.8
ELF 7da13000-7da1a000 Deferred        libasyncns.so.0
ELF 7da1a000-7da8c000 Deferred        libsndfile.so.1
ELF 7da8c000-7dad7000 Deferred        libdbus-1.so.3
ELF 7dad7000-7db46000 Deferred        libpulsecommon-4.0.so
ELF 7db46000-7db95000 Deferred        libpulse.so.0
ELF 7db95000-7dc8b000 Deferred        libasound.so.2
ELF 7dc97000-7dc9e000 Deferred        libasound_module_pcm_pulse.so
ELF 7dca5000-7ddbd000 Deferred        oleaut32<elf>
  \-PE 7dcc0000-7ddbd000 \               oleaut32
ELF 7de16000-7de43000 Deferred        winealsa<elf>
  \-PE 7de20000-7de43000 \               winealsa
ELF 7de43000-7de63000 Deferred        mmdevapi<elf>
  \-PE 7de50000-7de63000 \               mmdevapi
ELF 7de63000-7dea8000 Deferred        dsound<elf>
  \-PE 7de70000-7dea8000 \               dsound
ELF 7deee000-7df21000 Deferred        uxtheme<elf>
  \-PE 7def0000-7df21000 \               uxtheme
ELF 7df21000-7df27000 Deferred        libxfixes.so.3
ELF 7df27000-7df32000 Deferred        libxcursor.so.1
ELF 7df32000-7df43000 Deferred        libxi.so.6
ELF 7df43000-7df47000 Deferred        libxcomposite.so.1
ELF 7df47000-7df52000 Deferred        libxrandr.so.2
ELF 7df52000-7df5d000 Deferred        libxrender.so.1
ELF 7df5d000-7df63000 Deferred        libxxf86vm.so.1
ELF 7df63000-7df67000 Deferred        libxinerama.so.1
ELF 7df67000-7df71000 Deferred        libwrap.so.0
ELF 7df71000-7df7c000 Deferred        libjson-c.so.2
ELF 7df81000-7e00c000 Deferred        winex11<elf>
  \-PE 7df90000-7e00c000 \               winex11
ELF 7e075000-7e09e000 Deferred        libexpat.so.1
ELF 7e09e000-7e0d8000 Deferred        libfontconfig.so.1
ELF 7e0d8000-7e0ec000 Deferred        libz.so.1
ELF 7e0ec000-7e18b000 Deferred        libfreetype.so.6
ELF 7e18b000-7e1ad000 Deferred        imm32<elf>
  \-PE 7e190000-7e1ad000 \               imm32
ELF 7e1ad000-7e1d2000 Deferred        libxcb.so.1
ELF 7e1d2000-7e1eb000 Deferred        libatiuki.so.1
ELF 7e1eb000-7e208000 Deferred        libgcc_s.so.1
ELF 7e2f1000-7e426000 Deferred        libx11.so.6
ELF 7e426000-7e439000 Deferred        libxext.so.6
ELF 7e439000-7e529000 Deferred        libgl.so.1
ELF 7e529000-7e5af000 Deferred        libglu.so.1
ELF 7e5c9000-7e5e0000 Deferred        libresolv.so.2
ELF 7e5e4000-7e5fa000 Deferred        glu32<elf>
  \-PE 7e5f0000-7e5fa000 \               glu32
ELF 7e5fa000-7e61e000 Deferred        iphlpapi<elf>
  \-PE 7e600000-7e61e000 \               iphlpapi
ELF 7e61e000-7e650000 Deferred        ws2_32<elf>
  \-PE 7e630000-7e650000 \               ws2_32
ELF 7e650000-7e66a000 Deferred        wsock32<elf>
  \-PE 7e660000-7e66a000 \               wsock32
ELF 7e66a000-7e762000 Deferred        comctl32<elf>
  \-PE 7e670000-7e762000 \               comctl32
ELF 7e762000-7e7a8000 Deferred        dinput<elf>
  \-PE 7e770000-7e7a8000 \               dinput
ELF 7e7a8000-7e7d0000 Deferred        msacm32<elf>
  \-PE 7e7b0000-7e7d0000 \               msacm32
ELF 7e7d0000-7e883000 Deferred        winmm<elf>
  \-PE 7e7e0000-7e883000 \               winmm
ELF 7e883000-7e968000 Deferred        opengl32<elf>
  \-PE 7e8a0000-7e968000 \               opengl32
ELF 7e968000-7e9e2000 Deferred        rpcrt4<elf>
  \-PE 7e970000-7e9e2000 \               rpcrt4
ELF 7e9e2000-7eaf8000 Deferred        ole32<elf>
  \-PE 7ea00000-7eaf8000 \               ole32
ELF 7eaf8000-7eb5e000 Deferred        advapi32<elf>
  \-PE 7eb00000-7eb5e000 \               advapi32
ELF 7eb5e000-7ec6c000 Deferred        gdi32<elf>
  \-PE 7eb70000-7ec6c000 \               gdi32
ELF 7ec6c000-7edb4000 Deferred        user32<elf>
  \-PE 7ec80000-7edb4000 \               user32
ELF 7efb4000-7efc1000 Deferred        libnss_files.so.2
ELF 7efc1000-7efcd000 Deferred        libnss_nis.so.2
ELF 7efcd000-7efe6000 Deferred        libnsl.so.1
ELF 7efe7000-7f000000 Deferred        version<elf>
  \-PE 7eff0000-7f000000 \               version
ELF f7310000-f7314000 Deferred        libxau.so.6
ELF f7314000-f731d000 Deferred        libnss_compat.so.2
ELF f731e000-f7361000 Deferred        libm.so.6
ELF f7361000-f7366000 Deferred        libdl.so.2
ELF f7366000-f751a000 Dwarf           libc.so.6
ELF f751a000-f7535000 Deferred        libpthread.so.0
ELF f7537000-f7540000 Deferred        librt.so.1
ELF f7550000-f7703000 Dwarf           libwine.so.1
ELF f7705000-f7727000 Deferred        ld-linux.so.2
ELF f7727000-f7728000 Deferred        [vdso].so
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Neverwinter Nights Diamond Edition\nwmain.exe
00000030   15
0000002a   15
00000027    0
00000026    0
00000024    0
00000009    0 <==
0000000e services.exe
0000001e    0
0000001d    0
00000018    0
00000016    0
00000014    0
00000010    0
0000000f    0
00000012 winedevice.exe
0000001c    0
00000019    0
00000017    0
00000013    0
0000001a plugplay.exe
00000020    0
0000001f    0
0000001b    0
00000021 explorer.exe
00000023    0
00000022    0
System information:
    Wine build: wine-1.7.12
    Platform: i386
    Host system: Linux
    Host version: 3.11.0-18-generic


Playonlinux debug gave me this:


[03/24/14 21:39:06] - Running wine-1.7.12 --version (Working directory : /home/shawn/.PlayOnLinux/wine/gecko)
wine-1.7.12

PlayOnLinux logfile
-------------------
Date: 03/24/14 21:39:06

> PlayOnLinux Version
  4.2.1
> uname -a
  Linux shawn-HP-Compaq-dc5750-Small-Form-Factor 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
> lsb_release -a
  
> wine --version
  wine-1.7.12
> POL_WINEVERSION
  1.7.12
> WINEPREFIX
  /home/shawn/.PlayOnLinux//wineprefix/NeverwinterNights_gog
> Distribution
  Ubuntu 13.10
> glxinfo \| grep rendering
  direct rendering: Yes
> glxinfo \| grep renderer
  OpenGL renderer string: AMD Radeon HD 7700 Series 
> OpenGL libs (Direct rendering testing)
  
  

[03/24/14 21:39:29] - Running wine-1.7.12 cmd /c echo %ProgramFiles% (Working directory : /home/shawn/.PlayOnLinux/wine/gecko)
C:\Program Files
[03/24/14 21:39:34] - ----- Starting function POL_GoG_install -----
[03/24/14 21:39:34] - ----- Starting function POL_Function_SetNativeExtension -----
[03/24/14 21:39:34] - Running wine-1.7.12 regedit /home/shawn/.PlayOnLinux//tmp/nativeext.reg (Working directory : /home/shawn/.PlayOnLinux/tmp)
[03/24/14 21:39:34] - Content of /home/shawn/.PlayOnLinux//tmp/nativeext.reg
-----------
REGEDIT4

[HKEY_CLASSES_ROOT\.pdf]
@="pdffile"
"Content Type"="application/pdf"

[HKEY_CLASSES_ROOT\pdffile\Shell\Open\command]
@="winebrowser \"%1\""
-----------
[03/24/14 21:39:35] - ----- Ending function POL_Function_SetNativeExtension -----
[03/24/14 21:39:35] - ----- Starting function POL_Install_gdiplus -----
[03/24/14 21:39:38] - Running wine-1.7.12 WindowsXP-KB975337-x86-ENU.exe /extract:C:\Tmp /q (Working directory : /home/shawn/.PlayOnLinux/ressources)
fixme:advapi:DecryptFileA ("C:\\Tmp\\", 00000000): stub
[03/24/14 21:39:41] - Running wine-1.7.12 regedit /home/shawn/.PlayOnLinux//tmp/override-dll.reg (Working directory : /home/shawn/.PlayOnLinux/wineprefix/NeverwinterNights_gog/drive_c/Tmp)
[03/24/14 21:39:41] - Content of /home/shawn/.PlayOnLinux//tmp/override-dll.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*gdiplus"="native"
-----------
[03/24/14 21:39:41] - ----- Ending function POL_Install_gdiplus -----
[03/24/14 21:39:41] - Running wine-1.7.12 /home/shawn/Downloads/setup_nwn_diamond_2.0.0.15.exe /nogui (Working directory : /home/shawn/.PlayOnLinux/tmp)
fixme:process:SetProcessDEPPolicy (1): stub
fixme:process:SetProcessDEPPolicy (1): stub
fixme:win:DisableProcessWindowsGhosting : stub
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:msg:ChangeWindowMessageFilter c05b 00000001
fixme:shell:SHAutoComplete stub
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100c0 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100c0 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b4 enable 0: stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33cd48,0x00000000), stub!
fixme:win:EnumDisplayDevicesW ((null),0,0x33d100,0x00000000), stub!
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\GOG Games\\Neverwinter Nights Diamond Edition\\unins000.exe") stub
fixme:win:WINNLSEnableIME hwnd 0x100b4 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable 0: stub!
fixme:win:WINNLSEnableIME hwnd 0x100b6 enable -1: stub!
[03/24/14 22:23:41] - ----- Ending function POL_GoG_install -----
[03/24/14 22:23:42] - Running wine-1.7.12 regedit /home/shawn/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/shawn/.PlayOnLinux/tmp)
[03/24/14 22:23:42] - Content of /home/shawn/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine]
"Version"="winxp"
-----------
[03/24/14 22:23:47] - Running wine-1.7.12 regedit /home/shawn/.PlayOnLinux//tmp/regkey.reg (Working directory : /home/shawn/.PlayOnLinux/tmp)
[03/24/14 22:23:47] - Content of /home/shawn/.PlayOnLinux//tmp/regkey.reg
-----------
REGEDIT4

[HKEY_CURRENT_USER\Software\Wine\Direct3D]
"VideoMemorySize"="1024"
-----------
[03/24/14 22:23:48] - Running wine-1.7.12 wineboot (Working directory : /home/shawn/.PlayOnLinux/tmp)
[03/24/14 22:23:58] - Running wine-1.7.12 winecfg (Working directory : /home/shawn/.PlayOnLinux)
[03/24/14 22:24:07] - Running wine-1.7.12 nwmain.exe (Working directory : /home/shawn/.PlayOnLinux/wineprefix/NeverwinterNights_gog/drive_c/GOG Games/Neverwinter Nights Diamond Edition)
wine: Unhandled page fault on read access to 0x0000077c at address 0xf73ee18f (thread 0024), starting debugger...
[03/24/14 22:25:31] - Running wine-1.7.12 winecfg (Working directory : /home/shawn/.PlayOnLinux)
[03/24/14 23:08:44] - Running wine-1.7.12 winecfg (Working directory : /home/shawn/.PlayOnLinux)
[03/24/14 23:12:40] - Running wine-1.7.12 nwmain.exe (Working directory : /home/shawn/.PlayOnLinux/wineprefix/NeverwinterNights_gog/drive_c/GOG Games/Neverwinter Nights Diamond Edition)
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"a3dapi.dll"
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
wine: Unhandled page fault on read access to 0x000000fc at address 0xf73e00d6 (thread 0009), starting debugger...

vanquishedangel Tuesday 25 March 2014 at 5:25
vanquishedangelAnonymous

I forgot to add that when I create a shortcut to nwn.exe from playonlinux, the start menu appears normally, I can select play, configure etc. When I select the dm client it runs flawless, movies and all, but if I select play, it shows the loader then crashes with the above problem, something in the nwnmain.exe I think.
vanquishedangel Tuesday 25 March 2014 at 5:27
vanquishedangelAnonymous

also sometimes the error changes, last install it was different in the wine error, I dont know about the debugger in pol though.
vanquishedangel Tuesday 25 March 2014 at 5:33
vanquishedangelAnonymous

Here is the more common error I get in wine from several other attempts at installing:


Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0xf74040d6).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f74040d6 ESP:0032f6c4 EBP:0032f8d4 EFLAGS:00210206( R- -- I - -P- )
EAX:00000000 EBX:f753a000 ECX:00000018 EDX:00000010
ESI:7c930fcc EDI:00000001
Stack dump:
0x0032f6c4: 7c930fcc 0000076a 0032f8d4 76098fc3
0x0032f6d4: f7403cb7 f74040b6 7ca567c8 76e5ed3f
0x0032f6e4: 00000018 76099766 00000018 f7401b53
0x0032f6f4: 7ca55150 7ca7a364 00000700 7ca55801
0x0032f704: 00000000 7609588d f74019ff 00000008
0x0032f714: 00000004 00000002 00000000 00000100
Backtrace:
=>0 0xf74040d6 cfree+0x26() in libc.so.6 (0x0032f8d4)
1 0x76e5ed3f in fglrx_dri.so (+0x1b12d3e) (0x0032f8d4)
2 0x76099766 in fglrx_dri.so (+0xd4d765) (0x0032f8d4)
3 0x7613db3e in fglrx_dri.so (+0xdf1b3d) (0x7c601078)
4 0x7c97abc0 (0x7c8fc401)
0xf74040d6 cfree+0x26 in libc.so.6: movl     0xfffffffc(%ecx),%ecx
Modules:
Module     Address               Debug info     Name (109 modules)
PE      400000- 626d000     Deferred nwmain
PE     21100000-2115f000     Deferred mss32
PE     22100000-2211f000     Deferred mssa3d.m3d
PE     22200000-22219000     Deferred mssds3d.m3d
PE     22300000-22329000     Deferred msseax.m3d
PE     22400000-22417000     Deferred msssoft.m3d
PE     22600000-2261c000     Deferred mssdx7.m3d
PE     22700000-22764000     Deferred mssrsx.m3d
PE     24100000-2411c000     Deferred mssdsp.flt
PE     26400000-26436000     Deferred mssvoice.asi
PE     26f00000-26f2a000     Deferred mssmp3.asi
PE     30000000-3006d000     Deferred binkw32
ELF     7534c000-777ff000     Dwarf fglrx_dri.so
ELF     7b800000-7ba4a000     Deferred kernel32
\-PE     7b810000-7ba4a000     \ kernel32
ELF     7bc00000-7bcd0000     Deferred ntdll
\-PE     7bc10000-7bcd0000     \ ntdll
ELF     7bf00000-7bf03000     Deferred
ELF     7d7a6000-7d80c000     Deferred libatiadlxx.so
ELF     7d826000-7d82f000     Deferred libogg.so.0
ELF     7d82f000-7d85b000     Deferred libvorbis.so.0
ELF     7d85b000-7d9d3000     Deferred libvorbisenc.so.2
ELF     7d9d3000-7da07000     Deferred libflac.so.8
ELF     7da07000-7da0e000     Deferred libasyncns.so.0
ELF     7da0e000-7da80000     Deferred libsndfile.so.1
ELF     7da80000-7dacb000     Deferred libdbus-1.so.3
ELF     7dacb000-7db3a000     Deferred libpulsecommon-4.0.so
ELF     7db3a000-7db89000     Deferred libpulse.so.0
ELF     7db89000-7dc7f000     Deferred libasound.so.2
ELF     7dc8b000-7dc92000     Deferred libasound_module_pcm_pulse.so
ELF     7dc99000-7ddb1000     Deferred oleaut32
\-PE     7dcb0000-7ddb1000     \ oleaut32
ELF     7de0a000-7de37000     Deferred winealsa
\-PE     7de10000-7de37000     \ winealsa
ELF     7de37000-7de57000     Deferred mmdevapi
\-PE     7de40000-7de57000     \ mmdevapi
ELF     7de57000-7de9c000     Deferred dsound
\-PE     7de60000-7de9c000     \ dsound
ELF     7dee2000-7df15000     Deferred uxtheme
\-PE     7def0000-7df15000     \ uxtheme
ELF     7df15000-7df1b000     Deferred libxfixes.so.3
ELF     7df1b000-7df26000     Deferred libxcursor.so.1
ELF     7df26000-7df37000     Deferred libxi.so.6
ELF     7df37000-7df3b000     Deferred libxcomposite.so.1
ELF     7df3b000-7df46000     Deferred libxrandr.so.2
ELF     7df46000-7df51000     Deferred libxrender.so.1
ELF     7df51000-7df57000     Deferred libxxf86vm.so.1
ELF     7df57000-7df5b000     Deferred libxinerama.so.1
ELF     7df5b000-7df65000     Deferred libwrap.so.0
ELF     7df65000-7df70000     Deferred libjson-c.so.2
ELF     7df75000-7e000000     Deferred winex11
\-PE     7df80000-7e000000     \ winex11
ELF     7e063000-7e08c000     Deferred libexpat.so.1
ELF     7e08c000-7e0c6000     Deferred libfontconfig.so.1
ELF     7e0c6000-7e0da000     Deferred libz.so.1
ELF     7e0da000-7e179000     Deferred libfreetype.so.6
ELF     7e179000-7e19b000     Deferred imm32
\-PE     7e180000-7e19b000     \ imm32
ELF     7e19b000-7e1c0000     Deferred libxcb.so.1
ELF     7e1c0000-7e1d9000     Deferred libatiuki.so.1
ELF     7e1d9000-7e1f6000     Deferred libgcc_s.so.1
ELF     7e2df000-7e414000     Deferred libx11.so.6
ELF     7e414000-7e427000     Deferred libxext.so.6
ELF     7e427000-7e517000     Deferred libgl.so.1
ELF     7e517000-7e59d000     Deferred libglu.so.1
ELF     7e5b7000-7e5ce000     Deferred libresolv.so.2
ELF     7e5d2000-7e5e8000     Deferred glu32
\-PE     7e5e0000-7e5e8000     \ glu32
ELF     7e5e8000-7e60c000     Deferred iphlpapi
\-PE     7e5f0000-7e60c000     \ iphlpapi
ELF     7e60c000-7e63e000     Deferred ws2_32
\-PE     7e610000-7e63e000     \ ws2_32
ELF     7e63e000-7e658000     Deferred wsock32
\-PE     7e640000-7e658000     \ wsock32
ELF     7e658000-7e750000     Deferred comctl32
\-PE     7e660000-7e750000     \ comctl32
ELF     7e750000-7e796000     Deferred dinput
\-PE     7e760000-7e796000     \ dinput
ELF     7e796000-7e7be000     Deferred msacm32
\-PE     7e7a0000-7e7be000     \ msacm32
ELF     7e7be000-7e871000     Deferred winmm
\-PE     7e7d0000-7e871000     \ winmm
ELF     7e871000-7e956000     Deferred opengl32
\-PE     7e890000-7e956000     \ opengl32
ELF     7e956000-7e9d0000     Deferred rpcrt4
\-PE     7e960000-7e9d0000     \ rpcrt4
ELF     7e9d0000-7eae6000     Deferred ole32
\-PE     7e9f0000-7eae6000     \ ole32
ELF     7eae6000-7eb4c000     Deferred advapi32
\-PE     7eaf0000-7eb4c000     \ advapi32
ELF     7eb4c000-7ec5a000     Deferred gdi32
\-PE     7eb60000-7ec5a000     \ gdi32
ELF     7ec5a000-7eda2000     Deferred user32
\-PE     7ec70000-7eda2000     \ user32
ELF     7efa2000-7efaf000     Deferred libnss_files.so.2
ELF     7efaf000-7efbb000     Deferred libnss_nis.so.2
ELF     7efbb000-7efd4000     Deferred libnsl.so.1
ELF     7efd4000-7efdd000     Deferred libnss_compat.so.2
ELF     7efdd000-7efe6000     Deferred librt.so.1
ELF     7efe7000-7f000000     Deferred version
\-PE     7eff0000-7f000000     \ version
ELF     f7342000-f7385000     Deferred libm.so.6
ELF     f7385000-f738a000     Deferred libdl.so.2
ELF     f738a000-f753e000     Dwarf libc.so.6
ELF     f753e000-f7559000     Deferred libpthread.so.0
ELF     f755c000-f7560000     Deferred libxau.so.6
ELF     f7574000-f7727000     Dwarf libwine.so.1
ELF     f7729000-f774b000     Deferred ld-linux.so.2
ELF     f774b000-f774c000     Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Neverwinter Nights Diamond Edition\nwmain.exe
     00000040 15
     0000003a 15
     00000037 0
     00000036 0
     00000034 0
     00000009 0 <==
0000000e services.exe
     00000033 0
     0000001d 0
     00000018 0
     00000016 0
     00000014 0
     00000010 0
     0000000f 0
00000012 winedevice.exe
     0000001a 0
     00000019 0
     00000017 0
     00000013 0
0000001b plugplay.exe
     00000020 0
     0000001f 0
     0000001c 0
00000023 explorer.exe
     00000027 0
     00000024 0
System information:
Wine build: wine-1.7.12
Platform: i386
Host system: Linux
Host version: 3.11.0-18-generic


Here is the playonlinux debug stuff from the error above:

[03/24/14 23:31:36] - Running wine-1.7.12 nwmain.exe (Working directory : /home/shawn/.PlayOnLinux/wineprefix/NeverwinterNights_gog/drive_c/GOG Games/Neverwinter Nights Diamond Edition)
err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"a3dapi.dll"
err:ole:CoGetClassObject no class object {92fa2c24-253c-11d2-90fb-006008a1f441} could be created for context 0x1
wine: Unhandled page fault on read access to 0x00000014 at address 0xf74210d6 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000014 in 32-bit code (0xf74210d6).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:f74210d6 ESP:0032f6c4 EBP:0032f8d4 EFLAGS:00210206( R- -- I - -P- )
EAX:00000000 EBX:f7557000 ECX:00000018 EDX:00000010
ESI:7c57c084 EDI:7c5378e0
Stack dump:
0x0032f6c4: 7c57c084 0000076a 0032f8d4 76098fc3
0x0032f6d4: f7420cb7 f74210b6 7c3263e0 76e5ed3f
0x0032f6e4: 00000018 76099766 00000018 f741eb53
0x0032f6f4: 7c9d1948 7c9bf754 00000700 7c9c6401
0x0032f704: 00000000 7609588d f741e9ff 00000008
0x0032f714: 00000004 00000002 00000000 00000100
Backtrace:
=>0 0xf74210d6 cfree+0x26() in libc.so.6 (0x0032f8d4)
1 0x76e5ed3f in fglrx_dri.so (+0x1b12d3e) (0x0032f8d4)
2 0x76099766 in fglrx_dri.so (+0xd4d765) (0x0032f8d4)
3 0x7613db3e in fglrx_dri.so (+0xdf1b3d) (0x7c8719e8)
4 0x7c87fb88 (0xf7557701)
5 0x00f75576 in nwmain (+0xb75575) (0xf8f75576)
0xf74210d6 cfree+0x26 in libc.so.6: movl     0xfffffffc(%ecx),%ecx
Modules:
Module     Address               Debug info     Name (109 modules)
PE      400000- 626d000     Export nwmain
PE     21100000-2115f000     Deferred mss32
PE     22100000-2211f000     Deferred mssa3d.m3d
PE     22200000-22219000     Deferred mssds3d.m3d
PE     22300000-22329000     Deferred msseax.m3d
PE     22400000-22417000     Deferred msssoft.m3d
PE     22600000-2261c000     Deferred mssdx7.m3d
PE     22700000-22764000     Deferred mssrsx.m3d
PE     24100000-2411c000     Deferred mssdsp.flt
PE     26400000-26436000     Deferred mssvoice.asi
PE     26f00000-26f2a000     Deferred mssmp3.asi
PE     30000000-3006d000     Deferred binkw32
ELF     7534c000-777ff000     Dwarf fglrx_dri.so
ELF     7b800000-7ba4a000     Deferred kernel32
\-PE     7b810000-7ba4a000     \ kernel32
ELF     7bc00000-7bcd0000     Deferred ntdll
\-PE     7bc10000-7bcd0000     \ ntdll
ELF     7bf00000-7bf03000     Deferred
ELF     7ce9a000-7cf00000     Deferred libatiadlxx.so
ELF     7d833000-7d83c000     Deferred libogg.so.0
ELF     7d83c000-7d868000     Deferred libvorbis.so.0
ELF     7d868000-7d9e0000     Deferred libvorbisenc.so.2
ELF     7d9e0000-7da14000     Deferred libflac.so.8
ELF     7da14000-7da1b000     Deferred libasyncns.so.0
ELF     7da1b000-7da8d000     Deferred libsndfile.so.1
ELF     7da8d000-7dad8000     Deferred libdbus-1.so.3
ELF     7dad8000-7db47000     Deferred libpulsecommon-4.0.so
ELF     7db47000-7db96000     Deferred libpulse.so.0
ELF     7db96000-7dc8c000     Deferred libasound.so.2
ELF     7dc98000-7dc9f000     Deferred libasound_module_pcm_pulse.so
ELF     7dca6000-7ddbe000     Deferred oleaut32
\-PE     7dcc0000-7ddbe000     \ oleaut32
ELF     7de17000-7de44000     Deferred winealsa
\-PE     7de20000-7de44000     \ winealsa
ELF     7de44000-7de64000     Deferred mmdevapi
\-PE     7de50000-7de64000     \ mmdevapi
ELF     7de64000-7dea9000     Deferred dsound
\-PE     7de70000-7dea9000     \ dsound
ELF     7deef000-7df22000     Deferred uxtheme
\-PE     7df00000-7df22000     \ uxtheme
ELF     7df22000-7df28000     Deferred libxfixes.so.3
ELF     7df28000-7df33000     Deferred libxcursor.so.1
ELF     7df33000-7df44000     Deferred libxi.so.6
ELF     7df44000-7df48000     Deferred libxcomposite.so.1
ELF     7df48000-7df53000     Deferred libxrandr.so.2
ELF     7df53000-7df5e000     Deferred libxrender.so.1
ELF     7df5e000-7df64000     Deferred libxxf86vm.so.1
ELF     7df64000-7df68000     Deferred libxinerama.so.1
ELF     7df68000-7df72000     Deferred libwrap.so.0
ELF     7df72000-7df7d000     Deferred libjson-c.so.2
ELF     7df82000-7e00d000     Deferred winex11
\-PE     7df90000-7e00d000     \ winex11
ELF     7e075000-7e09e000     Deferred libexpat.so.1
ELF     7e09e000-7e0d8000     Deferred libfontconfig.so.1
ELF     7e0d8000-7e0ec000     Deferred libz.so.1
ELF     7e0ec000-7e18b000     Deferred libfreetype.so.6
ELF     7e18b000-7e1ad000     Deferred imm32
\-PE     7e190000-7e1ad000     \ imm32
ELF     7e1ad000-7e1d2000     Deferred libxcb.so.1
ELF     7e1d2000-7e1eb000     Deferred libatiuki.so.1
ELF     7e1eb000-7e208000     Deferred libgcc_s.so.1
ELF     7e2f1000-7e426000     Deferred libx11.so.6
ELF     7e426000-7e439000     Deferred libxext.so.6
ELF     7e439000-7e529000     Deferred libgl.so.1
ELF     7e529000-7e5af000     Deferred libglu.so.1
ELF     7e5c9000-7e5e0000     Deferred libresolv.so.2
ELF     7e5e4000-7e5fa000     Deferred glu32
\-PE     7e5f0000-7e5fa000     \ glu32
ELF     7e5fa000-7e61e000     Deferred iphlpapi
\-PE     7e600000-7e61e000     \ iphlpapi
ELF     7e61e000-7e650000     Deferred ws2_32
\-PE     7e630000-7e650000     \ ws2_32
ELF     7e650000-7e66a000     Deferred wsock32
\-PE     7e660000-7e66a000     \ wsock32
ELF     7e66a000-7e762000     Deferred comctl32
\-PE     7e670000-7e762000     \ comctl32
ELF     7e762000-7e7a8000     Deferred dinput
\-PE     7e770000-7e7a8000     \ dinput
ELF     7e7a8000-7e7d0000     Deferred msacm32
\-PE     7e7b0000-7e7d0000     \ msacm32
ELF     7e7d0000-7e883000     Deferred winmm
\-PE     7e7e0000-7e883000     \ winmm
ELF     7e883000-7e968000     Deferred opengl32
\-PE     7e8a0000-7e968000     \ opengl32
ELF     7e968000-7e9e2000     Deferred rpcrt4
\-PE     7e970000-7e9e2000     \ rpcrt4
ELF     7e9e2000-7eaf8000     Deferred ole32
\-PE     7ea00000-7eaf8000     \ ole32
ELF     7eaf8000-7eb5e000     Deferred advapi32
\-PE     7eb00000-7eb5e000     \ advapi32
ELF     7eb5e000-7ec6c000     Deferred gdi32
\-PE     7eb70000-7ec6c000     \ gdi32
ELF     7ec6c000-7edb4000     Deferred user32
\-PE     7ec80000-7edb4000     \ user32
ELF     7efb4000-7efc1000     Deferred libnss_files.so.2
ELF     7efc1000-7efcd000     Deferred libnss_nis.so.2
ELF     7efcd000-7efe6000     Deferred libnsl.so.1
ELF     7efe7000-7f000000     Deferred version
\-PE     7eff0000-7f000000     \ version
ELF     f7351000-f7355000     Deferred libxau.so.6
ELF     f7355000-f735e000     Deferred libnss_compat.so.2
ELF     f735f000-f73a2000     Deferred libm.so.6
ELF     f73a2000-f73a7000     Deferred libdl.so.2
ELF     f73a7000-f755b000     Dwarf libc.so.6
ELF     f755b000-f7576000     Deferred libpthread.so.0
ELF     f7577000-f7580000     Deferred librt.so.1
ELF     f7591000-f7744000     Dwarf libwine.so.1
ELF     f7746000-f7768000     Deferred ld-linux.so.2
ELF     f7768000-f7769000     Deferred [vdso].so
Threads:
process tid prio (all id:s are in hex)
00000008 (D) C:\GOG Games\Neverwinter Nights Diamond Edition\nwmain.exe
     00000030 15
     0000002a 15
     00000027 0
     00000026 0
     00000024 0
     00000009 0 <==
0000000e services.exe
     0000001e 0
     0000001d 0
     00000018 0
     00000016 0
     00000014 0
     00000010 0
     0000000f 0
00000012 winedevice.exe
     0000001c 0
     00000019 0
     00000017 0
     00000013 0
0000001a plugplay.exe
     00000020 0
     0000001f 0
     0000001b 0
00000021 explorer.exe
     00000023 0
     00000022 0


petch Tuesday 25 March 2014 at 13:55
petch

Backtrace:
=>0 0xf74210d6 cfree+0x26() in libc.so.6 (0x0032f8d4)
1 0x76e5ed3f in fglrx_dri.so (+0x1b12d3e) (0x0032f8d4)
2 0x76099766 in fglrx_dri.so (+0xd4d765) (0x0032f8d4)
3 0x7613db3e in fglrx_dri.so (+0xdf1b3d) (0x7c8719e8)
4 0x7c87fb88 (0xf7557701)
5 0x00f75576 in nwmain (+0xb75575) (0xf8f75576)

A crash inside fglrx_dri is most likely a video driver problem
vanquishedangel Tuesday 25 March 2014 at 15:52
vanquishedangelAnonymous

And you are correct, I tested by re-installing the mesa graphics drivers and the game worked, albiet, looked terrible.

Since this is the only game I have issues with (I have nwn 2, fate, and others that work without issues) I will guess that the issues lies in either with wine communicating with the proprietary drivers (mine may be too new, not likely since others work) or that nwn 1 had features ATI dropped (like truform) or wine doesn't support. Since this game has worked in wine before (hardy heron, Intrepid Ibex era) with proprietary drivers It maybe that ATI changed the way it deals with with certain functions (like truform) and wine has not been updated for those. I have tried using older versions of wine.

For years this game has worked with the native linux installer despite not working in wine, with things like truform enabled. This was also on the same system with the same graphics card, with proprietary drivers.

So the crash is most likely due to some feature in nwn working through wine with proprietary drivers, since all the features work in the native client with proprietary drivers.

But I don't know, anyway thank you for your time
vanquishedangel Wednesday 26 March 2014 at 1:27
vanquishedangelAnonymous

OMG! I figured it out! I hope POL can fix this on their end! :)

It seems that the solution is to rename the nwmain.exe! From what I gather ATI graphics tries to implement their own settings based on the game when you use the proprietary graphics driver, These settings are not compatible with wine apparently and there is no graphics problems either.

All I did was rename nwmain.exe to nwmain2.exe and now it works. Then you may set your own settings in game, this may work with other games too!

I hope somebody sees this. I am unsure how to notify people of this fix. The credit is not mine however, it belongs to this post:

http://www.gog.com/support/neverwinter_nights_diamond_edition/launching_issues_on_atiamd_cards
vanquishedangel Saturday 3 May 2014 at 20:34
vanquishedangelAnonymous

Also This issue goes away when the catalyst AI is disabled, you can do this ubuntu by opening a terminal and typing:

sudo amdcccle

then enter your password, the seeing is under 3D ---> more settings and tick the box. Now nwn will work using nwnmain.exe without renaming.

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com