VirtualBox

Opened 11 years ago

Last modified 14 months ago

#12261 new defect

Error Enable 3D Acceleration in Virtualbox.

Reported by: Malus Owned by:
Component: 3D support Version: VirtualBox 4.3.0
Keywords: 3D Acceleration Cc:
Guest type: all Host type: Linux

Description

When I try to Enable 3D Acceleration enabled in the VMs, I get the following message:

" This VM was configured to use 3D acceleration. However, the 3D support of the host is not working properly and the VM cannot be started. To fix this problem, either fix the host 3D support (update the host graphics driver?) or disable 3D acceleration in the VM settings (VERR_NOT_AVAILABLE).

Código Resultado: NS_ERROR_FAILURE (0x80004005) Componente: Console Interfaz: IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}"

My graphics card is ATI / AMD Integrated ATI Raedon 3300 and I have installed the proprietary drivers 13.1 Legacy. My OS is Linux Mint 13 64 bits based on Ubuntu 12.04.1 LTS.

I think I have correctly installed the proprietary drivers and I have also installed Video Hardware Acceleration...

http://imageshack.us/a/img812/7149/aqer.png

Note : In the version 4.2.18 this did not happen, working properly ..

Thanks ..

Attachments (12)

VBox.log (2.5 KB ) - added by Malus 11 years ago.
logfile.log (5.5 KB ) - added by Malus 11 years ago.
logfile_prefix.10112793.log (5.5 KB ) - added by Malus 11 years ago.
log_3D_Error.txt.11494754.log (5.4 KB ) - added by hugo.costelha 11 years ago.
log_3D_Error.txt.11495286.log (5.4 KB ) - added by hugo.costelha 11 years ago.
log_3D_Error.txt.11495877.log (5.5 KB ) - added by hugo.costelha 11 years ago.
log_3D_Error.txt.11496403.log (5.4 KB ) - added by hugo.costelha 11 years ago.
VBoxTestOGL-output.log (5.5 KB ) - added by staret 11 years ago.
VBoxTestOGL Log
vboxgltestlog_output.10186322.log (5.5 KB ) - added by staret 11 years ago.
VBOXGLTEST log
failure_message.txt (38.4 KB ) - added by S. Sokolow 10 years ago.
Failure output from VBoxTestOGL
bt_full.txt (9.5 KB ) - added by S. Sokolow 10 years ago.
bt full output from gdb run on VBoxTestOGL
win11-2023-08-27-19-04-21.log (70.6 KB ) - added by ikari 15 months ago.
win11 fails to start if 3d accelleration is enabled

Download all attachments as: .zip

Change History (28)

by Malus, 11 years ago

Attachment: VBox.log added

comment:1 by misha, 11 years ago

Please run VBoxTestOGL --test 3d --log /path/to/logfile.log, amd attach the generated logfile here.

comment:2 by misha, 11 years ago

Component: WDDM3D support

by Malus, 11 years ago

Attachment: logfile.log added

comment:3 by misha, 11 years ago

So it seems like 3D test fails for your VMs for some reason. Are you using VirtualGL or some other 3D redirection software on your host?

Could you run your VM with VBOXGLTEST_LOG=/path/to/logfile_prefix environment set, e.g. from the console do:

VBOXGLTEST_LOG=/path/to/logfile_prefix VirtualBox --startvm <vm_name>

This should generate one or more /path/to/logfile_prefix*.log files.
Please attach the generated log files here.

comment:4 by Malus, 11 years ago

Hi misha,

Some time, I have installed 3D application Compiz ( Windows Manager) even though I have enabled default window manager ("Mate").

Could this be the cause of the conflict ..?

Thanks ..

Last edited 11 years ago by Malus (previous) (diff)

in reply to:  4 comment:5 by misha, 11 years ago

Replying to Malus:

Hi misha,

Some time, I have installed 3D application Compiz ( Windows Manager) even though I have enabled default window manager ("Mate").

Could this be the cause of the conflict ..?

Hmm, what exactly? Neither Compiz nor Mate nor any other window manager should cause it actually, although VirtualGL could. Could you post here the logs generated with using VBOXGLTEST_LOG environment var as I described above?

by Malus, 11 years ago

Attachment: logfile_prefix.10112793.log added

comment:6 by Malus, 11 years ago

Ok misha i open the terminal and i wrote:

VBOXGLTEST_LOG=/home/hector/virtual_log/logfile_prefix VirtualBox --startvm Xubuntu13.10

The result is in the attachment (above)

by hugo.costelha, 11 years ago

by hugo.costelha, 11 years ago

by hugo.costelha, 11 years ago

by hugo.costelha, 11 years ago

comment:7 by hugo.costelha, 11 years ago

I have exactly the same problem, but with VirtualBox 4.2.22. I am running a laptop with Kubuntu 12.04 with a ATI Radeon HD 2400 XT and the fglrx binary drivers from ATI.

>> fglrxinfo 
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: ATI Mobility Radeon HD 2400 XT
OpenGL version string: 3.3.11627 Compatibility Profile Context

I attached the logs as requested to the original bug reporter, namely the following files:

log_3D_Error.txt.11494754.log
log_3D_Error.txt.11495286.log
log_3D_Error.txt.11495877.log
log_3D_Error.txt.11496403.log

Everything was working fine before updating to VirtualBox 4.22, including the 3D setting.

Last edited 11 years ago by hugo.costelha (previous) (diff)

comment:8 by Ioannis Vranos, 11 years ago

I have the same problem, described in the first post.

Using the AMD Catalyst legacy driver, in 64-bit versions, of Lubuntu 12.04 and elementary OS (Ubuntu 12.04 based) after clean installs, used as hosts.

In a virtual machine, when I select "Enable 3D Acceleration", a warning appears telling:

"Invalid settings detected".

If I click on this message, I get a more detailed message:

"The virtual machine is set up to use hardware graphics acceleration. However the host system does not currently provide this, so you will not be able to start the machine".

When I try to start the virtual machine, I get the following error message:

"This VM was configured to use 3D acceleration. However, the 3D support of the host is not working properly and the VM cannot be started. To fix this problem, either fix the host 3D support (update the host graphics driver?) or disable 3D acceleration in the VM settings (VERR_NOT_AVAILABLE)".

All other 3D graphics applications, like games, second life, etc, work OK.

==> Note: In the following outputs, I inserted blank lines, to improve readability.

"==>" denotes an important thing:

As root, when I run /usr/lib/virtualbox/VBoxTestOGL --test 3d --log outpout.log, the following happens:

root@toshiba:/home/john/Downloads# /usr/lib/virtualbox/VBoxTestOGL --test 3d --log outpout.log

==> Segmentation fault

root@toshiba:/home/john/Downloads#

The end of output.log is this:

root@toshiba:/home/john/Downloads# tail outpout.log

00:00:00.046274 Package type: LINUX_64BITS_UBUNTU_12_04 00:00:00.046381 Testing 3D Support: 00:00:00.092308 OpenGL Info: Render SPU: Opening display :0 00:00:00.232339 OpenGL Info: Render SPU: Opening display :0 00:00:00.347635 OpenGL Info: Render SPU: GL_VENDOR: ATI Technologies Inc. 00:00:00.347719 OpenGL Info: Render SPU: GL_RENDERER: ATI Mobility Radeon HD 4500/5100 Series 00:00:00.347769 OpenGL Info: Render SPU: GL_VERSION: 3.3.11672 Compatibility Profile Context 00:00:00.347836 OpenGL Info: Render SPU: GL_EXTENSIONS: GL_AMDX_debug_output GL_AMDX_vertex_shader_tessellator GL_AMD_conservative_depth GL_AMD_debug_output GL_AMD_depth_clamp_separate GL_AMD_draw_buffers_blend GL_AMD_name_gen_delete GL_AMD_performance_monitor GL_AMD_pinned_memory GL_AMD_sample_positions GL_AMD_seamless_cubemap_per_texture GL_AMD_shader_stencil_export GL_AMD_texture_cube_map_array GL_AMD_texture_texture4 GL_AMD_vertex_shader_tessellator GL_ARB_ES2_compatibility GL_ARB_base_instance GL_ARB_blend_func_extended GL_ARB_color_buffer_float GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_copy_buffer GL_ARB_depth_buffer_float GL_ARB_depth_clamp GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_explicit_attrib_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_half_float_pixel GL_ARB_half_float_vertex GL_ARB_imaging GL_ARB_instanced_arrays GL_ARB_internalformat_query GL_ARB_map_buffer_alignment GL_ARB_map_buffer_range GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_provoking_vertex GL_ARB_sample_shading GL_ARB_sampler_objects GL_ARB_seamless_cube_map GL_ARB_separate_shader_objects GL_ARB_shader_bit_encoding GL_ARB_shader_objects GL_ARB_shader_precision GL_ARB_shader_stencil_export GL_ARB_shader_texture_lod GL_ARB_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_shadow_ambient GL_ARB_sync GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_compression GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirrored_repeat GL_ARB_texture_multisample GL_ARB_texture_non_power_of_two GL_ARB_texture_query_lod GL_ARB_texture_rectangle GL_ARB_texture_rg GL_ARB_texture_rgb10_a2ui GL_ARB_texture_snorm GL_ARB_texture_storage GL_ARB_timer_query GL_ARB_transform_feedback2 GL_ARB_transform_feedback3 GL_ARB_transform_feedback_instanced GL_ARB_transpose_matrix GL_ARB_uniform_buffer_object GL_ARB_vertex_array_bgra GL_ARB_vertex_array_object GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_vertex_type_2_10_10_10_rev GL_ARB_viewport_array GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_envmap_bumpmap GL_ATI_fragment_shader GL_ATI_meminfo GL_ATI_separate_stencil GL_ATI_texture_compression_3dc GL_ATI_texture_env_combine3 GL_ATI_texture_float GL_ATI_texture_mirror_once GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_copy_buffer GL_EXT_copy_texture GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_histogram GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_wrap GL_EXT_subtexture GL_EXT_texgen_reflection GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_add GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_rectangle GL_EXT_texture_sRGB GL_EXT_texture_sRGB_decode GL_EXT_texture_shared_exponent GL_EXT_texture_snorm GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_explicit_multisample GL_NV_float_buffer GL_NV_half_float GL_NV_primitive_restart GL_NV_texgen_reflection GL_NV_texture_barrier GL_SGIS_generate_mipmap GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_SUN_multi_draw_arrays GL_WIN_swap_hint WGL_EXT_swap_control 00:00:00.359192 OpenGL Info: Render SPU: GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB=16384

==> 00:00:00.360052 Testing 3D Succeeded!

root@toshiba:/home/john/Downloads#

This VirtualBox bug exists, in the current stable VirtualBox version (4.3.10 r93012), and in the previous stable version (4.3.8), at least.

The end result is running virtual machines without 3D acceleration, which means most of them are very slow in graphics performance.

In case it matters, all mentioned VirtualBox installations, have the "VirtualBox Extension Pack" installed.

by staret, 11 years ago

Attachment: VBoxTestOGL-output.log added

VBoxTestOGL Log

by staret, 11 years ago

VBOXGLTEST log

comment:9 by staret, 11 years ago

I added my own logs. I been having the same issue. Hope that it helps.

in reply to:  description comment:10 by (deleted), 10 years ago

-

Last edited 14 months ago by (deleted) (previous) (diff)

comment:11 by Michael Thayer, 10 years ago

Do people experiencing this see output similar to this when running /usr/lib/virtualbox/VBoxTestOGL --test 3d?

https://www.virtualbox.org/attachment/ticket/13626/vboxogl.out

in reply to:  11 ; comment:12 by (deleted), 10 years ago

Replying to michael:

Do people experiencing this see output similar to this when running /usr/lib/virtualbox/VBoxTestOGL --test 3d?

https://www.virtualbox.org/attachment/ticket/13626/vboxogl.out

Well... This has been naggin' me for about a year now. And suddenly it works again. Looks like they fixed it with the latest fglrx drivers or latest VirtualBox. Can't tell which.

Version 0, edited 10 years ago by (deleted) (next)

in reply to:  12 comment:13 by pSz, 10 years ago

Replying to Bachsau:

Replying to michael:

Do people experiencing this see output similar to this when running /usr/lib/virtualbox/VBoxTestOGL --test 3d?

https://www.virtualbox.org/attachment/ticket/13626/vboxogl.out

Well... This has been naggin' me for about a year now. And suddenly it works again. Looks like they fixed it with the latest fglrx drivers or latest VirtualBox. Can't tell which.

What version of Virtualbox are/were you using (that fixed it)? I've been having this issue too (with 4.3.x) and it's getting really irritating - especially that on 4.1 it surely works.

My backtrace looks more or less the same as michael's.

comment:14 by Michael Thayer, 10 years ago

pSz: could you please provide more details, including a log file from a virtual machine run (even an aborted one) and the precise error output and back-trace that you get?

comment:15 by S. Sokolow, 10 years ago

I have the exact same dialog as a result of upgrading my Lubuntu 14.04 to an nVidia binary driver version 346.47 to support the new GeForce GTX 750 I just bought.

Running the requested command reveals that VBoxTestOGL is dying with a "buffer overflow detected" message.

I'm attaching both the output dump from that and the results of "bt full" under gdb.

by S. Sokolow, 10 years ago

Attachment: failure_message.txt added

Failure output from VBoxTestOGL

by S. Sokolow, 10 years ago

Attachment: bt_full.txt added

bt full output from gdb run on VBoxTestOGL

by ikari, 15 months ago

win11 fails to start if 3d accelleration is enabled

comment:16 by ikari, 15 months ago

10 years later, same issue.

Attached log from win11 vm.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette