Author Topic: NWN on Ubuntu 12.10  (Read 622 times)

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
NWN on Ubuntu 12.10
« on: January 07, 2013, 05:34:28 pm »


                I had NWN working while running on Ubuntu 12.04. I updated to 12.10 the other day. Now when I try to run NWN I get the following error: 

libGL error: failed to load driver: i965
This is a 64 bit system with Intel HD graphics.
               
               

               


                     Modifié par Scorpio Snake, 08 janvier 2013 - 12:42 .
                     
                  


            

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #1 on: January 08, 2013, 12:41:52 am »


               I have been able to resolve this issue with loading the driver. However now when I try to open NWN it does not open at all. It does not give me any errors either ... so I don't know what the issue might be. Does anyone have any ideas on this?
               
               

               
            

Legacy_vanquishedangel

  • Newbie
  • *
  • Posts: 19
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #2 on: January 13, 2013, 07:32:27 am »


               I might have a few

1. Dont give up lolz

2. the symlinks may need to be redone (what I think)

3. I wrote a guide here http://ubuntuforums....d.php?t=2082534 for nwn diamond dvd edition, I would try re-installing the dependancies.

I suspect that a lib updated and nwn is looking for an old one, so any symlinks created from a previous install will need to be redone (like libsdl) but try to reinstall dependancies first (ia32-libs, ia32-libs-multiarch, etc).
               
               

               
            

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #3 on: January 21, 2013, 06:46:59 pm »


               I have tried reinstalling the dependancies and and the symlink. Copying the nwn folder over again. Nothing seems to work. I have even reinstalled Ubuntu 12.10. It just puzzles me that I am not getting errors. In the past when I had problems with any of these it would give me an error.

I have not been without NWN. It works fine on my Debian Sid install. But I would like to have it working on Ubuntu.

I am thinking about reinstalling 12.04. It seemed to work better than 12.10 anyway.
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #4 on: January 22, 2013, 08:43:31 am »


               Well, I cannot help you with 12.10 because I use 12.04. But there are some standard linux trouble shooting questions that may help find a solution.
1) 32bit or 64bit
2) If 64bit, are the 32bit libs needed for nwn present? (ia-32-libs-multiarch)
  - Check with ldd /<path-tonwn>/nwmain
3) Graphics drivers use 3d hardware acceleration?
4) Read/write access to nwn folder?
5) ./lib statement removed from your nwn start script? (Read the comments there).

Seems to me like one of the graphics issues. Which version of libsdl package is installed on your system?

Hopefully this helps you trouble shoot.

Greetings
Skildron
               
               

               


                     Modifié par Skildron, 22 janvier 2013 - 08:45 .
                     
                  


            

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #5 on: January 22, 2013, 01:48:18 pm »


               It seems something is missing:

ldd ~/nwn/nwmain
   linux-gate.so.1 =>  (0xf77c9000)
   libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf777f000)
   libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf7764000)
   libGL.so.1 => /usr/lib/i386-linux-gnu/mesa/libGL.so.1 (0xf7705000)
   libGLU.so.1 => /usr/lib/i386-linux-gnu/libGLU.so.1 (0xf767e000)
   libmss.so.6 => not found
   libSDL-1.2.so.0 => /usr/lib/i386-linux-gnu/libSDL-1.2.so.0 (0xf75e5000)
   libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf743b000)
   /lib/ld-linux.so.2 (0xf77ca000)
   libglapi.so.0 => /usr/lib/i386-linux-gnu/libglapi.so.0 (0xf7424000)
   libXext.so.6 => /usr/lib/i386-linux-gnu/libXext.so.6 (0xf7412000)
   libXdamage.so.1 => /usr/lib/i386-linux-gnu/libXdamage.so.1 (0xf740e000)
   libXfixes.so.3 => /usr/lib/i386-linux-gnu/libXfixes.so.3 (0xf7407000)
   libX11-xcb.so.1 => /usr/lib/i386-linux-gnu/libX11-xcb.so.1 (0xf7404000)
   libX11.so.6 => /usr/lib/i386-linux-gnu/libX11.so.6 (0xf72cd000)
   libxcb-glx.so.0 => /usr/lib/i386-linux-gnu/libxcb-glx.so.0 (0xf72b5000)
   libxcb.so.1 => /usr/lib/i386-linux-gnu/libxcb.so.1 (0xf7293000)
   libXxf86vm.so.1 => /usr/lib/i386-linux-gnu/libXxf86vm.so.1 (0xf728d000)
   libdrm.so.2 => /usr/lib/i386-linux-gnu/libdrm.so.2 (0xf7280000)
   libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0xf727a000)
   libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xf7191000)
   libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf7173000)
   libasound.so.2 => /usr/lib/i386-linux-gnu/libasound.so.2 (0xf7081000)
   libpulse-simple.so.0 => /usr/lib/i386-linux-gnu/libpulse-simple.so.0 (0xf707c000)
   libpulse.so.0 => /usr/lib/i386-linux-gnu/libpulse.so.0 (0xf702d000)
   libcaca.so.0 => /usr/lib/i386-linux-gnu/libcaca.so.0 (0xf6f61000)
   libXau.so.6 => /usr/lib/i386-linux-gnu/libXau.so.6 (0xf6f5d000)
   libXdmcp.so.6 => /usr/lib/i386-linux-gnu/libXdmcp.so.6 (0xf6f56000)
   librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf6f4d000)
   libpulsecommon-2.1.so => /usr/lib/i386-linux-gnu/pulseaudio/libpulsecommon-2.1.so (0xf6ee8000)
   libjson.so.0 => /usr/lib/i386-linux-gnu/libjson.so.0 (0xf6ede000)
   libdbus-1.so.3 => /lib/i386-linux-gnu/libdbus-1.so.3 (0xf6e94000)
   libslang.so.2 => /lib/i386-linux-gnu/libslang.so.2 (0xf6d65000)
   libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xf6d34000)
   libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xf6d14000)
   libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xf6cfb000)
   libwrap.so.0 => /lib/i386-linux-gnu/libwrap.so.0 (0xf6cf1000)
   libsndfile.so.1 => /usr/lib/i386-linux-gnu/libsndfile.so.1 (0xf6c7d000)
   libasyncns.so.0 => /usr/lib/i386-linux-gnu/libasyncns.so.0 (0xf6c76000)
   libnsl.so.1 => /lib/i386-linux-gnu/libnsl.so.1 (0xf6c5b000)
   libFLAC.so.8 => /usr/lib/i386-linux-gnu/libFLAC.so.8 (0xf6c0b000)
   libvorbisenc.so.2 => /usr/lib/i386-linux-gnu/libvorbisenc.so.2 (0xf6a93000)
   libvorbis.so.0 => /usr/lib/i386-linux-gnu/libvorbis.so.0 (0xf6a67000)
   libogg.so.0 => /usr/lib/i386-linux-gnu/libogg.so.0 (0xf6a5f000)
   libresolv.so.2 => /lib/i386-linux-gnu/libresolv.so.2 (0xf6a47000)

However, doing a search it seems that libmss.so.6 is provided by NWN, so why is it not finding it?

This does not seem to be it either though as I just copied the file out of the nwn miles folder into the system lib folder and it is now finding it. It is still not starting though.

1) 64 bit
3) Yes, though I suspect that the issue might have something to do with the graphics.
4) Yes
5) Yes

libsdl version is 1.2.15-5ubuntu1
               
               

               
            

Legacy_Skildron

  • Sr. Member
  • ****
  • Posts: 421
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #6 on: January 22, 2013, 04:35:47 pm »


               ldd cannot find libmss.so.6 because it is not in the usual lib dirs. That's the reason why LD_LIBRARY_PATH=./miles is set in nwn start script.

You can try the ldd command again in the following way:

LD_LIBRARY_PATH=${HOME}/nwn/miles ldd ~/nwn/nwmain
That way, libmss should be found. Perhaps that offers new insight to the problem as well - it may be that the miles audio lib cannot find something it is looking for.

The libsdl version has changed since 12.04 - there it is 1.2.14-6.4ubuntu3. That could be the source of your issues, too, but will be difficult to track down. First try would be to put the ./lib statement back into your nwn start script:

export LD_LIBRARY_PATH=./lib:./miles
On my system, nwn starts that way, but without any sound output because the libsdl version shipped with nwn can only use the outdated and deprecated oss sound system of really ancient kernels. But if nwn starts that way, you have hints to trouble shoot further.

Greetings
Skildron
               
               

               


                     Modifié par Skildron, 22 janvier 2013 - 04:40 .
                     
                  


            

Legacy_Scorpio Snake

  • Jr. Member
  • **
  • Posts: 76
  • Karma: +0/-0
NWN on Ubuntu 12.10
« Reply #7 on: January 23, 2013, 01:23:00 pm »


               It still would not run even when I added ./lib back in.

I have just reinstalled 12.04 and everything runs fine now. I was having a few other annoyances with 12.10 so I decided to go with what works.

Thank you for all your help!