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

Linux Technical issues under Linux platform

Reply
 
Thread Tools Display Modes
Old 10-25-2012, 11:46 AM   #1
Slartibartfast
Master
 
Slartibartfast's Avatar
 
Join Date: Mar 2012
Location: Zagreb / Croatia
Posts: 578
Slartibartfast is on a distinguished road
Default Crash on virtual desktop switch

Game occasionally (1 of 10 switches) crashes when switching virtual desktops.

Code:
eden@sunce:~/bin/regnum> rolauncher 
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2212:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib audio/pcm_bluetooth.c:1613:(audioservice_expect) BT_GET_CAPABILITIES failed : Input/output error(5)
ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
Cannot connect to server socket err = No such file or directory
Cannot connect to server socket
jack server is not running or cannot be started
...
[game started]
...
eden@sunce:~/bin/regnum> Saving backtrace to crash_backtrace_9078.log
Got SIGSEGV (segmentation fault)
eden@sunce:~/bin/regnum/live> cat crash_backtrace_9078.log 
./game(_ZN10ClientBase14save_backtraceEv+0x5f) [0x68e43f]
./game(_ZN10ClientBase12client_crashEi+0x8) [0x68e5a8]
/lib/x86_64-linux-gnu/libc.so.6(+0x36420) [0x7f3feb085420]
[0x41d56a06]

eden@sunce:~/bin/regnum/live> cat log.txt 
[25/10/2012 13:36:53] [ClientBase][client_base.cpp(155)] Client build: 36820
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl_x11.cpp(224)] X Server vendor: The X.Org Foundation
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl_x11.cpp(228)] X Server release: 1.10.4
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(363)] XVidMode Extension version 2.2
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(373)] Xinerama Extension version 1.1
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(399)] Got a 24 bit visual (40) with a 24 bit depth buffer
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(468)] Resolutions: 1920x1200x32 1680x1050x32 3600x1200x32 
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(533)] OpenGL vendor: NVIDIA Corporation
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(534)] OpenGL renderer: GeForce 9600 GT/PCI/SSE2
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl.cpp(535)] OpenGL version: 3.3.0 NVIDIA 280.13
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl_extensions_loader.cpp(295)] Detected 66 OpenGL extensions: GLX_SGIX_fbconfig, GLX_SGIX_pbuffer, GLX_SGI_swap_control, GL_ARB_depth_texture, GL_ARB_draw_buffers, GL_ARB_draw_instanced, GL_ARB_fragment_program, GL_ARB_fragment_shader, GL_ARB_get_program_binary, GL_ARB_half_float_pixel, GL_ARB_map_buffer_range, 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_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_float, GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle, GL_ARB_vertex_array_object, GL_ARB_vertex_buffer_object, GL_ARB_vertex_program, GL_ARB_vertex_shader, GL_EXT_Cg_shader, GL_EXT_bindable_uniform, GL_EXT_blend_func_separate, GL_EXT_direct_state_access, GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_object, GL_EXT_gpu_shader4, GL_EXT_packed_depth_stencil, GL_EXT_secondary_color, GL_EXT_separate_specular_color, GL_EXT_stencil_wrap, GL_EXT_texture3D, GL_EXT_texture_array, GL_EXT_texture_compression_s3tc, GL_EXT_texture_edge_clamp, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod, GL_EXT_texture_lod_bias, GL_EXT_timer_query, GL_EXT_vertex_array_bgra, GL_NVX_gpu_memory_info, GL_NV_conditional_render, GL_NV_fragment_program2, GL_NV_gpu_program4, GL_NV_multisample_filter_hint, GL_NV_register_combiners, GL_NV_register_combiners2, GL_NV_vertex_program3, GL_SGIS_generate_mipmap
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl_extensions_loader.cpp(312)] OpenGL Shading Language version: 3.30 NVIDIA via Cg compiler
[25/10/2012 13:36:57] [RenderizerGL][renderizer_gl_extensions_loader.cpp(318)] Shader model 4 capable card detected
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data0.sdb(746.65 MB), fragmentation: 9.95%
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data1.sdb(2239.32 MB), fragmentation: 7.36%
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data2.sdb(88.25 MB), fragmentation: 0.08%
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data3.sdb(12.73 MB), fragmentation: 0.62%
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data4.sdb(244.51 MB), fragmentation: 26.96%
[25/10/2012 13:36:57] [SDB_File][sdb_file.cpp(1257)] SDB: ../data5.sdb(51.69 MB), fragmentation: 2.08%
[25/10/2012 13:36:57] [ResourceManager][resource_manager.cpp(302)] disk retriever is ready
[25/10/2012 13:36:57] [ResourceManager][resource_manager.cpp(302)] http retriever is ready
[25/10/2012 13:36:57] [ResourceListManager][resource_list_manager.cpp(312)] Got resource list: 24249 resources available
[25/10/2012 13:36:57] [TextManager][text_manager.cpp(164)] Text Manager ready
[25/10/2012 13:36:58] [CManager][shader_manager.cpp(235)] Loading render paths from render_paths/render_path_gl_sm3_high.xml
[25/10/2012 13:37:38] [SDB_File][sdb_file.cpp(1257)] SDB: characters.sdb(0.89 MB), fragmentation: 0.00%
[25/10/2012 13:37:38] [SDB File][sdb_file.cpp(1010)] Optimizing space in characters.sdb
[25/10/2012 13:37:38] [SDB_File][sdb_file.cpp(1257)] SDB: characters.sdb(0.89 MB), fragmentation: 0.00%
[25/10/2012 13:37:39] [logger.cpp(72)] brasas_forge: skipping parameter (self_illumination_with_mask)
[25/10/2012 13:38:04] [logger.cpp(72)] Props Caja Ximerin: skipping parameter (self_illumination_with_mask_with_fog)
[25/10/2012 13:38:05] [FXSystem][trail_fx_library.cpp(201)]  Trail FX Descriptor not found: trail_base_staff

- Linux Mint 12 with MATE desktop
- nVidia 9600GT
- binary driver v280.13
- normal graphics mode, not safemode

Video options:

http://postimage.org/image/az3ucv6a9/

--
Slartibartfast / Exorcist
Slartibartfast no ha iniciado sesión   Reply With Quote
Old 10-28-2012, 11:09 AM   #2
Mashu
Master
 
Mashu's Avatar
 
Join Date: Sep 2008
Location: Stockholm
Posts: 541
Mashu is an unknown quantity at this point
Default

I get crashes everytime 2/3 time I switch from fullscreen to window in Gnome (gnome-shell) 3.4.

I reported this thousands of times with a RegnumOnline luncher.
Mashu no ha iniciado sesión   Reply With Quote
Old 10-28-2012, 11:23 AM   #3
Tigerious
Banned
 
Tigerious's Avatar
 
Join Date: Nov 2008
Location: France
Posts: 496
Tigerious is an unknown quantity at this point
Default

I can only confirm this issue present from years now.
Tigerious no ha iniciado sesión   Reply With Quote
Old 10-28-2012, 11:40 AM   #4
Hollow-Ichigo
Count
 
Hollow-Ichigo's Avatar
 
Join Date: Aug 2009
Location: United Kingdom, England
Posts: 1,038
Hollow-Ichigo is on a distinguished road
Default

Quote:
Originally Posted by Tigerious View Post
I can only confirm this issue present from years now.
yeah, hasnt been fixed yet...
__________________
Hollow-Ichigo no ha iniciado sesión   Reply With Quote
Old 10-28-2012, 12:54 PM   #5
Mashu
Master
 
Mashu's Avatar
 
Join Date: Sep 2008
Location: Stockholm
Posts: 541
Mashu is an unknown quantity at this point
Default

  1. First obtain the list of linked libraries
    cd ~/regnum
    $ ldd live/game
    linux-vdso.so.1 => (0x00007fd5ce487000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fd5ce206000)
    libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fd5cdf99000)
    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fd5cdd8e000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fd5cdb7b000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd5cd83f000)
    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fd5cd638000)
    libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fd5cd436000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd5cd22e000)
    libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007fd5cd00b000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd5ccdef000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd5ccbeb000)
    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fd5cc9e3000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd5cc6dc000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd5cc45a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd5cc243000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd5cbeb9000)
    libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fd5cbc94000)
    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fd5cba91000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fd5cb88b000)
    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fd5cb68a000)
    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fd5cb471000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd5cb251000)
    libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fd5cb045000)
    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fd5cae3b000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fd5ce488000)
    libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fd5cac12000)
    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fd5ca9f6000)
    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fd5ca7f1000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd5ca5ed000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd5ca3e8000)
  2. From root install debugging versions

    # apt-get install libxext6-dbg freeglut3-dbg libxcursor1-dbg libgl1-mesa-dri-dbg libxxf86vm1-dbg libxinerama1-dbg libxcb-xinerama0-dbg libglapi-mesa-dbg libxdamage1-dbg libxfixes3-dbg libxcb-xfixes0-dbg libxrender1-dbg libx11-xcb1-dbg libxcb1-dbg libxcb-glx0-dbg libc6-dbg
  3. Start the game
    ~/regnum$ ./rolauncher &
    Get game process id, that was started by launcher
    ~/regnum$ pidof game
    15902
  4. Attach debugger to process from console Ctrl+Alt+F1
    ~/regnum$ gdb --pid=`pidof game`

    Issue command to gdb to continue, save log, and full threaded backtrace

    set logging on
    continue
  5. Go back to Xserver usally on Ctrl+Alt+F7 and crash the game
  6. Go back to console Ctrl+Alt+F1 and ask for back trace
    thread apply all bt full

    gdb.zip

I hope this helps.

At least I hope for response from Surak, if it's solvable in RO or should we seek help from driver developers ?
Other GL applications are not crashing like that.
Mashu no ha iniciado sesión   Reply With Quote
Old 03-01-2013, 07:12 PM   #6
surak
Legend
 
surak's Avatar
 
Join Date: Mar 2006
Location: Oslo
Posts: 2,176
surak has a spectacular aura aboutsurak has a spectacular aura about
Default

Quote:
Originally Posted by Mashu View Post
  1. First obtain the list of linked libraries
    cd ~/regnum
    $ ldd live/game
    linux-vdso.so.1 => (0x00007fd5ce487000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fd5ce206000)
    libGLU.so.1 => /usr/lib/x86_64-linux-gnu/libGLU.so.1 (0x00007fd5cdf99000)
    libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007fd5cdd8e000)
    libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fd5cdb7b000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fd5cd83f000)
    libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fd5cd638000)
    libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007fd5cd436000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fd5cd22e000)
    libncurses.so.5 => /lib/x86_64-linux-gnu/libncurses.so.5 (0x00007fd5cd00b000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fd5ccdef000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fd5ccbeb000)
    libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007fd5cc9e3000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fd5cc6dc000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fd5cc45a000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fd5cc243000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fd5cbeb9000)
    libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fd5cbc94000)
    libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fd5cba91000)
    libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fd5cb88b000)
    libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fd5cb68a000)
    libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fd5cb471000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fd5cb251000)
    libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fd5cb045000)
    libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007fd5cae3b000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fd5ce488000)
    libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007fd5cac12000)
    libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007fd5ca9f6000)
    libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007fd5ca7f1000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fd5ca5ed000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fd5ca3e8000)
  2. From root install debugging versions

    # apt-get install libxext6-dbg freeglut3-dbg libxcursor1-dbg libgl1-mesa-dri-dbg libxxf86vm1-dbg libxinerama1-dbg libxcb-xinerama0-dbg libglapi-mesa-dbg libxdamage1-dbg libxfixes3-dbg libxcb-xfixes0-dbg libxrender1-dbg libx11-xcb1-dbg libxcb1-dbg libxcb-glx0-dbg libc6-dbg
  3. Start the game
    ~/regnum$ ./rolauncher &
    Get game process id, that was started by launcher
    ~/regnum$ pidof game
    15902
  4. Attach debugger to process from console Ctrl+Alt+F1
    ~/regnum$ gdb --pid=`pidof game`

    Issue command to gdb to continue, save log, and full threaded backtrace

    set logging on
    continue
  5. Go back to Xserver usally on Ctrl+Alt+F7 and crash the game
  6. Go back to console Ctrl+Alt+F1 and ask for back trace
    thread apply all bt full

    Attachment 34967

I hope this helps.

At least I hope for response from Surak, if it's solvable in RO or should we seek help from driver developers ?
Other GL applications are not crashing like that.
Interesting, but this seems to use open source drivers.
Anyway, generating backtraces using this method should work with any card. Please get me some of them
__________________
Surak Remember... this is just a game! - Xephandor existe y Miriya es su profeta!
surak no ha iniciado sesión   Reply With Quote
Reply


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 03:49 PM.


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