Osu! Error "Osu! was unable to obtain a graphics context"

Full Dialog:

( Osu! was unable to obtain a graphics context. If this is the first time you’ve seen this, please try restarting your PC.

If this is a fresh install, you may be missing graphics drivers. )

Not sure what to do since I have graphics drivers installed and its running under wine…?

Edit: This is the full osu! error

#=z$ZWlmi4_gPbesUWV4bG_WK700Tf9: No available GL context found. —> System.NullReferenceException: Object reference not set to an instance of an object.
at #=zGADi$iV81GCVjmuFLmQ178U=.#=zBJcoi3WPsz3p_fT$XQ==()
at #=zGADi$iV81GCVjmuFLmQ178U=.#=zhz3vpEsJZqEGYEXdCqHCc_HmTdZm()
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
— End of inner exception stack trace —
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.#=zdJsrm9JgzMmk(GraphicsContextFlags #=zVI5fP5A=)
at #=zYCVeZE_2Qd4_Js2UF9uXuvs=.OnHandleCreated(EventArgs #=zpGaEOyU=)
at #=zN477QjW3BBux4RJIheiMwakEWwu3.OnHandleCreated(EventArgs #=zpGaEOyU=)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmCreate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at #=z9cR4$Ts27D$8Hn41OBHNECc=.WndProc(Message& #=zof5sAbM=)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Edit 2:

The fix is to set compatibiltycontext mode to 1 in osu.(user).cfg file

1 Like