02-10-2010, 08:40 AM
|
#1
|
Master
Join Date: Sep 2008
Location: Stockholm
Posts: 541
|
[FAQ] RegnumOnline GNU/Linux Debian/Ubuntu
- My card is not supported or too old.
Quote:
Originally Posted by Zarakaye
|
You need to install or probably did S3 compression (which is patented and not installed by default on Debian). I am not sure what Ubuntu is doing in this case.
# apt-get install libtxc-dxtn0
or sources from libtxc_dxtn060508.tar.gz
libtxc-dxtn0 0.070518-0.2 S3 Texture Compression (S3TC) library
and the game should start.
Software rasterizer indicates problem with loading driver on kernel side or Xserver side.
Running
# LIBGL_DEBUG=verbose glxinfo
Will show if the driver is loaded at very early lines.
name of display: :0.0
libGL: OpenDriver: trying /usr/lib/dri/tls/i965_dri.so
libGL: OpenDriver: trying /usr/lib/dri/i965_dri.so <--- 3D driver found and loaded correctly
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /home/mateusz/.drirc: No such file or directory.
display: :0 screen: 0
direct rendering: Yes
...
OpenGL renderer string: Mesa DRI DRI Intel(R) 965GM GEM 20091221 2009Q4 <-- No software rasterizer (hardware acceleration is working)
OpenGL version string: 2.1 Mesa 7.6.1
ONLY if You're using CUSTOM KERNEL (distribution always includes all modules) you might forget to compile kernel driver.
For me both with GM965 and GM450 it works fine with the following settings (for kernel with initrd)
CONFIG_DRM=y
CONFIG_DRM_KMS_HELPER=y
CONFIG_DRM_I915=y
CONFIG_DRM_I915_KMS=y
CONFIG_AGP_INTEL=y
For some people(I dont know why) it works only when drivers are compiled as modules ?
To check or change your settings in kernel (I recommend by using menuconfig)
# cd linux-2.6.32.8
# make menuconfig
Press / and type one of above CONFIG_... to find where given option in menu dialog is and what is its status.
- I want to install new driver from source but I dont want to interfere with my packaging system.
Some basic rules.
You NEVER install with prefix /usr . This will break your installation of packages!!
For custom source builds the correct one is /usr/local
However for easy maintainance, since most of makefiles lack remove action, "stow" can be used to keep your system clean.
# apt-get install stow
# echo "/usr/local/lib/" >> /etc/ld.so.conf.d/local
# ldconfig
# cd mesa-source
# sh autogen.sh ; ./configure --prefix=/usr/local/stow/my-mesa <--- Important /usr/local/stow/my-mesa !!
# cd /usr/local/stow ; stow my-mesa
This will produce links over /usr/local structure and make it default library
If You want to remove library and switch back to the one provided by packages.
# cd /usr/local/stow ; stow -D my-mesa
# rm -fr /usr/local/stow/my-mesa
- I want to use mumble, but I dont see who is online on mumble server.
Go to Your regnum directory and instead of
$ ./rolauncher &
run
$ mumble-overlay ./rolauncher &
- Sound is tearing or not working at all.
This is often because of PissAudio (aka PulseAudio). If You don't have two sound cards, then you don't need it and You can be happily remove it and use old good Alsa directly.
This is simple on Debian by using old dpkg -l | grep pulse and then dpkg -P tool.
On Ubuntu however You will lose volume control applet if You're using Gnome, since Ubuntu maintainers removed the one for Alsa as they want You all to use only PissAudio. (Sorry for urinal humor).
As alternative to Alsa, new OSS4 works fine with RegnumOnline.
Last edited by Mashu; 02-14-2010 at 11:16 AM.
|
|
|