我正在嘗試在 VM 上運行 Fyne 應用程序。我已經在 VirtualBox 和 Azure 上嘗試過了。運行應用程序后,出現以下錯誤: Cause:APIUnavailable: WGL: The driver does not appear to support OpenGL
At: fyne.io/fyne/[email protected]/internal/driver/glfw/driver.go:148我能夠通過啟用3D 加速在 VM 中解決這個問題。但我無法在 Azure 中做同樣的事情。一種選擇是選擇支持 GPU 的模板。有特殊的 VM 系列,如支持 GPU 的 N 系列 VM。但只是為了運行 Fyne 應用程序,我不想為 GPU VM 付費。另一種選擇是使用 GPU 直通功能。但是我找不到任何關于如何執行此操作的文檔。還有其他方法可以解決這個問題嗎?
- 2 回答
- 0 關注
- 1455 瀏覽
添加回答
舉報
0/150
提交
取消