So I want to use Mono Game for development of a Pi 3b+ app that will be the only app running on the device. I’ve configured the Pi with the Lite version of the OS (no Desktop).
I’ve looked at this tutorial:
https://medium.com/retrowax-games/how-to-run-your-monogame-app-on-a-raspberry-pi-or-any-linux-2bf93a4d4163
Which is a bit out dated and lacking with information on the Pi side, which is fine since it’s a couple years old and using an older .NET Framework.
I created the default App using DesktopGL. It should just display a window with the normal blue background, nothing special.
I publish the app and copy it to the Pi, when I run it, I get the error
Unhandled exception. Microsoft.Xna.Framework.Graphics.NoSuitableGraphicsDeviceException: Failed to create graphics device!
—> 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)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.PlatformInitialize()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.Initialize()
at Microsoft.Xna.Framework.Graphics.GraphicsDevice…ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, Boolean preferHalfPixelOffset, Presentatio nParameters 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.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.CreateDevice()
at Microsoft.Xna.Framework.Game.DoInitialize()
at Microsoft.Xna.Framework.Game.Run(GameRunBehavior runBehavior)
at Program.$(String args) in \Program.cs:line 3
Aborted
I’ve gone into raspi-config and enabled the GL driver.
I would prefer to not have to install a Window Manager as this is going to be the only application running.
Has anyone run their app on a Pi in this configuration?