1

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?

2
  • 2
    I don't think game development in a virtual environment is a very good idea...
    – BFree
    Commented Oct 20, 2009 at 15:49
  • agreed. but i still need to do it. Commented Oct 20, 2009 at 16:04

3 Answers 3

1

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.

1

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.

1

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.'

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .