PDA

View Full Version : ATI + REGNUM Problem Solved! (Ubuntu with free ATI drivers)


hong_kong_man
09-22-2007, 03:06 PM
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. :metal:

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 (http://ubuntuforums.org/showthread.php?t=487735)


GENERAL INSTRUCTIONS:

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

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

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:

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:

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

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

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/rscheidegger/dri_experimental/libtxc_dxtn070518.tar.gz
If you have Mesa 6.0, use this one - http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn060508.tar.gz
and after extracting, type in terminal:

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:

Driver "r200" is not installed or does not support configuration.

What should I do?

A2) This:

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

/usr/lib/dri/r200_dri.so
/usr/lib/libGL.so.1.2

Now, if Driconf still opens in 'expert mode', type this:

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:
http://ubuntuforums.org/showthread.php?t=487735
http://dri.freedesktop.org/wiki/DriConf
http://homepage.hispeed.ch/rscheideg...3tc_index.html (http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html)
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 (http://www.ubuntu-rs.org/forum/viewthread.php?tid=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! :biggrin:


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/

Anpu
09-22-2007, 04:14 PM
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 :)

Anpu
09-23-2007, 09:26 AM
If u have weird graphic after all these streps, download this library http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn070518.tar.gz (http://homepage.hispeed.ch/rscheidegger/dri_experimental/libtxc_dxtn070518.tar.gz)
and after extracting, type in terminal:
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 ;)

hong_kong_man
09-23-2007, 10:46 PM
Anpu - I seem to have problems doing that last one...

Anpu
09-24-2007, 09:08 AM
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.

hong_kong_man
09-25-2007, 01:34 AM
Yeah - I get this:

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 :biggrin:

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 :thumb_up:

~Jaimez

Anpu
09-25-2007, 10:12 AM
Step by step:
Instructions for installing Mesa 7.0.(1): http://ubuntuforums.org/showpost.php?p=2960650&postcount=3
download driconf sudo apt-get install driconf or go to http://people.freedesktop.org/~fxkuehl/driconf/driconf-0.9.1.tar.gz (http://people.freedesktop.org/%7Efxkuehl/driconf/driconf-0.9.1.tar.gz)
open driconf: driconf
if its open in expert mode, and in console window writes:Driver "r200" is not installed or does not support configuration., do:
sudo updatedb
locate r200_dri.so libGL.so.1.2
u should get smthg like this: /usr/lib/dri/r200_dri.so
/usr/lib/libGL.so.1.2
if its all ok, type: LIBGL_DEBUG=verbose glxinfo
i got smthg like this: 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: 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/rscheidegger/dri_experimental/libtxc_dxtn070518.tar.gz
in folder where u extracted it, type in terminal: make and after it 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:
http://ubuntuforums.org/showthread.php?t=487735
http://dri.freedesktop.org/wiki/DriConf
http://homepage.hispeed.ch/rscheidegger/dri_experimental/s3tc_index.html
for those who understands Serbian, this is link with problem and process of solving: http://www.ubuntu-rs.org/forum/viewthread.php?tid=2419&page=1Thx 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/ConfigurationInfrastructure

Have fun

Prometheus
09-26-2007, 10:29 PM
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

Angelwinged_Devil
09-27-2007, 02:35 PM
I demand sticky :D, or at least an ati sticky with links to relevant topics and guides. could be helpful to the ati users out there having trouble

hong_kong_man
09-30-2007, 03:45 PM
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.

hong_kong_man
10-12-2007, 10:11 PM
Is this going to get a sticky sometime soon? 'Cause I'm positive other people are having this same problem, and are looking for a solution.

Anpu
12-19-2008, 10:46 PM
This guide still applies even for 8.10, only few changes happen, like adding some mesa libraries for locating properly GL/gl.h while compiling library for making weird textures go away (last "make" in guide). I ll see to rewrite changes these days.
Its very useful topic still, add it to sticky :bounce5425:

ethil
06-17-2009, 06:53 PM
It seems to work perfectly on my ati x1550 :O
I suggest to set colour rounding method on "round to nearest colour" in Driconf settings>image quality and to add this PPA: https://launchpad.net/~ubuntu-x-swat/+archive/x-updates (you may also try this PPA that includes unstable software https://launchpad.net/~xorg-edgers/+archive/ppa)
:swordfight:

tommydrapeau
10-05-2009, 03:18 AM
Hi all
Thank for help
I have a notebook whit mandriva 2010 installed whit ati x1200.
First i have the message whit wrong video card.
I fix whit driconf, but now ..the game dont lunch.
now i install the little fix.
i cant entrer name and pass ..chose server and click lunch.
after the screen close normaly ..but the "cheking firewall" windows not apear
i read some post and dont find anything.
I make this for lauch game

#!/bin/sh
export MALLOC_CHECK_=1
/home/notebook/regnum/rolauncher
export MALLOC_CHECK_=0
#G_SLICE=always-malloc
#./rolauncher



and i have always this message
Saving backtrace to crash_backtrace_3879.log
Got SIGSEGV (segmentation fault)
whit inside
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x64) [0x7fa633ff35a4]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x8) [0x7fa633ff3a48]
/lib64/libc.so.6 [0x7fa6305ab5c0]
/usr/lib64/libGL.so.1(glFlush+0x7) [0x7fa62fdcf1f7


I try to reinstall ,safe mode and some adjust in config menu.

jabbabob
06-04-2010, 10:00 PM
Hi all
Thank for help
I have a notebook whit mandriva 2010 installed whit ati x1200.
First i have the message whit wrong video card.
I fix whit driconf, but now ..the game dont lunch.
now i install the little fix.
i cant entrer name and pass ..chose server and click lunch.
after the screen close normaly ..but the "cheking firewall" windows not apear
i read some post and dont find anything.
I make this for lauch game

#!/bin/sh
export MALLOC_CHECK_=1
/home/notebook/regnum/rolauncher
export MALLOC_CHECK_=0
#G_SLICE=always-malloc
#./rolauncher



and i have always this message
Saving backtrace to crash_backtrace_3879.log
Got SIGSEGV (segmentation fault)
whit inside
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x64) [0x7fa633ff35a4]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x8) [0x7fa633ff3a48]
/lib64/libc.so.6 [0x7fa6305ab5c0]
/usr/lib64/libGL.so.1(glFlush+0x7) [0x7fa62fdcf1f7


I try to reinstall ,safe mode and some adjust in config menu.

I have this same exact prob - did you get this working by any chance? Also, x1200 - I am able to get to screen to select faction but after selecting faction it crashes on me. With segfault and same backlog dump.

tommydrapeau
06-05-2010, 12:41 AM
I stop play game anyway. But i find the reason.
ATI X1200 driver in ubuntu is a opensource drivers.
This opensource drivers does't support the open gl 2.0 (someting like this)

Solution is install Real ATI drivers form the ATI site but ATI doesn't support x1200 for
the newest distrib.

But now ..maybe
read this
https://help.ubuntu.com/community/RadeonDriver
or this
https://help.ubuntu.com/community/BinaryDriverHowto/ATI

Good luck

Mashu
06-05-2010, 05:47 AM
This is old issue, I wonder why you needed to enable TS3C.
Imho no driconf is required mesa finds and loads library by default when its installed.

Realy NGD should put info for linux users on their website, that S3 textute compresion is needed along with latest mesa if You use open-source drivers, so the topic is not being repeated over and over.