PDA

View Full Version : Neverwinter Nights freezes when left-clicking


Ferio
January 17th, 2006, 08:05 PM
Hi,

I've just eBayed Neverwinter Nights with its 2 expansions, since I used to be a great fan of Baldur's Gate 1 & 2, and I wanted to try this game under Linux. I've followed all the instructions at Bioware's site; when entering the game (just in the credits screen), I hear the music and I can use the mouse, but as soon as I left-click in order to enter the real game, it freezes my entire system and the only way to resurrect it is rebooting.

I've seen in other threads, both in here and at Bioware's forums, that this could be a problem of my card, but there's no agreement in which is the actual solution: some say 'use fglrxconfig', others 'never use fglrxconfig'; I'm using an Ati Radeon 9200 with fglrx drivers, and this is my xorg.conf:

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
# sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/cyrillic"
FontPath "/usr/share/X11/fonts/100dpi/:unscaled"
FontPath "/usr/share/X11/fonts/75dpi/:unscaled"
FontPath "/usr/share/X11/fonts/Type1"
FontPath "/usr/share/X11/fonts/CID"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/75dpi"
# paths to defoma fonts
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
Load "GLcore"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Device"
Identifier "ATI Technologies, Inc. Radeon 9200 (RV280)"
Driver "fglrx"
BusID "PCI:1:0:0"
Option "VideoOverlay" "on"
EndSection

Section "Monitor"
Identifier "NFK9905"
Option "DPMS"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "ATI Technologies, Inc. Radeon 9200 (RV280)"
Monitor "NFK9905"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1600x1200" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "DRI"
Mode 0666
EndSection
Besides, here are some results of glxgears -iacknowledgethatthistoolisnotabenchmark

9699 frames in 5.0 seconds = 1939.693 FPS
9921 frames in 5.0 seconds = 1984.067 FPS
10357 frames in 5.0 seconds = 2071.326 FPS
12259 frames in 5.0 seconds = 2451.633 FPS
12305 frames in 5.0 seconds = 2460.866 FPS
12296 frames in 5.0 seconds = 2459.004 FPS
12286 frames in 5.0 seconds = 2457.163 FPS
11513 frames in 5.0 seconds = 2302.512 FPS
And fgl_glxgears

1519 frames in 5.0 seconds = 303.800 FPS
2099 frames in 5.0 seconds = 419.800 FPS
2042 frames in 5.0 seconds = 408.400 FPS
1414 frames in 5.0 seconds = 282.800 FPS
I will appreciate any help. Thank you!

leech
January 18th, 2006, 03:42 AM
I really wish I could help, but I don't have an ATI card. Besides suggesting to get a nVidia card, all I can recommend is to use the X.org driver instead of the fglrx driver.

Just change it to 'radeon', since you do have an older card, it should have 3D support natively.

Leech

Ferio
January 18th, 2006, 04:44 AM
It doesn't even start if I use 'radeon', it says "Failed to initialize graphics driver". Besides, fgl_glxgears won't start, too, and glxgears gives really low values :???:

leech
January 18th, 2006, 05:27 AM
Well, that's because fgl_glxgears requires the fglrx drivers to work. I'm not sure if it's 'ati' or 'radeon' you want as your drivers, but I'm pretty sure that the 9200 is supported by the driver within X.org and that OpenGL should work for you with it.

Hopefully someone else can help you with this.

Leech

Artificial Intelligence
January 18th, 2006, 05:30 AM
Have you tried this: http://doc.gwos.org/index.php/Install_ATI_driver

Ferio
January 18th, 2006, 07:10 AM
Oh, yes, A. I., I installed the drivers following this method, and my system recognizes them as being installed.

Now I've noticed that NWN freezes my system when pressing the spacebar, so it's not just when left-clicking, but when trying to skip the splash screen. I'm gonna try using "ati" instead of "fglrx" and I'll let you know...

Ferio
January 18th, 2006, 07:49 AM
"ati" didn't work, it says "Failed to initialize graphics driver" again, same as "radeon". This is weird! :???:

I'm going on searching at Bioware's forums and googling, but if anybody has any suggestion...

Ferio
January 18th, 2006, 08:42 AM
During the last 50 minutes I've noticed that:

- If I try to fix my configuration as said at Bioware's forums because of some Ati bug, fglrx fails, so no acceleration, so no game at all.

- However, if I don't do this, it freezes the entire system while in the splash screen, even if I don't interact with my PC.

The problem is getting bigger, but at least I know that it's not mouse-related.

Ferio
January 18th, 2006, 09:09 AM
It's alive! Alive! This was written by Septor at Bioware's Neverwinter Nights Linux forum:

Hope this work around helps people out, and now that Bioware and ATI know what the problem is, it might be more quickly fixed.

Here is a link to a package with source, makefile and documentation for an easier install: http://acyr.net/files/filter_ext-0.9.tar.gz

Enjoy,
Septor

Thank you very much to everybody, I've found the solution to the ATI bug that was buggin me! ;)