English
This forum is closed for posting. Please, join us in our Discord server at discord.gg/regnum. See you there!

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

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 09-22-2007, 03:06 PM   #1
hong_kong_man
Pledge
 
hong_kong_man's Avatar
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 14
hong_kong_man is on a distinguished road
Lightbulb ATI + REGNUM Problem Solved! (Ubuntu with free ATI drivers)

I have found a quite simple fix for the "Unsupported Video Card" Error while using an ATI graphics card under Ubuntu 7.04 running the FREE Open-Source ATI Driver.

Instructions are as follows:


You may want to download and install Mesa 7.0.1.
The instructions are here:
http://ubuntuforums.org/showpost.php?p=2960650&postcount=3



GENERAL INSTRUCTIONS:


1) Install package "driconf" from Synaptic, or use the following code below in Terminal:

Code:
sudo apt-get install driconf
2) After "driconf' is installed successfully, run this command:

Code:
driconf
3) Once driconf is loaded, navigate to the "Image quality" tab and select the 'Enable S3TC texture...' to 'Yes'.

4) Save your settings and close.

5) Install RegnumLX if you haven't already done so. Skip to Step 6 if it is already installed. Otherwise, use this code to get it:

Code:
mkdir regnum
cd regnum
wget http://www.regnumonline.com.ar/downloads/files/rolauncher.tar.gz
tar xfz rolauncher.tar.gz
rm rolauncher.tar.gz
chmod +x rolauncher
6) Run RegnumLX by double-clicking on the 'rolauncer' icon or by this command:

Code:
./rolauncher
7) Have fun with the Open-Source Drivers in Ubuntu! (And with Regnum, of course )

----------------------------------

TROUBLESHOOTING:

Q1) I have weird graphic errors. What should I do?

A1) If you have weird graphic errors after all these steps, download one of these libraries:
If you have Mesa 7.0, use this one - http://homepage.hispeed.ch/rscheideg...n070518.tar.gz
If you have Mesa 6.0, use this one - http://homepage.hispeed.ch/rscheideg...n060508.tar.gz
and after extracting, type in terminal:

Code:
make
sudo make install
After that, open 'driconf' in Terminal and disable the 'Enable S3TC Compression...' option. Save and exit.
That will fix graphic problem not only in Regnum but in other games too, one reported is Eternal Lands.
This library will engage S3TC compression, so dont worry, Regnum should work.

--------------------------------

Q2) I open Driconf, and it opens it expert mode, and in console window writes:

Code:
Driver "r200" is not installed or does not support configuration.
What should I do?

A2) This:

Code:
sudo updatedb
locate r200_dri.so libGL.so.1.2
You should get this:

Code:
/usr/lib/dri/r200_dri.so
 /usr/lib/libGL.so.1.2
Now, if Driconf still opens in 'expert mode', type this:

Code:
cd /usr/X11R6/lib
sudo mkdir modules
cd /usr/X11R6/lib/modules
sudo mkdir dri
sudo cp /usr/lib/dri/r200_dri.so /usr/X11R6/lib/modules/dri
After this, driconf should open in expert mode, if it doesn't, then you have a problem.

If driconf opens normally, select 'enable s3tc compression' and Regnum will start fine.

---------------------------------

Useful links:
  1. http://ubuntuforums.org/showthread.php?t=487735
  2. http://dri.freedesktop.org/wiki/DriConf
  3. http://homepage.hispeed.ch/rscheideg...3tc_index.html
  4. for those who understands Serbian, this is link with problem and process of solving: http://www.ubuntu-rs.org/forum/viewt...id=2419&page=1




Now, I, Jaimez, personally have NOT tested this yet actually in-game, all I know so far is that the laucher loads without any errors. I am using the ATI Radeon All-In-Wonder 9800 PRO, and I have used only this card.

DO NOT complain to me if you do not have exactly as I do, because I know absolutely nothing about it :P



Thank You!


Contributions to this FAQ and Tutorial by: hong_kong_man, Anpu, Ubuntu Serbia, and Smoki.



~~~~
Ennon Galita-Shamoi (Regnum Char)
~~~~
Jaimez Bling (Real Name)

OmegaElheats Entertainment, Ltd.
Chairman
http://omegaelheats.awardspace.com/
__________________
Now remember, I do my best work when I'm being worshiped as a god.

You! Off my planet!
I like cats, too. Let's exchange recipes.
Chaos, panic, & disorder - my work here is done.


Last edited by hong_kong_man; 09-30-2007 at 03:44 PM. Reason: updating
hong_kong_man no ha iniciado sesión   Reply With Quote
Old 09-22-2007, 04:14 PM   #2
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

DRIconf is a configuration applet for the Direct Rendering Infrastructure.
For older cards, like 9250 or less, download and install Mesa 7.0.1.
Instruction here:
http://ubuntuforums.org/showthread.php?t=487735

After, download driconf and enable s3tc compression. And Regnum will work
__________________

Inquisition
Anpu no ha iniciado sesión   Reply With Quote
Old 09-23-2007, 09:26 AM   #3
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

If u have weird graphic after all these streps, download this library http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn070518.tar.gz
and after extracting, type in terminal:
Code:
make 
sudo make install
After that, type driconf and disable in driconf s3tc compression.
That will fix graphic problem not only in Regnum but in other games too (in my case Eternal Lands).
This library will engage s3tc compression, so dont worry, Regnum will work
__________________

Inquisition
Anpu no ha iniciado sesión   Reply With Quote
Old 09-23-2007, 10:46 PM   #4
hong_kong_man
Pledge
 
hong_kong_man's Avatar
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 14
hong_kong_man is on a distinguished road
Default

Anpu - I seem to have problems doing that last one...
__________________
Now remember, I do my best work when I'm being worshiped as a god.

You! Off my planet!
I like cats, too. Let's exchange recipes.
Chaos, panic, & disorder - my work here is done.

hong_kong_man no ha iniciado sesión   Reply With Quote
Old 09-24-2007, 09:08 AM   #5
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

Problems when u installed library? Oh and forgot to tell, do not install packages from Synaptic! Well if u want, I ll put here all commands and links I used to make Regnum work perfectly with Ati 9250 (R200), step by step.
__________________

Inquisition
Anpu no ha iniciado sesión   Reply With Quote
Old 09-25-2007, 01:34 AM   #6
hong_kong_man
Pledge
 
hong_kong_man's Avatar
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 14
hong_kong_man is on a distinguished road
Default

Yeah - I get this:

Code:
jacob@jacob-ubuntu:~/Downloads/libtxc_dxtn$ make
cc -Wall -pedantic -fPIC -O3 -c -o txc_compress_dxtn.o txc_compress_dxtn.c
txc_compress_dxtn.c:25:19: error: stdio.h: No such file or directory
txc_compress_dxtn.c:26:20: error: stdlib.h: No such file or directory
In file included from txc_compress_dxtn.c:27:
txc_dxtn.h:25:19: error: GL/gl.h: No such file or directory
In file included from txc_compress_dxtn.c:27:
txc_dxtn.h:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘GLchan’
txc_dxtn.h:35: error: expected ‘)’ before ‘srcRowStride’
txc_dxtn.h:36: error: expected ‘)’ before ‘srcRowStride’
txc_dxtn.h:37: error: expected ‘)’ before ‘srcRowStride’
txc_dxtn.h:38: error: expected ‘)’ before ‘srcRowStride’
txc_dxtn.h:40: error: expected ‘)’ before ‘srccomps’
txc_compress_dxtn.c:37: error: expected ‘)’ before ‘*’ token
txc_compress_dxtn.c:229: error: expected ‘)’ before ‘*’ token
txc_compress_dxtn.c:347: error: expected ‘)’ before ‘*’ token
txc_compress_dxtn.c:402: error: expected ‘)’ before ‘*’ token
txc_compress_dxtn.c:415: error: expected ‘)’ before ‘*’ token
txc_compress_dxtn.c:737: error: expected ‘)’ before ‘srcpixels’
txc_compress_dxtn.c:753: error: expected ‘)’ before ‘srccomps’
make: *** [txc_compress_dxtn.o] Error 1
Now, I'm not some uber-expert on this - but i believe something's wrong

I've never used the 'make' command before, so I don't know.


Otherwise, if you want to post what you and some troubleshooting stuff - great, I'll just edit and add it to my post

~Jaimez
__________________
Now remember, I do my best work when I'm being worshiped as a god.

You! Off my planet!
I like cats, too. Let's exchange recipes.
Chaos, panic, & disorder - my work here is done.

hong_kong_man no ha iniciado sesión   Reply With Quote
Old 09-25-2007, 10:12 AM   #7
Anpu
Count
 
Anpu's Avatar
 
Join Date: Jun 2007
Posts: 1,186
Anpu will become famous soon enough
Default

Step by step:
  • Instructions for installing Mesa 7.0.(1): http://ubuntuforums.org/showpost.php...50&postcount=3
  • download driconf
    Code:
    sudo apt-get install driconf
    or go to http://people.freedesktop.org/~fxkuehl/driconf/driconf-0.9.1.tar.gz
  • open driconf:
    Code:
    driconf
  • if its open in expert mode, and in console window writes:
    Quote:
    Driver "r200" is not installed or does not support configuration.
    , do:
  • Code:
    sudo updatedb
  • Code:
    locate r200_dri.so libGL.so.1.2
  • u should get smthg like this:
    Quote:
    /usr/lib/dri/r200_dri.so
    /usr/lib/libGL.so.1.2
  • if its all ok, type:
    Code:
    LIBGL_DEBUG=verbose glxinfo
  • i got smthg like this:
    Code:
    name of display: :0.0
    libGL warning: 3D driver claims to not support visual 0x4b
    display: :0  screen: 0
    direct rendering: Yes
    server glx vendor string: SGI
    server glx version string: 1.2
    server glx extensions:
        GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
        GLX_OML_swap_method, GLX_SGI_make_current_read, GLX_SGI_swap_control,
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
    client glx vendor string: SGI
    client glx version string: 1.4
    client glx extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
        GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
        GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
        GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
        GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
        GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
    GLX version: 1.2
    GLX extensions:
        GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
        GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
        GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
        GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_SGI_make_current_read,
        GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
        GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
    OpenGL vendor string: Tungsten Graphics, Inc.
    OpenGL renderer string: Mesa DRI R200 20060602 AGP 1x x86/MMX+/3DNow!+/SSE2 TCL
    OpenGL version string: 1.3 Mesa 7.0.1
    OpenGL extensions:
        GL_ARB_imaging, GL_ARB_multisample, GL_ARB_multitexture,
        GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_texture_border_clamp,
        GL_ARB_texture_compression, GL_ARB_texture_cube_map,
        GL_ARB_texture_env_add, GL_ARB_texture_env_combine,
        GL_ARB_texture_env_crossbar, GL_ARB_texture_env_dot3,
        GL_ARB_texture_mirrored_repeat, GL_ARB_texture_rectangle,
        GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
        GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
        GL_EXT_blend_color, GL_EXT_blend_equation_separate,
        GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
        GL_EXT_clip_volume_hint, GL_EXT_compiled_vertex_array, GL_EXT_convolution,
        GL_EXT_copy_texture, GL_EXT_draw_range_elements, GL_EXT_fog_coord,
        GL_EXT_histogram, GL_EXT_packed_pixels, GL_EXT_point_parameters,
        GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
        GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_subtexture,
        GL_EXT_texture, GL_EXT_texture3D, GL_EXT_texture_compression_s3tc,
        GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
        GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
        GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
        GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
        GL_EXT_texture_rectangle, GL_EXT_vertex_array, GL_APPLE_packed_pixels,
        GL_ATI_blend_equation_separate, GL_ATI_texture_env_combine3,
        GL_ATI_texture_mirror_once, GL_ATI_fragment_shader, GL_IBM_rasterpos_clip,
        GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
        GL_MESA_pack_invert, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
        GL_NV_blend_square, GL_NV_light_max_exponent, GL_NV_texture_rectangle,
        GL_NV_texgen_reflection, GL_OES_read_format, GL_SGI_color_matrix,
        GL_SGI_color_table, GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
        GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod
    
       visual  x  bf lv rg d st colorbuffer ax dp st accumbuffer  ms  cav
     id dep cl sp sz l  ci b ro  r  g  b  a bf th cl  r  g  b  a ns b eat
    ----------------------------------------------------------------------
    0x23 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x24 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x25 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
    0x26 24 tc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
    0x27 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x28 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x29 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
    0x2a 24 tc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
    0x2b 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x2c 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x2d 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
    0x2e 24 dc  0 32  0 r  y  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
    0x2f 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8  0  0  0  0  0 0 None
    0x30 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0  0  0  0  0  0 0 None
    0x31 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  8 16 16 16 16  0 0 Slow
    0x32 24 dc  0 32  0 r  .  .  8  8  8  8  0 24  0 16 16 16 16  0 0 Slow
    0x4b 32 tc  0 32  0 r  .  .  8  8  8  8  0  0  0  0  0  0  0  0 0 Ncon
  • if driconf still opens in expert mode, then it must be that configs/default is not well/at all edited.
  • do this:
    Code:
    cd /usr/X11R6/lib
     sudo mkdir modules
     cd /usr/X11R6/lib/modules
     sudo mkdir dri
     sudo cp /usr/lib/dri/r200_dri.so /usr/X11R6/lib/modules/dri
  • after this, driconf will be open in normal mode. Engage it s3tc compression and start Regnum
  • if graphic is weird in game, for example, red/green rocks, half of bow shown, effects like green square etc, do next:
  • download this library: http://homepage.hispeed.ch/rscheideg...n070518.tar.gz
  • in folder where u extracted it, type in terminal:
    Code:
    make
    and after it
    Code:
    make install
  • after this step, run driconf and turn off s3tc compression.
  • try game, it should completely fix graphic, not only in Regnum but in other games too (like Eternal Lands)
Useful links:
  1. http://ubuntuforums.org/showthread.php?t=487735
  2. http://dri.freedesktop.org/wiki/DriConf
  3. http://homepage.hispeed.ch/rscheideg...3tc_index.html
  4. for those who understands Serbian, this is link with problem and process of solving: http://www.ubuntu-rs.org/forum/viewt...id=2419&page=1
Thx again to Ubuntu Serbia, and user Smoki.
Hope this will help u.
NOTE: my card is ATI 9250 (r200)
If u re not sure about your card, check this link and read all under DEVICES (scroll bit down):
http://dri.freedesktop.org/wiki/Conf...Infrastructure

Have fun
__________________

Inquisition

Last edited by Anpu; 09-27-2007 at 02:46 PM.
Anpu no ha iniciado sesión   Reply With Quote
Old 09-26-2007, 10:29 PM   #8
Prometheus
Pledge
 
Prometheus's Avatar
 
Join Date: Jul 2007
Posts: 19
Prometheus is on a distinguished road
Default

Quote:
Originally Posted by hong_kong_man
txc_compress_dxtn.c:25:19: error: stdio.h: No such file or directory
txc_compress_dxtn.c:26:20: error: stdlib.h: No such file or directory
txc_dxtn.h:25:19: error: GL/gl.h: No such file or directory
You don't have the required -dev libraries installed. You at least need the build-essential package (or it's dependencies):

sudo apt-get install build-essential mesa-common-dev

These are the required packages for Debian though, it may be a bit different on Ubuntu.

HTH
Prometheus no ha iniciado sesión   Reply With Quote
Old 09-27-2007, 02:35 PM   #9
Angelwinged_Devil
Banned
 
Angelwinged_Devil's Avatar
 
Join Date: Feb 2007
Location: Under your skin Posts: 1337
Posts: 2,490
Angelwinged_Devil is on a distinguished road
Default

I demand sticky , or at least an ati sticky with links to relevant topics and guides. could be helpful to the ati users out there having trouble
Angelwinged_Devil no ha iniciado sesión   Reply With Quote
Old 09-30-2007, 03:45 PM   #10
hong_kong_man
Pledge
 
hong_kong_man's Avatar
 
Join Date: Jul 2007
Location: Wisconsin, USA
Posts: 14
hong_kong_man is on a distinguished road
Default

yes, a sticky would be nice, considering that it took a long time for me to find out how to get Regnum to work

this thread would give a quick answer to other users.
__________________
Now remember, I do my best work when I'm being worshiped as a god.

You! Off my planet!
I like cats, too. Let's exchange recipes.
Chaos, panic, & disorder - my work here is done.

hong_kong_man no ha iniciado sesión   Reply With Quote
Reply

Tags
linux ati, linux howto

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 11:03 AM.


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