kaguya_yoru
Newcomer
TL;DR: If you are getting the error message "Failed to create graphics device!" and have both an integrated graphics card and a discrete graphics card on your desktop, the display cable from your monitor may be plugged into the wrong connector in your computer to be able to access the discrete graphics card. Try looking for a row of connectors like this (https://abload.de/img/gpuuutujow.jpg) and switching your display cable to it.
Since the 1.5.5 update, I have only been able to play the game in compatibility mode. Otherwise, the game won't even start: the Play button on Steam times out after a little bit without launching the game and I get the following Error Log:
Message: Failed to create graphics device!
InnerException: System.PlatformNotSupportedException: MonoGame requires either ARB_framebuffer_object or EXT_framebuffer_object.Try updating your graphics drivers.
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.FramebufferHelper.Create(GraphicsDevice gd) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.FramebufferHelper.cs:line 32
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformInitialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 340
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 357
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115
Stack Trace: at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 123
at Microsoft.Xna.Framework.Game.DoInitialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 838
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
at StardewValley.Program.Main(String[] args) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 175
Game Version: 1.5.6
SDK Helper: SteamHelper
Game Language: en
GPU: Could not detect.
OS: Win32NT Microsoft Windows NT 10.0.19044.0
I have
- updated every single driver I could possibly update for my computer
- repaired and re-installed XNA 4.0
- installed .NET 5.0
- disabled and re-enabled my Intel UHD Graphics 630 card
- made Steam an exception for Windows Security in case the antivirus was blocking it from launching
- changed my graphics settings to only use my AMD Radeon RX5600 graphics card for both Steam and Stardew Valley
and yet, nothing was working. I also tried running dxdiag and OpenGL Extensions Viewer to see if my OpenGL was up to date but for some reason, they were only showing my Intel UHD Graphics 630 card and not my AMD Radeon RX5600 graphics card no matter what settings I changed in the AMD Radeon software. Finally, I stumbled onto this Reddit thread ( https://www.reddit.com/r/AMDHelp/comments/k7fleo/rx_5600_xt_stuck_at_opengl_11/germ6d6/ ) and it turns out that my display cable for my monitor was not plugged into the correct connector. I shut down the computer, switched the display cable to the connector for my discrete graphics card, and when I turned my computer back on, Stardew Valley worked!
Since the 1.5.5 update, I have only been able to play the game in compatibility mode. Otherwise, the game won't even start: the Play button on Steam times out after a little bit without launching the game and I get the following Error Log:
Message: Failed to create graphics device!
InnerException: System.PlatformNotSupportedException: MonoGame requires either ARB_framebuffer_object or EXT_framebuffer_object.Try updating your graphics drivers.
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.FramebufferHelper.Create(GraphicsDevice gd) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.FramebufferHelper.cs:line 32
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformInitialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Platform\Graphics\GraphicsDevice.OpenGL.cs:line 340
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Initialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Graphics\GraphicsDevice.cs:line 357
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation gdi) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 144
at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 115
Stack Trace: at Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\GraphicsDeviceManager.cs:line 123
at Microsoft.Xna.Framework.Game.DoInitialize() in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 838
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\MonoGame.Desktop\MonoGame.Framework\Game.cs:line 465
at StardewValley.Program.Main(String[] args) in C:\GitlabRunner\builds\Gq5qA5P4\0\ConcernedApe\stardewvalley\Farmer\Farmer\Program.cs:line 175
Game Version: 1.5.6
SDK Helper: SteamHelper
Game Language: en
GPU: Could not detect.
OS: Win32NT Microsoft Windows NT 10.0.19044.0
I have
- updated every single driver I could possibly update for my computer
- repaired and re-installed XNA 4.0
- installed .NET 5.0
- disabled and re-enabled my Intel UHD Graphics 630 card
- made Steam an exception for Windows Security in case the antivirus was blocking it from launching
- changed my graphics settings to only use my AMD Radeon RX5600 graphics card for both Steam and Stardew Valley
and yet, nothing was working. I also tried running dxdiag and OpenGL Extensions Viewer to see if my OpenGL was up to date but for some reason, they were only showing my Intel UHD Graphics 630 card and not my AMD Radeon RX5600 graphics card no matter what settings I changed in the AMD Radeon software. Finally, I stumbled onto this Reddit thread ( https://www.reddit.com/r/AMDHelp/comments/k7fleo/rx_5600_xt_stuck_at_opengl_11/germ6d6/ ) and it turns out that my display cable for my monitor was not plugged into the correct connector. I shut down the computer, switched the display cable to the connector for my discrete graphics card, and when I turned my computer back on, Stardew Valley worked!