Cannot run Scope application on virtualbox with 3D acceleration on

Bug #1358588 reported by XiaoGuo, Liu
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have tried to enable the 3D acceleration in the virtualbox, an I am trying to develop scope apps on Utopic which is inside the VM. However, I get the following error. This is a critical error if we want to have developers to use our virtualbox on windows to develop scope or QML apps with 3D acceleration on. Please help to resolve this issue!

tarting /usr/bin/unity-scope-tool...
libGL error: pci id for fd 16: 80ee:beef, driver (null)
scoperegistry: unity::ResourceException: cannot open scope installation directory "/custom/lib/x86_64-linux-gnu/unity-scopes": No such file or directory
scoperegistry: could not open OEM installation directory, ignoring OEM scopes
scoperegistry: unity::ResourceException: cannot open scope installation directory "/home/liuxg/.local/share/unity-scopes/": No such file or directory
scoperegistry: could not open Click installation directory, ignoring Click scopes
scoperegistry: no remote registry configured, only local scopes will be available
ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/custom/lib/x86_64-linux-gnu/unity-scopes". inotify_add_watch() failed. (fd = 14, path = /custom/lib/x86_64-linux-gnu/unity-scopes)
ScopesWatcher::add_install_dir(): install dir watch: unity::ResourceException: DirWatcher::add_watch(): failed to add watch for path: "/home/liuxg/.local/share/unity-scopes/". inotify_add_watch() failed. (fd = 15, path = /home/liuxg/.local/share/unity-scopes/)
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
OpenGL Warning: glXCreatePbuffer not implemented by Chromium
file:///usr/share/unity8/ScopeTool.qml:139:23: Unable to assign null to QString
OpenGL Warning: Assertion failed: crPackGetContext() == (curThread ? curThread->packer : NULL), file /mnt/tinderbox/add-4.3/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c, line 263
The program has unexpectedly finished.

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :
Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

This is the virtualbox version!

Revision history for this message
Zoltan Balogh (bzoltan) wrote :
affects: ubuntu-ui-toolkit → qtdeclarative-opensource-src (Ubuntu)
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

From the error message this seems to be VirtualBox problem. The earlier Qt bug #1129061 (unrecognized OpenGL version) was fixed in Qt 5.2.0.

https://forums.virtualbox.org/viewtopic.php?f=3&t=60510 suggests an older VirtualBox might have worked better.

Another workaround is not using guest additions and letting LLVM software rendering do its work, but that's slow (both Unity 7 and the running Qt applications will be slower).

The most relevant upstream bug report seems to be https://www.virtualbox.org/ticket/12941 where also VirtualBox 4.3.6 (+ 4.3.14 guest additions) is mentioned in the last comment to have no crash.

affects: qtdeclarative-opensource-src (Ubuntu) → virtualbox (Ubuntu)
Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

I have tried it as suggested bu the post, but it does not work for me unfortunately.

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

Even if I turn off the 3D acceleration, the following errors still happen.

libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo

However, I can do my development though the UI is very slow when 3D is turned off. I sincerely hope someone can help to fix this problem. It could be a Qt problem as well.

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

Attached please find the picture I took in Windows virtualbox

Revision history for this message
XiaoGuo, Liu (liu-xiao-guo) wrote :

The version of the virtualbox I tested is: 4.3.14 r95030

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.