Go Back   Champions of Regnum > English > Technical Support > Linux

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 02-10-2010, 08:40 AM   #1
Mashu
Master
 
Mashu's Avatar
 
Join Date: Sep 2008
Location: Stockholm
Posts: 541
Mashu is an unknown quantity at this point
Question [FAQ] RegnumOnline GNU/Linux Debian/Ubuntu

  1. My card is not supported or too old.
    Quote:
    Originally Posted by Zarakaye View Post
    hi,
    i have follow this thread -> http://www.regnumonline.com.ar/forum...ad.php?t=31371
    build ----> succefull
    but when i try launch RO
    http://pix.toile-libre.org/upload/img/1265573076.png
    I have an intel 945G with intel driver
    thanks for help
    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.
  2. 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
  3. 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 &
  4. 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.
Mashu no ha iniciado sesión   Reply With Quote
Old 02-11-2010, 03:30 AM   #2
Arafails
Baron
 
Arafails's Avatar
 
Join Date: Nov 2007
Location: Not where it looks like, to either of us.
Posts: 706
Arafails will become famous soon enough
Default

The problems with PulseAudio are recently more likely to be caused by the ALSA dmix plugin (Which doesn't play well when applications want to keep the actual devices open, such as PulseAudio. Up until very recently, OpenAL would go for the alsa "default" device first by default - this is normally a dmix type, and certainly on Debian and Ubuntu).
Before removing PulseAudio you could try adding a file .alsoftrc to your home directory containing:
Code:
drivers=pulse,alsa
or, if that doesn't work,

Code:
drivers=alsa

[alsa]
device=hw:0
Of course you should also check that you actually have OpenALSoft installed first, because if you don't that's your first problem right there.
Typing the command in green into a terminal should yield the results in magenta
Code:
$ dpkg -l libopenal1 | grep ^ii | cut -d ' ' -f 1,3
ii libopenal1
__________________
If you can't detect sarcasm yourself, please pay attention when it's pointed out to you.
Arathael :: Wyrd Sceote :: Gwn M'gerSoul Taker, Imperial Guard of Ignis
Arafails no ha iniciado sesión   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:36 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
NGD Studios 2002-2024 © All rights reserved