Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OsX] Unable to create basic Accelerated OpenGL renderer #2177

Closed
IGLOU-EU opened this issue Apr 15, 2021 · 2 comments
Closed

[OsX] Unable to create basic Accelerated OpenGL renderer #2177

IGLOU-EU opened this issue Apr 15, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@IGLOU-EU
Copy link

My first tiny fyne project not run

To Reproduce:

  1. go get git.iglou.eu/adrien/inadl
  2. exec inadl

Screenshots:

Unable to create basic Accelerated OpenGL renderer.
Unable to create basic Accelerated OpenGL renderer.
Core Image is now using the software OpenGL renderer. This will be slow.
GLFW: An invalid error was not accepted by the caller: FormatUnavailable: NSGL: Failed to find a suitable pixel format
GLFW: Please report this bug in the Go package immediately.
panic: FormatUnavailable: NSGL: Failed to find a suitable pixel format

goroutine 1 [running, locked to thread]:
github.com/go-gl/glfw/v3.3/glfw.acceptError(0xc0000c3bb0, 0x2, 0x2, 0x0, 0x0)
	/Users/null/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/error.go:178 +0x20c
github.com/go-gl/glfw/v3.3/glfw.CreateWindow(0x226, 0xd7, 0x449bb3c, 0x10, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/null/go/pkg/mod/github.com/go-gl/glfw/v3.3/[email protected]/window.go:350 +0x197
fyne.io/fyne/v2/internal/driver/glfw.(*window).create.func1()
	/Users/null/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:1309 +0x14b
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).runGL(0xc0000c6370)
	/Users/null/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/loop.go:97 +0x16c
fyne.io/fyne/v2/internal/driver/glfw.(*gLDriver).Run(0xc0000c6370)
	/Users/null/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/driver.go:79 +0x3a
fyne.io/fyne/v2/internal/driver/glfw.(*window).ShowAndRun(0xc000320000)
	/Users/null/go/pkg/mod/fyne.io/fyne/[email protected]/internal/driver/glfw/window.go:449 +0x57
main.main()
	/Users/null/go/pkg/mod/git.iglou.eu/adrien/[email protected]/main.go:270 +0x1109

Example code:

git.iglou.eu/adrien/inadl

Device (please complete the following information):

  • Warning: Run under VirtualBox
  • OS: Mac OsX
  • Version: 10.15.7
  • Go version: 1.16.3
  • Fyne version: v2.0.1
@IGLOU-EU IGLOU-EU added the bug Something isn't working label Apr 15, 2021
@andydotxyz
Copy link
Member

You will need to turn on the OpenGL support inside VirtualBox.
Closing as duplicate of #2046

@andydotxyz andydotxyz added duplicate This issue or pull request already exists and removed bug Something isn't working labels Apr 15, 2021
@IGLOU-EU
Copy link
Author

This is already the case. But it seemed to me that OsX had aborted OpenGL

scr_000831

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants