View Full Version : RO Segfault
onemyndseye
02-03-2009, 10:17 AM
It is as I feared.. and posted about. With the comming update (this morning) I will no longer be able to play regnum until/unless this segfault can be fixed.
Plenty of tech info detailed here: http://regnumonlinegame.com/forum/showthread.php?t=36106
Goodbye for now guyz - nice playing with ya
-onemyndseye
*** Syrtis lvl50 Hunter: Elusis
Hally
02-03-2009, 09:55 PM
I do experience the same problem.
Hope that it could be fixed...
Mashu
02-03-2009, 10:12 PM
Crash also here, worked before --> REGRESSION
Also goodbye when this wont be fixed
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x5c) [0x7f0a5478ad6c]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x8) [0x7f0a5478af58]
/lib/libc.so.6 [0x7f0a50d80f60]
/usr/lib/libGL.so.1(glFlush+0x7) [0x7f0a50608757]
imefisto_foro
02-04-2009, 02:45 AM
Same here (Gentoo).
I've tried upgrading glibc (from 2.6.1 to 2.9_p20081201-r1) but nothing happens
backtrace:
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d862a9]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d8657b]
[0xffffe420]
//usr//lib/opengl/xorg-x11/lib/libGL.so.1 [0xb6f00f36]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL20init_ graphics_systemEiiibb+0xc26) [0xb7705566]
libs/libcommon_entities.so(_ZN13DisplayEntity15creation _notifyEP7Message+0x4bc) [0xb7bee07c]
libs/libentity_system.so(_ZN13EntityManager32initialize _entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x 483) [0xb7577893]
libs/libregnum_client.so(_ZN10GameClient19initialize_en titiesEv+0x2af) [0xb7f08c1f]
libs/libregnum_client.so(_ZN10GameClient4initEiPPc+0x87 6) [0xb7f0bd06]
libs/libregnum_client.so(_ZN10GameClientC1EiPPc+0xf3) [0xb7f0ca73]
./game(main+0x259) [0x8048fc9]
/lib/libc.so.6(__libc_start_main+0xdc) [0xb70160dc]
./game(__gxx_personality_v0+0x61) [0x8048c71]
linearguild
02-04-2009, 04:01 AM
I'm on a Gentoo system too, but not segfaulting. (The updates are taking forever to load for me, but that's an entirely different problem. :D)
imefisto, the stack trace points to a problem in OpenGL, not glibc. /usr/lib/opengl/xorg-x11/lib/libGL.so.1 belongs to media-libs/mesa, so what version of that are you using?
My own setup is:
Linux gentoo 2.6.28-gentoo-r1 #2 SMP Wed Jan 28 01:47:02 UTC 2009 x86_64 AMD Turion(tm) X2 Dual-Core Mobile RM-70 AuthenticAMD GNU/Linux
Available OpenGL implementations:
[1] ati *
[2] xorg-x11
[ebuild R ] x11-drivers/ati-drivers-8.561 USE="acpi -debug" 0 kB
imefisto_foro
02-04-2009, 04:07 AM
I'm on a Gentoo system too, but not segfaulting. (The updates are taking forever to load for me, but that's an entirely different problem. :D)
imefisto, the stack trace points to a problem in OpenGL, not glibc. /usr/lib/opengl/xorg-x11/lib/libGL.so.1 belongs to media-libs/mesa, so what version of that are you using?
My own setup is:
Thanks, for your answer. Here is my setup:
Available OpenGL implementations:
[1] xorg-x11 *
* media-libs/mesa
Latest version available: 7.2
Latest version installed: 7.2
Linux localhost 2.6.21.5 #6 SMP PREEMPT Thu May 1 18:31:58 ART 2008 i686 Genuine Intel(R) CPU T2080 @ 1.73GHz GenuineIntel GNU/Linux
imefisto_foro
02-04-2009, 05:40 AM
Hi. I've tried upgrading mesa from 7.2 to 7.3 and the game start. However it run slow. I'll upgrade xorg-server and xf86-video-intel. I'll post here my results.
Cya
Bardar
02-04-2009, 06:58 AM
I'm running ubuntu, and my regnum occasionaly crashes because of memory usage getting higher and higher from the memory leaks in regnum. I havn't tried the update yet, will do now, but I'm guessing the same thing will happen but much more often and I'm guessing the only way to fix it is by upgrading the RAM or NGD to fix the memory hogging issues. Wild guess, will try regnum now...
works good for me. :D
onemyndseye
02-04-2009, 07:00 AM
Jaunty has mesa 7.3 and the problem persists for me there as well :(
I may try getting mesa 7.3 into Ibex and testing but my feeling is that it wont make a difference for me.
Glad to hear Im not the only one with this problem though :) (and sorry for the guys that also cannot play)
onemyndseye
02-04-2009, 07:31 AM
No joy on mesa 7.3 + Ibex :(
Backtrace
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d9a2a9]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d9a57b]
[0xb7fa6400]
/usr/lib/libGL.so.1 [0xb6ee7ed6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL20init_ graphics_systemEiiibb+0xc26) [0xb7718566]
libs/libcommon_entities.so(_ZN13DisplayEntity15creation _notifyEP7Message+0x4bc) [0xb7c0207c]
libs/libentity_system.so(_ZN13EntityManager32initialize _entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x 483) [0xb758b893]
libs/libregnum_client.so(_ZN10GameClient19initialize_en titiesEv+0x2af) [0xb7f1cc1f]
libs/libregnum_client.so(_ZN10GameClient4initEiPPc+0x87 6) [0xb7f1fd06]
libs/libregnum_client.so(_ZN10GameClientC1EiPPc+0xf3) [0xb7f20a73]
./game(main+0x259) [0x8048fc9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7001685]
./game(__gxx_personality_v0+0x61) [0x8048c71]
Last entries for log.txt before crash
[04/02/2009 00:30:25] [RenderizerGL][renderizer_gl_x11.cpp(214)] X Server vendor: The X.Org Foundation
[04/02/2009 00:30:25] [RenderizerGL][renderizer_gl_x11.cpp(218)] X Server release: 1.5.2
[04/02/2009 00:30:25] [RenderizerGL][renderizer_gl.cpp(380)] Got a 24 bit visual (33) with a 24 bit depth buffer
[04/02/2009 00:30:25] [RenderizerGL][renderizer_gl.cpp(412)] Resolutions: 1400x1050x16 1280x1024x16 1280x960x16 1360x768x16 1152x864x16 1024x768x16 800x600x16
mesa versioning info
server glx version string: 1.2
client glx version string: 1.4
GLX version: 1.2
OpenGL version string: 1.3 Mesa 7.3
and glxinfo
name of display: :0.0
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_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_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 4x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.3
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_logic_op, 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_multi_draw_arrays, 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_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, 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, GL_SUN_multi_draw_arrays,
GL_S3_s3tc
3 GLX Visuals
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
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x4a 32 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
16 GLXFBConfigs:
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
----------------------------------------------------------------------
0x4b 0 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x4c 0 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x4d 0 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x4e 0 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x4f 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x50 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x51 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x52 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x53 0 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x54 0 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x55 0 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x56 0 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x57 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x58 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x59 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x5a 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
A word from the dev's would be nice here... atleast some pointers on what to look at
Mashu
02-04-2009, 10:18 AM
Here mesa master git, but the only thing that changed was RO since it started crashing.
I tried to checkout older mesa commits but problem still exist so this is definitely something not implemented which should be skiped in safe mode or game regression.
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090114
OpenGL version string: 2.1 Mesa 7.5-devel
OpenGL shading language version string: 1.10
Also same log.txt
[04/02/2009 09:41:00] [RenderizerGL][renderizer_gl_x11.cpp(214)] X Server vendor: The X.Org Foundation
[04/02/2009 09:41:00] [RenderizerGL][renderizer_gl_x11.cpp(218)] X Server release: 1.6.99
[04/02/2009 09:41:00] [RenderizerGL][renderizer_gl.cpp(380)] Got a 24 bit visual (33) with a 24 bit depth buffer
[04/02/2009 09:41:00] [RenderizerGL][renderizer_gl.cpp(412)] Resolutions: 1280x800x16 1024x768x16 832x624x16 800x600x16
and same segfault
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x5c) [0x7fe5afe18d6c]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x8) [0x7fe5afe18f58]
/lib/libc.so.6 [0x7fe5ac40ef60]
/usr/lib/libGL.so.1(glFlush+0x7) [0x7fe5abc968e7]
imefisto_foro
02-05-2009, 05:13 AM
Finally, I could enter the game
I did upgrade my system (xorg-server, xf86-video-intel, Mesa (in that order and with respectives dependences)).
It took me several hours. my system was very messy but now the game runs fine.
Now I'm using:
xorg-server: 1.5.3-r1
xf86-video-intel-2.6.1
Mesa 7.3
I hope you can do it. If you need something (logs, configs) ask me and I'll try to answer (with my horrible english :juggle:)
Hally
02-05-2009, 12:39 PM
These are very great news !
The trouble is that as a linux beginner I may need some help ... Indeed I dont even know where to look at the versions of xorg or mesa stuffs !
Can anybody help me ?
I am on Ubuntu 8.10.
imefisto_foro
02-05-2009, 06:35 PM
Hi Mashu.
I respond your pm:
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
Versions of my upgrade:
Now I'm using:
xorg-server: 1.5.3-r1
xf86-video-intel-2.6.1
Mesa 7.3
These are very great news !
The trouble is that as a linux beginner I may need some help ... Indeed I dont even know where to look at the versions of xorg or mesa stuffs !
Can anybody help me ?
I am on Ubuntu 8.10.
I don't use Ubuntu but I've found this page, maybe it can help you:
Ubuntu Forums (http://ubuntuforums.org/showthread.php?t=241254)
Buena suerte! Let us know if you have successfull
Mashu
02-06-2009, 12:21 PM
GNU/Linux Debian Sid and GM965 users can play with experimental packages
xserver-xorg-video-intel 2:2.6.1-1
xserver-xorg-core 2:1.5.99.902-1
libglu1-mesa 7.3-1
libgl1-mesa-dri 7.3-1
libgl1-mesa-glx 7.3-1
linux-image-2.6.29-rc3 <-- custom build from drm-intel-next git tree 04.02.09 with KMS disabled, kernels >= 2.6.28 are fine imho
xorg.conf:
Section "Device"
...
Option "AccelMethod" "UXA"
EndSection
Game works fine, does not crash.
I will try to bisect current mesa tree to find the reason what triggers a SIGSEGV.
Hally
02-06-2009, 09:13 PM
I have to say I really dont know what to do to try to play again. I have tried to understand how to upgrade xorg, mesa and so, but the I realized that my understandings of all of this is so poor that I cant try anything. The only thing I'm good in is as a linux beginner is to install some official packages an so ...
It would be so nice if anybody could tell me more precisely what to do ! I mean, how do I install the right packages ?
My config is :
ubuntu 8.10
Intel GMA 945
imefisto_foro
02-06-2009, 11:00 PM
I have to say I really dont know what to do to try to play again. I have tried to understand how to upgrade xorg, mesa and so, but the I realized that my understandings of all of this is so poor that I cant try anything. The only thing I'm good in is as a linux beginner is to install some official packages an so ...
It would be so nice if anybody could tell me more precisely what to do ! I mean, how do I install the right packages ?
My config is :
ubuntu 8.10
Intel GMA 945
Hi. I don't use Ubuntu but I've found a link with some explanations (step by step) about the process:
http://ubuntuforums.org/showthread.php?t=487735
It is about Mesa 7.0.1 but I guess you can do the same with Mesa 7.3
It would be great if some ubuntu's user came and help us.
Let us know if you make some progress.
Spanish thread with the same subject
(http://www.regnumonline.com.ar/forum/showthread.php?t=36960)
suerte!
Hally
02-07-2009, 12:16 AM
Thank you for your answer.
I tried to follow the step by step procedure, but it unfortunately failded.
The compilation of linux-dri-x86 generate plent of errors like
dri2.h:37:39: error: X11/extensions/dri2tokens.h: no such a file or directory
imefisto_foro
02-07-2009, 12:57 AM
Thank you for your answer.
I tried to follow the step by step procedure, but it unfortunately failded.
The compilation of linux-dri-x86 generate plent of errors like
dri2.h:37:39: error: X11/extensions/dri2tokens.h: no such a file or directory
Do you have 32bits or 64bits system?
I'm asking for help in spanish thread for someone with some experience in ubuntu. Be patient
Mashu
02-07-2009, 09:41 AM
Hi. I don't use Ubuntu but I've found a link with some explanations (step by step) about the process:
http://ubuntuforums.org/showthread.php?t=487735
[/URL]
Mesa in current version use autotools and this is for 7.0.2 so above link is outdated.
If you're using intel check more up-to-date guide http://intellinuxgraphics.org/install.html
There are lots of valuable links how to install latest OpenGL drivers.
Mentioned missing file is included with dri2proto for example on Debian
x11proto-dri2-dev: /usr/include/X11/extensions/dri2tokens.h
or on freedesktop
git clone git://anongit.freedesktop.org/xorg/proto/dri2proto
but I bet you will meet more dependences.
What you can do on your own risk(possibility of losing desktop) is trying to install only mesa and dependences from Ubuntu Jaunty
According to this they already have mesa 7.3rc1
https://launchpad.net/ubuntu/+source/mesa/7.3~rc3-1ubuntu2
You can also google for "Ubuntu Jaunty repo's" add them to package manager. If you use synaptic manager it can do that, I dont know what Ubuntu is using.
I pasted repos here http://codepad.org/4J0JFTpW
If you don't know how to deal with problems that probably will occur, don't do that, just wait for stable release or ask at irc.freenode.org #ubuntu but at first the most important google and mailing lists are your best friends.
This thread is about game problems, not how to use Ubuntu.
There is a lot of documentation On-line for Ubuntu.
Hally
02-07-2009, 04:48 PM
Thank you for your help !
I m so sorry to spam this thread with how-to-install complicated tester's and developper's tools :/ ... I have been playing RO for more than one year, without wondering wheter I could manage to run it on my computer even though im not a expert in linux. Since the new version of RO has came up, it seems that some of us need to be some kind of experts to make the game starts again, which is a little annoying, isn't it ?
Anyway, after several hours of rather hard time, I finally succeeded in upgrading :
xorg-server 1.5.3
mesa 7.3
thanks to this repos : https://launchpad.net/~xorg-edgers/+archive/ppa
However I could not manage yet to upgrade the Intel driver to 2.6.1 (the one I use seems to be 2.6.0)
I guess this is why the seg faulf persists.
Randall29
02-07-2009, 07:08 PM
Same problem here.
Intel GMA 945, Ubuntu 8.10, and the same stupid segfault once the client exits.
Would not try Hally's repository (no offense, but they really seem to be geared towards testers, and testers only... My X server is pretty crucial for me, hence I won't try this repo), but I am willing to try every single solution that any of you guys can submit.
Thanks for your help!
(PS: Hally, ici Eldroth, du forum francophone... Je ne désespère pas de trouver une solution, mais pour l'instant, aucune piste non plus...)
Mashu
02-08-2009, 10:10 AM
RO works even with
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090114
OpenGL version string: 2.1 Mesa 7.5-devel
but all OpenGL apps produce errors like those
DISPATCH ERROR! _glapi_add_dispatch failed to add glBlitFramebuffer!
DISPATCH ERROR! _glapi_add_dispatch failed to add glGenerateMipmap!
DISPATCH ERROR! _glapi_add_dispatch failed to add glRenderbufferStorage!
....etc...
This is really strange, installing intel driver from git, mesa from git
cause that RO works pretty fast 27-30fps like it should but I get mentioned errors.
On the another hand when I install git Xorg those errors disapear other OpenGL games like nexuiz, open-arena work nicely but RO crashes.
I can reproduce this RO crashing with latest intel driver as well, so as far all we know is that RO works only with special xorg/mesa/intel combination.
In repo mentioned by Hally (https://launchpad.net/~xorg-edgers/+archive/ppa) there is 2.6.1 intel driver, latest xorg and mesa, would be nice to know if upgrading 2d driver (xf86-intel) fix the problem and what happens after installing mesa and xorg?
SIGSEGV points to mesa but I tried bisecting mesa from 7.3 to master with no luck. imho problem lays between xorg and mesa interaction.
More verbose crash log from RO would be great in this case.
What exactly trigger this failure.
Hally
02-08-2009, 12:53 PM
In repo mentioned by Hally (https://launchpad.net/~xorg-edgers/+archive/ppa) there is 2.6.1 intel driver, latest xorg and mesa, would be nice to know if upgrading 2d driver (xf86-intel) fix the problem and what happens after installing mesa and xorg?
I have upgrade the intel driver to version 2.6.1
With xorg-server 1.5.3, xorg-video-intel 2.6.1 and mesa 7.3 the same segfault again ...
Hally
02-08-2009, 01:03 PM
I upgraded to Mesa 7.4
Same segfault again.
I have to mentionned that since I have uograded xorg to 1.5, I got this new warning everytimes I try to launch RO or type glxinfo :
Failed to initialize GEM. Falling back to classics.
I did not find any issue or information on that error ... and everything work pretty good except RO.
Mashu
02-08-2009, 07:56 PM
I upgraded to Mesa 7.4
Same segfault again.
I have to mentionned that since I have uograded xorg to 1.5, I got this new warning everytimes I try to launch RO or type glxinfo :
I did not find any issue or information on that error ... and everything work pretty good except RO.
To be able to use GEM you need latest libdrm >= 2.4.3 and most importantly linux kernel >= 2.6.28 !! which has correct i915.ko module with GEM code.
Hally
02-08-2009, 10:02 PM
Thanks for the tip ! The error has disappeared.
The segfault of RO persists however ...
Tiberia
02-09-2009, 06:04 AM
Hally, i have the same problem, that segmentation failure. The only meantime solution that i found, was running the game under Wine. It works fine, i have only minor problems of texture, but it doesn't bothers me. And one more issue that is lag, but im not sure that's because running under wine, i think that the problem is the RO server. Hope that this helps you.
onemyndseye
02-09-2009, 06:58 AM
I can reproduce this RO crashing with latest intel driver as well, so as far all we know is that RO works only with special xorg/mesa/intel combination.
Add ATI to that list as well..
I can reproduce this issue on 6 various models of ATI cards and 4 different distro's and versions (Ibex and Jaunty, Arch, Debian, OpenSUSE) using the open source drivers.. I suspect but have not tested... that ATI users that can use fglrx are not having this problem. Hrmm... I wonder about NVIDIA using open source ...?..
Not to be rude but its really starting to steam me that we have not heard from the developers about this problem.. its obvious now that it is not just a isolated case...
This affects RO for me in a large manner.. Me, my wife and my son ALL play regnum and now only 1 PC in my house will run it... that means we can no longer play together as a family -- which consequently means that I can no longer justify the $100's of dollars I have spent over the past year+ in premium content.. If this is how I'll be treated as a long standing CUSTOMER I'd think my money would be best spent elsewhere.
I'm not asking for a miracle fix.. just a "Hey man - we are looking into it" would be fantastic.
reguards,
-onemyndseye
*** EDIT: I have now filled a bug report with the developers. Perhaps we'll get some feedback to this problem ***
onemyndseye
02-09-2009, 08:58 AM
Quick update from my end.
On Ibex I have now installed the following packages:
xserver-xorg-core 1.5.99.902
xserver-xorg 7.4
xserver-xorg-video-ati 6.10.0.99+git20090208
xserver-xorg-video-radeon 6.10.0.99+git20090208
mesa* 7.3+git20090207+mesa-7-4-branch.7e8f2c56-0ubuntu0tormod (7.4)
linux kernel 2.6.28-6
Mostly from Tormod Volden's PPA (https://launchpad.net/~tormodvolden/+archive/ppa)
With no change in the status of RO:
onemyndseye@onemyndsmobile:~/regnum$ ./rolauncher
onemyndseye@onemyndsmobile:~/regnum$ Saving backtrace to crash_backtrace_7281.log
Got SIGSEGV (segmentation fault)
crash_backtrace_7281.log
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d592a9]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d5957b]
[0xb7f4b400]
/usr/lib/libGL.so.1 [0xb6ea2ed6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL20init_ graphics_systemEiiibb+0xc26) [0xb76d7566]
libs/libcommon_entities.so(_ZN13DisplayEntity15creation _notifyEP7Message+0x4bc) [0xb7bc107c]
libs/libentity_system.so(_ZN13EntityManager32initialize _entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x 483) [0xb754a893]
libs/libregnum_client.so(_ZN10GameClient19initialize_en titiesEv+0x2af) [0xb7edbc1f]
libs/libregnum_client.so(_ZN10GameClient4initEiPPc+0x87 6) [0xb7eded06]
libs/libregnum_client.so(_ZN10GameClientC1EiPPc+0xf3) [0xb7edfa73]
./game(main+0x259) [0x8048fc9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6fbc775]
./game(__gxx_personality_v0+0x61) [0x8048c71]
glxinfo
name of display: :0.0
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_OML_swap_method,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 2.1 Mesa 7.4
OpenGL shading language version string: 1.10
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_fragment_program,
GL_ARB_fragment_program_shadow, GL_ARB_fragment_shader,
GL_ARB_half_float_pixel, GL_ARB_imaging, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_occlusion_query, GL_ARB_pixel_buffer_object,
GL_ARB_point_parameters, GL_ARB_point_sprite, GL_ARB_shader_objects,
GL_ARB_shading_language_100, GL_ARB_shadow, GL_ARB_shadow_ambient,
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_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_vertex_shader, 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_logic_op, 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_depth_bounds_test, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_framebuffer_blit, GL_EXT_fog_coord,
GL_EXT_gpu_program_parameters, GL_EXT_histogram, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_paletted_texture, GL_EXT_pixel_buffer_object,
GL_EXT_point_parameters, GL_EXT_polygon_offset, GL_EXT_rescale_normal,
GL_EXT_secondary_color, GL_EXT_separate_specular_color,
GL_EXT_shadow_funcs, GL_EXT_shared_texture_palette, 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_lod_bias,
GL_EXT_texture_mirror_clamp, GL_EXT_texture_object,
GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_vertex_array,
GL_3DFX_texture_compression_FXT1, GL_APPLE_packed_pixels,
GL_APPLE_vertex_array_object, GL_ATI_blend_equation_separate,
GL_ATI_texture_env_combine3, GL_ATI_texture_mirror_once,
GL_ATI_fragment_shader, GL_ATI_separate_stencil,
GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip,
GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate,
GL_MESA_pack_invert, GL_MESA_program_debug, GL_MESA_resize_buffers,
GL_MESA_texture_array, GL_MESA_ycbcr_texture, GL_MESA_window_pos,
GL_NV_blend_square, GL_NV_fragment_program, GL_NV_light_max_exponent,
GL_NV_point_sprite, GL_NV_texture_rectangle, GL_NV_texgen_reflection,
GL_NV_vertex_program, GL_NV_vertex_program1_1, GL_OES_read_format,
GL_SGI_color_matrix, GL_SGI_color_table, GL_SGI_texture_color_table,
GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SGIX_shadow, GL_SGIX_shadow_ambient, GL_SUN_multi_draw_arrays,
GL_S3_s3tc
3 GLX Visuals
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
----------------------------------------------------------------------
0x21 24 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x22 24 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x44 32 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
16 GLXFBConfigs:
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
----------------------------------------------------------------------
0x45 0 tc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x46 0 tc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x47 0 tc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x48 0 tc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x49 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x4a 0 tc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x4b 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x4c 0 tc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x4d 0 dc 0 32 0 r . . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x4e 0 dc 0 32 0 r . . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x4f 0 dc 0 32 0 r y . 8 8 8 8 0 24 0 0 0 0 0 0 0 None
0x50 0 dc 0 32 0 r y . 8 8 8 8 0 24 0 16 16 16 16 0 0 Slow
0x51 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x52 0 dc 0 32 0 r . . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
0x53 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 0 0 0 0 0 0 None
0x54 0 dc 0 32 0 r y . 8 8 8 8 0 24 8 16 16 16 16 0 0 Slow
:/
take care,
onemyndseye
02-09-2009, 09:18 AM
Note of interest:
The version currently on Amun produces the same error:
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7e1f259]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7e1f52b]
[0xb8010400]
/usr/lib/libGL.so.1 [0xb6f6aed6]
libs/libopengl_api.so(_ZN8Engine3D12RenderizerGL20init_ graphics_systemEiiibb+0xc26) [0xb779e566]
libs/libcommon_entities.so(_ZN13DisplayEntity15creation _notifyEP7Message+0x4bc) [0xb7c893cc]
libs/libentity_system.so(_ZN13EntityManager32initialize _entity_as_custom_typeEPKciS1_P7MessageP6Entity+0x 483) [0xb7613583]
libs/libregnum_client.so(_ZN10GameClient19initialize_en titiesEv+0x2af) [0xb7fa1b1f]
libs/libregnum_client.so(_ZN10GameClient4initEiPPc+0x87 6) [0xb7fa4c96]
libs/libregnum_client.so(_ZN10GameClientC1EiPPc+0xf3) [0xb7fa5be3]
./game(main+0x259) [0x8048fc9]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7084775]
./game(__gxx_personality_v0+0x61) [0x8048c71]
Once or twice a dialog box did pop up giving the following error:
[err][ui_elements_][error_code_]
though I doubt its related.. No light at the end of the tunnel :(
as a side note: I did try to run RO under the latest wine without much luck.. it does run but without Direct Render support (software rasterizer) and without sound.. not a acceptable alternative for me :( I may try Cedega but pure WINE seems to work better these days
Mashu
02-09-2009, 09:48 AM
Please try Debian packages then. Small chance that they will install but since Ubuntu has Debian package manager worth trying it.
echo "deb http://ftp.pl.debian.org/debian/ experimental main" > /etc/apt/apt.conf.d/debian-experimental
apt-get update
apt-get -t experimental --reinstall install libdrm-intel1 libdrm2 libgl1-mesa-glx libgl1-mesa-dri libosmesa6 mesa-utils libglu1-mesa xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-video-fbdev xserver-xorg-video-intel
Don't apt-get update or dist-upgrade !! After finished installation or upon failure due to too many missing dependences abort, remove mirror file and apt-get update.
NOTE: This stops game crashing with 965GM graphic card. Kernel must be >= 2.6.28.
Good luck.
onemyndseye
02-09-2009, 11:45 AM
Also tried the upgrades listed in my previous post on Jaunty.... No Joy
I'll give you suggestion a shot :) thanks
onemyndseye
02-09-2009, 12:14 PM
After trying your suggestions I'm still segfaulting :(
I had to manually force ALOT of packages because of dependancies so even if this HAD worked I wouldnt have reccomended it lol.... I seem to be stable at the moment but I've made quite a mess outa my packages lol I always run 2 installs on my lappy though - so I dont mind borking one bahaha
Mashu
02-09-2009, 12:55 PM
After trying your suggestions I'm still segfaulting :(
I had to manually force ALOT of packages because of dependancies so even if this HAD worked I wouldnt have reccomended it lol.... I seem to be stable at the moment but I've made quite a mess outa my packages lol I always run 2 installs on my lappy though - so I dont mind borking one bahaha
Do You have the same xorg/mesa/libdrm/xf86-intel from Debian's repo with 2.6.28 kernel ? It works here for GM965
You can also try installing whole stack as described on intel's site and make sure to file a bug on freedesktop for mesa component.
You will not be able to run game on wine either as first you need 3D acceleration, wine is using this as well, there is no reason to run game on additional emulation layer if native binary exist. And yes nowadays winehq has better 3D solution then cedega which use just ugly hacks.
linearguild
02-09-2009, 02:24 PM
onemyndseye, why don't you try the fglrx drivers? It's been a while since I've looked at Ubuntu but the package should be somewhere in one of the non-free repositories.
I am running on a Gentoo ~amd64 system and I have never experienced these crashes.
* x11-base/xorg-server
Latest version available: 1.5.2
Latest version installed: 1.5.2
* x11-drivers/ati-drivers
Latest version available: 8.573-r1
Latest version installed: 8.573-r1
* media-libs/mesa
Latest version available: 7.3
Latest version installed: 7.3
(Mesa is probably irrelevant since I'm using the ATI OpenGL drivers.)
01:05.0 VGA compatible controller: ATI Technologies Inc RS780MC [Radeon HD 3100 Graphics]
onemyndseye
02-09-2009, 02:43 PM
Do You have the same xorg/mesa/libdrm/xf86-intel from Debian's repo with 2.6.28 kernel ? It works here for GM965
I installed/upgrade all the packages you recommended along with the 2.6.28 kernel to no avail... however the xf86-intel is irrelevant to me I would think since my card is ATI. I did take care to make sure xserver-xorg-ati and xserver-xorg-radeon where upgraded along with the packages you suggested.
onemyndseye, why don't you try the fglrx drivers? It's been a while since I've looked at Ubuntu but the package should be somewhere in one of the non-free repositories.
I would love nothing better than to use fglrx.. but unfortunately due to ATI being COMPLETELY lame fglrx support for BOTH my ati cards have been discontinued.
Laptop is: ATI Mobility Radeon 9000
Son's PC is: ATI Radeon 9200 PRO
as far as I know fglrx no longer supports these cards... again - because ATI is completely lame lol....
You CAN download the last supported version of the driver from ATI's website but I have never gotten it to work on a modern system due to changes in the kernel source/headers and changes in Xorg I am guessing - it either fails to compile or fails to load :( Probably kernel 2.6.x+ and Xorg 7+ has broken it
These cards are directly supported by fglrx
* Radeon 9500 - 9800 series
* Radeon x300 – x800 series
* Radeon x1300 – x1900 series (Including x1950)
* Radeon HD 2000 series - driver support as of driver version 8.41
* Radeon HD 3800 series - driver support as of driver version 8.43
* Radeon Xpress 200 series
* Radeon Xpress 1100 series
* Radeon 690 series
These are only supported by fglrx version 8.28
* Radeon 8500
* Radeon 9000
* Radeon 9100
* Radeon 9200
* Radeon 9250
* Radeon 9000 IGP
* Radeon 9100 IGP
* Radeon 9100 IGP Pro
* FireGL 8700
* FireGL 8800
But as I said I dont know a way to get this driver working on a modern system :(
Dont worry linearguild, your card is next :(
http://en.wikipedia.org/wiki/Fglrx
However since Im dead-ended anyways I think I may give it another shot. I see on the ATI website 8.28.8 claims to support xorg 7.1 however Jaunty abd Ibex is 7.4 do I doubt anything will come of it
*** Edit - Another link (I was right)
http://ubuntuforums.org/showthread.php?t=555205
From Edgy on, fglrx will not work for that card......due to xorg incompatibilities.....ATI has not ported/modified their legacy driver to be usable. (I use a 9200SE too)
So I could make it work if I wanted to go back to Edgy :/
Mashu
02-10-2009, 09:38 AM
How about trying to compile mesa from latest git without XCB enabled ?
git clone git://git.freedesktop.org/git/mesa/mesa
cd mesa
./configure --prefix=/usr --with-driver=dri --with-dri-drivers="radeon" --enable-gl-osmesa
make -j2
and running RO with LIBGL_DEBUG=verbose to see whats loaded.
AFAIK only open-source drivers use mesa, you can use commercial one or open-source one.
You can check this site about open-source ATI drivers.
http://www.phoronix.com/scan.php?page=search&q=xf86-video-ati
For example
Experimental ATI Driver Gets DRI2 Support in Linux on November 09, 2008
There are other revelations, so if you want you can also try ATI driver from git (development branch).
I hope this will help
PS. Try also this new release 12 hours ago. [ANNOUNCE] xf86-video-ati 6.10.99.0
http://xorg.freedesktop.org/archive/individual/driver/xf86-video-ati-6.10.99.0.tar.bz2
Nightchill
02-10-2009, 01:52 PM
I've solved the segfault with ati 9600pro & ubuntu 8.10. anyway, do what is needed here (instead of R200 put R300) http://www.regnumonline.com.ar/forum/showthread.php?p=171072#post171072 and install proprietary ati drivers from System > Administration > Hardware drivers. then just reboot and regnum should work just fine. at least works for me.
onemyndseye
02-12-2009, 10:51 AM
Quick update:
Here is the result of running with GL_DEBUG
libGL: XF86DRIGetClientDriverName: 5.3.0 r200 (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/tls/r200_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
libGL error:
Can't open configuration file /etc/drirc: No such file or directory.
Saving backtrace to crash_backtrace_6983.log
Got SIGSEGV (segmentation fault)
For sake of testing created /etc/drirc
libGL: OpenDriver: trying /usr/lib/dri/tls/r200_dri.so
libGL: OpenDriver: trying /usr/lib/dri/r200_dri.so
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: Searching for BusID pci:0000:01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 4, (OK)
drmOpenByBusid: drmOpenMinor returns 4
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
Saving backtrace to crash_backtrace_7711.log
Got SIGSEGV (segmentation fault)
Next for git checkout....
linearguild
02-12-2009, 06:17 PM
I would love nothing better than to use fglrx.. but unfortunately due to ATI being COMPLETELY lame fglrx support for BOTH my ati cards have been discontinued.
I see. :( Well one more thing you could try is to turn off any compositing managers (compiz, beryl, etc.) if you have one enabled. It's a long shot, but there's no harm in trying if you're already at the point of checking out and compiling git drivers.
You'll need to restart X after adding this to /etc/X11/xorg.conf:
Section "Extensions"
Option "Composite" "Disable"
EndSection
Nightchill
02-12-2009, 10:32 PM
first of all, apt-get install drirc if you already don't have it. second, is your card r200 (radeon 9200 series?)
Mashu
02-14-2009, 10:01 AM
One question
dpkg -l | grep libxcb-xlib0
This is compatiblity layer in case if you use new Xserver that uses XCB instead of Xlib(ref: http://xcb.freedesktop.org/XlibXcb/). Is it installed ?
Nightchill
02-14-2009, 02:08 PM
i've no clue. try locate^
Hally
02-15-2009, 02:01 PM
After some long days trying to solve the problem without any success, I've installed the windows client using wine. At least I can play ! However it is running at 5 to 8 fps only.
However, it would be nice if we could solve the linux problem... I recall my config :
ubuntu 8.10
Intel GM945
xserver-xorg-core 1.5.3
xserver-xorg-video-intel 2.6.1
mesa 7.3
I dont know what you have in mind Mashu, this however the result of your command for me :
dpkg -l | grep libxcb-xlib0
ii libxcb-xlib0 1.1-1.1
ii libxcb-xlib0-dev 1.1-1.1
Mashu
02-16-2009, 09:04 AM
I can understand that not being able to reproduce problem is hard to discuss, but this does not mean it should be ignored.
Lots of people are affected now by this update. What exactly have changed since 1.0.2->1.0.3 transition causing crashes on more modern Xorg versions for open-sourced drivers ATI and Intel ?
A word from developers would be appreciated.
As game is closed sourced and crash log does not produce any useful output this might never be solved without NGD help.
Since open-source drivers are a big part of GNU/Linux market any kind of reaction might be fruitful.
At least good starting point imho would be assertions or more verbose log output suggesting place of failure.
I am looking forward to hear something about that in this thread.
onemyndseye
02-17-2009, 06:57 AM
No luck on git... couldnt solve the dep's in the current state my installation is in :( (mangled with packages from debian/experimental)
dpkg -l | grep libxcb-xlib0
ii libxcb-xlib0 1.1-1.1 X C Binding, Xlib/XCB interface library
ii libxcb-xlib0-dev 1.1-1.1 X C Binding, Xlib/XCB interface library, dev
Disabling composite support had no effect :(
Thanks guys for continuing to try to find a solution.
take care
-onemyndseye
Mashu
02-17-2009, 10:15 PM
Does the problem also happen with 7.2 mesa version ?
Just after 7.3 mesa release there have been API changes that affect ATI, not Intel.
(ref. http://cgit.freedesktop.org/mesa/mesa/commit/?id=27d08f0ed28792de9b9f0a977c13ee7ea7c0cf46)
For me on my GM965(Intel) setting gdb to
thread apply all bt
set follow-fork-mode child
attach <pid of rolauncher>
revealed that SIGSEGV happens exacly on live/libs/libopengl_api.so
What I did to make it working with latest git mesa ?
Mesa
./configure --prefix=/usr --enable-gl-osmesa --enable-64-bit --disable-gallium --with-dri-drivers="swrast,i965" --enable-glx-tls --enable-xcb
Xserver
./configure --prefix=/usr --disable-static --enable-xorg --with-default-font-path="/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" --with-serverconfig-path=/etc/X11/xserver --disable-dmx --enable-vfb --enable-kdrive --enable-xephyr --disable-xsdl --disable-xfake --with-xkb-path=/usr/share/X11/xkb --with-xkb-output=/var/lib/xkb --enable-xfree86-utils --enable-dri --enable-dri2 --enable-record --enable-glx-tls --enable-xcalibrate
apt-get install libtxc-dxtn0 <--- form non-free to support patented texture compression
I also installed xf86-intel from latest git.
I used to have 20-30fps before
Now its
direct rendering: Yes
OpenGL renderer string: Mesa DRI Intel(R) 965GM GEM 20090114
OpenGL version string: 2.1 Mesa 7.5-devel
OpenGL shading language version string: 1.20
and
http://img132.imageshack.us/img132/6836/fpsdg2.png
Do You also have 100% cpu usage with this game ?
I hope someone will find this useful, otherwise you can beg Surak to provide older libopengl_api.so file since 1.0.2 update ;)
Hally
02-22-2009, 10:43 AM
Well done Mashu ! At least it is nice to better know where the problem come from.
However, your issue seems dedicated to your config... And I don't really know wether or how I could use it properly.
Surak to provide older libopengl_api.so file since 1.0.2 update
That would be for sure the easiest way !
Valour
02-22-2009, 01:00 PM
I have the same setup as Hally, haven't been playing for a while due to it, a real pain - is there any way of solving something that was perfect before? >.>
I can't run ro well at all on wine =o
onemyndseye
02-25-2009, 06:41 AM
I have had no luck playin with WINE either...
nor have I gotten any further getting RO working. NGD still has not responed to this thread nor have they opened/looked at the bug report I filled ..
disappointing indeed :(
Hally
02-26-2009, 01:12 PM
I succeeded in playing with wine.
But it is really not a good solution :
- using direct3D, the FPS are very slow
- using openGL, the FPS are very good and similar to those I had with the linux client before the segfault
But using wine, linux Client with the openGL option leads to a systematic crash after 20 or 60 minutes playing depending on what youre doing (it is worse in wars). The keyboard does not respond when the crash arises, which is strongly annoying. But anyway that is a different subject.
Did you try to switch to openGL using the windows client ?
However, the fact that the windows client seems to work with openGL nicely let me think that the error does not lie in our 3D configuration but in the linux client himself... as pointed out by Mashu, if I correctly understood what he reported.
onemyndseye
02-28-2009, 08:12 PM
oh most certainly this is the case...
But as a Linux household this solution sucks as bad as playing under wine. Alas I did "borrow" a copy of WinXP and continue to play. But I consider this issue fixed about as much as putting a BandAid on a shark bite. Myself and Im sure a good number of other users came to play this game because it has a Linux client. If I wished to play a MMORPG in WinXP there is a vast amount of choices.
And again I have to say I would not be so hostile about this if it wasnt for NGD's COMPLETE LACK OF RESPONSE not the fact that the client isnt working.
As a business owner myself I am assured that if I ignored crys for help/advice from my customers I wouldnt be in business for very long.
coolvibe
03-09-2009, 03:09 AM
oh most certainly this is the case...
But as a Linux household this solution sucks as bad as playing under wine. Alas I did "borrow" a copy of WinXP and continue to play. But I consider this issue fixed about as much as putting a BandAid on a shark bite. Myself and Im sure a good number of other users came to play this game because it has a Linux client. If I wished to play a MMORPG in WinXP there is a vast amount of choices.
And again I have to say I would not be so hostile about this if it wasnt for NGD's COMPLETE LACK OF RESPONSE not the fact that the client isnt working.
As a business owner myself I am assured that if I ignored crys for help/advice from my customers I wouldnt be in business for very long.
Keep in mind that the Linux client isn't supported officially at all, and that NGD provides it only out of courtesy to the Linux users.
onemyndseye
03-09-2009, 04:11 PM
sure... I understand that. Hence I wish for a simple reply - not a fix
Fiddiccan
03-10-2009, 11:44 PM
First of all, I need a fix for this too, my girlfriend can no longer play on her laptop anymore, for the same reasons as explained :-\
Then, a bit offtopic maybe, but:
Keep in mind that the Linux client isn't supported officially at all, and that NGD provides it only out of courtesy to the Linux users.
I don't think that is true. Why you ask?
I quote:
Regnum Online is a FREE TO PLAY (F2P) MMORPG inviting you to play with no level or time restrictions. All that is required is that you fight for your realm.
- Regnum offers 3 realms to choose from.
- 9 fully customizable player characters.
- An ever expanding number of quests.
- The ability to capture forts and castles.
- Expansive lands to explore.
- Glorious graphical environments in DirectX and OpenGL.
- Support for Windows and Linux platforms.
- Premium content is available for enhanced game play.
That would mean it is officially supported, no? :-)
Plover
03-14-2009, 07:18 PM
My 2nd computer running ubuntu 8.10 with an intel card has this same issue since the update. The backtrace is identical to the one imefisto posted.
Somebody in my clan suggested downgrading to ubuntu 7.10 since it's more stable, so I'll try that.
onemyndseye
03-19-2009, 10:13 AM
******* UPDATE ********
This problem DOES NOT persist in Ubuntu 8.04 Hardy. So if downgrading (read Reinstalling) is an option for you this will fix the problem. Atleast for ATI cards. Hopfully someone will confirm that Hardy is working with INTEL cards as well.
Again, thanks to all that have tried so hard to resolve this issue in Ibex.. I will keep looking for a working solution for Ubuntu Ibex and above.. but for now HUUUUNNNNT!!!!! :)
Hally
03-20-2009, 07:28 PM
I ve juste downgrade to ubuntu 8.04, and the problem is solved also for me and my Intel GMA 945 Video Card.
Thank you all !
Hally
03-20-2009, 08:13 PM
Pff, in fact the segfault persists for me under Hardy, but it happens a few minutes after starting to play !
:mad:
EDIT : this is the backtrace
libs/libcore_client.so(_ZN10ClientBase14save_backtraceE v+0x79) [0xb7d1e259]
libs/libcore_client.so(_ZN10ClientBase12client_crashEi+ 0x1b) [0xb7d1e52b]
[0xb7f0f420]
[0xb0e9c0c8]
onemyndseye
03-20-2009, 11:10 PM
Hi Hally... I am using my little loader script.
create the following file in your regnum directory
rolaucher.sh
#!/bin/bash
## Set variables
## Set this to the full path of your regnum install
GAME_DIR=/home/onemyndseye/regnum
## Attempt to make sure no other regnum process is running
#
killall -9 game
killall -9 rolauncher
### Setup the env and start laucher
cd "$GAME_DIR"
export MALLOC_CHECK_=1
./rolauncher
Be sure to chmod:
chmod +x rolauncher.sh
The same thing happened to me on a fresh install until I starting using this script again... this smells of regression from the memory leeks that caused me to write this little script to begin with.
I also have libxtc installed.. find a howto here: http://regnumonlinegame.com/forum/showthread.php?t=31371
Hope this helps ..
-onemyndseye
Hally
03-21-2009, 10:48 AM
So nice ! It works perfectly well with your script !
Im also using libxtc (thanks to your how to ...)
Syd_Vicious
03-22-2009, 07:08 AM
Part of this segmentation fault I believe is that the Linux client is not geared like the windows client and some function calls falling to individual drivers are handled differently, ie. causing users to do work arounds to try and get things to work because they aren't as well supported as the Windows drivers. Since I have some experience fiddling around with Ubuntu variants this post will be more geared toward them:
While trying to help some individuals with the i965 graphics chipset we modified their Xorg config file to utilize the "intel" driver as outlined in the following link:
https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-video-intel/+bug/252094
Because it is more than just Regnum that has issues with these chipsets it maybe a wait until Jaunty hits final that the newer drivers intel/mesa interweave will function properly for an average Windows user that is making the switch to linux (ie. a person not familiar with linux at all, just trying to get their shit to work). When trying to help troubleshoot their systems their original Xorg conf files did not indicate the driver to be used and for some reason Regnum loaded and played prior to this segmentation issue. These individuals were able to play Regnum prior to the updates and then Regnum would not load after the update. When the XOrg pointed towards the correct Intel driver in the XOrg file, Regnum would start back up, but still crashes. When the XOrg conf file was switched to legacy mode for compatibility Regnum reports unsupported video card.
If you can't wait for Jaunty and want to check out the updated Mesa for yourself and add in the latest Intel Drivers you can do so at the following links:
Mesa 7.3 (http://sourceforge.net/project/showfiles.php?group_id=3&package_id=2436) (it did update Intel DRI to use GEM and DRI2, with "Assorted i965 driver fixes" - though 7.2 and 7.3 both implement OpenGL2.1) Compile and Depends (http://www.mesa3d.org/install.html), if you rather look for Ubuntu DEB packages you can find them here (https://launchpad.net/ubuntu/+source/mesa/7.3-1ubuntu3/+build/889782) on the resulting binaries tab.
Intel Drivers (Experimental): Ubuntu Intel Drivers 2.6.1 (http://launchpadlibrarian.net/23110145/xserver-xorg-video-intel_2.6.1-1ubuntu3_i386.deb) and Ubuntu Intel DBG 2.6.1 (http://launchpadlibrarian.net/23110146/xserver-xorg-video-intel-dbg_2.6.1-1ubuntu3_i386.deb)
If you are unsure/uncomfortable with modifying your system it maybe prudent for you to wait until Jaunty is released and do a dist-upgrade using APT. If you modify you do so at your own risk.
Unfortunately at this time Regnums requirements state Ati or NVIDIA (http://www.regnumonline.com.ar/index.php?l=1&sec=13) and make no mention of Intel.
Also most of the Intel Chipsets are on the experimental list (http://www.regnumonline.com.ar/index.php?l=1&sec=20&subsec=41) for NGD and is probably why they aren't commenting on the forums. While Jaunty (ubuntu version 9.04) will introduce new drivers, it does not mean RO will work with it fine. If your other 3d games are working with your Intel chipset with the way your linux box is configured (ie. UrbanTerror, TORCS, Tilerace), then likely it is a coding of the NG3d engine and it's function calls per driver causing the issue; ie. Intel is still on DRI1 and NVIDIA on DRI2 so NGD programs for DRI2 without leaving a legacy call back for DRI1 leaving Intel users in the dark. This issue may never be fully resolved if the Intel chips aren't given the same attention as the main stream gaming cards receive and individual fixes to this problem providing work arounds may not work next update.
Some regressions to previous versions of Ubuntu may work for sometime if the NG3d code referenced a replaced/updated package that does not follow the same PATH line. But it would not be a solid fix.
Unfortunately I only have computers with NVIDIA chipsets and are unable to troubleshoot or view the back traces for the segmentation fault. If you guys want to shoot me a copy you can send a copy to my remailer address: syd@sydrex.tk and I will get to it when I can and see what I can make of it.
If you take the step to install new Mesa and Intel drivers please report back here for other users to learn if it works or not.
onemyndseye
03-22-2009, 09:28 AM
Thanks.. alot of good info there...
However atleast for ATI users there is no end in sight with Jaunty.. same problem persists in Jaunty even with the fixes repo you list there.
I so suspect that it will solve the problem for atleast some intel users though.
Syd_Vicious
03-22-2009, 07:46 PM
For you guys with ATI I feel for ya. I was using ATI back when they switched to Radeon during the 7k series and I was using Suse 7, it was the largest pain in the ass I had to go through to get 3d support since there wasn't much of any official support when those cards first came out. Thats why I made the switch to NVIDIA later when I heard NVIDIA was actually supporting their cards in Linux.
Unfortunately it seems to almost be reverting to that way since distros like Arch are refusing to carry the ATI drivers. I'm not saying ditch ATI and go buy NVIDIA I am just saying you guys maybe in for a bumpy ride until it all gets sorted out.
onemyndseye
03-23-2009, 01:39 PM
"...I'm not saying ditch ATI and go buy NVIDIA..."
I am without doubt.... however my laptop cannot be changed :( My home PC has a NVIDIA 9600GT ;)
Syd_Vicious
03-23-2009, 03:18 PM
onemyndseye, you may have an MXM based laptop (ie. your video is on a card rather than integrated into the mobo). If your laptop is MXM based you can check out http://www.mxm-upgrade.com/store.html and they may have a solution for you. Little known secret that for some of these newer laptops with NVIDIA and ATI you can purchase the card separate rather than getting a new laptop.
Arafails
03-23-2009, 04:36 PM
Actually nVidia don't use DRI at all. They have their own system....
Syd_Vicious
03-24-2009, 05:21 AM
fudje that was just figurative example, yes NVIDIA has supplied a work around for their chipsets away from DRI just about since they started supporting linux with proprietary drivers. The point I was getting at is that this game is tailored to the more main stream gamer graphics card rather than the middle ground affordable pc or laptop that contains intel graphics chipsets that run on linux.
I was getting at is that unless NGD does the legwork and starts officially supporting other chipsets besides ATI and NVIDIA, this problem will likely continue and may manifest itself in other areas later down the road.
heather_rann
04-06-2009, 05:58 AM
Supporting the mesa stack would be good :)
Nightchill
04-13-2009, 11:32 PM
Unfortunately it seems to almost be reverting to that way since distros like Arch are refusing to carry the ATI drivers. I'm not saying ditch ATI and go buy NVIDIA I am just saying you guys maybe in for a bumpy ride until it all gets sorted out.
yep. arch locked out ati from their repos. actually, AUR still has them but with ati dropping support with 9.4 drivers for R300 and earlier and xorg 1.6 moved to extras that makes it almost impossible to put 9.3 drivers on because they don't support xorg 1.6 and downgrading to 1.5 would break lots of deps and require a downgrade of numerous other packages. it's a cluster fuck i tell ya. stinkin ati.
onemyndseye
05-12-2009, 03:18 AM
To revive this topic and air out alittle more info while I try to peice together a attempt at a workaround...
Today I installed mesa, the radeon/ati xorg packages, and kernel from Hardy (using dpkg-repack) into intrepid effectively downgrading the peices that were the suspected "causes" of this issue.... and..
Guest what?? SEGFAULT :/
I suppose the X server itself then... :/ Or incompatibilities between packages caused it to SEGFAULT for another reason... after looking at the depends and the poritons of packages I would have to repack my head exploded and I finally decided it was time for bed lol Maybe tonight I will try this though I do not view it as a practical solution.. IF it works there will be a significant amount of package pinning to do to make sure apt/dpkg doesnt bug the piss outa you about somewhere in the range of 100 packages that NEEEEEEED to be upgraded
A long time ago I made a script for dpkg-repacking an entire running system... I think I will put it to use tonight I try downgrading a piece at a time --- *shrug* if you cant work forwards .. work backwards. .. As stated I think even if it works this is a shit solution because for instance.. the 2.6.24 kernel has crappy support for my WiFi so installing it effecting breaks my working WiFi under intrepid. (it works as well as it does now running under Hardy at least) .. however it maybe shed some light on the offending parts
Wintershade
05-14-2009, 09:12 PM
yep. arch locked out ati from their repos. actually, AUR still has them but with ati dropping support with 9.4 drivers for R300 and earlier and xorg 1.6 moved to extras that makes it almost impossible to put 9.3 drivers on because they don't support xorg 1.6 and downgrading to 1.5 would break lots of deps and require a downgrade of numerous other packages. it's a cluster fuck i tell ya. stinkin ati.
The sole fact that Arch (and some other) have dropped the ATi proprietary driver from the repos is not the main problem; the main problem is why those drivers were dropped.
AMD/ATi developers are not taking the Linux driver seriously at all. I am an owner of an ATi Mobility Radeon 9700 graphics card, and 80% of the drivers AMD had released has brought me nothing but trouble. Version 9.3 worked (mostly) fine (either that or I just got used to it), and then they dropped support for my chipset. Now, 9.3 is a no-go for me, since I'm running Xorg server 1.6 and kernel 2.6.29 (Arch Linux FTW :)). And I don't intend to break my whole system just because a few sloppy developers can't write two lines of quality code.
I'm not saying ditch ATI and go buy NVIDIA
I am. And I believe every intelligent Linux user who understands the terms under which this had happened to him will agree with me.
Think about it in the following manner: ATi and you had an agreement. Your side of it was to pay good money for the hardware. You did that. Their side was to give you hardware which works. They declared it works under Windows and Linux. It was documented. It was their part of the deal. Did they live up to it? I don't think so.
OTOH, how many problems do nVidia users have? OK, so they do have a few problems, but not even remotely as much as ATi users do. So yes, ditch ATi and buy nVidia. It's better. Period.
Back to the topic, any news on the segfault solution or workaround? I've just installed the game on Linux (version 1.0.5 it seems), and I'm segfaulting, despite all of the workarounds mentioned here. What gives?
Are there any logs I should look for and post them here?
Thanks in advance ;)
onemyndseye
05-15-2009, 04:52 AM
Amen
Please contact me my PM and tell me what it happening when you try the chroot method.. this SHOULD work for you
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.