question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to initialize OpenGL

See original GitHub issue

Describe the bug when program want to use OGL , vs output show error :

[OpenGL] Unable to initialize OpenGL: current platform does not support multithreaded context sharing (String #818892507)

To Reproduce

  1. just clone XamlControlsGallery
  2. build netcore project directly within AnyCPU
  3. click Media in menu
  4. See error in vs ouptut

Screenshots

Desktop (please complete the following information):

  • OS: image image

  • Version: image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

5reactions
kekekekscommented, Feb 23, 2021

OpenGL control isn’t currently supported with ANGLE, you need to switch to WGL by adding

.With(new Win32PlatformOptions { UseWgl = true })

to your app builder.

3reactions
marysakacommented, Mar 1, 2021

Same thing here… However, I cloned the Avalonia and built ControlCatalog.NetCore with UseWgl and the OpenGL tab work just fine on it so not quite sure what is going on here.

Tested with NVIDIA driver 460.79 on Windows 20H2 (19042) with an RTX 2070 Max-Q.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to initialize OpenGL on Windows 11/10
The Unable to initialize OpenGL error on your Windows 11/10 gaming PC is graphics driver-related. So, you can begin troubleshooting to fix the ......
Read more >
Unable to initialize OpenGL
The Unable to initialize OpenGL error usually means that the OpenGL version on your system (driver) is not in line with a specific...
Read more >
Fix: Unable to initialize OpenGL window
Solution 1: Changing 'TKGRAPHICSSETTINGS.MXML' · Solution 2: Installing latest client for PS4 · Solution 3: Changing user/ logging in again.
Read more >
SOLVED! No Man's Sky Unable To Initialize OpenGL Window
A Few Fixes · Restart · Free Game Files Of Corruption · Update The Graphics Card Driver · Apply Changes To Settings.
Read more >
Doom 3: BFG Edition - Unable to initialize OpenGL
Doom 3: BFG Edition - Unable to initialize OpenGL. Please navigate to the game installation folder (default: C:\GOG Games\DOOM 3 BFG\).
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found