Linux build makefile deployment?

Discuss coding questions, pull requests, and implementation details.
User avatar
Interkarma
Posts: 7234
Joined: Sun Mar 22, 2015 1:51 am

Re: Linux build makefile deployment?

Post 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.

User avatar
Hazelnut
Posts: 3014
Joined: Sat Aug 26, 2017 2:46 pm
Contact:

Re: Linux build makefile deployment?

Post 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.
See my mod code for examples of how to change various aspects of DFU: https://github.com/ajrb/dfunity-mods

User avatar
Jay_H
Posts: 4059
Joined: Tue Aug 25, 2015 1:54 am
Contact:

Re: Linux build makefile deployment?

Post by Jay_H »

Linux Mint 18.3 does not reproduce at all. All clear.

User avatar
pango
Posts: 3344
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Linux build makefile deployment?

Post by pango »

Weirdness is weird
Thanks all for testing on your systems :)
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
pango
Posts: 3344
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Linux build makefile deployment?

Post 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>
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 7234
Joined: Sun Mar 22, 2015 1:51 am

Re: Linux build makefile deployment?

Post 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.

User avatar
Interkarma
Posts: 7234
Joined: Sun Mar 22, 2015 1:51 am

Re: Linux build makefile deployment?

Post 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.

User avatar
pango
Posts: 3344
Joined: Wed Jul 18, 2018 6:14 pm
Location: France
Contact:

Re: Linux build makefile deployment?

Post 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
Mastodon: @pango@fosstodon.org
When a measure becomes a target, it ceases to be a good measure.
-- Charles Goodhart

User avatar
Interkarma
Posts: 7234
Joined: Sun Mar 22, 2015 1:51 am

Re: Linux build makefile deployment?

Post by Interkarma »

No problems! Thanks for the info, it helped me fix. :)

User avatar
noabody
Posts: 6
Joined: Tue Sep 25, 2018 1:32 pm

Re: Linux build makefile deployment?

Post 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.
Last edited by noabody on Sun Oct 14, 2018 3:12 pm, edited 6 times in total.

Post Reply