Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
NWN Problem (yes, again :( )
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sat Dec 29, 2007 8:03 pm    Post subject: NWN Problem (yes, again :( ) Reply with quote

I'm running amd64 gentoo-sources-2.6.23-r5, nvidia-drivers-100.14.19 with direct rendering on. I've installed using the portage method, copying over my files from Windows.

I keep getting segfaults. If I try the game libSDL or the system one. I even tried recompiling SDL with the FEATURES="nostrip". I tried running esd before the game.

Now I have had it working before (a while ago, both with the portage and bioware installs), and there were other exports that I put in the nwn script regarding OpenGL settings and alsa etc, but those were enhancement tweaks as far as I was aware.

Further, with nwmouse installed and using the system SDL, it complains that it can't find the libelf.so.1. Remerging nwmouse and compiling elfutils didn't work. I eventually uninstalled until such time as I can get it working just basically.

I'm at a loss. Any help would be greatly appreciated.

-K
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Sat Dec 29, 2007 9:16 pm    Post subject: Reply with quote

Code:
  3:06PM # equery b libelf.so.1                                 /usr/lib (root)
[ Searching for file(s) libelf.so.1 in *... ]
dev-libs/elfutils-0.127 (/usr/lib/libelf.so.1 -> libelf-0.127.so)
  3:14PM #                                                      /usr/lib (root)


I would suggest reemerging elfutils.
_________________
Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain

If you want proof of that, take a look at windows sometime. :)
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sat Dec 29, 2007 10:05 pm    Post subject: Reply with quote

Knute wrote:
Code:
  3:06PM # equery b libelf.so.1                                 /usr/lib (root)
[ Searching for file(s) libelf.so.1 in *... ]
dev-libs/elfutils-0.127 (/usr/lib/libelf.so.1 -> libelf-0.127.so)
  3:14PM #                                                      /usr/lib (root)


I would suggest reemerging elfutils.


It's also part of nwmouse, as I said, except it still doesn't work when either package is installed, or how many times I reemerge them.

But, like I also said, that's secondary. I need to to work in the first place to even get the benefits of nwmouse ;-)
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Sat Dec 29, 2007 10:10 pm    Post subject: Reply with quote

What's in your /opt/nwn/lib directory?

Ohhh! amd64.... Do you have the 32-bit compatability libraries installed?

I don't have any experience witth amd64, so I don't know how much help I can be.
_________________
Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain

If you want proof of that, take a look at windows sometime. :)
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sat Dec 29, 2007 10:52 pm    Post subject: Reply with quote

Knute wrote:
What's in your /opt/nwn/lib directory?

Ohhh! amd64.... Do you have the 32-bit compatability libraries installed?

I don't have any experience witth amd64, so I don't know how much help I can be.


Code:
kasyx@localhost ~ $ ls -la /opt/nwn/lib/
total 408
drwxrwx---  2 root games   4096 2007-12-29 19:29 .
drwxrwx--- 20 root games   4096 2007-12-29 19:37 ..
lrwxrwxrwx  1 root games     19 2007-12-28 10:45 libSDL-1.2.so.0 -> libSDL-1.2.so.0.0.5
-rwxrwx---  1 root games 405239 2003-05-05 21:39 libSDL-1.2.so.0.0.5


So that's the SDL that Bioware provided with it, which segfaults. Yes, I should have mentioned I made sure the 32 bit emul of SDL was installed.
Back to top
View user's profile Send private message
Cereza
Guru
Guru


Joined: 14 Apr 2006
Posts: 428

PostPosted: Sat Dec 29, 2007 10:55 pm    Post subject: Reply with quote

I don't like to use Windows software having a Linux native alternative, but if you really want to play NWN and can't run the native client, maybe you are interested on try Windows' NWN with Wine, it seems to work at 100%

For some problems with Linux NWN client I tried the Windows version through Wine and I have no problems with it (I'm on amd64 too).

Good luck.
Back to top
View user's profile Send private message
Knute
Guru
Guru


Joined: 28 Jun 2004
Posts: 362
Location: Fargo, ND

PostPosted: Sat Dec 29, 2007 11:24 pm    Post subject: Reply with quote

Ok, the easiest way to fix this problem of the segfaults with bioware provided sdl is to not use it. (hehehe.... It's on one of the NWN forums that I read awhile ago.)

Doh! If you read what I wrote about editing that file, I was wrong.

What you do is link your version of sdl into the /opt/nwn/lib directory.

Code:
 5:25PM % ll                                              /opt/nwn/lib (knute)
total 744K
lrwxrwxrwx 1 root games   27 Sep 25 16:28 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.1-gentoo*
-rwxrwx--- 1 root games 396K May  5  2003 libSDL-1.2.so.0.0.5*
-rwxrwx--- 1 root games 337K Sep  6 12:44 libSDL-1.2.so.0.11.1-gentoo*
  5:27PM %                                                 /opt/nwn/lib (knute)


I caught the mistake right after I had sent the previous msg.

There was some other issue where you had to remove a path from that export line, but I can't remember what it was right now..... miles maybe???

Oh well. Glad I caught it. :)
_________________
Knute
----------
The human race has one really effective weapon, and that is laughter.
-- Mark Twain

If you want proof of that, take a look at windows sometime. :)
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sun Dec 30, 2007 12:35 am    Post subject: Reply with quote

Knute wrote:
Ok, the easiest way to fix this problem of the segfaults with bioware provided sdl is to not use it. (hehehe.... It's on one of the NWN forums that I read awhile ago.)

Doh! If you read what I wrote about editing that file, I was wrong.

What you do is link your version of sdl into the /opt/nwn/lib directory.

Code:
 5:25PM % ll                                              /opt/nwn/lib (knute)
total 744K
lrwxrwxrwx 1 root games   27 Sep 25 16:28 libSDL-1.2.so.0 -> libSDL-1.2.so.0.11.1-gentoo*
-rwxrwx--- 1 root games 396K May  5  2003 libSDL-1.2.so.0.0.5*
-rwxrwx--- 1 root games 337K Sep  6 12:44 libSDL-1.2.so.0.11.1-gentoo*
  5:27PM %                                                 /opt/nwn/lib (knute)


I caught the mistake right after I had sent the previous msg.

There was some other issue where you had to remove a path from that export line, but I can't remember what it was right now..... miles maybe???

Oh well. Glad I caught it. :)


Well, that's one way to do it. If you remove ./lib from the export line it doesn't use the Bioware SDL, it uses the system path for SDL (the $LD_SDL_PATH variable or whatever). I know about this, this is how you use the two different SDLs, the Bioware one and the system one, which I explained in my first post, saying I have tried both. There are three ways to use the system SDL - symlink, copy, or edit the nwn script. I chose the latter.

@Cereza - yeah, but I need to figure out wine for another game first. Plus I know that this does work, I used to use the Bioware manual install for it, but I like to keep my system clean so want to use the portage version. Plus I got told that I wouldn't get support if I didn't use the portage version, at least in #gentoo-games. But given I was on there all day and only one person even spoke, I don't hold that channel in high regard anymore, which is why I turned here.
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 257

PostPosted: Sun Dec 30, 2007 9:11 am    Post subject: Reply with quote

Kasyx wrote:
There are three ways to use the system SDL - symlink, copy, or edit the nwn script. I chose the latter.


nwmouse installs its own libelf to nwn's lib folder. Removing ./lib from the nwn script is keeping it from being found.

Include ./lib in the startup script and use the ~amd64 version of nwn and it should pull in a custom libSDL for you (1.2.11 and some hotkeys to allow window minimizing and window <-> fullscreen).
Back to top
View user's profile Send private message
sdfg
Apprentice
Apprentice


Joined: 11 Feb 2005
Posts: 200

PostPosted: Sun Dec 30, 2007 10:22 am    Post subject: Reply with quote

antonlacon wrote:
Kasyx wrote:
There are three ways to use the system SDL - symlink, copy, or edit the nwn script. I chose the latter.


nwmouse installs its own libelf to nwn's lib folder. Removing ./lib from the nwn script is keeping it from being found.

Include ./lib in the startup script and use the ~amd64 version of nwn and it should pull in a custom libSDL for you (1.2.11 and some hotkeys to allow window minimizing and window <-> fullscreen).


Yeah, I realised about nwmouse instantly, that's why I installed elfutils (to no effect, but I've since found the correct export statement in the nwn script to edit to point to the system location). As I've said, however, I'd just like to get it working first before looking at that.

The ~amd64 version is hard masked - anyone had any problems with it? I'll give it a go, but just a heads up would be good.

EDIT: Nope, still segfaults.

EDIT 2: I ran a strace on nwn running, to see if it could give me any details. I'm not very good at reading these things though! Any help appreciated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum