VM Crashes when Direct3D is enabled

Discussions related to using VirtualBox on Windows hosts.

VM Crashes when Direct3D is enabled

Postby Bushwalker » 29. Jan 2011, 23:23

I'm using the latest version of VBox (4.0.2). I've installed a Win XP guset OS on Win 7 64-bit host OS and when I enable 3D acceleration, the VBox crashes during Win XP start-up. I must point out that I haven't installed the support for Direct3D in safe mode yet. I also tried with Direct3D support installed in safe mode and it gives me the same crash during start-up. As soon as 3D acceleration is disabled, Win XP guest OS comes on-line normally without VBox crashing.
Does anybody know what could cause this problem?
Bushwalker
 
Posts: 2
Joined: 29. Jan 2011, 23:08
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Win XP, Ubuntu, Win 95, Win 98

Re: VM Crashes when Direct3D is enabled

Postby Sasquatch » 30. Jan 2011, 02:01

Which Host hardware? nVidia and latest drivers installed? Then check these Google results.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: VM Crashes when Direct3D is enabled

Postby boeroboy » 28. Feb 2011, 18:09

Yes I have the same problem after an upgrade to 4.0.2. I was developing an OpenGL app in Win 7 Home Prem x86 (Sabayon 2.6.36 x86_64 host). 3D Accel (OpenGL) had been working flawlessly with my nVidia GTX260. After the upgrade and guest additions upgrade, my windows appeared blank. I tried to revert my guest additions to 3.2.12 and now the application fails out with an invalid rendering context. Once again an upgrade causes more damage than good. I had to revert everything to 3.2.12. Too much time wasted on it. I'll wait for 4.x to get the kinks out.
Thanks
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby boeroboy » 8. Mar 2011, 00:11

Has anyone here tested 4.0.4? I see nothing about this problem in the changelog, so I'm hesitant to try and lose another several hours reverting VBox... Thanks
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby squall leonhart » 9. Mar 2011, 16:46

update your nvidia drivers from 260.xx
squall leonhart
 
Posts: 303
Joined: 21. Apr 2010, 10:39
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, 8, 10, Android x86

Re: VM Crashes when Direct3D is enabled

Postby boeroboy » 9. Mar 2011, 23:00

I've had them installed for a while. 260.19.29 to be exact.
Or did you mean 260.x is the problem?
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby squall leonhart » 11. Mar 2011, 17:00

boeroboy wrote:I've had them installed for a while. 260.19.29 to be exact.
Or did you mean 260.x is the problem?


Yes, the 260, 261 and 263 drivers all have issues with the multithreaded opengl, you can either set threaded optimisations to off in the nvcp or update to a later driver.
squall leonhart
 
Posts: 303
Joined: 21. Apr 2010, 10:39
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, 8, 10, Android x86

Re: VM Crashes when Direct3D is enabled

Postby boeroboy » 21. Mar 2011, 18:40

Unfortunately there is no release > 260 for Linux. There's also no fine grained setting for multithreaded options in the Linux 260.x nvcp. I'll continue to hold off for now.
Thanks Squall.
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby Sasquatch » 21. Mar 2011, 20:31

Just an FYI for anyone who's interested, I have an older nVidia video card (Geforce 7800 GTX) with Linux driver 260.19.06 and no problems with 3D in VMs. I think this is because my video card doesn't support the new feature they added, so it's not only the driver version, it's also the actual hardware you have that will cause this problem. The right (or wrong actually) combination triggers this and requires the work-around noted by Squall Leonhart.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Resolved.

Postby boeroboy » 2. Apr 2011, 01:17

Finally I got sick of making my distro package manager skip VirtualBox and decided to tackle this issue. Finally this bonehead tried other OpenGL apps and saw that they work (sorry).

I narrowed the problem in my app source code to the timing of a WindowState = Maximized. Oddly enough, if I wait a split second before I maximize my window, it renders just fine. This did not happen in VBox < 4.0. Strange, but I'll have to manage.

Thanks guys.
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby squall leonhart » 3. Apr 2011, 07:45

Unfortunately there is no release > 260 for Linux.


There have been R270 drivers for linux for the past month and a half.
squall leonhart
 
Posts: 303
Joined: 21. Apr 2010, 10:39
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, 8, 10, Android x86

Re: VM Crashes when Direct3D is enabled

Postby studleylee » 5. Apr 2011, 20:23

I'd really like to see some OpenGl fixes in version 4. Several programs no longer work since I upgraded. Mostly CAD design and Schematic software I own but need on a WinXP system.
studleylee
 
Posts: 6
Joined: 25. Sep 2008, 22:45

Re: VM Crashes when Direct3D is enabled

Postby boeroboy » 19. Apr 2011, 17:02

There have been R270 drivers for linux for the past month and a half.

Really? Where did you find them? My disto package manager didn't have it and I even went to nVidia's site which then and now only shows 260 for both 64 and x86. Is your 270 a custom build/forceware?

At any rate, there is definitely some changed functionality in 4.x - possibly in the new additions/driver. The problem in my app involved creating the rendering context in a hidden window before showing it. Works fine natively, worked fine in 3.2.x, doesn't work in 4.x. Problems involving complex CAD workstation software may involve unsupported extensions in the new drivers. I don't have 3.x on here any more to compare, but here is the output report from OpenGL Extension Viewer under one of my 4.0.4 guests. My guess is different results will appear under a VBox 3.x guest.

http://www.realtech-vr.com/glview

Code: Select all   Expand viewCollapse view
Renderer: Chromium
Vendor: Humper
Memory: 0 MB
Version: 2.1 Chromium 1.9
Shading language version: 3.30 NVIDIA via Cg compiler


Max texture size: 8192 x 8192
Max texture coordinates: 8
Max vertex texture image units: 32
Max texture image units: 32
Max geometry texture units: 0
Max anisotropic filtering value: 16
Max number of light sources: 8
Max viewport size: 8192 x 8192
Max uniform vertex components: 4096
Max uniform fragment components: 4096
Max geometry uniform components: 0
Max varying floats: 60
Max samples: 1
Max draw buffers: 0


Extensions: 78

GL_ARB_depth_texture
GL_ARB_fragment_program
GL_ARB_fragment_shader
GL_ARB_multisample
GL_ARB_multitexture
GL_ARB_occlusion_query
GL_ARB_pixel_buffer_object
GL_ARB_point_parameters
GL_ARB_point_sprite
GL_ARB_shader_objects
GL_ARB_shading_language_100
GL_ARB_shadow
GL_ARB_texture_border_clamp
GL_ARB_texture_compression
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_non_power_of_two
GL_ARB_texture_rectangle
GL_ARB_transpose_matrix
GL_ARB_vertex_buffer_object
GL_ARB_vertex_program
GL_ARB_vertex_shader
GL_ARB_window_pos
GL_CR_bounding_box
GL_CR_cursor_position
GL_CR_head_spu_name
GL_CR_performance_info
GL_CR_print_string
GL_CR_readback_barrier_size
GL_CR_saveframe
GL_CR_server_id_sharing
GL_CR_server_matrix
GL_CR_state_parameter
GL_CR_synchronization
GL_CR_tile_info
GL_CR_tilesort_info
GL_CR_window_size
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_draw_range_elements
GL_EXT_fog_coord
GL_EXT_framebuffer_blit
GL_EXT_framebuffer_object
GL_EXT_multi_draw_arrays
GL_EXT_secondary_color
GL_EXT_shadow_funcs
GL_EXT_stencil_two_side
GL_EXT_stencil_wrap
GL_EXT_texture3D
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_lod_bias
GL_EXT_texture_object
GL_EXT_texture_sRGB
GL_IBM_rasterpos_clip
GL_NV_fog_distance
GL_NV_fragment_program
GL_NV_register_combiners
GL_NV_register_combiners2
GL_NV_texgen_reflection
GL_NV_texture_rectangle
GL_NV_vertex_program
GL_NV_vertex_program1_1
GL_NV_vertex_program2
GL_SGIS_generate_mipmap

Core features
v1.1 (100 % - 7/7)
v1.2 (100 % - 8/8)
v1.3 (100 % - 9/9)
v1.4 (100 % - 15/15)
v1.5 (100 % - 3/3)
v2.0 (100 % - 10/10)
v2.1 (100 % - 3/3)
v3.0 (13 % - 3/23)
v3.1 (25 % - 2/8)
v3.2 (11 % - 1/9)
v3.3 (11 % - 1/9)
v4.0 (0 % - 0/13)
v4.1 (0 % - 0/8)

OpenGL driver version check (Current: 4.0.4.70112, Latest known: 4.0.4.r70112):
Outdated version of display drivers detected
According the database, you are might be not using the latest version of display drivers for your video card.

Compiled vertex array support
This feature improves OpenGL performance by using video memory to cache transformed vertices.

Multitexture support
This feature accelerates complex rendering such as lightmaps or environment mapping.

Secondary color support
This feature provides an alternate method of coloring specular highlights on polygons.

S3TC compression support
This feature improves texture mapping performance in some applications by using lossy compression.

Texture edge clamp support
This feature improves texturing quality by adding clamping control to edge texel filtering.

Vertex program support
This feature enables a wide variety of effects via flexible vertex programming (equivalent to DX8 Vertex Shader.)

Fragment program support
This feature enables a wide variety of effects via per pixel programming (equivalent to DX9 Pixel Shader.)

Texture anisotropic filtering support
This feature improves the quality of texture mapping on oblique surfaces.

Occlusion test support
This feature provides hardware accelerated culling for objects.

Point sprite support
This feature improves performance in some particle systems.

OpenGL Shading Language support
This feature enables high level shading language for shaders.

Frame buffer object support
This feature enables render to texture functionality.

Extension verification:
GL_ARB_debug_output was not found, but has the entry point glGetPointerv
GL_ARB_imaging was not found, but has the entry point glBlendEquation
GL_ARB_imaging was not found, but has the entry point glColorSubTable
GL_ARB_imaging was not found, but has the entry point glColorTable
GL_ARB_imaging was not found, but has the entry point glColorTableParameterfv
GL_ARB_imaging was not found, but has the entry point glColorTableParameteriv
GL_ARB_imaging was not found, but has the entry point glConvolutionFilter1D
GL_ARB_imaging was not found, but has the entry point glConvolutionFilter2D
GL_ARB_imaging was not found, but has the entry point glConvolutionParameterf
GL_ARB_imaging was not found, but has the entry point glConvolutionParameterfv
GL_ARB_imaging was not found, but has the entry point glConvolutionParameteri
GL_ARB_imaging was not found, but has the entry point glConvolutionParameteriv
GL_ARB_imaging was not found, but has the entry point glCopyColorSubTable
GL_ARB_imaging was not found, but has the entry point glCopyColorTable
GL_ARB_imaging was not found, but has the entry point glCopyConvolutionFilter1D
GL_ARB_imaging was not found, but has the entry point glCopyConvolutionFilter2D
GL_ARB_imaging was not found, but has the entry point glGetColorTable
GL_ARB_imaging was not found, but has the entry point glGetColorTableParameterfv
GL_ARB_imaging was not found, but has the entry point glGetColorTableParameteriv
GL_ARB_imaging was not found, but has the entry point glGetConvolutionFilter
GL_ARB_imaging was not found, but has the entry point glGetConvolutionParameterfv
GL_ARB_imaging was not found, but has the entry point glGetConvolutionParameteriv
GL_ARB_imaging was not found, but has the entry point glGetHistogram
GL_ARB_imaging was not found, but has the entry point glGetHistogramParameterfv
GL_ARB_imaging was not found, but has the entry point glGetHistogramParameteriv
GL_ARB_imaging was not found, but has the entry point glGetMinmax
GL_ARB_imaging was not found, but has the entry point glGetMinmaxParameterfv
GL_ARB_imaging was not found, but has the entry point glGetMinmaxParameteriv
GL_ARB_imaging was not found, but has the entry point glGetSeparableFilter
GL_ARB_imaging was not found, but has the entry point glHistogram
GL_ARB_imaging was not found, but has the entry point glMinmax
GL_ARB_imaging was not found, but has the entry point glResetHistogram
GL_ARB_imaging was not found, but has the entry point glResetMinmax
GL_ARB_imaging was not found, but has the entry point glSeparableFilter2D
GL_EXT_subtexture was not found, but has the entry point glTexSubImage3DEXT
WGL_ARB_extensions_string was not found, but has the entry point wglGetExtensionsStringARB
WGL_ARB_pixel_format was not found, but has the entry point wglChoosePixelFormatARB
WGL_ARB_pixel_format was not found, but has the entry point wglGetPixelFormatAttribfvARB
WGL_ARB_pixel_format was not found, but has the entry point wglGetPixelFormatAttribivARB
WGL_EXT_extensions_string was not found, but has the entry point wglGetExtensionsStringEXT
WGL_EXT_pixel_format was not found, but has the entry point wglChoosePixelFormatEXT
WGL_EXT_pixel_format was not found, but has the entry point wglGetPixelFormatAttribfvEXT
WGL_EXT_pixel_format was not found, but has the entry point wglGetPixelFormatAttribivEXT
WGL_EXT_swap_control was not found, but has the entry point wglSwapIntervalEXT


Note: Compare extension list from a 2.1 posting: http://forums.virtualbox.org/viewtopic.php?p=50755
boeroboy
 
Posts: 17
Joined: 8. Dec 2010, 17:04
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Win XP,Vista,7, CentOS Linux

Re: VM Crashes when Direct3D is enabled

Postby Sasquatch » 19. Apr 2011, 22:40

boeroboy wrote:
There have been R270 drivers for linux for the past month and a half.

Really? Where did you find them? My disto package manager didn't have it and I even went to nVidia's site which then and now only shows 260 for both 64 and x86. Is your 270 a custom build/forceware?

At any rate, there is definitely some changed functionality in 4.x - possibly in the new additions/driver. The problem in my app involved creating the rendering context in a hidden window before showing it. Works fine natively, worked fine in 3.2.x, doesn't work in 4.x. Problems involving complex CAD workstation software may involve unsupported extensions in the new drivers. I don't have 3.x on here any more to compare, but here is the output report from OpenGL Extension Viewer under one of my 4.0.4 guests. My guess is different results will appear under a VBox 3.x guest.

http://www.realtech-vr.com/glview

Note: Compare extension list from a 2.1 posting: http://forums.virtualbox.org/viewtopic.php?p=50755

This is Windows Hosts, not Linux Hosts. When there is a version number of a driver, look at the Host section it's talking about.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Sasquatch
Volunteer
 
Posts: 17800
Joined: 17. Mar 2008, 13:41
Location: /dev/random
Primary OS: Debian other
VBox Version: PUEL
Guest OSses: Windows XP, Windows 7, Linux

Re: VM Crashes when Direct3D is enabled

Postby squall leonhart » 21. Apr 2011, 06:39

boeroboy wrote:
There have been R270 drivers for linux for the past month and a half.

Really? Where did you find them? My disto package manager didn't have it and I even went to nVidia's site which then and now only shows 260 for both 64 and x86. Is your 270 a custom build/forceware?

At any rate, there is definitely some changed functionality in 4.x - possibly in the new additions/driver. The problem in my app involved creating the rendering context in a hidden window before showing it. Works fine natively, worked fine in 3.2.x, doesn't work in 4.x. Problems involving complex CAD workstation software may involve unsupported extensions in the new drivers. I don't have 3.x on here any more to compare, but here is the output report from OpenGL Extension Viewer under one of my 4.0.4 guests. My guess is different results will appear under a VBox 3.x guest.
[/url]


Linux x64 (AMD64/EM64T) Display Driver BETA 270.26 February 21, 2011

Version: 270.41.06 Certified
Release Date: 2011.04.20

is the most recent.
squall leonhart
 
Posts: 303
Joined: 21. Apr 2010, 10:39
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Windows XP, 8, 10, Android x86

Next

Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: Kuttima and 52 guests