I have been looking for a while but have not been able to find a solution to my problem.
I tried following some topics that were 6 years old and have included to output of my efforts.
I am running a Scientific Linux release 6.7 (Carbon) server with VirtualBox OSE as a hypervisor.
We are running a Windows 7 VM for GUI development that needs to run an application, but the application is throwing openGL errors.
(In short, it says there is probably no OpenGL driver installed while I have installed the correct VBoxGuestAdditions)
I am unable to enable 2D Video accelleration in the VirtualBox GUI (it is greyed out), which I think might be the problem.
3D Acceleration seems to be working fine.
(I was able to use vboxmanage to enable 2D acceleration, but I highly doubt this is working.)
On the host system
The host system has an Intel Xeon processor with integrated graphics.
It is using the i915 intel driver (xorg-x11-drivers-intel).
I have also installed the following mesa packages:
Code: Select all
mesa-dri1-drivers-7.11-8.el6.x86_64
mesa-demos-10.4.3-1.el6.x86_64
mesa-libGLU-10.4.3-1.el6.x86_64
mesa-libGL-10.4.3-1.el6.x86_64
mesa-dri-filesystem-10.4.3-1.el6.x86_64
mesa-private-llvm-3.4-3.el6.x86_64
mesa-dri-drivers-10.4.3-1.el6.x86_64
I have exported LIBGL_DEBUG=verbose to get more information.
glxgears output:
Code: Select all
libGL: OpenDriver: trying /usr/lib64/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib64/dri/swrast_dri.so
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL error: No matching fbConfigs or visuals found
libGL error: failed to load driver: swrast
Code: Select all
[root@wks56 vbox]# ls /usr/lib64/dri/swrast_dri.so
/usr/lib64/dri/swrast_dri.so
Code: Select all
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) (prog-if 00 [VGA controller])
Subsystem: Lenovo Device 30a1
Flags: bus master, fast devsel, latency 0, IRQ 33
Memory at f7800000 (64-bit, non-prefetchable) [size=4M]
Memory at e0000000 (64-bit, prefetchable) [size=256M]
I/O ports at f000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915
Kernel modules: i915
/usr/lib/virtualbox//VBoxTestOGL --test 2D --log VBoxTest.log
This gave the following output:
(The last two lines seem to indicate 2D acceleration is not supported)
Code: Select all
VBoxTestGL 5.0.20 r106931 linux.amd64 (Apr 28 2016 16:13:52) release log
00:00:00.037091 Log opened 2016-06-10T11:28:03.966717000Z
00:00:00.037110 OS Product: Linux
00:00:00.037112 OS Release: 2.6.32-573.26.1.el6.x86_64
00:00:00.037115 OS Version: #1 SMP Tue May 3 14:22:07 CDT 2016
00:00:00.037119 Executable: /usr/lib/virtualbox/VBoxTestOGL
00:00:00.037119 Process ID: 8597
00:00:00.037119 Package type: LINUX_64BITS_EL_6
00:00:00.037123 Testing 2D Support:
00:00:00.099035 gl version string: 01.2 (1.5 Mesa 6.4.1)
00:00:00.099074 gl version: 0x10200
00:00:00.099652 gl extensions: GL_ARB_depth_texture GL_ARB_imaging GL_ARB_multitexture GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_texture_border_clamp GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_mirrored_repeat GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_window_pos GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_func_separate GL_EXT_blend_logic_op GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_clip_volume_hint GL_EXT_copy_texture GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_polygon_offset GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texture GL_EXT_texture3D GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_lod_bias GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_vertex_array GL_APPLE_packed_pixels GL_ATI_texture_env_combine3 GL_ATI_texture_mirror_once GL_ATIX_texture_env_combine3 GL_HP_occlusion_test GL_IBM_texture_mirrored_repeat GL_INGR_blend_func_separate GL_MESA_pack_invert GL_MESA_ycbcr_texture GL_NV_blend_square GL_NV_point_sprite GL_NV_texgen_reflection GL_NV_texture_rectangle GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SGIX_shadow_ambient GL_SUN_multi_draw_arrays
00:00:00.099661 GL_ARB_multitexture: 1
00:00:00.099664 GL_ARB_shader_objects: 0
00:00:00.099666 GL_ARB_fragment_shader: 0
00:00:00.099668 GL_ARB_pixel_buffer_object: 0
00:00:00.099672 GL_ARB_texture_rectangle: 1
00:00:00.099674 GL_EXT_texture_rectangle: 1
00:00:00.099677 GL_NV_texture_rectangle: 1
00:00:00.099679 GL_ARB_texture_non_power_of_two: 0
00:00:00.099682 GL_EXT_framebuffer_object: 0
00:00:00.099753 Max Tex Coords (32765), Img Units (1121876768)
00:00:00.099760 2D not supported: fragment shader unsupported
00:00:00.099763 Testing 2D Failed
Does anybody have experiance with these types of problems, or can somebody point me in the right direction?
Thanks for any help or input!