up vote 1 down vote favorite
share [g+] share [fb]

Ok, this might be a really specific question but,

I'm running Ubuntu and I need to do some programming work in Windows. I installed VirtualBox on Ubuntu and loaded an XP image. When I run the graphics code in visual studio, it pops up with 'No Direct3D harware detected', even though I checked the 'Enable 3D acceleration' on the virtual machine setup.

I've heard that I may need Shader Model 2.0 acceleration for this code to work(it's XNA from microsoft), so is that what's holding me back? If so, is it possible to get SM 2.0+ acceleration on VirtualBox? and if not, what should I be using?

link|improve this question

50% accept rate
2  
I don't think game development in a virtual environment is a very good idea... – BFree Oct 20 '09 at 15:49
agreed. but i still need to do it. – LoveMeSomeCode Oct 20 '09 at 16:04
feedback

3 Answers

up vote 1 down vote accepted

It depends on how your hardware is virtualized. I used VMWare Fusion and I do get 3D acceleration under windows 7, E.G. I run Half-life 2 and Civ 4 sometimes. Neither of these use Shader Model 2.0 so it could be that, or VirtualBox itself. It's also important to check that you installed the correct windows drivers for this virtualized hardware.

link|improve this answer
feedback

This is definitely in it's infancy, and you'd have to test in windows anyway, just in case something different happens.

If you really want to do some windows based game development, I'd highly recommend using windows, just dual boot.

link|improve this answer
feedback

From Slashdot :

Apparently, Virtualbox 3.0 released today (2009-07-01) brings with it 'OpenGL 2.0 for Windows, Linux and Solaris guests; and experimental support for Direct3D 8/9 applications on Windows guests.'

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.