Can't get 3D acceleration working

Discussions about using Windows guests in VirtualBox.
Post Reply
blueduck
Posts: 4
Joined: 10. Sep 2009, 10:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Can't get 3D acceleration working

Post by blueduck »

Hi!

I'm trying for weeks making 3D acceleration working in my XPSP3 VM :(

The host is a Jaunty Kubuntu with KDE 4.3, I checked the box for 3D acceleration in the VM's config, installed XP, rebooted in safe mode, installed the guest additions with 3D acceleration, restarted normally...

QTGears runs correctly (at about 320 fps), but I can't perform any of Direct3D tests with dxdiag. Here are the errors I get (I translate from french, sorry if my english isn't absolutely exact):
- DX7 : Step 8 failed (Creating 3D device) : HRESULT = 0x8007000e (Not enough memory)
- DX8 : Step 4 failed (EnumAdapterModes) : HRESULT = 0x8876086c (Error code)
- DX9 : the test just close dxdiag, as if it was killed

I wasn't able to find any usefull solution to my problem; I don't even understand what the problem is?

Didi I miss something? Coulrd anybody help?

Blue Duck
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get 3D acceleration working

Post by Sasquatch »

Only DX7 failed on my VM. This is the output of the DX test:
No problems found.
To test DirectDraw functionality, click the "Test DirectDraw" button above.
Direct3D 7 test results: Failure at step 8 (Creating 3D Device): HRESULT = 0x8007000e (Out of memory)
Direct3D 8 test results: All tests were successful.
Direct3D 9 test results: All tests were successful.
The above test was done with the default 12 MB of VRAM. When I increased it to 32, I got this:
No problems found.
To test DirectDraw functionality, click the "Test DirectDraw" button above.
Direct3D 7 test results: Failure at step 8 (Creating 3D Device): HRESULT = 0x8007000e (Out of memory)
Direct3D 8 test results: Failure at step 4 (EnumAdapterModes): HRESULT = 0x8876086c (error code)
Direct3D 9 test results: All tests were successful.
Even 16 MB of VRAM caused the step 4 error.
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.
blueduck
Posts: 4
Joined: 10. Sep 2009, 10:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Can't get 3D acceleration working

Post by blueduck »

Thanks for answering.

Tried to set VRAM down to 16, 12, 8... but no difference. I get the same errors (and can't say anything about DX9 test 'cause it still immediately "crashes" after beginning).

Do you have any idea about the reason why you can't set more than 8 Mo of VRAM on your VM?

Blue Duck
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get 3D acceleration working

Post by Sasquatch »

I can set more than 8 MB of VRAM, it's set to 12 atm. That's the default now anyway. It's just that setting a higher value seems to trigger more errors.
Are you sure you installed the GA in safe mode? Updated to 3.0.6 yet? That's the one I'm running anyway, and I had to reinstall my GA in safe mode because I didn't have the tests available at first.
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.
blueduck
Posts: 4
Joined: 10. Sep 2009, 10:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Can't get 3D acceleration working

Post by blueduck »

I just reinstalled DirectX in normal mode, then GA 3.0.6 in safe mode to be sure: absolutely no difference, I get exactly the same errors... And still no test report, as the DX9 test crashes.

Blue Duck
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get 3D acceleration working

Post by Sasquatch »

Strange, you did set the VRAM to 12 MB? I didn't have a DX9 test crash with either 8, 12, 16 and 32 MB.
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.
blueduck
Posts: 4
Joined: 10. Sep 2009, 10:09
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP

Re: Can't get 3D acceleration working

Post by blueduck »

Yes, I did :(

New installation of Windows XP in the VM today. I installed DirectX in normal mode, before GA in safe mode. Not better: same error after DX7 test, but now crash appends during DX8 test...
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Can't get 3D acceleration working

Post by Sasquatch »

I didn't have DX installed at all, maybe that's your main problem. The GA files are causing conflicts with the already existing ones.
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.
Post Reply