Crash when 3D is enabled

Discussions about using Windows guests in VirtualBox.
Post Reply
koffie
Posts: 2
Joined: 16. Oct 2009, 12:12
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Linux (slackware, ubuntu, debian, ...)

Crash when 3D is enabled

Post by koffie »

Hi,

I'm using VB on XP Pro with an Ati Mobility Radeon HD 3650, using the following Catalist drivers (latest patched with Mobility Modder.NET)

Code: Select all

Driver Packaging Version	8.65-090813a-087735C-ATI	
Catalyst™ Version	09.9	
Provider	ATI Technologies Inc.	
2D Driver Version	6.14.10.6999	
2D Driver File Path	System/CurrentControlSet/Control/Video/{D6B99F1D-8F69-40FA-8EAB-2C5D84627002}/0000	
Direct3D Version	6.14.10.0697	
OpenGL Version	6.14.10.8918	
Catalyst™ Control Center Version	2009.0813.2131.36817	
AIW/VIVO WDM Driver Version	6.14.10.6238	
AIW/VIVO WDM SP Driver Version	6.14.10.6238
Every time I try to start any virtual machine with 3D acceleration enabled, I see the window being created, with menu & all, but with black window content - and immediately I get the following crash:

Code: Select all

---------------------------
VirtualBox.exe - Application Error
---------------------------
The instruction at "0x5ed04e96" referenced memory at "0x0000044c". The memory could not be "read".


Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK   Cancel   
---------------------------

When I check the logfile for that VM, I see the following:

Code: Select all

00:00:00.938 VirtualBox 3.0.8 r53138 win.x86 (Oct  7 2009 08:57:03) release log
00:00:00.938 Log opened 2009-10-16T10:04:36.359375000Z
00:00:00.938 OS Product: Windows XP Professional
00:00:00.938 OS Release: 5.1.2600
00:00:00.938 OS Service Pack: 3
00:00:00.938 Host RAM: 2027MB RAM, available: 964MB
00:00:00.938 Executable: C:\PROGRA~1\Sun\VIRTUA~1\VirtualBox.exe
00:00:00.938 Process ID: 4136
00:00:00.938 Package type: WINDOWS_32BITS_GENERIC
00:00:01.061 SUP: Loaded VMMR0.r0 (C:\PROGRA~1\Sun\VIRTUA~1/VMMR0.r0) at 0x8630c060 - ModuleInit at 000000008631d4e0 and ModuleTerm at 000000008631d550
00:00:01.061 SUP: VMMR0EntryEx located at 000000008631e130, VMMR0EntryFast at 000000008631d6b0 and VMMR0EntryInt at 000000008631d6a0
00:00:01.061 SUP: windbg> .reload /f C:\PROGRA~1\Sun\VIRTUA~1/VMMR0.r0=0x8630c060
00:00:01.273 Console::configConstructor: DeviceIoControl failed, err (0x57), ignoring
00:00:01.322 VBoxSharedClipboard mode: Bidirectional
00:00:01.707 OpenGL Error: ChoosePixelFormat failed
00:00:01.707 OpenGL Error: SetPixelFormat failed (Error 0x6)
00:00:01.707 OpenGL Error: ChoosePixelFormat failed
00:00:01.707 OpenGL Error: SetPixelFormat failed (Error 0x6)
00:00:01.707 OpenGL Error: Render SPU: (MakeCurrent) Couldn't create the context for the window (error 0x6)
00:00:01.707 OpenGL Error: Render SPU: (MakeCurrent) failed to make 0x180107db, 0x0 current with 0x6 error.
Now the tricky thing is - I cannot disable the 3D acceleration in the UI - the checkbox is by default checked AND disabled. If I manually kill the VBoxSVC.exe process and change the

Code: Select all

<Display VRAMSize="32" monitorCount="1" accelerate3D="true"/>
into

Code: Select all

<Display VRAMSize="32" monitorCount="1" accelerate3D="false"/>
the crash doesn't occur anymore.

I tested this with Linux and Windows guest OS's - so I doubt this is guest-os related (this is before the guest boots). I have tried multiple things, increased and decreased the video memory - nothing but the above sollution works, which is a bit stupid, because I would need 3D-acceleration (OpenGL) in the guest OS. Running other OpenGL applications works just fine in the host Windows OS.

Anyone an idea?
RudeBoySes
Posts: 10
Joined: 14. Oct 2009, 18:31
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7 Ultimate x86Bit RTM OEM

Re: Crash when 3D is enabled

Post by RudeBoySes »

It sounds like a Video Driver issue..

Don't hold me to this.. i can only go off experience.. as i have a Gaming Machine as well.. and had similalr problems when the GeForce 8800GTX first came out..
Nvidia had horrible Driver support ..
and many Nvidia customers experienced exactly what you're going through..

I would suggest:
- Obtain "Driver Cleaner" (You can download and use a trial version of it for 30 days i believe .. try to get the Platinum Version.. it's worth the money)
- Instal "Driver Clenaer"
- Uninstall the current drivers
- Boot into Safe Mode
- Run "Driver Cleaner" in Safe Mode, select "ATI", and run the cleaner
- Once done.. reboot into Normal Mode
- Now go into Device Manager and right click the Video Adapter
- Click "Update" Driver > Have Disc > locate "Guest Addition.iso" and update
- Reboot

Hopefully that will work ..
Good Luck ..


-------------------------------------

EDIT:
- Disregard my comment.. you're having issues with your Virtual Machine.. it's not the same..
- I would suggest a Clean Install .. that's what i do when i experience problems that i cannot figure out :P

Sorry
Host: Windows 7 Ultimate x64Bit RTM OEM
Guest: Windows 7 Ultimate x86Bit RTM OEM
VBox: 3.0.8
koffie
Posts: 2
Joined: 16. Oct 2009, 12:12
Primary OS: MS Windows XP
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Linux (slackware, ubuntu, debian, ...)

Re: Crash when 3D is enabled

Post by koffie »

Hmm you're right - I apparently posted this in the wrong forum.... can a Mod move this?
darkangel
Posts: 2
Joined: 26. Oct 2009, 11:30
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Win10

Re: Crash when 3D is enabled

Post by darkangel »

I have the same problem after upgrading from 2.2.4.

00:00:00.456 OpenGL Error: ChoosePixelFormat failed
00:00:00.456 OpenGL Error: SetPixelFormat failed (Error 0x6)
00:00:00.456 OpenGL Error: ChoosePixelFormat failed
00:00:00.456 OpenGL Error: SetPixelFormat failed (Error 0x6)
00:00:00.457 OpenGL Error: Render SPU: (MakeCurrent) Couldn't create the context for the window (error 0x6)
00:00:00.457 OpenGL Error: Render SPU: (MakeCurrent) failed to make 0x10013219, 0x0 current with 0x6 error.

It doesn't crash though, the VM just fails to run – status = Aborted.

Is re-installing the VM the only way to fix this (and have 3D Acceleration)?

_da.
Post Reply