Project

General

Profile

Bug #18294

Blank (Black) Screen at Startup

Added by jcreighton about 6 years ago. Updated over 5 years ago.

Status:
New
Severity:
Low
Assignee:
-
Category:
Application
Target version:
-
Start date:
03/30/2018
% Done:

0%

Version:
Platform:
OSX
Expansion:
Core Game
Language:
English (US)
Mod Related:
No
Votes:
Arrow u r green
Arrow d r red

Description

iMac 2017
2.3 GHz Intel Core i5
8GB RAM
macOS 10.12.6 Sierra

Stock install.

KSP.app opens a near-full screen window but it remains completely blank/black. Player.log attached.

Player.log (44.6 KB) Player.log [email protected] jcreighton, 03/30/2018 03:53 PM
Player.log (44.7 KB) Player.log [email protected] jcreighton, 04/28/2018 12:32 AM
Player.log (44.3 KB) Player.log [email protected] jcreighton, 06/22/2018 11:59 PM
path_walk.txt (6.58 KB) path_walk.txt [email protected] jcreighton, 06/24/2018 08:34 PM
1.3.1-Player.log (1.77 MB) 1.3.1-Player.log [email protected] jcreighton, 06/24/2018 09:01 PM
ZIP-Player.log (44.3 KB) ZIP-Player.log [email protected] jcreighton, 07/01/2018 03:58 PM
Installer-Player.log (572 KB) Installer-Player.log [email protected] jcreighton, 07/01/2018 03:58 PM
Player-1.4.5.log (45.1 KB) Player-1.4.5.log [email protected] jcreighton, 07/28/2018 04:09 PM

History

#1 Updated by jcreighton almost 6 years ago

Changed Version from 1.4.2 to 1.4.3. Problem persists. Stock install. Latest Player.log attached.

#2 Updated by jclovis3 almost 6 years ago

What was the last version that did work? I'm surprised you play with only 8 GB of RAM. I frequently see KSP run anywhere from 5 GB to 10 GB during play, which is why I have to use the x64 version. Did you try switching to 64-bit mode? I read recently that many graphics adapters are dropping support for 32-bit anyway. Really not sure if MacOS has both versions anyway.

Looking at your log file, I noticed you are having some access errors, namely:

UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/C3C27952-ACEF-44C1-9002-0F72073FD4A4/d/settings.cfg" is denied.

In fact, there are a lot of errors beginning with "UnauthorizedAccessException"

#3 Updated by jcreighton almost 6 years ago

jclovis3 wrote:

What was the last version that did work? I'm surprised you play with only 8 GB of RAM. I frequently see KSP run anywhere from 5 GB to 10 GB during play, which is why I have to use the x64 version. Did you try switching to 64-bit mode? I read recently that many graphics adapters are dropping support for 32-bit anyway. Really not sure if MacOS has both versions anyway.

1.4.1 also has this problem for me.
1.4.0 seems to run normally (splash screen graphics, loading progress bar, main menu).
I'm playing on 1.3.1 for the time being. Frame rate isn't too bad at all on this new 2017 machine.

MacOS download only offers Installer and zip downloads; no separation for x86 or x64.

Looking at your log file, I noticed you are having some access errors, namely:

UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/C3C27952-ACEF-44C1-9002-0F72073FD4A4/d/settings.cfg" is denied.

In fact, there are a lot of errors beginning with "UnauthorizedAccessException"

I'm able to drill down to the AppTranslocation directory but nothing exists below that. I started 1.4.0 and got to the main screen but still no directories below:

/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation % 24 ls -la
total 0
drwxr-xr-x   2 DJC  staff    68 28 Apr 06:58 ./
drwx------@ 48 DJC  staff  1632 28 Apr 06:42 ../
/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation % 25

#4 Updated by jcreighton almost 6 years ago

Changed version from 1.4.3 to 1.4.4. Problem persists. Stock install. Latest Player.log attached.

#5 Updated by Million_Lights almost 6 years ago

Condensed read/write errors from Player.log

UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/settings.cfg" is denied.
UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.log" is denied.
UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/Physics.cfg" is denied.

DirectoryNotFoundException: Directory '/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/GameData/Squad' not found.

Couldn't open /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Plugins/3DConnexionWrapperU5.bundle/Contents/MacOS/3DConnexionWrapperU5
Referenced from: /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Plugins/3DConnexionWrapperU5.bundle/Contents/MacOS/3DConnexionWrapperU5
Reason: image not found

Couldn't open /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Plugins/3DConnexionWrapperU5.bundle/Contents/MacOS/3DConnexionWrapperU5
Referenced from: /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Plugins/3DConnexionWrapperU5.bundle/Contents/MacOS/3DConnexionWrapperU5
Reason: image not found

The game is unable to access,read and write its files
looks like an issue on your systems end rather than a KSP bug

#6 Updated by jcreighton almost 6 years ago

Million_Lights wrote:

Condensed read/write errors from Player.log

UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/settings.cfg" is denied.
UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.log" is denied.
UnauthorizedAccessException: Access to the path "/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/Physics.cfg" is denied.

DirectoryNotFoundException: Directory '/private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/GameData/Squad' not found.

In all of the above cases: why is KSP trying to access files in a directory outside of the application's installation location?

/Applications/Games/KSP_1.4.3 % 11 ll
total 984
drwxrwxr-x@ 5 staff 170 28 Apr 07:37 GameData/
drwxrwxr-x@ 2 staff 68 19 Jun 2017 Internals/
drwxrwxr-x@ 3 staff 102 19 Jun 2017 KSP.app/
drwxrwxr-x@ 3 staff 102 19 Jun 2017 Launcher.app/
-rwxrwxr-x@ 1 staff 12811 26 Apr 23:06 LegalNotice.txt*
-rwxrwxr-x@ 1 staff 140633 26 Apr 23:06 PartDatabase.cfg*
drwxrwxr-x@ 2 staff 68 19 Jun 2017 Parts/
-rwxrwxr-x@ 1 staff 21792 26 Apr 23:06 Physics.cfg*
drwxrwxr-x@ 2 staff 68 19 Jun 2017 Resources/
drwxrwxr-x@ 5 staff 170 19 Jun 2017 Ships/
-rwxrwxr-x@ 1 staff 78 26 Apr 23:06 buildID.txt*
-rwxrwxr-x@ 1 staff 312690 26 Apr 23:06 readme.txt*
drwxrwxr-x@ 4 staff 136 19 Jun 2017 saves/
drwxrwxr-x@ 2 staff 68 19 Jun 2017 sounds/

The game is unable to access,read and write its files
looks like an issue on your systems end rather than a KSP bug

Attached is a path walkthough as the user logged into the machine. This user is administrator. There is nothing below AppTranslocation and an attempt to write there succeeds. I tried using a symlink that would resolve the path issues but the directory name below AppTranslocation seems to change at each launch of KSP. If KSP wants to create a symlink there, nothing should be preventing it.

But that's not what KSP did in the past. Compare the first error in the 1.4.4 player log:

Begin MonoManager ReloadAssembly
Platform assembly: /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Resources/Data/Managed/UnityEngine.dll (this message is harmless)
Loading /private/var/folders/_l/9jvssvyn549d8n687lht7kwh0000gn/T/AppTranslocation/34155DBC-9F9C-434D-BE9E-C9C66EB3F14C/d/KSP.app/Contents/Resources/Data/Managed/UnityEngine.dll into Unity Child Domain

with the same moment from the 1.3.1 player log:

Begin MonoManager ReloadAssembly
Platform assembly: /Applications/Games/KSP_1.3.1/KSP.app/Contents/Resources/Data/Managed/UnityEngine.dll (this message is harmless)
Loading /Applications/Games/KSP_1.3.1/KSP.app/Contents/Resources/Data/Managed/UnityEngine.dll into Unity Child Domain

The problem persists.

#7 Updated by jcreighton almost 6 years ago

I've found that launching KSP from the ZIP package for OSX is responsible for this issue but it does not explain the root cause. Launching KSP 1.4.4 from the Installer package lets me get to the main splash screen. Attached are two Player.log files representing that. It is reproducible each time I launch from the ZIP package.

#8 Updated by jcreighton over 5 years ago

Problem persists with 1.4.5 ZIP file. KSP is loading from the wrong path (see note #6 for details of this discovery). Player log attached.

Also available in: Atom PDF