You are not logged in.

#1 2015-02-05 21:46:31

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

I've run nwn 2 or 3 times now, as needed to get things set up. But now I'm stuck. Whenever I try to run it now, it gets stuck at "NOTICE: SDL_WM_GrabInput(QUERY) called.." and nothing happens.

$ nwn
ERROR: ld.so: object './nwuser64.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
NOTICE: NWUser: Version 20080123.213207 Successfully loaded. (BaseDir = /opt/nwn)
NOTICE: NWLogger: Version: 20080123.212400
NOTICE: NWLogger: Initializing handles.
NOTICE: NWLogger: Patch 0 Address: 0x080b8c0f
NOTICE: NWLogger: Patch 1 Address: 0x082ad068
NOTICE: NWLogger: Patch 2 Address: 0x080be2cf
NOTICE: NWLogger: Patch 3 Address: 0x080c44bb
NOTICE: NWLogger: Patch 4 Address: 0x080c466b
NOTICE: NWLogger: PrePatch0 : 53 8b 45 08 ff 70 08 
NOTICE: NWLogger: PostPatch0: e9 a8 c0 68 ef 90 90 
NOTICE: NWLogger: PrePatch1 : 56 53 81 ec c8 00 00 00 
NOTICE: NWLogger: PostPatch1: e9 37 7c 49 ef 90 90 90 
NOTICE: NWLogger: PrePatch2 : 56 53 8b 75 08 
NOTICE: NWLogger: PostPatch2: e9 a4 69 68 ef 
NOTICE: NWLogger: PrePatch3 : 53 83 ec 10 a1 54 c3 62 08 
NOTICE: NWLogger: PostPatch3: e9 18 08 68 ef 90 90 90 90 
NOTICE: NWLogger: PrePatch4 : 56 53 83 7d 0c 01 
NOTICE: NWLogger: PostPatch4: e9 1c 06 68 ef 90 
NOTICE: NWLogger: Handles Initialized.
NOTICE: NWMovies(./nwmain): Version: 20090223.080954
NOTICE: Looking up symbols in libSDL.....
NOTICE: NWMovies: Using libSDL via RTLD_NEXT.
NOTICE: SDL Library determined to be: /usr/lib32/libSDL-1.2.so.0
NOTICE: NWMovies: SDL_WM_GrabInput() address: f747dde0
NOTICE: NWMovies: SDL_GetVideoSurface() address: f747c360
NOTICE: NWMovies: SDL_WM_ToggleFullScreen() address: f747f200
NOTICE: NWMovies: SDL_PollEvent() address: f745b9b0
NOTICE: NWMovies: SDL_WM_IconifyWindow() address: f747f1d0
NOTICE: NWMovies: Patch 0 Address: 0x08077a9d
NOTICE: NWMovies: Patch 1 Address: 0x08077ab1
NOTICE: NWMovies: Patch 2 Address: 0x0815b5f7
NOTICE: NWMovies: Patch 3 Address: 0x0815b611
NOTICE: NWMovies: Patch 4 Address: 0x0807796f
NOTICE: NWMovies: Patch 5 Address: 0x08207835
NOTICE: NWMovies: Patch 6 Address: 0x08207858
NOTICE: NWMovies: PrePatch0: 8b 80 78 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch1: 8b 80 7c 02 00 00 5d c3 
NOTICE: NWMovies: PrePatch2: e8 68 c5 f1 ff 83 ec 08 
NOTICE: NWMovies: PrePatch3: 169+: eb 59 90 83 
NOTICE: NWMovies: PostPatch0: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch1: b8 00 00 00 00 90 5d c3 
NOTICE: NWMovies: PostPatch2: 90 90 90 90 90 83 ec 08 
NOTICE: NWMovies: PostPatch3: 169+: 90 90 90 83 
NOTICE: NWMovies: PrePatch4: 56 8d 5d e8 53 
NOTICE: NWMovies: PostPatch4: e9 20 c4 6d ef 
NOTICE: NWMovies: MoviesPrePatch: 6a 00 53 bf 00 00 00 3f e8 72 4f 2a 00 8b 43 60 8b 10 c7 04 24 00 00 80 3f 57 57 57 50 ff 52 44 83 c4 1c 
NOTICE: NWMovies: MoviesPostPatch: 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 
NOTICE: NWMovies: Initialized.
NOTICE: NWMouse: Using libSDL via RTLD_NEXT.
NOTICE: NWMouse: Version: 20090906.183839
NOTICE: NWMouse: Patch 0 Address: 0x084e9380
NOTICE: NWMouse: Patch 1 Address: 0x084e009c
NOTICE: NWMouse: Patch 2 Address: 0x0863d880
NOTICE: NWMouse: Patch 3 Address: 0x084ffd44
NOTICE: NWMouse: Patch 4 Address: 0x084e3018
NOTICE: NWMouse: Patch 5 Address: 0x084e05b7
NOTICE: NWMouse: Patch 6 Address: 0x084e8440
NOTICE: NWMouse: Stop pointer: 0x084e9380
NOTICE: NWMouse: Table Address: 0x0863d880
NOTICE: NWMouse: Table Length: 89
NOTICE: NWMouse: Render function replaced in secondary table, offset: 6
NOTICE: NWMouse: Texture function replaced in secondary table, offset: 13.
NOTICE: NWMouse: Orientation function replaced in secondary table, offset: 25.
NOTICE: NWMouse: Original Table: 80 d8 63 08 
NOTICE: NWMouse: Pushed: 54 2a 7c 08 
NOTICE: NWMouse: PreMod1: c7 40 0c 80 d8 63 08 
NOTICE: NWMouse: PostMod1: e9 21 58 28 ef 90 90 
NOTICE: NWMouse: PreMod2: ff 05 68 d8 63 08 
NOTICE: NWMouse: PostMod2: e9 4d 53 28 ef 08 83 
NOTICE: NWMouse: Initialized.
NOTICE: NWLogger: mkdir(/home/chris/.nwn/./tempclient/, 0777) caught
NOTICE: NWLogger: mkdir(/home/chris/.nwn/./localvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/chris/.nwn/./dmvault/, 0777) caught
NOTICE: NWLogger: mkdir(/home/chris/.nwn/./servervault/, 0777) caught
NOTICE: SDL_WM_GrabInput(QUERY) called..

Any ideas? I'm using this package with the latest version of Neverwinter Nights (Diamond Edition) downloaded from GOG. I'm using an AMD graphics card with the lastest Catalyst installed. I've checked ~/.nwn but I don't see anything useful in there, it's fairly empty (two empty files in the logs folder for example)

EDIT: It's a Catalyst related issue. xf86-video-ati doesn't have this problem.

Last edited by YAOMTC (2015-02-06 19:46:18)

Offline

#2 2015-02-05 21:56:17

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

I don't own this game but that might change today!  Have you tried a different method to install/launch the game such as playonlinux?  I noticed there is a specific install script for it http://www.playonlinux.com/en/source-10 … ition.html

Offline

#3 2015-02-05 22:07:35

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

I actually can play the game just fine via Wine (I've only noticed one minor bug so far), I just wanted to see if I could get the native Linux client working.

Offline

#4 2015-02-05 22:30:21

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Does this help? https://bbs.archlinux.org/viewtopic.php?id=155009
It seems the link is dead though.  But gives a good idea on the debug process he went through.

Edit:  But a quick search in aur shows https://aur.archlinux.org/packages/?O=0&K=libtxc_dxtn
For the outdated one, it seems you just need to update the md5sum in pkgbuild

Last edited by frank604 (2015-02-05 22:32:35)

Offline

#5 2015-02-05 22:48:46

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Update it with what value? The one posted in the comments doesn't seem to work.

Also, my backtrace was different from his:

#0  0x00000000 in ?? ()
#1  0xf7a5e17b in bool std::has_facet<std::ctype<char> >(std::locale const&) () from /usr/lib32/libstdc++.so.6
#2  0xf7ad3000 in ?? () from /usr/lib32/libstdc++.so.6
#3  0xf7a5e1ab in bool std::has_facet<std::ctype<char> >(std::locale const&) () from /usr/lib32/libstdc++.so.6
#4  0xf7a509ef in std::basic_ios<char, std::char_traits<char> >::_M_cache_locale(std::locale const&) ()
   from /usr/lib32/libstdc++.so.6
#5  0xf7a50bab in std::basic_ios<char, std::char_traits<char> >::init(std::basic_streambuf<char, std::char_traits<char> >*) ()
   from /usr/lib32/libstdc++.so.6
#6  0xf7a41370 in std::ios_base::Init::Init() () from /usr/lib32/libstdc++.so.6
#7  0xf08ecf74 in ?? () from /usr/lib32/xorg/modules/dri/fglrx_dri.so
#8  0xeed48b8d in ?? () from /usr/lib32/xorg/modules/dri/fglrx_dri.so
#9  0xf7fe9c1e in call_init.part () from /lib/ld-linux.so.2
#10 0xf7fe9d70 in _dl_init_internal () from /lib/ld-linux.so.2
#11 0xf7fedf97 in dl_open_worker () from /lib/ld-linux.so.2
#12 0xf7fe9b05 in _dl_catch_error () from /lib/ld-linux.so.2
#13 0xf7fed669 in _dl_open () from /lib/ld-linux.so.2
#14 0xf7adbca5 in ?? () from /usr/lib32/libdl.so.2
#15 0xf7fe9b05 in _dl_catch_error () from /lib/ld-linux.so.2
#16 0xf7adc351 in ?? () from /usr/lib32/libdl.so.2
#17 0xf7adbd4e in dlopen () from /usr/lib32/libdl.so.2
#18 0xf7ee04df in ?? () from /usr/lib32/libGL.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Offline

#6 2015-02-05 23:23:36

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Make sure you have multilib enabled.  Give those two libraries a try.  The comment is outdated, you were expected to find the new md5sum OR skip the check at your own risk.  I think the new md5 as of today is b237bdf11f71031768f70a34397fbca0

Offline

#7 2015-02-06 00:35:18

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

That was the right one, thanks. Compiled, but... that package would be in conflict with catalyst-utils...

libtxc_dxtn_s2tc and catalyst-utils are in conflict (libtxc_dxtn)

And I can't install the 32-bit one as it depends on this...

Offline

#8 2015-02-06 00:51:24

TheCycoONE
Member
From: Hamilton, Ontario, Canada
Registered: 2009-12-21
Posts: 31

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Do not install libtxc_dtxn, it's meant for the open source drivers and you use the proprietary amd drivers which already include support for that feature.

I believe your issue is most likely with your 32 bit catalyst drivers.  You can see if there's a newer version, but there's a reason they are not shipped in the official repository and that reason is primarily that they ship too slowly to keep in sync with the rest of the stack.  As long as you're not running a newish card like the 285 and/or new demanding games I recommend trying out the open source radeon drivers.  In my experience you'll encounter a lot fewer problems with them.

Offline

#9 2015-02-06 00:57:53

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Thanks for the input thecycoone! I don't have an ati card so I was going to suggest something that I now know wouldn't work.

Offline

#10 2015-02-06 04:31:29

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Turns out it was a Catalyst issue. Switched to xf86-video-ati and it launches fine, thanks!

Though now I've got the fan speed issue back, which was part of the reason I switched to catalyst. Also, I actually get some higher framerates in WoW, but the transitions between light and heavy graphics load is much choppier. Bit of a trade-off there.

Offline

#11 2015-02-06 05:15:08

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Oh I heard of that fan issue.  Use a long term support Linux kernel, linux-lts. Ill find that thread for you later if you haven't found it.

Offline

#12 2015-02-06 05:35:14

YAOMTC
Member
Registered: 2010-02-23
Posts: 207

Re: Neverwinter Nights (nwn-gog) sticks on SDL_WM_GrabInput [SOLVED]

Switching to a different kernel is way too drastic a measure for such a minor issue. The fan speed just revs up too often when scrolling in Firefox, which is only slightly annoying. It doesn't run loud all the time, at least.

Offline

Board footer

Powered by FluxBB