libgl - 無法載入驅動程式:vboxvideo

libgl - 無法載入驅動程式:vboxvideo

我正在嘗試跑步這段程式碼建立一個具有 openGL 功能的透明 xlib 窗口,但是當我運行該程式時,我在終端機中收到以下錯誤:

libGL error: pci id for fd 4: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

移動後的視窗看起來就像這樣:(背景自啟動後就不會更新)

在此輸入影像描述

(我使用的是我製作的自訂桌面環境)

我四處搜索,發現這些錯誤與在 Windows 主機上的 Virtualbox 中運行 Ubunutu 有關,但人們認為這些錯誤幾年前就已解決。

我的系統是:Ubuntu LTS 14.04.3,在Windows 8.1 主機上運行,具有最新版本的virtualbox 和來賓添加,啟用了3D 加速,安裝了libgl 和mesa-utils(在我安裝mesa-utils 之前,背景只是純白色,所以這是進步!

編輯1:

正如此處發布的https://askubuntu.com/a/324814/462342按用戶最大限度,關閉 3D 加速確實可以解決大部分問題。現在我得到的唯一錯誤是:

libGL error: pci id for fd 4: 80ee:beef, driver (null)
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

並且視窗按預期工作。

有人知道不需要關閉 3D 加速的修復程序嗎?

相關內容