VirtualBox Tumbleweed host -> No 3D support for Linux guests?

Hi there,

I’ve tried openSUSE and Manjaro guests in VirtualBox, hosted on my openSUSE Tumbleweed system. I have enabled 3D support for the guests in the VirtualBox settings, and the guests are also running the VirtualBox guest add-ons. I get perfect full-screen resolution and decent performance for the guests, but they don’t seem to have 3D graphics support. Cinnamon complains about it being in software rendering mode, and glxinfo seems to confirm that it’s using Gallium + llvmpipe:

glxinfo | grep pipe
Device: llvmpipe (LLVM 3.8, 256 bits) (0xffffffff)
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.8, 256 bits)

Any tips on what I’m doing wrong? The host is a fast Thinkpad T530 with 8GB of RAM and Intel graphics, and 3D seems to work fine:

glxinfo | grep gl
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg,
GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui,
GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode,
GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_OES_EGL_image,

glxinfo | grep render
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
GL_ARB_compute_shader, GL_ARB_conditional_render_inverted,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_conditional_render,
GL_OES_element_index_uint, GL_OES_fbo_render_mipmap

Thanks for the help!

3D is currently considered experimental, see “Experimental Features” and “Known Issues” in the following link
https://www.virtualbox.org/manual/ch14.html

So, generally speaking it’s a work in progress.
Post your experience in the Virtualbox Forums and see if they’ll use your info to improve the feature.

Be sure to post complete details about your installation, including

  • Your Virtualbox version
  • Your GPU
  • Your CPU and whether you have CPU virtualization extensions enabled
  • Installed Guest Additions version
  • Verifying how you enabled 3D support in your Guests

TSU

Thanks for the reply. Does anybody here have this working successfully? Because I run a system with recommended packages disabled, so I suspect that it might just be an issue of missing dependencies, either on the host and/or the guests.

Forgot to include this important info
https://www.virtualbox.org/manual/ch04.html#guestadd-video

Note that although 3D is experimental under the described conditions (which should generally be satisfied by current openSUSE Guests on openSUSE HostOS), 2D hardware acceleration is not supported in Linux Guests, and I’d guess that’s what is actually being used in your description, not 3D.

TSU