Results 1 to 8 of 8

Thread: How to add DirectX in virtualbox ?

  1. #1
    Join Date
    Apr 2012
    Beans
    42

    Exclamation How to add DirectX in virtualbox ?

    Hi ,
    I've installed windows 7 64bit in virtual-box
    The system is working well .
    I have core i5 750 , I allocated 2 cores to the system .
    I have 4 GB ram , I allocated 1.6 GB to the system .
    I have GTX 470 , I don't know to add this to the system !!
    So my issue is , How to add DirectX to my virtual machine .
    So that I can activate Aero and 3D applications .
    I'd like to add that I've checked the 3D and 2D in the settings
    but noticed no difference .
    My host is ubuntu 11.10
    Thanks
    Last edited by Docmero; May 17th, 2012 at 02:00 AM.

  2. #2
    Join Date
    Apr 2012
    Beans
    42

    Re: How to add DirectX in virtualbox ?

    UPDATE : I installed virtualbox additions and the experimental 3D drivers , The system became smoooother , faster and Directx 11 was added to the system but the GFX card - GTX 470- is not recognized though !! and video memory is only now 256 although the video memory of GTX 470is 1280 .

  3. #3
    Join Date
    Apr 2007
    Location
    Stanwood, WA
    Beans
    172
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How to add DirectX in virtualbox ?

    You won't be able to add your GTX 470, it doesn't work like that. The guest machine won't ever see your machines video card as what it is.

  4. #4
    Join Date
    Apr 2012
    Beans
    42

    Re: How to add DirectX in virtualbox ?

    So , the virtual system never uses the full capacity of the GPU ?
    I tried to activate Aero in virtualbox but it didn't work although I did all the required step ,
    after trying for a while I found the system can activate Aero only after restarting , but if I changed any personalization option , Aero is deactivated again !!
    I tried Vmware instead of Virtualbox and came with great results , all my video ram was detected in the system , Aero is working well , all my USB devices were detected , It's a bit slower than virtual box to be honest but I think I can take the performance hit to ensure stability of the system . (if you know how to make it as fast as possible , please tell me
    Another problem , It's harder to switch from Win7 Desktop to ubuntu Desktop in Vmware ( I have exit full screen mode to be able to see ubuntu Desktop ) . I'll make more experiments on both systems to keep this updated for next users .
    Thanks

  5. #5
    Join Date
    Apr 2007
    Location
    Stanwood, WA
    Beans
    172
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: How to add DirectX in virtualbox ?

    Correct, Virtualization in general is not for gaming.

    The only thing it took for me to get Aero working on my machine was to install the VBox additions in Safe Mode. After that it worked just fine.

    I have no comment on VMWare as I haven't used it.

  6. #6
    Rebelli0us is offline Extra Foam Sugar Free Ubuntu
    Join Date
    Feb 2008
    Beans
    722

    Re: How to add DirectX in virtualbox ?

    The Guest OS does not control any hardware, it simply uses the Host's resources, just like another app. So you cannot add hardware to the Guest through Windows' Device Manager.

  7. #7
    Join Date
    Oct 2010
    Location
    Turin, Italy
    Beans
    31
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How to add DirectX in virtualbox ?

    Some quote from the VirtualBox's manual (https://www.virtualbox.org/manual/ch04.html#guestadd-3d), just to clarify .
    About Guest Additions' Hardware 3D acceleration:
    ...With this feature, if an application inside your virtual machine uses 3D features through the OpenGL or Direct3D 8/9 programming interfaces, instead of emulating them in software (which would be slow), VirtualBox will attempt to use your host's 3D hardware...
    and again
    Technically, VirtualBox implements this by installing an additional hardware 3D driver inside your guest when the Guest Additions are installed. This driver acts as a hardware 3D driver and reports to the guest operating system that the (virtual) hardware is capable of 3D hardware acceleration. When an application in the guest then requests hardware acceleration through the OpenGL or Direct3D programming interfaces, these are sent to the host through a special communication tunnel implemented by VirtualBox, and then the host performs the requested 3D operation via the host's programming interfaces.
    It surely does not implement directx 10 / 11 (nor 7), but works for OpenGL and d3d8/9.

  8. #8
    Join Date
    Feb 2007
    Beans
    152

    Re: How to add DirectX in virtualbox ?

    For (relatively) good 3d performances use Vmware player: you can play most of the games (even recent ones)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •