Rimworld is absolutely amazing game, it provided me countless hours of fun already and one of its most magnificent qualities is insanely rich and productive modding community. There are hundreds of cool mods on Steam and here on forums, some are plain OP and some are fine-tuned to blend in with vanilla content perfectly.
I am more than sure, that I am not alone in trying to run with 100-120+ mods, which pretty much doubles or even triples the available content, so you must be familiar with problems that abuse of too many mods can bring you - lags and crashes. How do you guys deal with such variety, choosing to play with some mods, sacrificing others? You know - the eternal 32-bit application memory limit problem, which just silently crashes RW to desktop, when you try to cram too much stuff in it?
I dealt with lag problem rich-boy style, bought the best CPU i could and overclocked it to space levels, so I don't have any problems with lags. So now I have memory related ones)
Maybe there is a magic wand that makes RW able to access more than 4 gb of RAM and I don't know about it. Or maybe there is a mod or tweak, that optimizes memory usage, eliminates memory leaks...?
Any opinions, advice and info about mods in general, memory problems, ways to identify and solve them - I'd be glad to hear all of them, if you got the time to spare.
One thing - i really like to play on huge maps, so tips like "you should play on small-default sized maps and have 13 people storyteller gives you" aren't really viable. Cheers!)
The magic wand is to install Linux because RimWorld comes with x86-64 architecture and can use all the available RAM.
I run with a lot of mods and a huge map. It never crashes with OOM and I mean it.
Quote from: notfood on January 03, 2018, 07:11:46 PM
The magic wand is to install Linux because RimWorld comes with x86-64 architecture and can use all the available RAM.
I run with a lot of mods and a huge map. It never crashes with OOM and I mean it.
Well I'll be! Thats news to me. I assume Linux installed on a virtual machine like VirtualBox for example will do the trick then? I don't know crap about Linux so I won't be using it as a main OS, but I sure as hell will make a small virtual image if that helps me get rid of this atrocious memory limitation.
It's pretty easy to make single-purpose virtual machines for this sort of thing. It can easily pay off, even with the virtual machine overhead, especially if you use it for more than one game.
That's one of the reasons I find Windows/Linux wars so amusing; each can run the other as a virtual instance, so the point is largely moot.
You guys just made my day. No, thats not right - my whole vacation! I got sick and tired of crashes either on map gen or after like 1-2 hour of play in the most important moment. Finally my damn 32 Gb of Ram can be useful for change. Now I just have to figure out, how to properly install and use Linux after years and years of Windows use.
And I don't need all that memory reclaiming, 4gb patches and other voo doo stuff... How glorious is that?! Unless Linux version of RW has its own weird quirks and issues.
Welp. Surprisingly enough I got Steam working on an Ubuntu 17.10 build via VirtualBox. But god how it sucks ass performance-wise, i dunno anything about Linux, so maybe I just did something way wrong. I will also try one other vitrual machine, but I kinda think if I want limitless ram for RW I'll have to go dual boot route and thats really unpleasant :(
Upd: Damn, when you're right - you're right. I overloaded RW with crapton of mods and it did start up and even worked properly (even though performance was crap), so I am thinking about dual-booting ubuntu 17 with win 10.
So the question for knowledgeable people is - will there be even proper drivers on Ubuntu for my hardware to work properly? (Motherboard Asrock z370 extreme4, Intel core I7 8700k, Nvidia GeForce GTX 980).
Use the closed source video drivers and it'll be golden
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
Quote from: notfood on January 03, 2018, 10:47:52 PM
Use the closed source video drivers and it'll be golden
https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia
Yeah, I ve spent some time to read about how drivers work in Linux. Basically i just need proprietary driver for my videocard, and the rest will either work just fine or it won't at all, so why the hell not? If I can save up and spend good money just to play RW without problems, I can sure spare some ssd space for Ubuntu if gets me what I want)) Thanks for the advice =)
The only problem is setting up the dual-boot properly; Windows is SERIOUSLY obnoxious about this. Make sure you read a lot before starting...
Quote from: Bozobub on January 04, 2018, 11:22:06 AM
The only problem is setting up the dual-boot properly; Windows is SERIOUSLY obnoxious about this. Make sure you read a lot before starting...
Yeah I was anticipating problems and read quite a bit about dual booting Linux and Windows. But it was remarkably easy actually. Ubuntu 17 installed alongside with Windows 10 without any kind of problems, I didn't even have to do much and now i can switch and both system work. Steam works fine, Rimworld works... I am getting crashes with videoplayers in Linux though, which is strange, but oh well, I'll just reboot to Windows, when I am in a mood to watch something or use Youtube, most importantly my Rimworld no longer has limited RAM, which is what I needed most. I still hope someday RW will adapt 64-bit architecture, so I won't need to dual boot, but for now it will do.
And Ubuntu itself looks and work quite nice, I can get used to it. Aside from mediaplayer bugs.
Nice to read that it worked well for you.
Weird that you areh aving media player bugs, try a different one. VLC?
Quote from: notfood on January 04, 2018, 02:34:07 PM
Nice to read that it worked well for you.
Weird that you areh aving media player bugs, try a different one. VLC?
VLC works, but steadily freezes the system up after some time. Stock media player now works (i didn't install extra package, which had codecs, so duh it would work of course), but another problem is RW refuses to load additional sounds from mods if they are in mp3 format (media player plays mp3 fine after codecs were installed). I guess those are just weird quirks Linux has. For now only advice I got - to convert it to .ogg or .wav
Also one of the hundred+ mods I've got somehow shows wrong version and mod ID number instead of a title in my modlist. That same mod under Windows shows everything correctly. Deleting and resubbing didn't do a thing. Weird thing - this mod's content works fine in the game, only version information somehow got effed up.
As to mod related greed the number of Mods where Rimworld kicks the bucket seems to be around 300-330 mods ..
Also the Number of Folders in the Modfolder has nearly the same effect on the loading time of rimworld as has the Number of activated mods.
Quote from: SpaceDorf on January 05, 2018, 09:33:43 AM
As to mod related greed the number of Mods where Rimworld kicks the bucket seems to be around 300-330 mods ..
Also the Number of Folders in the Modfolder has nearly the same effect on the loading time of rimworld as has the Number of activated mods.
Thanks for the info. I won't be anywhere near 300+ anytime soon, so thats a relief. I am actually really surprised how good RW runs on Linux, except for weird inability to detect and load modded mp3 sounds. Things like map generation with 100+ mods happen like 2 times faster, using Reroll Map now is pure bliss. Not to mention that it really doesn't crash which is extremely nice.
Although I do get one more weird bug - Toggling roof visibility shows it in bright purple color instead of usual green for thin roofs and dark green for thick ones. Probably isn't anything relates to OS, I think, just some mods conflicting.
Yeah... the toogling is a unity issues. I've been meaning to fix it for a while with a patch mod...
Quote from: notfood on January 05, 2018, 11:35:19 AM
Yeah... the toogling is a unity issues. I've been meaning to fix it for a while with a patch mod...
So that purple color roof overlay shows when mods are loaded is a Unity related bug then, not RW's or caused by mods?
Yep, happens to everyone using Linux or Mac.
Quote from: notfood on January 05, 2018, 12:30:54 PM
Yep, happens to everyone using Linux or Mac.
Weird... It doesn't happen if RW's unmodded on Linux. Oh, well. Better this purple crap than crashes. So despite couple weird quirks it has, I am really grateful for your advice to try it out.
Quote from: SpaceDorf on January 05, 2018, 09:33:43 AM
As to mod related greed the number of Mods where Rimworld kicks the bucket seems to be around 300-330 mods ..
Also the Number of Folders in the Modfolder has nearly the same effect on the loading time of rimworld as has the Number of activated mods.
So would it help to go through your mod folders and remove unnecessary things, like languages, source, etc. ? Or do you mean just the base folders for mods?
One more problem I discovered - for some reason my favorite "Work Tab" mod, doesn't work correctly. It has a feature which lets you divide one big job to many small ones, without touching other ones. Like you can ctrl-click "cooking" and it will separate it to butchering, doing bills at cooking stove and etc, while all other stuff remains combined. In Windows it works fine, but in Linux ctrl-click only does sorting thing as if it doesn't register ctrl click at all. Damn, now thats really annoying :(
Seems to be either Unity or Linux problem, since there are people on linux having same problem.
Oh? I thought it was a bug that even windows had. Report it to Fluffy, he is happy to help.
Quote from: notfood on January 05, 2018, 06:03:20 PM
Oh? I thought it was a bug that even windows had. Report it to Fluffy, he is happy to help.
Yep, already did. Apparently it does have something to do with key mapping in Ubuntu or something... Temporary workaround - using super button+ctrl and click - it kinda works, although mysteriously not every time. I guess these random quirks are what I was warned about before trying Linux out))
Quote from: Madman666 on January 05, 2018, 05:50:11 PM
One more problem I discovered - for some reason my favorite "Work Tab" mod, doesn't work correctly. It has a feature which lets you divide one big job to many small ones, without touching other ones. Like you can ctrl-click "cooking" and it will separate it to butchering, doing bills at cooking stove and etc, while all other stuff remains combined. In Windows it works fine, but in Linux ctrl-click only does sorting thing as if it doesn't register ctrl click at all. Damn, now thats really annoying :(
Seems to be either Unity or Linux problem, since there are people on linux having same problem.
I think I remember reading elsewhere the other day about this. I think the person said they hold down ALT + SHIFT or something like that to get it to work. Might've been on the WorkTab thread.
EDIT: I suppose I should check the new posts before posting, hah!
I made a mod to fix the purple overlay issue. Can you test?
It's attached to this post.
[attachment deleted by admin: too old]
This thread is a god send.
Quote from: notfood on January 06, 2018, 07:34:01 PM
I made a mod to fix the purple overlay issue. Can you test?
It's attached to this post.
Gladly. I am taking that.
UPD: Works finely. It doesn't differentiate between thin roofs and thick\overhead mountain ones, but the fact that its no longer that sickening purple crap and its transparent enough to see something through it already makes a very desirable fix. So thanks a bunch.
This thread has me seriously considering trying out Linux.
Quote from: Harry_Dicks on January 07, 2018, 03:54:31 AM
This thread has me seriously considering trying out Linux.
If you play vanilla RW, on medium or so maps and use like 10-20 mods, I'd say you don't really need it, it plays fine on Windows.
But if you have tons of mods, play on largest maps with full planet generation like me and you have problems with game suddenly crashing to desktop - Linux seems to doesn't have that problem at all because it has 64 bit version of RW, which has unlimited access to your PCs RAM supply. Performance is also a bit better, because Ubuntu is way less demanding on PC resources.
You'll have to read a bit on forums, how to install proprietary drivers for your videocard and codecs for proper use of mediaplayers and such. But otherwise Ubuntu works pretty much out of the box and so far I really like its speed and visuals. Also, if you do want to try it - do it via dual boot with your regular windows system, because quite a bit of stuff that works under windows doesn't work on Linux.
Quote from: Harry_Dicks on January 05, 2018, 04:08:27 PM
Quote from: SpaceDorf on January 05, 2018, 09:33:43 AM
As to mod related greed the number of Mods where Rimworld kicks the bucket seems to be around 300-330 mods ..
Also the Number of Folders in the Modfolder has nearly the same effect on the loading time of rimworld as has the Number of activated mods.
So would it help to go through your mod folders and remove unnecessary things, like languages, source, etc. ? Or do you mean just the base folders for mods?
I do delete mods that I don't use, or wanted to use but never did.
But I never thought of reducing the content of modfolders ( active or not ) because I saw enough bugs especially with missing or errors in language files.
Though done right the Idea sounds practible
1. Your sound problems aren't a Linux issue in general, but probably an Ubuntu problem. I hear sounds just fine.
2. Your game not recognising the correct 'version and mod ID number' is probably due to the mod author creating his/her mod on Windows and naming his/her 'About.xml' incorrectly, since Windows isn't case sensitive. It should be 'About.xml' instead of 'about.xml', so if that's the problem, just rename your file and tell the mod author about it. Sadly, Steam seems to be retarded in this regard, as well, so if this is the only thing the mod author changes, AFAIK the Steam workshop won't recognise the changes either and the author might have to add an empty text file to the mod, or something.
3. If you want a Linux distribution that's actually fast, don't use Ubuntu.
Quote from: 2.71828 on January 08, 2018, 03:55:56 AM
1. Your sound problems aren't a Linux issue in general, but probably an Ubuntu problem. I hear sounds just fine.
2. Your game not recognising the correct 'version and mod ID number' is probably due to the mod author creating his/her mod on Windows and naming his/her 'About.xml' incorrectly, since Windows isn't case sensitive. It should be 'About.xml' instead of 'about.xml', so if that's the problem, just rename your file and tell the mod author about it. Sadly, Steam seems to be retarded in this regard, as well, so if this is the only thing the mod author changes, AFAIK the Steam workshop won't recognise the changes either and the author might have to add an empty text file to the mod, or something.
3. If you want a Linux distribution that's actually fast, don't use Ubuntu.
1. I hear everything fine as well. As I said earlier the problem is with RW not recognizing mp3 sounds from mods on Linux. It does find, add and use sounds in .ogg or .wav just fine, but absolutely refuses doing so with mp3, showing red error instead. Other applications such as mediaplayers decode and use mp3s withuot problems. Maybe its a Unity thing dunno. Converting problem files to .ogg solved it.
2. It was as you said - lower case was the problem. Thanks for the information, I didn't know that, because on windows these differences doesn't seem to affect anything at all. Notified mod's author, so now everything should be displayed fine.
3. I am intrigued. For me Ubuntu 17.1 works quite fast even comparing to Windows 10 which is in turn quite faster than Windows 7, I used to run before the hardware upgrade. You say there are different Linux builds that even faster than that? Can you share them then? I'd like to try them out to see for myself.
The FASTEST Linux builds don't even have a GUI, and can be mind-numbingly difficult to use for anyone but an expert (who's somewhat of a masochist, to boot). Don't let it bother you; use whichever "flavor" of Linux you like. You'll find that each variant has its high priests, who tolerate no blasphemy or mention of other, heathen versions :P ::).
Some articles that may help:
https://www.lifewire.com/choose-best-linux-distro-for-needs-2201172
http://www.techradar.com/news/software/operating-systems/best-linux-distro-five-we-recommend-1090058
https://www.linux.com/news/learn/sysadmin/best-linux-distributions-2017%20
https://haydenjames.io/best-linux-distro/
A lot of people I know swear by Mint, for beginners (based on Debian/Ubuntu), for what that's worth, although I personally don't care much about versions on modern machines.
Thanks for your time sharing the links, will be quite interesting reading) And yeah, I am in no way neither a pro, nor masochist, so I'll stick with something with user interface other than black terminal you input commands into. With my hardware, I think, I can spare a small percentage to be used by OS anyway. For now Ubuntu seems to be fast, stable and quite user friendly, save for some weird quirks and similarly weird ways to resolve them.
I haven't checked but I get no mp3 errors ever, I didn't even notice if mp3 couldn't play.
Quote from: notfood on January 08, 2018, 11:15:22 AM
I haven't checked but I get no mp3 errors ever, I didn't even notice if mp3 couldn't play.
Hm, thats strange. I get error about sound clip missing in the dev console of RW whenever I try to play with Rimsenal Enhanced Vanilla mod, which adds some charge-based weapons. One of the weapons weirdly enough has a firing sound clip in mp3 (all other weapons have in ogg) and apparently game can't see it, when I play on Linux (works fine on windows).
Other applications play mp3 sounds quite fine on my Ubuntu, by the way. I quite often listen some music in mp3 while playing RW.
Quote from: Madman666 on January 08, 2018, 11:14:35 AM
Thanks for your time sharing the links, will be quite interesting reading) And yeah, I am in no way neither a pro, nor masochist, so I'll stick with something with user interface other than black terminal you input commands into. With my hardware, I think, I can spare a small percentage to be used by OS anyway. For now Ubuntu seems to be fast, stable and quite user friendly, save for some weird quirks and similarly weird ways to resolve them.
In that case, Mint may very well be your go-to distro. You don't EVER have to use the Terminal (although it is there if you'd like to use it, of course) for example. But Mint is based on Ubuntu anyway, so I don't think you're missing out terribly.
Quote from: Bozobub on January 08, 2018, 03:28:58 PM
In that case, Mint may very well be your go-to distro. You don't EVER have to use the Terminal (although it is there if you'd like to use it, of course) for example. But Mint is based on Ubuntu anyway, so I don't think you're missing out terribly.
Well I don't have a terminal fright and don't immediately go into seizures, when I see a command promt, so I'll probably just sit on Ubuntu for some time (don't fix, whats not broken, I guess), but thanks for the advice. If something breaks or I'll have some time on my hands and curiosity wins me over, I'll check out Mint next, sounds interesting.
Quote from: Madman666 on January 05, 2018, 11:31:37 AM
Quote from: SpaceDorf on January 05, 2018, 09:33:43 AM
As to mod related greed the number of Mods where Rimworld kicks the bucket seems to be around 300-330 mods ..
Also the Number of Folders in the Modfolder has nearly the same effect on the loading time of rimworld as has the Number of activated mods.
Thanks for the info. I won't be anywhere near 300+ anytime soon, so thats a relief. I am actually really surprised how good RW runs on Linux, except for weird inability to detect and load modded mp3 sounds. Things like map generation with 100+ mods happen like 2 times faster, using Reroll Map now is pure bliss. Not to mention that it really doesn't crash which is extremely nice.
Although I do get one more weird bug - Toggling roof visibility shows it in bright purple color instead of usual green for thin roofs and dark green for thick ones. Probably isn't anything relates to OS, I think, just some mods conflicting.
Modded mp3 sounds? Maybe try converting them to .ogg, P-music and the default rimworld music is also in .ogg, i run custom music mod and had to do this for my songs aswell because none of them would play in .mp3, i guess rimworld simply doesnt support it at all so have to just convert them, but now it is working just perfect.
https://www.freac.org - This free audio converter lets u do that, its the one i used aswell. Might solve ur problem there.
Quote from: lux3y on January 08, 2018, 05:10:33 PM
Modded mp3 sounds? Maybe try converting them to .ogg, P-music and the default rimworld music is also in .ogg, i run custom music mod and had to do this for my songs aswell because none of them would play in .mp3, i guess rimworld simply doesnt support it at all so have to just convert them, but now it is working just perfect.
https://www.freac.org - This free audio converter lets u do that, its the one i used aswell. Might solve ur problem there.
Thats a bit late as I already done that via Format factory on Windows, but thanks anyway:)
I just would ask, you are the only one who got trouble with these .mp3 at Rimworld under linux.
Maybe you should name these mods so other linux user could try them out.
Hmm. Today my RW actually managed to die silently
twice even on Linux (once on Ubuntu and once on Mint which I decided to try out after reading a bit about). Nothing like errors or any kind crash logs either. I guess its some mod breaking something essential, but now I don't even know where to start searching for a culprit, since there is no crashlog.
Quote from: Canute on January 09, 2018, 03:49:01 AM
I just would ask, you are the only one who got trouble with these .mp3 at Rimworld under linux.
Maybe you should name these mods so other linux user could try them out.
No prob, my modlist's here: https://pastebin.com/KV1mD9i3 with all the titles links and etc. It works perfectly fine on Windows (aside from memory leaks causing crashes of course), so I really don't think its a mod related bug with mp3s. Most likely it has something to do with mp3 codecs, drivers or some other shenanigans, I didn't do or didn't know I need to do on Ubuntu.
Quote from: Madman666 on January 09, 2018, 01:31:32 PM
Hmm. Today my RW actually managed to die silently twice even on Linux (once on Ubuntu and once on Mint which I decided to try out after reading a bit about). Nothing like errors or any kind crash logs either. I guess its some mod breaking something essential, but now I don't even know where to start searching for a culprit, since there is no crashlog.
Quote from: Canute on January 09, 2018, 03:49:01 AM
I just would ask, you are the only one who got trouble with these .mp3 at Rimworld under linux.
Maybe you should name these mods so other linux user could try them out.
No prob, my modlist's here: https://pastebin.com/KV1mD9i3 with all the titles links and etc. It works perfectly fine on Windows (aside from memory leaks causing crashes of course), so I really don't think its a mod related bug with mp3s. Most likely it has something to do with mp3 codecs, drivers or some other shenanigans, I didn't do or didn't know I need to do on Ubuntu.
Good luck! I'm somehow intrigued to keep reading these posts, to see how Linux is coming along for you ::)
Quote from: Harry_Dicks on January 09, 2018, 04:57:57 PM
Good luck! I'm somehow intrigued to keep reading these posts, to see how Linux is coming along for you ::)
Thanks)) Linux itself coming quite fine) I like it. I won't be completely switching to it of course, but will keep Mint for RW for sure. I just hope I'll eventually find what the hell is wrong with my modlist that causes crashes even on 64 bit version...)
Check /tmp/rimworld.log for any weird crashes
Quote from: notfood on January 10, 2018, 09:53:11 PM
Check /tmp/rimworld.log for any weird crashes
There is no such file anywhere :( Search didn't find anything either.
My bad, it's called rimworld_log and it's located in the /tmp directory
I used to have problems loading sounds on some mods when I was using a mac. Sometimes it would show errors. I want to say I came across the issue in one of my own mods as well and fixed it by using a different def as I noticed users would use an alternative one in older mods.. I may be wrong on that since it's been some time. Sorry can't recall specifically which def it was if that indeed was the case.
I reported the sound error to a modder when I came across his mod and he fixed the issue a while back. http://steamcommunity.com/sharedfiles/filedetails/?id=1206968611 (Note: This was in A17 so not sure if everything works properly in b18)
So that might be worth looking into to see what he did and compare other mods that have issues loading sounds.
@notfood
No luck with that either. Its like no logs were created at all. I am convinced something is utterly broken in my modlist.
@Jibbles
Dunno if its even worth reporting, since on Win 10 it works fine and once I converted mp3 to ogg, it also worked on Linux. Its strange how only 1 of sound files in that mod was in mp3 and all others were in ogg. Can't really say if changing def type where this sound is defined would matter or even possible without revising mod's structure as my RW modding experience is minimal and limited to some xml meddling.
Strange, the logs are generated even is there is no errors. Maybe they are somewhere else.
Check your start_RimWorld.sh file, there is a line where it says:
LOG="-logfile /tmp/rimworld_log -savedatafolder=./SaveData"
It says logs should be where you said - /tmp/rimworld_log but I don't have such a folder anywhere. Either I am dumb or blind... UPD: it was the second. Found it. But since I played RW a bit after that crash and there wasn't any new ones, I am not sure it has the info you need to identify the problem. The log is attached to this message.
[attachment deleted by admin: too old]
Hey, @notfood, about that overlay thingy you introduced. I discovered, that any mod that introduces any kind of overlay gets broken into that purple crap (good example is popular Hygiene mod by Dubswise, which adds underground water overlay). Can you introduce a fix, that repairs all kinds of overlays (including new ones introduces by mods) for RW on Linux, or do I need to report it to Dubswise? Thanks!
It depends on the mods mostly. They use ExtraColor feature when they could easily use the normal color to tint and Linux/Mac don't like it for some reason. My fix should apply to Hygiene mod, I worked with it to come out as green.
Quote from: notfood on January 13, 2018, 04:02:21 AM
It depends on the mods mostly. They use ExtraColor feature when they could easily use the normal color to tint and Linux/Mac don't like it for some reason. My fix should apply to Hygiene mod, I worked with it to come out as green.
Strange, because I use your fix and it indeed does work for vanilla roof overlays, but Hygiene water overlays still gets effed.
UPD: I am an idiot. Somehow i lost my local mod folders and didn't add them all back, so that of course goes also for your overlay fix. Man, my brain is rusty as hell. So with your fix there is no purple crap anymore, but everything in Hygiene has same dark green transparent color and while it isn' as repulsive as that purple crap, it still doen't show how much water will you get from placing a water tower in any particular spot and thats a bit of a problem.
Here we go, another silent crash. I skimmed through the log, but I didn't really get what killed it and why. I am attaching the log to this message, so if anyone can say what the hell went wrong and which mod is the culprit - I'll be very grateful.
UPD: Searched the internet for part of the log and hit a jackpot on Reddit. Apparently what causes this crash on Linux are raiders trying to flee and indeed each time it happens I get a crash. Last time I reported a crash here was also caused by pirates, now that I remember. Without mods it doesn't happen, so I guess I know how to isolate the culprit now. Found a solution in that same Reddit thread:
Here's what I did:
sudo apt-get install libcap2-bin
This didn't do anything, I already had libcap2-bin installed
Then I did this:
sudo setcap cap_sys_ptrace=eip /home/jay/.local/share/Steam/steamapps/common/RimWorld/RimWorldLinux.x86_64 (replace the way to file with your own of course)
And that fixed it
And that really fixed crashes on raiders trying to flee. So if anyone having same problem with crashes using mods - this solution WORKS (it seemed to have worked but then problem returned, retracing my steps, to find, why it has stopped working). Also found the culprit - its a mod that adds an ability to fire weapons while moving "Run and Gun", which works fine on Windows, but causes a crash when raiders decide to flee on Linux.
Today apparently is an RW-Linux fixing day. Found a permanent solution to Pink overlay crap, that solves it completely even for modded overlays. It seems it is being caused by Nvidia drivers and using Nvidia Server Settings application to create Apllication profile for Rimworld with a setting:
GLIgnoreGLSLExtReqs=true
solves the issue permanently and without any problems like all kind of roofs being displayed with same color.
[attachment deleted by admin: too old]
That's so weird, I've never seen this error, only happens on fleeing raiders?
Receiving unhandled NULL exception
#0 0x007ffe47e21400 in funlockfileQuote from: Madman666 on January 13, 2018, 02:18:48 PM
Today apparently is an RW-Linux fixing day. Found a permanent solution to Pink overlay crap, that solves it completely even for modded overlays. It seems it is being caused by Nvidia drivers and using Nvidia Server Settings application to create Apllication profile for Rimworld with a setting:
GLIgnoreGLSLExtReqs=true
solves the issue permanently and without any problems like all kind of roofs being displayed with same color.
This is so good to know, should advertice everywhere.
Instead of creating an nvidia profile, edit start_RimWorld.sh, go to the last line and prepend
__GL_IGNORE_GLSL_EXT_REQS=1
so it looks like this:
#Locale resetting (important for Ubuntu players who are not native speakers of English) and launching the game.
__GL_IGNORE_GLSL_EXT_REQS=1 LC_ALL=C ./$GAMEFILE $LOG
Well since I already set up a Nvidia profile specifically for running RW its all fine, but thanks for the info!
As for the error and crashes - yes. With Run and Gun mod installed whenever I make raiders flee I always get either a crash with SIGABRT in the log or a bunch of red errors (if its the errors, then some raiders flee, some still attack somehow). Its like Linux doesn't agree with some function or something used in that mod... Don't know.
Could be related to the Harmony PreOpen issue Kiame discovered.
Quote from: notfood on January 15, 2018, 12:35:25 PM
Could be related to the Harmony PreOpen issue Kiame discovered.
Whats that? Is that treatable\repairable\fixable by noob means?
Quote from: Madman666 on January 15, 2018, 12:45:42 PM
Quote from: notfood on January 15, 2018, 12:35:25 PM
Could be related to the Harmony PreOpen issue Kiame discovered.
Whats that? Is that treatable\repairable\fixable by noob means?
I think it might mean we need to wait for pardeike to fix his mod :P If that's even what your issue is.
I am playing with 116 mods on Windows 10 atm...
I was playing on a non-Steam version of Rimworld, manually installing mods gradually by a lot of great modders like NotFood(Charlotte). I went from 30-60 mods. Then I decided to buy the Steam version because fuck it why not.
Ended up spending the entire day adding up to 116 mods. I cannot play on a 400x400 map without the game exploded. Launching the game to get it to initialize takes about 10 minutes. Uhh, I still use 100% world generation.
But this thread is making me think I should try out a Linux Distro as well or something lol.
Why not? It won't take much time to setup, won't take a lot of space and performance for RW is way better on Linux builds compared to Win 10. If you're prepared to have to setup a dual boot that is, because virtual machines proved to be too limiting performance-wise. Linux has a couple quirks, but near to nothing you can't solve with some googling.
Some mods that worked fine on windows probably might refuse to work properly though (Hygiene overlay problems, which has a solution) or won't work completely (Run And Gun is a good example and the only thing I couldn't solve even with the help of Almighty Search Machine Gods). I'll gladly make do without one mod for the sake of sticking 100 more and not having memory crashes each 30 minutes.
If I had to name one slight disadvantage over Windows, its that mod authors mostly won't be helping much if you report something doesn't work on Linux properly, since I assume most of them sit on Windows and won't go for installing another OS just for the sake of solving it. I won't say its true for everyone though, I've seen some incredibly dedicated modders here.
Installed Linux Mint 18.3
Kinda had to do some extra stuff just to get it working, but nothing too difficult.
RimWorld definitely loads faster on Linux, so do the mods loading, initializing, World 100% Generation, and 400x400 generation.
It's fantastic. I am excited.
Congrats!
I'm glad you guys are enjoying Mint; it has a decent rep, which is exactly why I suggested it in the 1st place, but I couldn't be *sure* (I don't actually use Linux very often ;D).
Quote from: Bozobub on January 22, 2018, 03:20:43 AM
I'm glad you guys are enjoying Mint; it has a decent rep, which is exactly why I suggested it in the 1st place, but I couldn't be *sure* (I don't actually use Linux very often ;D).
Yep, I really like Mint so far, a really neat and simple distro. Thanks for a recommend.
Quote from: kurosushi on January 21, 2018, 08:36:41 AM
Installed Linux Mint 18.3
Kinda had to do some extra stuff just to get it working, but nothing too difficult.
RimWorld definitely loads faster on Linux, so do the mods loading, initializing, World 100% Generation, and 400x400 generation.
It's fantastic. I am excited.
Glad it worked out for you as well!) RW really works at its best in Linux. I hope with further polish it will also do so in Windows eventually.
Quote from: Madman666 on January 22, 2018, 03:48:13 AM
Glad it worked out for you as well!) RW really works at its best in Linux. I hope with further polish it will also do so in Windows eventually.
Tynan said recently that they were able to get a mod's load time from I believe 90 to 50 seconds. So hopefully they keep progressing with this into the future. It would be really great if they could equally improve performance, but I don't think those kinda numbers would be realistic? Not sure.
Either way, good things are still coming our way in the future. Too bad Windows will always have it's RAM issue. Oh well, still need to get on this Linux train myself ::)
PS I think the mod they got to load faster was Combat Extended.
Quote from: Harry_Dicks on January 23, 2018, 06:59:13 PM
Tynan said recently that they were able to get a mod's load time from I believe 90 to 50 seconds. So hopefully they keep progressing with this into the future. It would be really great if they could equally improve performance, but I don't think those kinda numbers would be realistic? Not sure.
Either way, good things are still coming our way in the future. Too bad Windows will always have it's RAM issue. Oh well, still need to get on this Linux train myself ::)
PS I think the mod they got to load faster was Combat Extended.
Yes I seen that Tynan's post. Right now mod loading times are second most annoying issue after memory crashes, so it'll be amazing. Also I do still hope that once Tynan stops adding content he'll have enough time for a massive rewrite of the code to newer Unity engine that supports 64 bit for Windows version. Honestly that'll solve memory issues immediately (provided it won't add new issues, how it tend to be with new alphas\betas). So there is still hope that memory issue on Windows will eventually be gone.
Quote from: Madman666 on January 24, 2018, 12:58:03 AM
Quote from: Harry_Dicks on January 23, 2018, 06:59:13 PM
Tynan said recently that they were able to get a mod's load time from I believe 90 to 50 seconds. So hopefully they keep progressing with this into the future. It would be really great if they could equally improve performance, but I don't think those kinda numbers would be realistic? Not sure.
Either way, good things are still coming our way in the future. Too bad Windows will always have it's RAM issue. Oh well, still need to get on this Linux train myself ::)
PS I think the mod they got to load faster was Combat Extended.
Yes I seen that Tynan's post. Right now mod loading times are second most annoying issue after memory crashes, so it'll be amazing. Also I do still hope that once Tynan stops adding content he'll have enough time for a massive rewrite of the code to newer Unity engine that supports 64 bit for Windows version. Honestly that'll solve memory issues immediately (provided it won't add new issues, how it tend to be with new alphas\betas). So there is still hope that memory issue on Windows will eventually be gone.
If he's already generating Linux in 64 bit, doesn't it stand to reason he could generate Windows in 64 bit as well now?
Seems more likely he just didn't want upkeep on both 32 bit and 64 bit for windows during development.
Quote from: BlackSmokeDMax on January 24, 2018, 12:10:11 PM
If he's already generating Linux in 64 bit, doesn't it stand to reason he could generate Windows in 64 bit as well now?
Seems more likely he just didn't want upkeep on both 32 bit and 64 bit for windows during development.
No it doesn't. Its a totally different architecture, I can't say I am really well informed in those programming and OS shenanigans, but reading through Tynan's posts regarding 64 bit and multicore support it seems that it MUCH harder to adapt 32-bit RW on windows to 64 bit, than on Linux. Rimworld uses outdated (?) Unity engine, that doesn't support 64 bit and adapting it to use newer Unity versions apparently poses a crapton of problems. Also Linux 64 bit version was there for quite a while now, it wasn't added recently. So unfortunately I doubt it will happen any time soon. I just hope it happens at some point in the future.
Quote from: BlackSmokeDMax on January 24, 2018, 12:10:11 PM
If he's already generating Linux in 64 bit, doesn't it stand to reason he could generate Windows in 64 bit as well now?
Seems more likely he just didn't want upkeep on both 32 bit and 64 bit for windows during development.
I think that has nothing at all to do with it, and Madman is right. It's not like just flipping a switch, I think he would have to really rebuild a lot of stuff. And why do that as he is prepping for 1.0. That kinda stuff will
maybe happen further down the line, if ever at all. I was under the assumption (which could be entirely wrong) that Win64bit was in the same ball park as Z levels and multiplayer - don't plan on it.
Updating to a newer version of Unity is often NOT trivial. SPAZ 2 had similar problems, for example, and had to drop their entire multiplayer mode due to changes in the Unity netcode :-[.
FWIW (for non-programmers out there) 64bit does not automatically equate to multicore. 32bit->64bit conversion is relatively trivial provided the base engine supports it, but single->multicore is a lot harder (hence DF adaption from 32->64bit but not supporting multicore, as it would require pretty much a complete code rewrite, as Toady said)
64bit would fix most memory issues, but multicore would fix the lag issues present in most sessions (vanilla & modded). I know which I'd prioritise, but I'm not a DEV & Tynan has already said he's pretty much closing major code changes with v1.0 :(
If the game continues developing towards v2.0 that's when I'd expect multicore support
Quote from: Madman666 on January 24, 2018, 02:35:51 PM
Quote from: BlackSmokeDMax on January 24, 2018, 12:10:11 PM
If he's already generating Linux in 64 bit, doesn't it stand to reason he could generate Windows in 64 bit as well now?
Seems more likely he just didn't want upkeep on both 32 bit and 64 bit for windows during development.
No it doesn't. Its a totally different architecture, I can't say I am really well informed in those programming and OS shenanigans, but reading through Tynan's posts regarding 64 bit and multicore support it seems that it MUCH harder to adapt 32-bit RW on windows to 64 bit, than on Linux. Rimworld uses outdated (?) Unity engine, that doesn't support 64 bit and adapting it to use newer Unity versions apparently poses a crapton of problems. Also Linux 64 bit version was there for quite a while now, it wasn't added recently. So unfortunately I doubt it will happen any time soon. I just hope it happens at some point in the future.
Looking at some posts on Unity website like this one makes it appear creating 64 build unity for windows is nothing new at all. This post was from 2012 and there was already an option to select Windows 64 bit build back then.
https://answers.unity.com/questions/205435/can-i-make-a-64-bit-game-in-unity.html
Like Snafu mentioned, I believe coding for multi-cores is the thing that would cause real trouble. Of course that is not to say there won't possibly be tweaks/changes needed generating 64 bit instead of 32 bit. I thought *part* of the whole idea behind using unity was ease of use of compiling code for different platforms. And again, not to say there wouldn't possibly have to be changes for the different builds. But I wouldn't expect them all to be complete re-writes.
I think everything we are doing seems to be speculation. I'd be interested in hearing from someone who has actually done some compiles with unity on the subject. Perhaps some of you have, and just haven't mentioned that?
Must say, over a couple weeks i've been using Linux, it steadily grows into my preferred gaming platform. Not every game has a version for Linux, but some that have not only work fine, but seem to have way better performance compared to Windows. I can't thank @notfood enough for recommending it to me. I'd still like to eventually get a 64 bit Windows version of RW, but I think not getting it may not be as much of an apocalypsis for me now.
Quote from: Madman666 on January 26, 2018, 02:02:44 PM
Must say, over a couple weeks i've been using Linux, it steadily grows into my preferred gaming platform. Not every game has a version for Linux, but some that have not only work fine, but seem to have way better performance compared to Windows. I can't thank @notfood enough for recommending it to me. I'd still like to eventually get a 64 bit Windows version of RW, but I think not getting it may not be as much of an apocalypsis for me now.
How much of a hassle was getting RW to run on Linux? I see a bunch of things on the Steam forums somewhat regularly with people having issues. But I wonder how much of that is not even trying to figure things out, and how much are actual problems.
I already have an older ubuntu on an extra partition on my basement computer, and a spare drive on my main computer where I may try Mint next. Unless there is something better to try??
As a few people verify on this thread, Mint is pleasant to use, and meant to be as hands-off as possible, much like Windows, while still allowing full control. Mint also has a LOT of shells/desktop environments/window managers, if you don't like the default setup.
I haven't used it enough to give a proper opinion, myself, but it IS nice.
Fuck it, I'm getting on this Linux train!
Quote from: Harry_Dicks on January 27, 2018, 10:50:38 AM
Fuck it, I'm getting on this Linux train!
Be careful when setting up dual boot. The rest should be easy and fast. I believe you'll be pleasantly surprised by its performance.
I feel like I should mention as a warning and potentianlly an aid to others: This last summer, Windows 10 Creators Update hit. My work computer was dual-booted between Windows 10 and Linux, and had been working fine that way for months. Windows decided to re-partition my hard drive for the update. After the re-partitioning (which Windows should never have done without asking), both Windows and Linux stopped booting. This is because my bootloader, GRUB2, was pointed at the wrong locations on the hard drive. I was able to fix this by booting off a Linux live CD and running grub-mkconfig. The moral of the story? If you put Windows 10 and Linux together on the same HDD, Windows will sometimes violently lash out at its roommate (maiming itself in the process). You can prevent this from happening to you by doing any of the following:
- Put Windows 10 and Linux on separate drives
- Use Windows 7 or 8.1 instead of Linux
- Purge Windows from your system entirely
Cheers!
Quote from: Unboxious on February 01, 2018, 10:10:58 PM
- Use Windows 7 or 8.1 instead of Linux
I'm still on Windows 7. I would have probably ended up staying on Windows XP, if I hadn't felt like the world was moving on without me. I remember being so excited when my mom got a Compaq with Windows ME. Playing Warcraft 2 on battle.net back then was so much fun. I remember my favorite map was BGH No Air. There was also a fun map where everything was built for free and instantly, and I thought I had wiped out my childhood friend one time, and was just mopping up the stragglers. But that sneaky bastard had a peon hidden away in a forest, rebuilding his minions, eventually coming back to crush me. I couldn't press the ogre hotkey fast enough!
And I blocked Microsoft invasions by force and don't allow updates, so its all fine. The concept of enforced updates itself is bullshit and I am glad i didn't have to pay for that sack of crap a cent. Big thanks for a warning though! It would be nasty if my updates were enabled.
Oddly enough, I've had an issue over the past so many weeks where my auto-updates keep getting disabled for Windows. Has me a little concerned, because I want Windows to automatically download updates, but I will choose what and when to install. I would imagine there could be some sort of virus that would keep turning off your updates, as to perpetuate it flying under the radar. Am I being paranoid? Or has anyone had anything similar to this?
Hm. Other than a virus or some non-licensed (i call it opportunistic) software, I can't see the reason for such behaviour. Usually it takes a solid effort to disable updates instead of it disabling by itself (The new Microsoft infamous "You don't want updates, that break your shit? Guess what - we don't give a damn" policy). Some program activation tools do tamper with it, to prevent fake license being recognized, so if you don't have any pirated stuff installed, I suggest you running an anti-virus check. I can't understand, why would anyone ever want those incredibly annoying updates though. Honestly just install every single update that was available at the time of system install and then forbid it for a year or so (if not forever).
Quote from: Madman666 on February 02, 2018, 04:35:02 AM
I can't understand, why would anyone ever want those incredibly annoying updates though. Honestly just install every single update that was available at the time of system install and then forbid it for a year or so (if not forever).
That's what I usually do, just get all of the Windows updates every 6 months or so. It just gave me reason to wonder why they kept getting turned off, literally seconds after I turn them on.