Steam-Headless / docker-steam-headless

A Headless Steam Docker image supporting NVIDIA GPU and accessible via Web UI
GNU General Public License v2.0
737 stars 80 forks source link

[Bug]: Final Fantasy X/X-2 HD Remastered will not load #33

Open lijamez opened 1 year ago

lijamez commented 1 year ago

Describe the Bug

Final Fantasy X/X-2 HD Remastered runs fine on Linux using proton generally (e.g. on Fedora and Steam deck), but not in the SteamHeadless container.

The stack trace from Steam is attached.

Steps to Reproduce

  1. Enable Proton Experimental
  2. Install Final Fantasy X/X-2 HD Remastered
  3. Start game
  4. Game crashes. Launcher does not load. The above stack trace is printed to console if Steam was launched using the terminal.

Expected Behavior

  1. Enable Proton Experimental
  2. Install Final Fantasy X/X-2 HD Remastered
  3. Launcher loads

Screenshots

No response

Relevant Settings

Version

Build: [2023-03-11 02:48:04] [master] [9b962580ff02f02dcd8239166f9d1ab6cae188bd]

Platform

Relevant log output

Unhandled Exception:
System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Windows.Forms.Control.get_DefaultFont () [0x0000e] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.GetDefaultFontHandleWrapper () [0x0000e] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.get_FontHandle () [0x00149] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions () [0x00032] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions () [0x00026] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.get_AutoScaleFactor () [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.PerformAutoScale (System.Boolean includedBounds, System.Boolean excludedBounds) [0x0003d] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout () [0x00027] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.OnLayoutResuming (System.Boolean performLayout) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x0002f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at GameLauncher.MainForm.InitializeComponent () [0x000b7] in <830b8ed0270b4c7e9af7aba2bb662e63>:0 
  at GameLauncher.MainForm..ctor () [0x00178] in <830b8ed0270b4c7e9af7aba2bb662e63>:0 
  at (wrapper remoting-invoke-with-check) GameLauncher.MainForm..ctor()
  at GameLauncher.Program.Main () [0x000d5] in <830b8ed0270b4c7e9af7aba2bb662e63>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: The requested FontFamily could not be found [GDI+ status: FontFamilyNotFound]
  at System.Drawing.GDIPlus.CheckStatus (System.Drawing.Status status) [0x001ce] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.FontFamily..ctor (System.Drawing.Text.GenericFontFamilies genericFamily) [0x0004d] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily..ctor(System.Drawing.Text.GenericFontFamilies)
  at System.Drawing.FontFamily.get_GenericSansSerif () [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font.CreateFont (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte charSet, System.Boolean isVertical) [0x00011] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.Drawing.FontStyle style, System.Drawing.GraphicsUnit unit, System.Byte gdiCharSet, System.Boolean gdiVerticalFont) [0x00011] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Drawing.Font..ctor (System.String familyName, System.Single emSize, System.String systemName) [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor(string,single,string)
  at System.Drawing.SystemFonts.get_DefaultFont () [0x00000] in <fc2ea6474c6d4315858618f13de6e72a>:0 
  at System.Windows.Forms.Control.get_DefaultFont () [0x0000e] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.GetDefaultFontHandleWrapper () [0x0000e] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.get_FontHandle () [0x00149] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions () [0x00032] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions () [0x00026] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.get_AutoScaleFactor () [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.PerformAutoScale (System.Boolean includedBounds, System.Boolean excludedBounds) [0x0003d] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout () [0x00027] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.ContainerControl.OnLayoutResuming (System.Boolean performLayout) [0x00001] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at System.Windows.Forms.Control.ResumeLayout (System.Boolean performLayout) [0x0002f] in <d22f8be2dd674c49bd49b314423240b8>:0 
  at GameLauncher.MainForm.InitializeComponent () [0x000b7] in <830b8ed0270b4c7e9af7aba2bb662e63>:0 
  at GameLauncher.MainForm..ctor () [0x00178] in <830b8ed0270b4c7e9af7aba2bb662e63>:0 
  at (wrapper remoting-invoke-with-check) GameLauncher.MainForm..ctor()
alansari commented 9 months ago

The game works here, just tested on proton-GE 8-14. Protondb recommends using proton 7 or GE 7-55 i would recommend if you encounter crashes when entering battles. Played through the first hour without crashes on GE 8-14