The behavior I was seeing was very slow character walking pace, I'd guess half the speed of the Windows version, plus delayed messages showing up in the status panel at the bottom-left. The rest of the game was responsive: mouse movement and clicks, pop up windows for equipment, stats, etc., all operated quickly and normally. The walking speed was killing me, though - it took FOREVER to get across a map, and exploring a forest maze was really painful with all the backtracking I was doing.
I have a Dell laptop with an embedded Intel graphics chip.
Code: Select all
$ lspci
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 0c)
Code: Select all
$ lsmod |grep video
video 20623 1 i915
I found a long FAQ about i915 performance and one of the hints helped me out. The fix was to add a setting to my xorg.conf file (my XWindows settings file). The problem was that Ubuntu dropped the xorg.conf file by default a version or two ago, so I didn't have anywhere to add my new setting. So here are the steps I did, plus a word of warning at the end.
1. Create an xorg.conf file with my current settings inside.
Code: Select all
$ sudo Xorg :2 -configure
2. Step 1 will create a new xorg file in your own home directory, called "xorg.conf.new". I edited this file as suggested in the i915 FAQ page, adding a setting to the video device block. After editing, that section looks like this, with my addition at the very end. Your device block may differ slightly, the key is to copy and paste the "AccelMethod" option line into your device block.
Code: Select all
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile GM965/GL960 Integrated Graphics Controller"
BusID "PCI:0:2:0"
# Added option to boost game performance
Option "AccelMethod" "uxa"
EndSection
Code: Select all
$ sudo cp xorg.conf.new /etc/X11/xorg.conf
A word of caution: Ubuntu dropped use of the xorg.conf file for a reason. Namely, to make the system much more responsive to changes (it configures itself, you don't have to fiddle with the file when you get a new monitor/video card, etc) and the bootup sequence is a hair faster. So when you follow these steps you're backsliding a bit, and you have to remember that you have this file if you ever get new hardware that you need to set up.
If that ever comes up, it's not a big deal, you can just move or rename the xorg.conf file, reboot Ubuntu the default way, and re-run the xorg.conf generator command to take your new hardware into account, then re-apply the change to the video device section.
Hope this helps.