Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

The Final Solution: Open Source Xen VGA Passthrough

Loading...

Sign in or sign up now!
10,465
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 10, 2009

The "not enough free resources" problem for nVidia Geforce 8400 GS PCI Express x16 graphics card in earlier presentation videos:

http://www.youtube.com/watch?v=HNEiSInrav0

http://www.youtube.com/watch?v=_hOT_9LIG5w

was fixed. Device manager in Windows XP HVM domU no longer shows an exclamation mark besides the nVidia Geforce 8400 GS graphics card. The device is working properly and the resources tab shows the available memory ranges.

Full VGA passthrough to Windows XP HVM guest operating system using Xen virtualization has been realized. I am now able to run 3-D video benchmarks on the passed through nVidia GeForce 8400 GS graphics card.

All this is possible using Xen 3.5 hypervisor with Intel supplied VGA passthrough patches. Instead of using pvops dom0 kernel 2.6.31-rc6 which causes Win XP domU to run slowly, I am now using pvops dom0 kernel 2.6.30-rc3.

Many thanks to Xen developers, Han Weidong and other engineers at Intel, and also Christian Tramnitz for pointing me to the missing link which helped me in resolving the last problem.

I am now able to bootstrap Windows XP HVM domU from within Linux using Xen virtualization and play 3D games in the Windows virtual machine. In the past, Windows virtual machines can only see a 2D emulated/virtual display adapter. The virtualized Windows operating systems were more palatable to server administrators than gamers. With VGA pass through and direct hardware access by Windows virtual machines to the graphics hardware, gamers are now able to play 3D games inside Windows virtual machines.

Visit my blog at http://teo-en-ming-aka-zhang-enming.blogspot.com

Mr. Teo En Ming (Zhang Enming)
Email: space.time.universe@gmail.com
MSN: teoenming@hotmail.com
Mobile Phone: +65-9648-9798
Street Address: Bedok Reservoir Road
Country: Singapore

PS: I am still unable to passthrough USB devices, e.g. keyboard and mouse, to the Windows XP HVM domU. This video is captured and rendered using the open source kdenlive non-linear video editor. The video is taken using Canon HV20.

Link to this comment:

Share to:
see all

All Comments (2)

Sign In or Sign Up now to post a comment!
  • And is it possible to read the windows framebuffer with linux?

  • Very nice, how is the performance? Is it really near native?

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more