X³: TC and AP - Linux support thread

Ask here if you experience technical problems with X³: Terran Conflict, X³: Albion Prelude or X³: Farnham's Legacy.

Moderators: timon37, Moderators for English X Forum

Post Reply
rmazurek
Posts: 87
Joined: Tue, 13. Aug 13, 04:04
x3tc

Post by rmazurek » Fri, 18. Dec 15, 00:27

Hello

Just joined joysticks fun club. Saitek X52.

I have no idea how it can all work for someone. In config file there can be mapped 29 buttons and this joystick has more then that.

I guess this is no way to map all buttons? Or I can add Joy Button30 Src, Joy Button31 Src...

Another thing is that I can't map wheels on thruster and slider and also can't use this mouse thing. Generally all that is defined as axis.

Any advice how to handle that? I was only able to remap modes buttons as someone mentioned that X3 does not like permanently pressed buttons.

spray_n_pray
Posts: 2
Joined: Mon, 4. Jan 10, 00:04
x3tc

Post by spray_n_pray » Fri, 18. Dec 15, 15:16

You may be able to remap the extra buttons to keyboard keys in userspace with jstest-gtk.

Edit:
Since the game uses SDL2 (which defaults to evdev instead of joystick) this may not work.
http://forum.egosoft.com/viewtopic.php?p=4019150

I would look into using xboxdrv for doing userspace remapping.

Yggdrasill
Posts: 28
Joined: Sat, 15. Jun 13, 00:14
x3ap

Re: Slow-down with in-game-menus / interface

Post by Yggdrasill » Mon, 21. Dec 15, 14:29

libertyzero wrote:Sorry if this has been mentioned before, but I am experiencing extreme slow-downs regarding the interface / in-game-menus.
This is indeed my issue as well, it seems. The game runs smooth at 60 FPS if I disable the UI, and I am on the radeonsi driver.

I am glad that I am not the only one with this issue.

rmazurek
Posts: 87
Joined: Tue, 13. Aug 13, 04:04
x3tc

Post by rmazurek » Mon, 21. Dec 15, 14:44

spray_n_pray wrote:You may be able to remap the extra buttons to keyboard keys in userspace with jstest-gtk.

Edit:
Since the game uses SDL2 (which defaults to evdev instead of joystick) this may not work.
http://forum.egosoft.com/viewtopic.php?p=4019150

I would look into using xboxdrv for doing userspace remapping.
Thanks for advice. I try this solutions.

satanselbow
Posts: 3
Joined: Wed, 3. Feb 16, 23:29
x4

Post by satanselbow » Thu, 4. Feb 16, 19:10

Arch Linux x64 4.4.1-2-ARCH

X3R (v2.5 no mods, not steam) started from ./X3R_main - crashes out after movie about 2nd wave attack in quickstart/new game :(

Any ideas? Last 500 lines below ;)

Code: Select all

MOV_FreeVoices() 0 pages with total 0 voices entries freed.
SB_LoadLocation() loading story file x3intro
======================================
SE_ReadFile: Can't load file types\fonts.txt
======================================
LoadVoices(44)
movloadmovie success: reply=1 (1 / 3942)
[mpegvideo @ 0xc606f40] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0xc606f40] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=1 (1 / 3942)
[mpegvideo @ 0xc24e0e0] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0xc24e0e0] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=1 (1 / 3944)
ST_LoadCut() cut 948 loaded
----
Warning!  Some triangles have zero area!
----
movloadmovie success: reply=1 (1 / 5236)
No dump, because DEBUG disabled
Autofreeing texture 1118 [NULL]
Autofreeing texture 1121 [NULL]
Autofreeing texture 1119 [NULL]
Autofreeing texture 1122 [NULL]
Autofreeing texture 1120 [NULL]
Autofreeing texture 1117 [NULL]
Autofreeing texture 1123 [NULL]
Autofreeing texture 1124 [NULL]
J3D_FreeCut() freeing cut 1950
J3D_FreeCut() freeing cut 948
J3D_FreeCut() freeing cut 954
J3D_FreeCut() freeing cut 969
MOV_FreeVoices() 128 pages with total 8765 voices entries freed.
No dump, because DEBUG disabled
MOV_FreeVoices() 0 pages with total 0 voices entries freed.
SB_LoadLocation() loading story file x3story
======================================
S_VerifyStory(): signature verification of x3story.obj failed
======================================
======================================
SE_ReadFile: Can't load file types\fonts.txt
======================================
======================================
SE_ReadFile: Can't load file t/440003.xml
======================================
======================================
SE_ReadFile: Can't load file t/440003.xml
======================================
======================================
SE_ReadFile: Can't load file t/440004.xml
======================================
======================================
SE_ReadFile: Can't load file t/440004.xml
======================================
LoadVoices(44)
movloadmovie success: reply=1 (1 / 57606)
[mpegvideo @ 0xc89ada0] max_analyze_duration 5000000 reached at 5000000
[mpegvideo @ 0xc89ada0] Estimating duration from bitrate, this may be inaccurate
movloadmovie success: reply=1 (1 / 57606)
======================================
SE_ReadFile: Can't load file t/440011.xml
======================================
======================================
SE_ReadFile: Can't load file t/440011.xml
======================================
======================================
#2124[024821]2124.__runScript 0.SV_ArraySize() operand not an array
======================================
======================================
#2124[024821]2124.__runScript 0.SV_ArraySize() operand not an array
======================================
J3D_LoadCut2: Loaded embedded body 901000003
J3D_LoadCut2: Loaded embedded body 901000004
----
Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901400003
J3D_LoadCut2: Loaded embedded body 901400004
J3D_LoadCut2: Loaded embedded body 901400005
J3D_LoadCut2: Loaded embedded body 901300000
J3D_LoadCut2: Loaded embedded body 901300001
J3D_LoadCut2: Loaded embedded body 901300003
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M3_03_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_M5_glass_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_m4_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_m4_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_m4_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_argon_m4_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_boron_m3_03_light, using dummy texture 
======================================
movloadmovie success: reply=1 (1 / 66632)
J3D_LoadCut2: Loaded embedded body 639900001
J3D_LoadCut2: Loaded embedded body 639900002
ST_LoadCut() cut 6399 loaded
ST_StartFromIndex(6399, 1) found starttime 0, endtime 601000
Switching to Camera Camera01
Sent CutEvent t=0 fadein 200
[mpeg @ 0x16cff500] max_analyze_duration 5000000 reached at 5000000
[mpeg @ 0x16cf67e0] max_analyze_duration 5000000 reached at 5000000
movloadmovie success: reply=1 (1 / 85875)
Autofreeing texture 11 [NULL]
movloadmovie success: reply=1 (1 / 91490)
Failed stoping movie 8301
======================================
Failed freeing movie 8301
======================================
ST_UnloadCut() cut 6399 start
ST_UnloadCut() starting unload cut 6399, numinst=3
J3D_FreeCut() freeing cut 6399
======================================
#-18283(2403)[0beeca]2402.Graphics_RenderTexts NULLa.SV_ArrayRead(0) tried to read nonexisting array
======================================
======================================
#-18284(2406)[0beeca]2402.Graphics_RenderTexts NULLa.SV_ArrayRead(0) tried to read nonexisting array
======================================
ST_LoadCut() cut 2224 loaded
Finished Inst3D Dump
J3D_FreeCut() freeing cut 50224
J3D_FreeCut() freeing cut 50232
J3D_FreeCut() freeing cut 50246
J3D_FreeCut() freeing cut 4169
J3D_FreeCut() freeing cut 50250
J3D_FreeCut() freeing cut 50252
J3D_FreeCut() freeing cut 50253
J3D_FreeCut() freeing cut 50254
J3D_FreeCut() freeing cut 50255
J3D_FreeCut() freeing cut 4177
J3D_FreeCut() freeing cut 50258
J3D_FreeCut() freeing cut 50271
J3D_FreeCut() freeing cut 50291
J3D_FreeCut() freeing cut 50303
J3D_FreeCut() freeing cut 50351
J3D_FreeCut() freeing cut 50352
J3D_FreeCut() freeing cut 2224
J3D_FreeCut() freeing cut 9008
J3D_FreeCut() freeing cut 9010
J3D_FreeCut() freeing cut 9013
J3D_FreeCut() freeing cut 9014
J3D_FreeCut() freeing cut 825
J3D_FreeCut() freeing cut 50000
J3D_FreeCut() freeing cut 50001
J3D_FreeCut() freeing cut 50010
J3D_FreeCut() freeing cut 50013
J3D_FreeCut() freeing cut 50017
J3D_FreeCut() freeing cut 50018
J3D_FreeCut() freeing cut 50019
J3D_FreeCut() freeing cut 50020
J3D_FreeCut() freeing cut 50021
J3D_FreeCut() freeing cut 50025
J3D_FreeCut() freeing cut 50027
J3D_FreeCut() freeing cut 50028
J3D_FreeCut() freeing cut 50040
J3D_FreeCut() freeing cut 50094
J3D_FreeCut() freeing cut 50095
J3D_FreeCut() freeing cut 50130
J3D_FreeCut() freeing cut 50134
J3D_FreeCut() freeing cut 50136
J3D_FreeCut() freeing cut 50138
J3D_FreeCut() freeing cut 50140
J3D_FreeCut() freeing cut 50144
J3D_FreeCut() freeing cut 50146
J3D_FreeCut() freeing cut 50147
J3D_FreeCut() freeing cut 50149
J3D_LoadCut2: Loaded embedded body 901000003
J3D_LoadCut2: Loaded embedded body 901000004
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901400003
J3D_LoadCut2: Loaded embedded body 901400004
J3D_LoadCut2: Loaded embedded body 901400005
J3D_LoadCut2: Loaded embedded body 901300000
J3D_LoadCut2: Loaded embedded body 901300001
J3D_LoadCut2: Loaded embedded body 901300003
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_M3_03_light, using dummy texture 
======================================
ST_UnloadCut() cut 2224 start
ST_LoadCut() cut 2225 loaded
ST_UnloadCut() cut 2225 start
ST_UnloadCut() starting unload cut 2225, numinst=14
J3D_FreeCut() freeing cut 2225
movloadmovie success: reply=1 (1 / 110943)
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_teladi_m5_03_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m3_03_light, using dummy texture 
======================================
======================================
{-18201,-18202,-18203,-18204,-18205,-18206}.SV_ArrayRead(6) #-17850(4223)[05ff35]2004.AddWare array index out of bounds [0..5]
======================================
movloadmovie success: reply=1 (1 / 162233)
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
New 3d sound for (pri= 11) unknown
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
======================================
SFX_StopSample() failed stopping sample 923
======================================
movloadmovie success: reply=1 (1 / 188029)
----
Warning!  Some triangles have zero area!
----
ST_LoadCut() cut 2224 loaded
Finished Inst3D Dump
J3D_FreeCut() freeing cut 50197
J3D_FreeCut() freeing cut 50203
J3D_FreeCut() freeing cut 50222
J3D_FreeCut() freeing cut 50224
J3D_FreeCut() freeing cut 50225
J3D_FreeCut() freeing cut 4163
J3D_FreeCut() freeing cut 50246
J3D_FreeCut() freeing cut 50247
J3D_FreeCut() freeing cut 4169
J3D_FreeCut() freeing cut 50250
J3D_FreeCut() freeing cut 50252
J3D_FreeCut() freeing cut 50253
J3D_FreeCut() freeing cut 50254
J3D_FreeCut() freeing cut 50256
J3D_FreeCut() freeing cut 4177
J3D_FreeCut() freeing cut 50258
J3D_FreeCut() freeing cut 50264
J3D_FreeCut() freeing cut 50266
J3D_FreeCut() freeing cut 4207
J3D_FreeCut() freeing cut 4209
J3D_FreeCut() freeing cut 50291
J3D_FreeCut() freeing cut 50307
J3D_FreeCut() freeing cut 50312
J3D_FreeCut() freeing cut 50330
J3D_FreeCut() freeing cut 50332
J3D_FreeCut() freeing cut 50333
J3D_FreeCut() freeing cut 4260
J3D_FreeCut() freeing cut 2224
J3D_FreeCut() freeing cut 701
J3D_FreeCut() freeing cut 9008
J3D_FreeCut() freeing cut 9010
J3D_FreeCut() freeing cut 9013
J3D_FreeCut() freeing cut 9014
J3D_FreeCut() freeing cut 822
J3D_FreeCut() freeing cut 50000
J3D_FreeCut() freeing cut 50001
J3D_FreeCut() freeing cut 50010
J3D_FreeCut() freeing cut 50013
J3D_FreeCut() freeing cut 50019
J3D_FreeCut() freeing cut 50020
J3D_FreeCut() freeing cut 50065
J3D_FreeCut() freeing cut 50067
J3D_FreeCut() freeing cut 50068
J3D_FreeCut() freeing cut 50130
J3D_FreeCut() freeing cut 50136
J3D_FreeCut() freeing cut 50138
J3D_FreeCut() freeing cut 50142
J3D_FreeCut() freeing cut 50144
J3D_FreeCut() freeing cut 50146
J3D_FreeCut() freeing cut 50147
J3D_FreeCut() freeing cut 50153
J3D_FreeCut() freeing cut 50155
J3D_FreeCut() freeing cut 50171
J3D_LoadCut2: Loaded embedded body 901000003
J3D_LoadCut2: Loaded embedded body 901000004
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901400003
J3D_LoadCut2: Loaded embedded body 901400004
J3D_LoadCut2: Loaded embedded body 901400005
J3D_LoadCut2: Loaded embedded body 901300000
J3D_LoadCut2: Loaded embedded body 901300001
J3D_LoadCut2: Loaded embedded body 901300003
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
ST_UnloadCut() cut 2224 start
ST_LoadCut() cut 2225 loaded
ST_UnloadCut() cut 2225 start
ST_UnloadCut() starting unload cut 2225, numinst=14
J3D_FreeCut() freeing cut 2225
movloadmovie success: reply=1 (1 / 216972)
movloadmovie success: reply=1 (1 / 245520)
ST_LoadCut() cut 6239 loaded
ST_StartFromIndex(6239, 1) found starttime 0, endtime 33333
Sent CutEvent t=0 fadein 1000
Switching to Camera Camera01
Switching to Camera Camera02
Switching to Camera Camera03
Switching to Camera Camera04
Sent CutEvent t=32333 fadeout 1000
ST_UnloadCut() cut 6239 start
ST_UnloadCut() starting unload cut 6239, numinst=32
J3D_FreeCut() freeing cut 6239
======================================
#-17850(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
Segmentation fault (core dumped)

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Fri, 5. Feb 16, 12:23

@satanselbow

Try running: gdb ./X3R_main
Then do: r <enter>
When it crashes do: bt <enter>
Copy and paste the last 50 lines including the output of bt

satanselbow
Posts: 3
Joined: Wed, 3. Feb 16, 23:29
x4

Post by satanselbow » Wed, 10. Feb 16, 10:36

timon37 wrote: Try running: gdb ./X3R_main
Then do: r <enter>
When it crashes do: bt <enter>
Copy and paste the last 50 lines including the output of bt
Here we go - thanks for your prompt attention :)

Code: Select all


Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_02_light, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_diff, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_bump, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_spec, using dummy texture 
======================================
======================================
WARNING: Unable to load texture textures\C:\Documents and Settings\Markus.EGOSOFT\Desktop\New Folder (4)\old_shiptex\unique_split_m5_03_light, using dummy texture 
======================================
ST_UnloadCut() cut 2224 start
ST_LoadCut() cut 2225 loaded
ST_UnloadCut() cut 2225 start
ST_UnloadCut() starting unload cut 2225, numinst=14
J3D_FreeCut() freeing cut 2225
movloadmovie success: reply=1 (1 / 478342)
movloadmovie success: reply=1 (1 / 518358)
ST_LoadCut() cut 6239 loaded
ST_StartFromIndex(6239, 1) found starttime 0, endtime 33333
Sent CutEvent t=0 fadein 1000
Switching to Camera Camera01
Switching to Camera Camera02
Switching to Camera Camera03
New 3d sound for (pri=  9) unknown
Switching to Camera Camera04
Sent CutEvent t=32333 fadeout 1000
ST_UnloadCut() cut 6239 start
ST_UnloadCut() starting unload cut 6239, numinst=32
J3D_FreeCut() freeing cut 6239

Program received signal SIGSEGV, Segmentation fault.
B3D_InstAnimate (i3d=0x8a93658) at ../src/X3/engines/b3d.cpp:6910
6910	../src/X3/engines/b3d.cpp: No such file or directory.

(gdb) bt
#0  B3D_InstAnimate (i3d=0x8a93658) at ../src/X3/engines/b3d.cpp:6910
#1  0x0805aa11 in B3D_SceneAnimate (s3d=0xa642058)
    at ../src/X3/engines/b3d.cpp:6966
#2  B3D_Vbi () at ../src/X3/engines/b3d.cpp:3323
#3  0x080af2a7 in Client::CL_GameLoop (this=0x82f4a20)
    at ../src/X3/client.cpp:2652
#4  0x080ae4d3 in ego_main (argc=argc@entry=1, 
    argv=argv@entry=0xffffd474) at ../src/X3/client.cpp:2029
#5  0x080506a3 in main (argc=1, argv=0xffffd474, envp=0xffffd47c)
    at ../src/X3/s_linux/sdl2/sio.cpp:1263
(gdb) 




M-vector
Posts: 1
Joined: Fri, 12. Feb 16, 14:50

Post by M-vector » Fri, 12. Feb 16, 15:59

More than a year ago I noticed a performance issue in all 3 X3 games. From what I can tell it is the same issue Yggdrasill has. More specifically the framerate is low while the gpu utilization is also low.

Current system specs:
Archlinux: linux kernel version: 4.4.1-2-ARCH x86_64
Mesa 11.1.2
OpenGL renderer string: Gallium 0.4 on AMD TAHITI (DRM 2.43.0, LLVM 3.7.1)
CPU: AMD Phenom II X4 955BE (quadcore at 3.2GHz)
GPU: R9 280X (TAHITI using radeonsi) (3G VRAM)
RAM: 8G

Originally I had the issue with a AMD HD6870 (1G VRAM) on the open-source graphics drivers (BARTS using R600g). Last january I took some measurements with GALLIUM_HUD for the framerate, radeontop for GPU utilization, htop to measure CPU useage and iotop for hdd usage. Then I went in to X3:Albion Prelude and recorded these numbers:

main menu:
fps 20-24
GPU 35-39%
CPU ~114%
HDD usage 0%

new game menu:
fps ~10
GPU 14-18%
CPU ~106%
HDD 0%

new game argon peace keeper idle:
fps 9-13
GPU 4-11%
CPU 104%
HDD 0%

The CPU was mostly single threaded, which I vaguely remember not being the case 1 year ago. Which I suspect is due to improvements in MESA's opengl validation. So in january I also ran the game with the environment variable MESA_DEBUG=1 and LIBGL_DEBUG=1, and logged all terminal output to the file “X3:AP+D.log”. LIBGL_DEBUG didn't provide any interesting results but MESA_DEBUG did.

Output of “grep Mesa: X3:AP+D.log | sort | uniq”:
Mesa: User error: GL_INVALID_ENUM in glMatrixMode(mode)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)

2 weeks ago I replaced the HD6870 with a R9 280X, which has almost identical results from the same tests. (I still have the HD6870, but not in the system)

I will send the log files I made for the HD6870 and the R9 280X, via e-mail. If nessecary I can also make traces with apitace (on the HD6870 while tracing the game runs at 1 fps).

Usefull links:
list of environment variables:http://mesa3d.org/envvars.html
current state of MESA opengl:https://mesamatrix.net/
radeon specific list of driver related info:http://www.x.org/wiki/RadeonFeature/

edit:
The steam build runs at max graphics settings with vsync off and automatic quality conrtol off in 1920x1080 windowed mode. (at low graphics settings the framerate and gpu usage are slightly higher)
Last edited by M-vector on Tue, 1. Mar 16, 14:54, edited 1 time in total.

timon37
EGOSOFT
EGOSOFT
Posts: 485
Joined: Fri, 14. Dec 12, 11:02
x4

Post by timon37 » Tue, 16. Feb 16, 15:03

Uhh that looks painful:(
satanselbow wrote:crashes out after movie about 2nd wave attack in quickstart/new game :(
When is that exactly? You don't mean right after the first movie right? So I'm assuming you've got a savegame and it's reproducible from it?
If so then upload that savegame and paste a link (or send to my email).
If you have a savegame shortly before, which requires just a few steps to get to the crash that may also be useful (sometimes a crash is much later than when the real bug occurs).

Ohh and one more thing to try. Instead of ./X3R_main do:
./testandlaunch X3R_main

I'm not sure if X3 had the rpath set and that script sets LD_LIBRARY_PATH.

satanselbow
Posts: 3
Joined: Wed, 3. Feb 16, 23:29
x4

Post by satanselbow » Wed, 17. Feb 16, 11:14

timon37 wrote:
When is that exactly?
Start a Quickstart game -> meet squadron by north gate -> follow into next sector -> defeat enemies -> follow squadron -> movie plays where one of squad is destroyed -> movie end -> turn to engage enemy -> fire off a couple of shots -> CRASH!

Reliable as clockwork

I haven't got far enough in to warrant a savegame - although I could dock and create one just to see if crash still appears :idea:
timon37 wrote:
Ohh and one more thing to try. Instead of ./X3R_main do:
./testandlaunch X3R_main

I'm not sure if X3 had the rpath set and that script sets LD_LIBRARY_PATH.
"testandlaunch" was not supplied with the GOG version I am running so I created it as per this thread and the crash remains - the other test units mentioned in that thread are likewise absent from my install

Last few lines from "testandlaunch ./X3R_main" crash output:

Code: Select all

Warning!  Some triangles have zero area!
----
J3D_LoadCut2: Loaded embedded body 901400003
J3D_LoadCut2: Loaded embedded body 901400004
J3D_LoadCut2: Loaded embedded body 901400005
J3D_LoadCut2: Loaded embedded body 901300000
J3D_LoadCut2: Loaded embedded body 901300001
J3D_LoadCut2: Loaded embedded body 901300003
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
----
Warning!  Some triangles have zero area!
----
ST_UnloadCut() cut 2224 start
ST_LoadCut() cut 2225 loaded
ST_UnloadCut() cut 2225 start
ST_UnloadCut() starting unload cut 2225, numinst=14
J3D_FreeCut() freeing cut 2225
movloadmovie success: reply=1 (1 / 463034)
movloadmovie success: reply=1 (1 / 537495)
ST_LoadCut() cut 6239 loaded
ST_StartFromIndex(6239, 1) found starttime 0, endtime 33333
Sent CutEvent t=0 fadein 1000
Switching to Camera Camera01
Switching to Camera Camera02
Switching to Camera Camera03
Switching to Camera Camera04
Sent CutEvent t=32333 fadeout 1000
ST_UnloadCut() cut 6239 start
ST_UnloadCut() starting unload cut 6239, numinst=32
J3D_FreeCut() freeing cut 6239
======================================
#-17852(4223)[00e403]2050.IsClass Undefined function 0(0).GetID called!
======================================
./testandlaunch: line 6: 18229 Segmentation fault      (core dumped) ./$1

Cheers,
Mark.

duozerk
Posts: 6
Joined: Wed, 24. Feb 16, 21:59
x4

X3AP Linux - Issue with planets & "flare" textures

Post by duozerk » Thu, 25. Feb 16, 23:08

Hello,

I recently installed X3AP for Linux (through steam).
Everything in the game seems to be working well (thus far) but I seem to have a big issue with what I assume to be some textures; specifically the clouds textures on all planets and what I assume to be some sort of semi-transparent "glare" texture when looking at remote stars.

Screenshots, planet issue:

https://i.imgur.com/rNTXk6W.jpg
https://i.imgur.com/OsfrQK7.jpg
https://i.imgur.com/noarXga.jpg

"Glare" issue:

https://i.imgur.com/mAd24nm.jpg

I assume the root cause is the same for both.
My system information: Debian Jessie amd64; NVidia Geforce 660M (and also an intel card, running the game through it has the same issue, see below).
The game is the very latest steam version, unmodded. The bonus pack is installed (through innoextract due to the lack of a linux port).
My graphic drivers are also the very latest, proprietary nvidia ones (the 9th February 361.28 release); installed in an attempt at fixing the issue - was previously using ~6 months old drivers with the same issue.
What I have tried:
  • Changing all graphics parameters (including the greyed out AA one through config.yaml, resolution, glow, etc.); running the game windowed as well; to no effect.
  • Updating my graphic drivers (no results).
  • Starting a new game with a different start script (the screenshots above come from a Humble Merchant one) - no result.
  • Checking the files integrity in steam (everything OK, no anomaly).
  • Running the game through my Intel card (I have optimus) instead of the nvidia one; the game runs fine but has the same issue.
  • Checking the "Run previous version" checkbox.
  • Launching the game directly with steam closed (still going through testandlaunch).
  • Launching X3AP_main and X3AP_main_b11 (I assume this stands for "build11") directly without going through the config tool first (with or without going through testandlaunch).
  • Out of despair, I also tried tweaking LD_LIBRARY_PATH to use some system libraries instead of the steam/game ones (tried that for libGL* libs such as libGLEW) - no results either.
  • Launching X3TC without AP; same issue.
None of it worked.
The fact that the issue occurs even with the intel card makes me suspect some sort of texture compression issue, perhaps ? note that in some systems, the planet looks mostly OK but a slight upper cloud layer is messed up the same way - weird lines instead of clear texture.
Also note on the above screenshots that on most planets, only part of the planet shows the issue.

I should also add that I played X3: Reunion years ago (the LGP preorder boxset - also participated in the LGP beta at the time) and I never saw such an issue through hundreds of hours of game time - this probably has low relevance though, since I suppose X3TC/AP improved on the graphics and the issue probably occurs on one of those improvements ?

In any case, this is a big issue for me because it completely breaks immersion; I'm also afraid some other texture issues will show up later in game (I only played for about an hour right now - no combat, for example). I was ecstatic when I discovered that X3TC not only was released for Linux, but that X3AP had been released as well, and I'd really like to be able to play this game.

Does anyone have any suggestion / tweaks I could try, or an idea of where this issue could come from ? even some sort of graphics improval mod that would replace those textures may be a solution, maybe ? or possibly converting the problematic texture to another format that the game could understand as well ?

Thanks in advance !

[Edit] Forgot to add, I also tried searching for similar issues on Google to no effect; and also tried looking through this very topic for similar issues with no results either (a "search topic" feature on this forum would be a great addition, by the way). Finally, I also looked extensively through the game log (stdout & stderr) but nothing seems out of order - no "unable to load texture" or really any error message that seems relevant.

[Edit2] Updated my forum profile to link to my steam account to prove ownership of the games in case this is required.

[Edit3] I have performed a more extensive search on the forums and it seems to be the exact same issue as another forum user, Gligli, reported previously: http://forum.egosoft.com/viewtopic.php? ... 68#4482968; however, there was never any follow up. I did send a PM to that user just in case. At least I know I'm not alone !

duozerk
Posts: 6
Joined: Wed, 24. Feb 16, 21:59
x4

Fixed

Post by duozerk » Sat, 27. Feb 16, 02:24

Please disregard my previous message - I found the source of the "issue" and fixed it (after a few hours messing with the mesa env variables to try and find a root cause...).

Basically, my bumblebee setup was completely messed up for 32 bits apps (and only for those) since a recent update; so when I was trying to run the game through bumblebee, it went through the mesa libGL/my intel card.

The X3 log pretty clearly showed a GL vendor string saying Intel/MESA DRI instead of the expected NVIDIA / Geforce 660M but somehow I missed it... :-/

No wonder I had the same results using the Intel card or the nvidia one... it always used the intel one (despite the optimus hardware led on my laptop lighting up).

It means the issue does occur when playing through my intel card, by the way; I assume this is due to old Mesa libraries ? although those are the latest Jessie ones.

In any case, I can finally play :-) Thanks !

Yggdrasill
Posts: 28
Joined: Sat, 15. Jun 13, 00:14
x3ap

Post by Yggdrasill » Mon, 18. Apr 16, 17:44

I put in my old Radeon 5870 and compiled an earlier mesa driver (before commit 07c65b85eada8dd34019763b6e82ed4257a9b4a6) from the git repositories. I still have my Radeon R9 380 in the system, and it is the default card, but I use PRIME to offload X3TC onto the Radeon 5870 using the driver before the issue appeared. It works quite well, though a temporary workaround.

If anyone here has an older card that was supported by mesa in mid-2014 and you have abysmal performance with any UI on the screen (particularly text, it seems), then you can do a git reset --hard 07c65b85eada8dd34019763b6e82ed4257a9b4a6^1 after cloning the mesa git repos and compile that, using $LIBGL_DRIVERS_PATH pointing to the newly compiled drivers when running the game. If you have a newer card, you'll have to either replace it with an old one or put in an older one to run alongside it, offloading to it with PRIME or perhaps using VGA passthrough (my system doesn't support it), though you still need to compile the drivers.

You'll probably want to just compile them without permanently using them, so I'd highly recommend using $LIBGL_DRIVERS_PATH to use the older drivers for X3TC only.

I suspect the issue is with mesa, and so I'll probably make a bug report to them.

User avatar
EoD
Posts: 279
Joined: Wed, 6. Nov 02, 20:31
xr

Post by EoD » Fri, 22. Apr 16, 14:11

Yggdrasill wrote:I put in my old Radeon 5870 and compiled an earlier mesa driver (before commit 07c65b85eada8dd34019763b6e82ed4257a9b4a6) from the git repositories. I still have my Radeon R9 380 in the system, and it is the default card, but I use PRIME to offload X3TC onto the Radeon 5870 using the driver before the issue appeared. It works quite well, though a temporary workaround.

If anyone here has an older card that was supported by mesa in mid-2014 and you have abysmal performance with any UI on the screen (particularly text, it seems), then you can do a git reset --hard 07c65b85eada8dd34019763b6e82ed4257a9b4a6^1 after cloning the mesa git repos and compile that, using $LIBGL_DRIVERS_PATH pointing to the newly compiled drivers when running the game. If you have a newer card, you'll have to either replace it with an old one or put in an older one to run alongside it, offloading to it with PRIME or perhaps using VGA passthrough (my system doesn't support it), though you still need to compile the drivers.

You'll probably want to just compile them without permanently using them, so I'd highly recommend using $LIBGL_DRIVERS_PATH to use the older drivers for X3TC only.

I suspect the issue is with mesa, and so I'll probably make a bug report to them.
On both my Tonga (R9 380X, amdgpu+radeonsi) and my Barts (HD 6870, radeon+r600) I have between 1 and 8 fps while being docked at a station. I was not able to revert the mentioned commit due to build issues with my setup.

Code: Select all

$ glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD TONGA (DRM 3.1.0, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 11.3.0-devel (git-39e9cf6)
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

Code: Select all

$ DRI_PRIME=1 glxinfo | grep OpenGL
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD BARTS (DRM 2.43.0, LLVM 3.8.0)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.3.0-devel (git-39e9cf6)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
Has this issue been reported upstream somewhere?
The only way of discovering the limits of the possible is to venture a little way past them into the impossible. (Arthur C. Clarke)

Ever wanted to simulate a sp.-relativistic n-body gravitational system?

Yggdrasill
Posts: 28
Joined: Sat, 15. Jun 13, 00:14
x3ap

Post by Yggdrasill » Sat, 23. Apr 16, 23:19

No, I have been intending to do so for a while and then never got around to it. It doesn't help that apitrace and other tools result in just garbage output that is not relevant.

The only clue I have is the commit where it was introduced and the fact that the issue seems to intensify as more text appears on the screen, but that latter observation may be incorrect.

User avatar
EoD
Posts: 279
Joined: Wed, 6. Nov 02, 20:31
xr

Post by EoD » Fri, 29. Apr 16, 10:43

Yggdrasill wrote:No, I have been intending to do so for a while and then never got around to it. It doesn't help that apitrace and other tools result in just garbage output that is not relevant.

The only clue I have is the commit where it was introduced and the fact that the issue seems to intensify as more text appears on the screen, but that latter observation may be incorrect.
I did record the apitrace for the issue, but due to Apitrace' issue 234 the replay is super slow if you do not use "apitrace replay -b xxx.trace".
Simple main menu trace: X3TC_slow_apitrace.trace
Full trace with enabling/disabling overlay: X3TC_overlay_bug.trace

Code: Select all

...
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
Mesa: User error: GL_INVALID_OPERATION in glUniform4("_gl_LightSource[2].attenuation"@8 has 3 components, not 4)
...
This looks less like an apitrace issue, but like an application error to me. During the full trace one core is always on 100% and the GPU load is very low. But the fps jump from ~10fps to ~60fps (V-Sync) when the overlay is disabled. Does the application regulate the framerate to those awful values?

If you replay the apitrace you can actually see that the scene in the main menu and the scene without ingame-overlay there are many more frames drawn than the one with the overlay enabled.
The only way of discovering the limits of the possible is to venture a little way past them into the impossible. (Arthur C. Clarke)

Ever wanted to simulate a sp.-relativistic n-body gravitational system?

Yggdrasill
Posts: 28
Joined: Sat, 15. Jun 13, 00:14
x3ap

Post by Yggdrasill » Sat, 30. Apr 16, 21:16

That is indeed the error I've seen from apitrace as well, but it wouldn't explain why it still occurs when the HUD is hidden, yet the game runs at a smooth 60 FPS when it is. I don't think we can blame that error for the performance issues faced on Mesa.

Another thing to note, this issue with performance seems to be a lot like the Windows issue that AMD users have, though it might be a red herring.

steve_v
Posts: 164
Joined: Sun, 12. Jun 16, 08:39
x4

X3: TC & AP crash (SIGSEGV) when switching view, on Debian 8.5

Post by steve_v » Sun, 12. Jun 16, 08:57

Hi all, new here... With problems, of course. ;)
Just purchased X3: Terran War Pack (GOG, support req. also posted there), and I'm getting reproducible crashes to desktop. :(
Attempts to switch ship view with F1, F2 etc. result in CTD with "Segmentation Fault" logged to console. This occurs in both TC & AP, with or without preloading GOG library pack.

Repro: Start new game, press F1 or F2 (may take ~3 view switches) -> crash. No other actions in game. No savegame, as I don't get as far as saving before crashing.

Fiddling with graphics settings makes no difference, even on lowest preset / AA AF off etc.

Debian GNU/Linux 8.5, Nvidia 364.19, have tried Nvidia beta drivers to no avail.
Can provide detailed system spec, but not sure how to attach files on this board and don't really want to drop a massive WOT.
Any other logs I can provide?

Had a quick look through the Linux support thread but I don't see this specific issue... or maybe not looking hard enough.
Any advice? I'd kinda like to play this, but CTDs aren't much fun. :(

ED: Syestem logs say:
X3TC_main[2376]: segfault at fffdff39 ip 00000000f46645e6 sp 00000000ffca9c00 error 4 in libnvidia-glcore.so.364.19[f31c6000+1bf1000]

Alan Phipps
Moderator (English)
Moderator (English)
Posts: 30435
Joined: Fri, 16. Apr 04, 19:21
x4

Post by Alan Phipps » Sun, 12. Jun 16, 12:20

Moving above post to Linux support thread.
A dog has a master; a cat has domestic staff.

Premislaus
Posts: 4
Joined: Mon, 25. May 09, 20:32
x3ap

Post by Premislaus » Sat, 25. Jun 16, 04:27

Hi! I'm currently on Linux, and I have some problems with performance - menus in X3:TC and AP causes stuttering. After new game and before hiding HUD (shift+h), I experience 1-13 FPS. After shift+h 30-70 FPS!

My specification:
openSUSE Tumbleweed (with KDE) and Ubuntu 16.04, both x86-64.
Mesa 11.2.2 and 12.1-devel (DRI2 and DRI3).
Kernel 4.6.2 in openSUSE, in Ubuntu maybe 4.4.
X.Org 1.18.3.

AMD A6-4400M.
Radeon HD 7520G (OpenGL 4.1) and 7670M (OpenGL 3.3).
6 GB of RAM.

This patch does not make difference - http://forum.egosoft.com/viewtopic.php?t=390501.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude / Farnham's Legacy - Technical Support”