我用Kivy写了一个应用程序,它在Linux(Ubuntu)上运行良好。
当涉及到在Windows上运行它时,它是VirtualBox中的来宾操作系统,它给出了错误:
[INFO ] [OSC ] using <thread> for socket
[WARNING ] [Input ] WM_Touch/WM_Pen not supported by your versio
n of Windows
[DEBUG ] [Base ] Create provider from mouse,disable_multitouc
h
[DEBUG ] [Base ] Create provider from wm_touch
[WARNING ] [Base ] Unknown <wm_touch> provider
[DEBUG ] [Base ] Create provider from wm_pen
[WARNING ] [Base ] Unknown <wm_pen> provider
[INFO ] [Base ] Start application main loop
OpenGL Warning: SHCRGL_GUEST_FN_WRITE_READ (1048740) failed with ffffffdb ffffff
ea
是的,我已经阅读了VirtualBox文档中的OpenGL部分。是的,我启用了 3D 加速。是的,我已经安装了访客版。
现在 Kivy 应用程序按预期工作。我应该重新检查我的操作系统设置是否正确。
这是我所做的:
- 卸载当前安装的来宾添加(因为VirtualBox可能会及时升级)
- 安装了选中 3D 加速选项的新来宾添加。(在安全模式下)
- 重新启动系统,运行应用程序。