[A14] LINUX: Game not launching (potential fixes in first post)

Started by deboute, July 15, 2016, 03:46:54 PM

Previous topic - Next topic

deboute

@milon here it is, original post updated with the potential fix and thank you for your time !

milon

Thanks!

Quote from: tskx on July 15, 2016, 05:06:15 PM
seams to crash at libmono, every log says:
libmono.so(+0x91772) [0x7ffff352a772]
after that all the logs differ. No idea what that means but in my log there is a part that might help:
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
RimWorldLinux.x86_64: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.

...

Hmm.  The 'Unknown sequence number' could be a System Language issue - Mono seems to have issues with knowing how various countries store & represent numbers (ie. decimal separator, thousands separator).  It could also be a failed attempt to initiate some kind of multi-threaded operation, as suggested by the next line.  But again, I'm really out of my depth here.

I'm tempted to think that Wine + Windows RimWorld will work, but you'd need a decent computer to handle all the underlying system translation calls - I think.  I have zero experience with Wine.  ;)

tskx

#17
Quote from: milon on July 15, 2016, 05:12:20 PM
[...]
I'm tempted to think that Wine + Windows RimWorld will work, but you'd need a decent computer to handle all the underlying system translation calls - I think.  I have zero experience with Wine.  ;)

well i'm out of it with running after pointers into the memory as well, but most unity games run fine with wine. I'll test it right away, thanks for the hint!

UPDATE: i got it working with »wine-1.9.13 (Staging)« and »winetricks tahoma corefonts« isn't nice but works for now.

milon

Good to know we've got a temp fix.  How's performance?  And do you have a modern system or an older one?

tskx

runs smooth as butter!

my System is a:
AMD Phenom(tm) II X6 1090T Processor (6x3,5Ghz)
Tahiti XT [Radeon HD 7970/8970 OEM / R9 280X] (multi-head with xrandr, 4x1920x1080 monitors)
16GB RAM
nearly endless hdd space  ;D

( as a note here, i use wine-staging with CSMT enabled, witch can improve gfx performance but is potential unstable )

loc978

Finally got it working under Wine. Had to uninstall 1.6 add the 1.9 PPA, reinstall, let winetricks do its automatic thing, then install windows core fonts. The tahoma font install would hang every time, so I found a .ttf file for it from some random site off google and manually stuffed it into Windows/fonts. Not technically "installed"... but it works.

Performance is better than expected on my old dinosaur. Minor frame drops when things are busy and ugly screen tearing on scroll... but very much playable.

freedomischaos

Argh, getting the same problems.
Running on ArchLinux 4.6.3-1-ARCH
Tried both Steam and SendOwl versions to no available. A13 still launches.

[david@vader RimWorld]$ cat Player.log
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
RimWorldLinux.x86_64: xcb_io.c:274: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Stacktrace:


Native stacktrace:

/usr/share/steam/steamapps/common/RimWorld/RimWorldLinux_Data/Mono/x86_64/libmono.so(+0x91772) [0x7f63522b4772]
/usr/lib/libpthread.so.0(+0x10f00) [0x7f63567bbf00]
/usr/lib/libc.so.6(gsignal+0x35) [0x7f6354fa6295]
/usr/lib/libc.so.6(abort+0x16a) [0x7f6354fa76da]
/usr/lib/libc.so.6(+0x2c297) [0x7f6354f9f297]
/usr/lib/libc.so.6(+0x2c342) [0x7f6354f9f342]
/usr/lib/libX11.so.6(+0x41e79) [0x7f6356024e79]
/usr/lib/libX11.so.6(+0x41f2b) [0x7f6356024f2b]
/usr/lib/libX11.so.6(_XEventsQueued+0x5d) [0x7f635602523d]
/usr/lib/libX11.so.6(_XGetRequest+0x55) [0x7f6356027fa5]
/usr/lib/libX11.so.6(+0x450bf) [0x7f63560280bf]
/usr/lib/libX11.so.6(_XError+0x131) [0x7f6356027891]
/usr/lib/libGL.so.1(+0x1d3a2) [0x7f63563483a2]
/usr/lib/libGL.so.1(+0x194a4) [0x7f63563444a4]
./RimWorldLinux.x86_64() [0xe989bf]
./RimWorldLinux.x86_64() [0xe995f2]
./RimWorldLinux.x86_64() [0x468a70]
/usr/lib/libc.so.6(__libc_start_main+0xf1) [0x7f6354f93741]
./RimWorldLinux.x86_64() [0x472889]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

Vendor:   X.Org
Version:  4.1 (Core Profile) Mesa 12.0.1
GLES:     0


cyorir

Temp fix didn't work for me. The pref file isn't being generated, and the original pref file I had only had 3 settings: fullscreen, width, and height. No UnityGraphics stuff.

tskx

Quote from: deboute on July 16, 2016, 06:30:56 AM
@freedomischaos have you tried the following ?
https://community.unity.com/t5/Linux-Editor/OpenGL-Graphics/m-p/2473257
tried it on my end, no effect

Quote from: cyorir on July 16, 2016, 04:16:24 PM
Temp fix didn't work for me. The pref file isn't being generated, and the original pref file I had only had 3 settings: fullscreen, width, and height. No UnityGraphics stuff.
what is your distro and wine version? (cat /etc/issue , wine --version)
The "delete all config" fix seams to work for some but not all.

freedomischaos

As dumb as this sounds, I was able to play it today. Played it for 6 hours. I still get the bug, periodically, but basically if I just keep hitting play (or launching it) even though it mostly launches and crashes over and over, or launches and black screens, it will on occasion seem to load successfully.

I got it to load once, closed it, it crashed a bunch, got it to load again, played for 6 hours (flawlessly, screen did a little shiver on an autosave sometimes) but it ran!

I haven't tried any of the fixes other than deleting my Config which has been a past fix before.

thuban

Hi,
I have exactly the same problem on debian jessie 64b.
Deleteing the .config/unity3d doesn't solve the problem for me.

Here the log file :


terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Stacktrace:


Native stacktrace:

/home/xavier/Jeux/RimWorld1234Linux/RimWorld1234Linux_Data/Mono/x86_64/libmono.so(+0x91772) [0x7fb50e61f772]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0) [0x7fb512a598d0]
/lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x7fb5112b8067]
/lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x7fb5112b9448]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZN9__gnu_cxx27__verbose_terminate_handlerEv+0x15d) [0x7fb511ba5b3d]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5ebb6) [0x7fb511ba3bb6]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5ec01) [0x7fb511ba3c01]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(+0x5ee19) [0x7fb511ba3e19]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt19__throw_logic_errorPKc+0x66) [0x7fb511bf98b6]
./RimWorld1234Linux.x86_64() [0xf02f36]
./RimWorld1234Linux.x86_64() [0xef4f0b]
./RimWorld1234Linux.x86_64() [0xee7549]
./RimWorld1234Linux.x86_64() [0xef37db]
./RimWorld1234Linux.x86_64() [0xe7a225]
./RimWorld1234Linux.x86_64() [0xe76fba]
./RimWorld1234Linux.x86_64() [0x696e7a]
./RimWorld1234Linux.x86_64() [0x7b2e78]
./RimWorld1234Linux.x86_64() [0x789c9d]
./RimWorld1234Linux.x86_64() [0x4686cd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fb5112a4b45]
./RimWorld1234Linux.x86_64() [0x472889]

Debug info from gdb:


=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================

820)
GfxDevice: creating device client; threaded=1

thuban

Using wine 1.8.2-1~bpo8+1 after winetricks corefonts looks great.
Hope libmono.so will be fixed, its nice to have a native game on linux without using wine .

UBWICOS

Is there still no solution for this problem? It's like paying $30 for nothing. I don't have Windows nor willing to install Wine just to play one game.
@freedomischaos: It actually works sometimes. But very rarely. The game actually launch after tons of tries on my computer.

thuban

Still not working for me too.  :-\
Maybe developpers will post here when they have some information. But yes, rimworld is so awesome that it's hard to wait :)