LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   "Neverwinter Nights" wont start after upgrade to 64bit Debian Wheezy (https://www.linuxquestions.org/questions/linux-games-33/neverwinter-nights-wont-start-after-upgrade-to-64bit-debian-wheezy-4175497502/)

Duglas 03-08-2014 10:48 AM

"Neverwinter Nights" wont start after upgrade to 64bit Debian Wheezy
 
I have run Neverwinter Nights, Diamond edition with the downloaded Linux binaries, on 32bit Debian Squeezy.

After a repartition, reformat, and fresh install, upgrading to 64bit Debian Wheezy. I tried launching the game from a terminal. The game resets the resolution to 800x600 and then stops with the following error message in the terminal.

X Error of failed request: GLXBadRenderRequest
Major opcode of failed request: 134 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 37
Current serial number in output stream: 38

Restoring the resolution is easy with "nvidia-settings".

I have tried running " # export LD_LIBRARY_PATH=./miles; ldd ./nwmain", but none of the libraries are listed as "not found".

I have multiarch installed by default (I believe)

I have no ideas left and google did not help.

System: CPU - GenuineIntel family 6 Model 37
Video card - Nvidia GeForce9500 GT
RAM - 2Gb
Harddrive - 147Gb free

replica9000 03-09-2014 09:11 PM

Was this game installed through the package manager? You may need to install the 32-bit packages it requires. To do this, you'll need to do a couple things first.

Code:

dpkg --add-architecture i386
Then make sure your sources.list entry has this added:
Code:

deb [arch=amd64,i386] http://archives.ubuntu.....
Code:

apt-get update
apt-get install package:i386


Duglas 03-10-2014 04:05 AM

No the game was installed by, creating a dir, unzipping the essential files from the CD, downloading and copying the linux binaries into the dir, setting the owner and group permissions. It is after all a Windows game that has had the Linux binaries made available as a download.

I did this before installing.
code:
dpkg --add-architecture i386

I have no way to guess what additional packages to install.

replica9000 03-10-2014 09:31 AM

I guess you could google to search for dependencies. Or you could use ldd on the binaries.

https://aur.archlinux.org/packages/nwn-gog/

Guttorm 03-10-2014 09:55 AM

Hi

If not installed, install the package "ia32-libs". I've had to install it a few times when running 32 bit programs on AMD64.

But the error messages sound a bit more like something is wrong with graphics driver. Did you try with/without the non-free drivers?

Duglas 03-10-2014 03:00 PM

apt-get install reports thast ia32-libs is already the the newest version.
Googling get me lots of hits on other people having very similar error messages, and none connected to this game, and no answers.

Duglas 03-10-2014 03:03 PM

I have only been using the Nvidia propriatary drivers, to get the accelerated grafix, which seems redundant as this is my only program that uses accelerated grafix.

johnnyxf 08-26-2014 03:09 PM

I have a very similar problem after installing NWN1 on 64-bit Wheezy, but with the original 3-cd set rather than diamond.
I have installed the 32bit libraries - libc6:i386 and the 32bit nvidia-glx drivers.
I tweaked nwn.ini so that nwn/miles is read first and also put a soft link to libGL.so.1 in that directory; this resolved the broken links.
However on starting the game I get:
X Error of failed request: GLXBadRenderRequest
Major opcode of failed request: 135 (GLX)
Minor opcode of failed request: 1 (X_GLXRender)
Serial number of failed request: 36
Current serial number in output stream: 37

Does anyone have ideas about how to sort this? Has anyone got this game running on deb 64 with an nvidia card?
Can anyone expound the meaning of this error?
Is simply installing both versions of the driver enough, or must I configure something to make the 32 bit version available?

I notice that debian still have legacy 173 nvidia drivers in their repository, which if I remember correctly were the drivers I was using the last time that I had this game running (on an earlier 32-bit) system. However I doubt that this driver will run the more recent card.

As Duglas says above, google has not been much help on this. The extensive thread https://forums.geforce.com/default/topic/483156/ suggests that there is a persistent problem with nvidia drivers.


system:
cpu intel G7 3930K
graphic card nvidia GT640
os deb wheezy 7.4 64-bit
graphic driver libgl1-nvidia-glx 304.117-1 (both 64 and 32 bit installed)


All times are GMT -5. The time now is 06:38 PM.