[0.18.1722] Rendering Issue - Ubuntu

Started by Growlkor, November 23, 2017, 07:33:04 PM

Previous topic - Next topic

Growlkor

I just tried my first game in B18 and it seems to be having issues rendering any textures.  No mods are enabled, I tried a fresh install & attempted both steam and non-steam versions with fresh installs.  Also attempted to roll back to A17 to see if it was any computer issue that popped up and I was not aware of, A17 continues to work fine without issue.

Attached are screenshots of the issue

Here is what the debug log had

Unexpected culture: . Resetting to en-US.
Verse.Log:Warning(String)
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()

Command line arguments: -logfile /tmp/rimworld_log
Verse.Log:Message(String)
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()

RimWorld 0.18.1722 rev1210
Verse.Log:Message(String)
RimWorld.VersionControl:LogVersionNumber()
Verse.Root:CheckGlobalInit()
Verse.Root:Start()
Verse.Root_Entry:Start()

Initializing new game with mods Core
Verse.Log:Message(String)
Verse.Game:InitNewGame()
Verse.Root_Play:<Start>m__1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()



[attachment deleted by admin: too old]

Calahan

There appear to be a number of Linux users having issues with B18, although don't think any of them have reported this exact issue. Anyway, can you please check that your GPU drivers are up to date, as well as posting your log file (as an attachment ideally). Details on where to find it can be found here: https://ludeon.com/forums/index.php?topic=513.0

Growlkor

GPU is up to date currently, I am attaching my log to this post for you

[attachment deleted by admin: too old]

Growlkor

Update
I have attempted to run the windows version of the game via wine and it appears to run properly being emulated like that.  This appears to be a native linux issue new to a18

Calahan

Thanks for the log file and additional info (re: Wine + Windows version). Although that log file seems to be from A15?!, as it has the following entry in it RimWorld 0.15.1284 rev142 . Not sure how that's come about as that version is well over a year old, but that doesn't appear to be the B18 log file, and so isn't any help diagnosing this problem.

So can you please check again for the B18 log file. Try looking in the Data folder of wherever you have B18 installed. There should be a folder path RimWorld/RimWorldLinux_Data that contains the B18 log file.

Growlkor

Well I have been playing this game since A7, not sure why that would happen tho.

So I have scoured and deleted every file and folder relating to Ludeon or Rimworld from the computer, reinstalled the game (non steam version to make sure its not doing any syncing silliness) and started it up (same issue).  Attached will be the new log the game generated

[attachment deleted by admin: too old]

Calahan

Thanks for the updated log. It is the B18 one this time :)

There's only one error in your log, and I'm not even sure it is an error (it could be just feedback) as I've never seen it before:

(Filename: /home/builduser/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)

Unsupported encoding: 'iso-8859-1,text/plain'


The few results Google gave were not answers I understood (too technical), but I doubt it's the cause of your graphical issue. But what might be though is...

Do you know, or can you check what OpenGL support your GPU provides? Because another Linux user posted some excellent info about the current graphical issues that some Linux users are having with B18 here https://ludeon.com/forums/index.php?topic=36958.msg381008#msg381008

The basic gist of it is that Unity no longer supports OpenGL 2.1, and now requires a GPU that supports at least OpenGL 3.2. So if your GPU doesn't provide this then unfortunately you might be in the same boat as that user (and other Linus user), which is that due to Unity updates, B18 and perhaps all future versions of RimWorld, require a GPU which supports at least OpenGL 3.2.

Growlkor

So I looked into the version of OpenGL that I am running and what GPU can support.  It looks like I was on OpenGL 3.0 and the GPU officially supports 3.2 (via windows based drivers).   I plucked around and turns out there is a thing known as mesa that handles the OpenGL for Ubuntu and it supports up to OpenGL 4.5 but defaults to 3.0 for what seems like a safety blanket compatibility setting....  poked around some more and ran some of the update commands that I found for mesa, it still says I am running 3.0 but the game is functioning now?   
I was at the point of poking into pre-launch commands to force the system to specifically run the game with the 4.5 but when I just ran the game as is from the console without adding any extra commands it worked!  I tried to launch it normally and it worked!  Installed the steam version and it also continued to work.  So I never did add on any command to force to 4.5 but somewhere along the line of doing mesa related updates something clicked and everything appears to be currently fine despite the system saying it is still on OpenGL 3.0

Calahan

Great to hear you managed to find a way to get the Linux version working again. It sounds like how it's actually working is a mystery, but it's working, so maybe better not to ask any questions :)

Nine_Legion

Hello Linux users.
Managed to make B18 work on Linux. The problem is that the new unity version doesn't run well on Linux x86_64 with old graphic cards. To make the game run, you need to use the x86 version.

Exemple of Linux with steam version (ubuntu/lubuntu). From the shell run the follow command:
LD_LIBRARY_PATH=~/.steam/bin32/ ~/.steam/bin32/steam-runtime/run.sh ~/.steam/steam/steamapps/common/RimWorld/RimWorldLinux.x86

Fixed for me. I can now enjoy B18!

Nine

Calahan

@ Nine_Legion - Many thanks for posting that info/tip. B18 hasn't (so far) been the most welcome update for some Linux users due to it breaking support for older GPU's. So posting about a way to possibly help restore that compatibility is certainly much appreciated.