FluidMotion » NaibsPages » News » Technical Support/Linux

Technical Support/Linux

21 May 2012 19:21



Cannot install the Linux client

The linux client ( HoNClient-{$ver}.sh ) is a shell script with a zip tail which contains the graphical installer as well as the game data. To be able to install HoN for linux the install script must reside on a partition which allows execution (ie a partition that is not mount noexec or users (users mount option automatically implies noexec).

There are some GTK themes which are actually invalid and while most GTK applications will default over the invalid theme lines some won't. The HoN installer user LUA as the scripting backend and this is one that is not tolerant of non-compliant themes. As a result if your user/system default GTK is broken the installer will fail


GTK2_RC_FILES=/usr/share/themes/Default/gtk-2.0-key/gtkrc ./HoNClient-VER.sh


This will force the GTK default theme to be used for the installer and allow the installer to function (assuming this is a GTK theme issue)


Failing this the HoNClient-VER.sh is actually a shell script with a zipfile tail

unzip HoNClient-VER.sh

will unzip the client and have the game folder (plus installer files)

 

There also exists the possibility that the download was corrupted or came from a corrupted CDN

 

 


 

Installation with GNOME

  • Right click "HoNClient-*.sh" and select "Properties"
  • Click "Permissions" tab
  • Check "Allow executing file as program" checkbox
  • Click "Close"
  • Double click "HoNClient-*.sh"
  • Click "Run"

 


 

 

Installation with KDE

  • Right click "HoNClient-*.sh" and select "Properties"
  • Click "Permissions" tab
  • Check "Is executable" checkbox
  • Click "OK"
  • Double click "HoNClient-*.sh"

 


 

Installation via terminal

  • chmod +x HoNClient-*.sh
  • sh ./HoNClient-*.sh

 


 

 

Cannot upgrade with the Linux client

The updater (executed as the same user which launches the game) needs to have write access to the install location as well as reside on a partition which has execution permissions.


You can force this via the chmod command. Assuming you have installed HeroesOfNewerth into your home directory (~/HoN) then the command

chown $(whoami):$(whoami) ~/HoN

Will force-change ownership to who you are

 

If a particular file is unable to be updated a manual fetch of the required file (view console.log for file that is causing issues).

dl.heroesofnewerth.com/lac/x86-biarch/VERSION/game/FILE.zip

Where VERSION is the version found in the manifest.xml and FILE is the file in question

 

 


 

 

Game does not start

To diagnose the cause of why HoN does not start a few simple tests must be performed.

 

System 3D capability

The minimum spec from a 3D point of view for HoN is:

 Video Card - 128MB fully OpenGL 2.0 / GLSL 1.20 compliant Geforce or Radeon

Thus your system must provide this capability (NOTE only proprietary nVidia and ATi drivers are officially supported)

The bash 1liner:

 glxinfo | grep -i "opengl\|direct\|server\|client" && lspci | grep -i vga && uname -a

provides a quick summary of whether your systems configuration is suitable for running HoN

  • This one-liner may need to be tailored to your systems specific PATH expansion, eg /usr/sbin/lspci
  • You may need to install additional packages for glxinfo for Ubuntu apt-get install mesa-utils

 

Linux 3dSummary

glxinfo | grep -i "opengl\|direct\|server\|client" && lspci | grep -i vga && uname -aThe bash 1liner:

Will provide a quick breakdown as to whether the 3D userland environment

 

nVidia output

 $ glxinfo | grep -i "opengl\|direct\|server\|client" && /usr/sbin/lspci | grep -i vga && uname -a
 direct rendering: Yes
 server glx vendor string: NVIDIA Corporation
 server glx version string: 1.4
 server glx extensions:
 client glx vendor string: NVIDIA Corporation
 client glx version string: 1.4
 client glx extensions:
 OpenGL vendor string: NVIDIA Corporation
 OpenGL renderer string: GeForce 9600 GT/PCI/SSE2
 OpenGL version string: 3.3.0 NVIDIA 260.19.29
 OpenGL shading language version string: 3.30 NVIDIA via Cg compiler
 OpenGL extensions:
 GL_EXT_Cg_shader, GL_EXT_depth_bounds_test, GL_EXT_direct_state_access, 
 01:00.0 VGA compatible controller: nVidia Corporation G94 [GeForce 9600 GT] (rev a1)
 Linux FluidMotion 2.6.36-gentoo-r3 #2 SMP PREEMPT Tue Dec 28 18:25:19 GMT 2010 x86_64 Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz GenuineIntel GNU/Linux
 

ATi fglrx (proprietary) driver

 direct rendering: Yes
 server glx vendor string: ATI
 server glx version string: 1.4
 server glx extensions:
 client glx vendor string: ATI
 client glx version string: 1.4
 client glx extensions:
 OpenGL vendor string: ATI Technologies Inc.
 OpenGL renderer string: ATI Radeon HD 4800 Series
 OpenGL version string: 3.3.10237 Compatibility Profile Context
 OpenGL shading language version string: 3.30
 OpenGL extensions:
 GL_EXT_copy_buffer, GL_EXT_copy_texture, GL_EXT_direct_state_access,
 02:00.0 VGA compatible controller: ATI Technologies Inc RV770 LE [Radeon HD 4800 Series]
 Linux myhost 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux
 

ATi FOSS driver

 direct rendering: Yes
 server glx vendor string: SGI
 server glx version string: 1.4
 server glx extensions:
 client glx vendor string: Mesa Project and SGI
 client glx version string: 1.4
 client glx extensions:
 OpenGL vendor string: Advanced Micro Devices, Inc.
 OpenGL renderer string: Mesa DRI R600 (RV770 9442) 20090101  TCL DRI2
 OpenGL version string: 2.0 Mesa 7.8.2
 OpenGL shading language version string: 1.10
 OpenGL extensions:
 01:00.0 VGA compatible controller: ATI Technologies Inc RV770 [Radeon HD 4850]
 Linux spoc-desktop 2.6.35-gentoo-r5 #17 SMP Sat Sep 11 18:54:20 CEST 2010 x86_64 AMD Phenom(tm) II X4 945 Processor AuthenticAMD GNU/Linux
 
 

Intel GPU driver

 direct rendering: Yes
 server glx vendor string: SGI
 server glx version string: 1.4
 server glx extensions:
 client glx vendor string: Mesa Project and SGI
 client glx version string: 1.4
 client glx extensions:
 OpenGL vendor string: Tungsten Graphics, Inc
 OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset GEM 20100330 DEVELOPMENT 
 OpenGL version string: 2.1 Mesa 7.9-devel
 OpenGL shading language version string: 1.20
 OpenGL extensions
 GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage, 
 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller   (rev 07)
 Linux teo-vaio 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux
 
 

Faulty configuration

 direct rendering: Yes
 server glx vendor string: SGI
 server glx version string: 1.4
 server glx extensions:
 client glx vendor string: Mesa Project and SGI
 client glx version string: 1.4
 client glx extensions:
 OpenGL vendor string: Mesa Project
 OpenGL renderer string: Software Rasterizer
 OpenGL version string: 2.1 Mesa 7.9-devel
 OpenGL shading language version string: 1.20
 OpenGL extensions:
 02:00.0 VGA compatible controller: nVidia Corporation G92 [GeForce 8800 GS] (rev a2)
 Linux ubuntu 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 10:18:49 UTC 2010 i686 GNU/Linux

 

 

 


From this successful execution of the bash 1liner on a system compatible with HoN it can be seen that

  • That direct rendering (ie hardware acceleration) is in-use
  • The server (server glx version string: 1.4) and the client (client glx version string: 1.4) have the same version string.
    • If they do not match a restart is required (or cycling GPU drivers if you are familiar with the process)
  • The provider of the OpenGL userland
    • In this case it is NVIDIA
    • MESA is the opensource provider of such libraries and is required for Intel cards and FOSS-Drivers for ATi cards
    • Additional data is GPU dependant. If it is a MESA-dependant card the MESA version needs to be greater or equal to 7.8
  • The type of card in-use
  • Short kernel summary

From this command it can be seen whether the system's basic 3D userland is configured in a usable state

 

 

 


 

Fatal Errors

Fatal Error - OpenGL 2.0/GLSL 1.20 not available

Make sure that your video card meets the minimum requirements. Ensure that you have installed the appropriate video driver.


K2 - Fatal Error: ARB_shader_objects not available

Make sure that your video card meets the minimum requirements. Ensure that you have installed the appropriate video driver.


Fatal Error - Model::Load() - Modelfile NULL resource failure/Geom_BuildBlockList: Truncated block

This usually indicates that something went horribly wrong during the update process. Reinstall the game.


Choppy sound/Sound cuts out/Game hangs on exit

Update to the newest version. If you had previously set sound_output to "alsa" in startup.cfg and you are using PulseAudio, unset sound_output or set it to "pulseaudio".

HoN crashes on startup when a Radeon 5000 series cards is used with Catalyst 10.5-10.9

This is a regression in the video driver introduced with the OpenGL 4.0 support. Upgrade to Catalyst 10.10.


Using an ATI card and HoN crashes with an X error or X crashes

This is likely due to ATI's buggy RandR 1.2 support. Open up "~/.Heroes of Newerth/game/startup.cfg" (create it if it does not exist). Add in a line (or modify the existing one) that says SetSave gl_modesetting "nvctrl,randr11". This will disable the RandR 1.2 modesetting backend.


 

Graphic Issues

The shop icon is a checkerboard

Open up "~/.Heroes of Newerth/game/startup.cfg" and set vid_textureCompression to "true". Volume textures are currently broken when texture compression is disabled or unavailable.


Large FPS drops when effects are played using NVIDIA GeForce 7000 series

Disable "Dynamic Lights" in the video options.


Shadows missing when using an ATI video card

Set vid_shadowMapType to 0.



PERFORMANCE ISSUES: Nvidia

If you are experiencing performance issues and you have an nvidia card there are some modifications you can do to the system with respect to nvidia driver options. These should raise your FPS to 70fps (unless you are GPU limited)

in /etc/X11/xorg.conf:

Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce xxx GT"
Option "AddARGBGLXVisuals" "True"
Option "DisableGLXRootClipping" "True"
Option "RenderAccel" "True"
Option "TripleBuffer" "True"
Option "DamageEvents" "True"
Option "NoLogo" "true"
EndSection



SCRATCHPAD

Naib's braindump on factoids to help resolve linux issues before correctly formatted for the wiki

cat /proc/mtrr

uncachable entries could indicate lower performance.


prelink

This can cause an issue, especially on 64bit system with shared 32bit binary gfx drivers

expected console error: warning: The VAD has been replaced by a hack pending a complete rewrite

 

SetSave "vid_resolution" "1280,1024" SetSave "vid_fullscreen" "false"

This will set the game to windowed, sometime the system will incorrectly detect your resolution


Menu's do not respond, other string table issues.

possible unsupported locale LANG=C ./hon.sh

General bugs,networking setsave http_printDebugInfo true setsave http_useCompression false

 

 

 


 

Next Step

If you need additional help, please post on the Mac & Linux Forum Please provide

  • console.log uploaded to: http://tools.heroesofnewerth.com/upload.php (console.log must be a valid zipfile)
  • provide the output of glxinfo | grep -i "opengl\|direct\|server\|client" && lspci | grep -i vga && uname -a
  • provide the associated crash report (remove old crash reports and recreate crash if required)
 
 
Rating 5.0 (1 vote)