Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game crashes when no display is available #1

Closed
ShaneTRS opened this issue Aug 9, 2022 · 2 comments
Closed

Game crashes when no display is available #1

ShaneTRS opened this issue Aug 9, 2022 · 2 comments

Comments

@ShaneTRS
Copy link

ShaneTRS commented Aug 9, 2022

I'd imagine this isn't exactly easy to fix, but I figured I'd report it here anyway.

[SMAPI] SMAPI 3.15.1 with Stardew Valley 1.5.6 (build 1.3.37.0) on Unix 5.18.16.1
[SMAPI] Mods go here: /run/media/shane/Eden/Games/Steam/steamapps/common/Stardew Valley/Mods
[SMAPI] Waiting for game to launch...
[game] The game failed to launch: Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!
 ---> NullReferenceException: Object reference not set to an instance of an object.
   at MonoGame.OpenGL.GL.LoadExtensions()
   at MonoGame.OpenGL.GraphicsContext..ctor(IWindowInfo info)
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformSetup()
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Setup()
   at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, PresentationParameters presentationParameters)
   at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi)
   at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice()
   --- End of inner exception stack trace ---
   at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice()
   at Microsoft.Xna.Framework.Game.DoInitialize()
   at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
   at StardewModdingAPI.Framework.SCore.RunInteractively()
[SMAPI] Game has ended. Press any key to exit.
@SkyfallWasTaken
Copy link

I'd imagine you could use Xfvb to get round this?

@ObjectManagerManager
Copy link
Owner

ObjectManagerManager commented Oct 29, 2022 via email

ObjectManagerManager pushed a commit that referenced this issue Jan 20, 2024
…option

Task move buildings via ingame option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants