Page 3 of 4

Re: Linux build makefile deployment?

Posted: Thu Oct 11, 2018 11:43 am
by Interkarma
I ran around my PCs and notebooks with an Ubuntu 18.04 live CD and was able to reproduce white screen on startup as well.

The good news is it seems confined to the startup scene. If you skip this straight into the game scene it starts OK (for me, anyway).

Try setting the following two items in settings.ini:
  • MyDaggerfallPath = <path to game files>
  • ShowOptionsAtStart = False
Setting ShowOptionsAtStart to false will skip the startup scene, which seems to be where the problem lies. I'm not sure why yet.

I probably won't delay builds this weekend for this, as vast majority of users are Windows which appears to be unaffected. We might even get the problem solved faster with more eyes on it.

Re: Linux build makefile deployment?

Posted: Thu Oct 11, 2018 12:19 pm
by Hazelnut
Oh I did get a white screen instead of startup screen but only the first time I ran it. Since then works just fine.

Re: Linux build makefile deployment?

Posted: Thu Oct 11, 2018 12:37 pm
by Jay_H
Linux Mint 18.3 does not reproduce at all. All clear.

Re: Linux build makefile deployment?

Posted: Thu Oct 11, 2018 2:41 pm
by pango
Weirdness is weird
Thanks all for testing on your systems :)

Re: Linux build makefile deployment?

Posted: Sat Oct 13, 2018 8:56 am
by pango
I ran the game fine with ShowOptionsAtStart = False
Then I reverted that change, and the menu showed up normally!

~/.config/unity3d/Daggerfall Workshop/Daggerfall Unity/prefs seems to have changed, the screen resolution is now correctly populated:

Code: Select all

--- "/home/.snapshots/17010/snapshot/petchema/.config/unity3d/Daggerfall Workshop/Daggerfall Unity/prefs"	2018-10-13 00:15:52.905113332 +0200
+++ "/home/petchema/.config/unity3d/Daggerfall Workshop/Daggerfall Unity/prefs"	2018-10-13 10:27:57.074776463 +0200
@@ -1,10 +1,10 @@
 <unity_prefs version_major="1" version_minor="1">
 	<pref name="Screenmanager Fullscreen mode" type="int">1</pref>
-	<pref name="Screenmanager Resolution Height" type="int">1</pref>
-	<pref name="Screenmanager Resolution Use Native" type="int">0</pref>
-	<pref name="Screenmanager Resolution Width" type="int">1</pref>
+	<pref name="Screenmanager Resolution Height" type="int">1080</pref>
+	<pref name="Screenmanager Resolution Use Native" type="int">1</pref>
+	<pref name="Screenmanager Resolution Width" type="int">1920</pref>
 	<pref name="UnityGraphicsQuality" type="int">5</pref>
 	<pref name="UnitySelectMonitor" type="int">0</pref>

Re: Linux build makefile deployment?

Posted: Sat Oct 13, 2018 8:57 am
by Interkarma
Thanks for info, most likely prefs related then. I noticed the initial width & height is 1x1, which is definitely a problem. I'll try to locate what's happening when starting the game proper that isn't happening with the cut-down startup scene.

Re: Linux build makefile deployment?

Posted: Sat Oct 13, 2018 11:38 am
by Interkarma
OK this should be resolved in code now. I'm going to push out new builds just for this change, as it will be a blocking issue for some Linux users new to the game.

Re: Linux build makefile deployment?

Posted: Sat Oct 13, 2018 1:10 pm
by pango
I restored the broken prefs file, checked that the white screen was back.
Upgraded to git master HEAD, and the menu displayed fine.
On non-registered builds the Unity logo blinks strangely (like a tired neon tube :wink:); I think it used to fade-in fade-out more smoothly. But this is totally minor.

To keep it short, looks good to me, thank you so much :D

Re: Linux build makefile deployment?

Posted: Sat Oct 13, 2018 1:17 pm
by Interkarma
No problems! Thanks for the info, it helped me fix. :)

Re: Linux build makefile deployment?

Posted: Sun Oct 14, 2018 1:48 pm
by noabody
Hopefully I don't get into trouble over this... for those seeking the latest Linux version of Unity:
Unity - Download Archive
Spoiler!
In Firefox the top option is "Unity 2018.2.12"
"Downloads Win" button is a drop-down with option "Built in shaders".

Right-click on that and copy link.

Code: Select all

https://netstorage.unity3d.com/unity/0a46ddfcfad4/builtin_shaders-2018.2.12f1.zip
Make a slight edit:

Code: Select all

https://netstorage.unity3d.com/unity/0a46ddfcfad4/UnitySetup-2018.2.12f1
Then:

Code: Select all

wget https://netstorage.unity3d.com/unity/0a46ddfcfad4/UnitySetup-2018.2.12f1
chmod 755 UnitySetup-2018.2.12f1
./UnitySetup-2018.2.12f1
Another slight edit for direct download mirror:

Code: Select all

http://beta.unity3d.com/download/0a46ddfcfad4/UnitySetup-2018.2.12f1
Seems that Unity is built for all platforms but the Linux download link is typically unpublished.