pixel: creating window failed: VersionUnavailable: WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable

Hello,

My understanding of this error from a quick Google is that it means my graphics card and/or its drivers are outdated. (ie. not supporting above OpenGL 3.1)

Was keen to use this but if it wont run at all on slightly older machines makes it a non-starter.

Also worth noting that the Engo engine runs fine on this machine, looking at the imports… seems it’s using “github.com/go-gl/glfw/v3.1/glfw”.

Any plans to support older versions of OpenGL or similar?

System:

  • Windows 10
  • Intel Graphics HD 3000

Error from running platformer example:

panic: creating window failed: VersionUnavailable: WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable

goroutine 5 [running]:
main.run()
        C:/GoProjects/src/github.com/faiface/pixel/examples/platformer/main.go:283 +0x12a0
github.com/faiface/mainthread.Run.func1(0x593040, 0xc04201a240)
        C:/GoProjects/src/github.com/faiface/mainthread/mainthread.go:39 +0x2e
created by github.com/faiface/mainthread.Run
        C:/GoProjects/src/github.com/faiface/mainthread/mainthread.go:41 +0xec

About this issue

  • Original URL
  • State: open
  • Created 7 years ago
  • Reactions: 4
  • Comments: 15 (8 by maintainers)

Commits related to this issue

Most upvoted comments

Ok, so I was experimenting again and figured out, that even though OpenGL 2.1 lack several important features itself (such as vertex arrays), it supports numerous standard extensions that make it forward-compatible.

I’ve added the branch gl2.1 to Pixel and GLHF. Would you please switch to both of them (Pixel uses GLHF) and test whether it works on Intel HD 3000? In case it does, I’ll consider including these changes.