[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

classic Classic list List threaded Threaded
27 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
Dear Xen Users,

I have partial (that is, less than 100%) success following Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 GS in Device Manager reports:

1) Windows has stopped this device because it has reported problems. (Code 43)
2) This device isn't using any resources because it has a problem.

So, in Xen VGA Passthrough to Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I can only surf the internet and watch Youtube videos but I cannot run 3D graphics benchmarks. This is very very important because you cannot play 3D games. I can only run 2D graphics benchmarks, meaning I can only play 2D games. But nobody plays 2D games nowadays.

Jean David Techer, who is French, told me that it is a NVIDIA driver problem. According to his documentation, you have to use NVIDIA drivers 275.33 and 275.50 strictly. Any other NVIDIA driver versions WILL NOT work. Hence, I have attempted to install NVIDIA drivers 275.33 WHQL and 275.50 BETA in Windows XP Home Edition HVM domU. Common sense tells you I did not install both driver versions at the same time, of course. Installing NVIDIA driver versions 275.33 and 275.50 causes Windows XP Home Edition HVM domU to be DESTROYED (in Xen speak) and also causes my domain 0 to crash.

But if I install the LATEST NVIDIA drivers above 280.XX, it WILL NOT cause my Windows XP HVM domU and domain 0 to crash. But there will be a yellow exclamation marks besides NVIDIA Geforce 8400 GS in Device Manager. Why do I keep complaining about the yellow exclamation mark? Is it because I have nothing better to do and irritate David Techer? It is because I simply CANNOT run 3D graphics benchmarks and play 3D games. I can only surf the web and play Youtube videos.

Jean David Techer's Xen 4.2-unstable VGA Passthrough documentation is available at the following URL:

Jean David Techer's Blog link: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Any Xen user with the following computer hardware specifications, please try out David Techer's documentation.

Intel Processor with Virtualization Technology
Motherboard with VT-d support
Motherboard BIOS with VT-d option to enable or disable
NVIDIA PCI Express x16 display card

Any Xen user who can attain 100% success with David Techer's Xen 4.2-unstable VGA Passthrough documentation, please let all of us at xen-users mailing list know.

Why do I keep on troubleshooting? Because I consider this to be a technical challenge, although I am not an expert programmer. I have only learnt very basic C programming more than 15 years ago at Singapore Polytechnic and I have forgotten most of it by now. I am a Linux/UNIX system administrator with experiences in Apache web server, qmail and Postfix Email Server, DNS Server, DHCP server, OpenLDAP server, phpBB forum, MySQL database, Xen virtualization, VirtualBox, VMware, Snort Intrusion Prevention Systems, OSSEC Host Intrusion Detection Systems, Nagios monitoring software, and various Linux and BSD distributions. But I am by no means a software developer. I did not study computer science. I studied mechanical engineering at National University of Singapore.

It is too bad software engineer Han Weidong has left Intel Corporation last year, otherwise he would be able to help me. I got 100% success with Xen 3.5-unstable VGA Passthrough 3 years ago, back in the year 2009. Han Weidong et al are the original developers of the Xen VGA Passthrough patches, which only worked with Xen 3.5-unstable. Jean David Techer forward ported Han Weidong's patches to Xen 4.2-unstable with his programming knowledge, C/C++ and Java. I have read his CV.

According to Intel engineers Zhang Xiantao and Ren Yongjie, Intel's current policy is to focus on IGD VGA passthrough, so it is understood that they won't be able to help me with my issue. It is company policy, so they cannot afford the time and resources to help me.

If everybody who follows Jean David Techer's Xen 4.2-unstable VGA Passthrough documentation with 100% success without glitches, then I must be technically incompetent.

I would like to thank Xen users in advance if they are able to lend a helping hand.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

My computer hardware:

Intel Pentium Dual Core E6300 2.8GHz with Intel Virtualization Technology (VT-x)
Intel DQ45CB Desktop Board with Intel Virtualization Technology for Directed I/O (VT-d)
6 GB DDR2-800 Memory
NVIDIA Geforce 8400 GS PCI Express x16 VGA card

My computer software:

Ubuntu 11.10 amd64 Release with Xen virtualization/hypervisor 4.1.3-rc1-pre and Xen 4.2-unstable
Linux Kernel 3.3.0 Final
Windows 8 Consumer Preview 64-bit English HVM domU
Windows XP Home Edition SP3 32-bit HVM domU
Fedora 16 x86-64 Paravirtualized (PV) domU
Debian Squeeze Paravirtualized (PV) domU
-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore


On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.

I spent a lot of time googling, and found a post someone made of success with Windows 7 and a GTX 460, they applied Tobias Geiger's patches, which to my knowledge are not maintained for the latest Xen like David's, and I also though I read that David used those patches in his own.  In any event, might be worth a look, but applying those patches might be a lot of manual editing:

I went ahead and took everyones recommendation to buy an ATI card, which wasn't an outrageous request since I already bought a bunch of components to try out VT-d.

Yesterday I succeeded in getting VGA Passthrough going in one day with relatively little difficulty on pre-packaged (aptitude) Xen 4.1.2.

ATI appears to have people submitting patches for their own devices, unlike nVidia, so if you want to be on the forefront of this technology it seems like ATI is the way to go.

If you are dead set on nVidia, it might be a year before someone finds the solution nVidia owners are waiting on.


On Wed, Mar 28, 2012 at 11:57 AM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dear Xen Users,

I have partial (that is, less than 100%) success following Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation. In both Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I get yellow exclamation mark besides NVIDIA Geforce 8400 GS in Device Manager. NVIDIA Geforce 8400 GS in Device Manager reports:

1) Windows has stopped this device because it has reported problems. (Code 43)
2) This device isn't using any resources because it has a problem.

So, in Xen VGA Passthrough to Windows 8 Consumer Preview HVM and Windows XP Home Edition HVM, I can only surf the internet and watch Youtube videos but I cannot run 3D graphics benchmarks. This is very very important because you cannot play 3D games. I can only run 2D graphics benchmarks, meaning I can only play 2D games. But nobody plays 2D games nowadays.

Jean David Techer, who is French, told me that it is a NVIDIA driver problem. According to his documentation, you have to use NVIDIA drivers 275.33 and 275.50 strictly. Any other NVIDIA driver versions WILL NOT work. Hence, I have attempted to install NVIDIA drivers 275.33 WHQL and 275.50 BETA in Windows XP Home Edition HVM domU. Common sense tells you I did not install both driver versions at the same time, of course. Installing NVIDIA driver versions 275.33 and 275.50 causes Windows XP Home Edition HVM domU to be DESTROYED (in Xen speak) and also causes my domain 0 to crash.

But if I install the LATEST NVIDIA drivers above 280.XX, it WILL NOT cause my Windows XP HVM domU and domain 0 to crash. But there will be a yellow exclamation marks besides NVIDIA Geforce 8400 GS in Device Manager. Why do I keep complaining about the yellow exclamation mark? Is it because I have nothing better to do and irritate David Techer? It is because I simply CANNOT run 3D graphics benchmarks and play 3D games. I can only surf the web and play Youtube videos.

Jean David Techer's Xen 4.2-unstable VGA Passthrough documentation is available at the following URL:

Jean David Techer's Blog link: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Any Xen user with the following computer hardware specifications, please try out David Techer's documentation.

Intel Processor with Virtualization Technology
Motherboard with VT-d support
Motherboard BIOS with VT-d option to enable or disable
NVIDIA PCI Express x16 display card

Any Xen user who can attain 100% success with David Techer's Xen 4.2-unstable VGA Passthrough documentation, please let all of us at xen-users mailing list know.

Why do I keep on troubleshooting? Because I consider this to be a technical challenge, although I am not an expert programmer. I have only learnt very basic C programming more than 15 years ago at Singapore Polytechnic and I have forgotten most of it by now. I am a Linux/UNIX system administrator with experiences in Apache web server, qmail and Postfix Email Server, DNS Server, DHCP server, OpenLDAP server, phpBB forum, MySQL database, Xen virtualization, VirtualBox, VMware, Snort Intrusion Prevention Systems, OSSEC Host Intrusion Detection Systems, Nagios monitoring software, and various Linux and BSD distributions. But I am by no means a software developer. I did not study computer science. I studied mechanical engineering at National University of Singapore.

It is too bad software engineer Han Weidong has left Intel Corporation last year, otherwise he would be able to help me. I got 100% success with Xen 3.5-unstable VGA Passthrough 3 years ago, back in the year 2009. Han Weidong et al are the original developers of the Xen VGA Passthrough patches, which only worked with Xen 3.5-unstable. Jean David Techer forward ported Han Weidong's patches to Xen 4.2-unstable with his programming knowledge, C/C++ and Java. I have read his CV.

According to Intel engineers Zhang Xiantao and Ren Yongjie, Intel's current policy is to focus on IGD VGA passthrough, so it is understood that they won't be able to help me with my issue. It is company policy, so they cannot afford the time and resources to help me.

If everybody who follows Jean David Techer's Xen 4.2-unstable VGA Passthrough documentation with 100% success without glitches, then I must be technically incompetent.

I would like to thank Xen users in advance if they are able to lend a helping hand.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users




  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Teo En Ming
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

My computer hardware:

Intel Pentium Dual Core E6300 2.8GHz with Intel Virtualization Technology (VT-x)
Intel DQ45CB Desktop Board with Intel Virtualization Technology for Directed I/O (VT-d)
6 GB DDR2-800 Memory
NVIDIA Geforce 8400 GS PCI Express x16 VGA card

My computer software:

Ubuntu 11.10 amd64 Release with Xen virtualization/hypervisor 4.1.3-rc1-pre and Xen 4.2-unstable
Linux Kernel 3.3.0 Final
Windows 8 Consumer Preview 64-bit English HVM domU
Windows XP Home Edition SP3 32-bit HVM domU
Fedora 16 x86-64 Paravirtualized (PV) domU
Debian Squeeze Paravirtualized (PV) domU
-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore


On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.




_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Teo En Ming
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Teo En Ming
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users






  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
Dear Casey DeLorme and Tobias Geiger,

It appears that Xen users requesting for assistance on VGA Passthrough are not getting any help from the Xen developers at all. Every time somebody asks for help on Xen VGA Passthrough, the Xen developers keep quiet and won't reply.

Please read Thomas Richard's case here:
http://marc.info/?l=xen-devel&m=127713854025100&w=2

Casey DeLorme,

Thomas Richard also had the same problems as us.

[QUOTE=Thomas Richard]
I got pretty excited when reading about the VGA Passthrough features in
>> Xen 4.0 so i decided to give it a go. I've had partial success, like some
>> other in here. I've got output on my VGA port but my windows HVM guest
>> reports that the VGA doesn't work. Windows XP says: Couldn't start device
>> (10) and Windows 7 says: Windows has stopped the device because it reported
>> problems (40).
[/QUOTE]

Thomas Richard also reported PARTIAL SUCCESS with Xen VGA Passthrough, like us.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 30/03/2012 02:35, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users








  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Huang2, Wei
In reply to this post by Teo En Ming
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei
-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users







_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Casey DeLorme
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.


~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users








_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Huang2, Wei
On 03/29/2012 04:29 PM, Casey DeLorme wrote:
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.
I saw similar issue whiling playing with XenClient. After discussing with AMD GPU driver team, the conclusion was that the installer has a bug. But I have not received any further update from them. Also manual driver installation (after many tries) did fix problem for me.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

This is because VBIOS patch wasn't applied. But as I said before, my VBIOS wasn't universal enough to put it as a production patch. So I am hesitant to put it out.
Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.

Have you looked at XenClient project? It has a customized ATI component which allows you to switch between VMs flawlessly. I think it is the most mature Xen solution for GPU passthru in client area.

~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users









_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Huang2, Wei
On 30/03/2012 04:11, Wei Huang wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

Dear Mr. Wei Huang at AMD Corporation,

Thank you very much for your kind reply.

I want to buy the following ATI Radeon VGA card. Do you think it would work with your Xen VGA Passthrough patch to Xen 4.2-unstable???

Sapphire HD5450 512MB             Singapore Dollars $55

I am a cheapskate when it comes to spending money.

If your Xen VGA Passthrough patch to Xen 4.2-unstable works with the above ATI VGA card, I will go ahead and buy it. Do I have to manually patch Xen 4.2-unstable or is your patch already included in Xen 4.2-unstable source tree?

Secondly, I have a request/favor to ask of you. Do you think it is possible for you to examine the Xen 4.2-unstable VGA Passthrough patches hosted at Jean David Techer's website and check if it is compatible with Xen 4.2-unstable code?

Thirdly and finally, could you read through my Xen VGA Passthrough Version 1.7 documentation to see if there are ANY MISTAKES with NVIDIA Geforce 8400 GS VGA Passthrough, because I am only getting PARTIAL SUCCESS.

If you could write Xen VGA Passthrough patches, you are an expert software engineer.

Thank you very very very much.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users









  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Casey DeLorme
On 30/03/2012 05:29, Casey DeLorme wrote:
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

Dear Casey DeLorme,

I am sorry to say that I don't quite understand by what you say when you state that you haven't got ATI VGA card to work at boot time, video starts at the login screen. I am puzzled.

Do you think you could record your Xen VGA Passthrough computer with a video camera and upload your video to Youtube so that I can watch it?

Thank you very much.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.


~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users










  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Teo En Ming
In reply to this post by Huang2, Wei
On 30/03/2012 07:03, Wei Huang wrote:
On 03/29/2012 04:29 PM, Casey DeLorme wrote:
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.
I saw similar issue whiling playing with XenClient. After discussing with AMD GPU driver team, the conclusion was that the installer has a bug. But I have not received any further update from them. Also manual driver installation (after many tries) did fix problem for me.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

This is because VBIOS patch wasn't applied. But as I said before, my VBIOS wasn't universal enough to put it as a production patch. So I am hesitant to put it out.

Dear Wei Huang at AMD Corporation,

Please put your Xen VGA Passthrough patch out so that all of us can have a try.

Thank you very much.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.

Have you looked at XenClient project? It has a customized ATI component which allows you to switch between VMs flawlessly. I think it is the most mature Xen solution for GPU passthru in client area.

Dear Wei Huang at AMD Corporation,

May I know what is the XenClient project?



~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users











  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Huang2, Wei
In reply to this post by Teo En Ming
On 03/29/2012 11:36 PM, Teo En Ming (Zhang Enming) wrote:
On 30/03/2012 04:11, Wei Huang wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

Dear Mr. Wei Huang at AMD Corporation,

Thank you very much for your kind reply.

I want to buy the following ATI Radeon VGA card. Do you think it would work with your Xen VGA Passthrough patch to Xen 4.2-unstable???

Sapphire HD5450 512MB             Singapore Dollars $55

I am a cheapskate when it comes to spending money.

I don't have HD5450 card. So I can't test it and can't answer your question directly. If I have some time later, I will test other HD5xxx cards and test you the result. Normally GPUs of same family behave similarly.
If your Xen VGA Passthrough patch to Xen 4.2-unstable works with the above ATI VGA card, I will go ahead and buy it. Do I have to manually patch Xen 4.2-unstable or is your patch already included in Xen 4.2-unstable source tree?
My patch was against QEMU. It is not included in the tree.

Secondly, I have a request/favor to ask of you. Do you think it is possible for you to examine the Xen 4.2-unstable VGA Passthrough patches hosted at Jean David Techer's website and check if it is compatible with Xen 4.2-unstable code?

Thirdly and finally, could you read through my Xen VGA Passthrough Version 1.7 documentation to see if there are ANY MISTAKES with NVIDIA Geforce 8400 GS VGA Passthrough, because I am only getting PARTIAL SUCCESS.

If you could write Xen VGA Passthrough patches, you are an expert software engineer.

Thank you very very very much.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users










_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Huang2, Wei
In reply to this post by Teo En Ming
On 03/29/2012 11:55 PM, Teo En Ming (Zhang Enming) wrote:
On 30/03/2012 07:03, Wei Huang wrote:
On 03/29/2012 04:29 PM, Casey DeLorme wrote:
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.
I saw similar issue whiling playing with XenClient. After discussing with AMD GPU driver team, the conclusion was that the installer has a bug. But I have not received any further update from them. Also manual driver installation (after many tries) did fix problem for me.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

This is because VBIOS patch wasn't applied. But as I said before, my VBIOS wasn't universal enough to put it as a production patch. So I am hesitant to put it out.

Dear Wei Huang at AMD Corporation,

Please put your Xen VGA Passthrough patch out so that all of us can have a try.

Thank you very much.

http://old-list-archives.xen.org/archives/html/xen-devel/2010-10/msg00284.html
-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore

Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.

Have you looked at XenClient project? It has a customized ATI component which allows you to switch between VMs flawlessly. I think it is the most mature Xen solution for GPU passthru in client area.

Dear Wei Huang at AMD Corporation,

May I know what is the XenClient project?



~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users












_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Casey DeLorme
In reply to this post by Teo En Ming

Wei, 

I was not aware that XenClient sported such features, I would be more interested if I could find pricing on XenDesktop.  Unfortunately they want me to go through a sales call process, which I believe means expensive.

Perhaps when their distribution process allows for online purchases I may reconsider.  It is at least good to know that they have specialized ATI features.



Teo,

I will be sure to post a video when I complete my re-installation.

When booting an HVM it goes through a POST process, then the Windows 7 loading screen, I do not see any of this on my monitor.

However, I can see it through a VNC connection.

I only get video after Windows 7 has loaded, generally at the User Login menu.

The way I understood it was my VGA Passthrough is a secondary GPU not the primary, though I am unaware of any specific benefits to make it the primary card.

As for Xen 4.2 Unstable patches, David's blog has numerous posts compatible with different Xen 4.2 unstable revisions.  The latest full guide seems to be for revision 24869:


On Fri, Mar 30, 2012 at 12:48 AM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
On 30/03/2012 05:29, Casey DeLorme wrote:
David,

XenServer VGA Passthrough requires a paid/licensed copy, which costs $2500, a bit out of my price range for experimentation.  Important to note that the feature is not a part of the 30-day trial license.

However, Citrix recently visited my college and I was able to preview hardware access on a laptop one of the employees had, where they swapped between Ubuntu and Windows with a hotkey, and various hardware components including onboard GPU and the WebCam were accessible.

In testing XenServer, I can say that if I had a business, that's the product I would use.  In the past month having tried Xen and ESXi, I was astonished with the ease of use for XenServer.

As for Catalyst, version 12.2 (the latest currently) worked for me.

Important to note that until I followed Andrews advice to omit the Catalyst Control Center, the installation resulted in a BSOD.

The solution, select "Custom" installation and uncheck the CCC.  After the installation your first reboot should run some follow-up updates via cmd, you need to reboot a second time for fully functional drivers.

Also, I had underscan on my monitor so I went out on a limb and re-ran the setup for Catalyst, and was able to get CCC installed with a second run through, which allowed me to fix my underscan issue.

My conclusion is that the CCC requires some driver functionality that isn't available until after you install the drivers, this could be on all systems or it might be related to how HVM's handle the PCI devices, that much I can't say.



Teo,

I could be spouting nonsense, and if so I'm sure Wei can correct me, but I am pretty sure AMD engineers have been contributing to Xen for a while, and some patches have already been applied.  Obviously it isn't flawless, I myself haven't gotten video at boot time, only at the login screen.

Mine works on 4.1.2, but it is possible that 4.1.0 had less of these "patches" hence Sebastien's post.

Also, I apologize as I did not properly word my opinion before.  VGA Passthrough is new "for consumer components".  In 2010 the number of desktop (not server) boards boasting VT-d functionality could probably be counted on one hand.  To my understanding that means the technology is at most 3 years old, still a baby in my opinion.

I didn't mean that the technology hadn't been implemented into various Hypervisors, just that it is clearly not a perfected feature.  If you consider 3 years of consumer availability, dates become important when researching.  Sebastien's post was May 2011, just shy of one year ago, and Thomas's was in 2010.

There are newer patches still for ATI in Xen 4.2, which I intend to test over the next week.  I have NOT gotten ATI to work at boot time, video starts at the login screen.

Dear Casey DeLorme,

I am sorry to say that I don't quite understand by what you say when you state that you haven't got ATI VGA card to work at boot time, video starts at the login screen. I am puzzled.

Do you think you could record your Xen VGA Passthrough computer with a video camera and upload your video to Youtube so that I can watch it?


Thank you very much.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


I agree with Wei that drivers can contribute to BSOD's and errors, but when an install doesn't fail but the hardware reacts the same as before, I would like to assume the driver is irrelative.


~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[hidden email]> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
Dear Casey DeLorme,

This guy, Sebastien Gauthier, also has the same problems as us. He was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's patch. After installing the latest ATI/AMD Catalyst drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.

Please read Sebastien Gauthier's case here:

http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html

Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL SUCCESS, like us.

Dear Tobias Geiger,

You were saying that with ATI VGA cards, you do not need to apply any Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.

Hi Teo,

The VBIOS patch I sent out did not work for all ATI cards. The patch itself assumed certain behavior of GPU VBIOS. But this doesn't apply to every GPU generation. From this perspective, my patch isn't universal. Also there are many factors, some of which are not in control by us (like graphics driver), can contribute to BSOD you mentioned. I am not in a position to debug it for everyone's card (as I don't have all cards).

Thanks,
-Wei

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore




On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
On 29/03/2012 12:29, Casey DeLorme wrote:
My mistake for not hitting "Reply to All", sorry.

No worries Casey.


It might be of some value to mention that my tests were with Windows 7, I have no interest in using XP anymore.  Also, I did all of my testing through remote VNC, not once did I actually get video, even 2D, working. 

I bought 2 copies of Windows XP Home Edition in the past because it is cheap, at S$145. I did not buy Windows 7 because it is expensive. I got video working all right, but only 2D. I cannot get 3D graphics working.

However, my errors are exactly as you described:

1.  Windows recognizes the model (GTX 460), not "unknown PCI device".
2.  Device code 43.
3.  No resources assigned to the device.

We have the same set of errors.


Might be worth mentioning, I was able to run the latest nVidia driver installation without errors, but after rebooting there was no change, same error code, still no video.

Same situation here with the latest NVIDIA drivers. But I only have 2D video working. I can't get 3D video to work.

 To me this would be evidence that driver version isn't a problem, but then again I didn't have anything actually working.

I agree that driver version isn't a problem. Something is wrong somewhere.



I am an IT student in college, so my experience is limited to mostly programming with very little knowledge of the inner-workings of hardware.  So, forgive me for being unable to help with regards to memory addresses on the cards.

I am hoping that Intel engineers and Xen developers would be able to help.


I've been using *nix for about 4 years, and Windows since I my age was a single digit.  I have had experience setting up server features such as web, database, and application servers but I am still green when it comes to kernel or hardware configuration.

I started learning Linux/UNIX since the year 2005, that is about 7 years ago. I started using Windows when it was version 3.1. I love compiling the latest Linux kernel and assembling my own computer hardware.


My Xen adventure began 35 days ago, and it is no exaggeration to say that in those 35 days I have learned more about linux than I had in the past two years.  I like challenges as much as the next IT person, but I ran out of time and ideas for debugging my nVidia problems.  The nVidia stretch of my adventure lasted for 24 days through 54 fresh linux installations accompanied by over 200~ pages worth of documented failures and not a single pixel sighted.

Why not make your documentation into PDF? It is a very popular document format.


The ATI card took me a day, less than 12 hours of relatively easy debugging by comparison to the aforementioned testing.  I do fully understanding financial constraints, but it is a working solution and worth mentioning.  I do not know what the prices are like in Singapore, but in the states I was able to buy an ATI Radeon HD 6870 for $160.  For me it came down to weighing my objectives against my curiosity.

That ATI Radeon HD 6870 would cost me $279, I think.


If you do continue your nVidia endeavors I wish you success, but as in my former email VGA passthrough is a new frontier, not even Guru's like David may not be able to help beyond their own hardware experiences.

I don't think VGA passthrough is a new frontier. Oracle VirtualBox and Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough works out of the box, as Tobias Geiger suggested, but NVIDIA requires patches.



Documentation is one problem I agree with you on 100%.  I came into this knowing relatively little about Linux & hardware, and nothing about Xen, and most every guide I found assumed I had been in a deep relationship with Linux for many years and had a basic understanding of Xen commands.

I started learning Xen since the year 2007, which is about 5 years ago.


Like you, I intend to use those documented failures as well as my recent success to create a comprehensive guide with photographs, screen captures, and perhaps even videos going from "assembled computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".  Provided the wiki will allow me to upload the screenshots, I'll be certain to post it there.

I will be looking forward to your documentation and videos. Right now Xen wiki allows uploading image files and PDF files. Why not create a PDF document and share it with all of us? It is known as portable document format and is very popular, but it appears that xen mailing lists don't like PDF format.

I don't like wiki pages because anybody can edit and fundamentally mess up the wiki pages, even providing bogus and erroneous information. That's why I don't like creating wiki pages. Anybody can edit and mess up the information you have painstakingly created on the wiki pages. So please take note.

-- 
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[hidden email]> wrote:
Dearest Casey DeLorme,

Thank you very very much for your kind feedback and input. I would also like to thank Mr. Tobias Geiger, again, for providing his suggestion on exposing the fourth memory region in tools/firmware/hvmloader/acpi/dsdt.asl. In any case, either exposing the first 3 memory regions only or exposing all the 4 memory regions does not work. Sadly, Tobias Geiger is unable to help me further.

I have asked Jean David Techer, what about the 4th PCI memory region? Why only expose the first 3 PCI memory regions? I don't understand, of course. Jean David Techer did not reply to my question.

I have decided to post your prompt reply to the xen-users and xen-devel mailing lists, in case people think that I am finding fault with Jean David Techer, or trying to irritate him, or trying to make him angry, or trying to aggravate him. Jean David Techer replied me with an email saying that I spent too much time and too bent on solving the yellow exclamation mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8 Consumer Preview and Windows XP Home Edition, and that I sent stupid requests. Stupid requests? Did he read my emails carefully, word by word?

Casey DeLorme, please, can I confirm with you again that you are getting the following errors after applying Jean David Techer's Xen 4.2-unstable VGA Passthrough patches:

(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
(2) Windows has stopped this device because it has reported problems. (Code 43)
(3) This device isn't using any resources because it has a problem.


Jean David Techer insists that our technical issues are due to a NVIDIA driver problem. He insists that you have to install NVIDIA driver versions 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above 280.XX) will not work, according to Jean David Techer. However, I have tried installing NVIDIA driver versions 275.33 and 275.50 from www.softpedia.com, as he suggested, but it caused my Windows XP Home Edition HVM virtual machine to be destroyed/terminated/crash after a few minutes and my dom0 to crash as well. NVIDIA driver versions 275.33 and 275.50 for Windows XP 32-bit is not available from the official NVIDIA website.

So it is definitely not a NVIDIA driver problem. I suspect that the technical issue has to do with MMIO BARs pBAR:vBAR 1:1 matching. I don't think there is any problem with vgabios-pt.bin extracted out from our NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.

Secondly, it does seem strange that Jean David Techer was able to attain 100%, ie. perfect success with Xen 4.2-unstable VGA Passthrough to his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video? It is only 4 minutes. Please do watch Jean David Techer's Youtube video at the following URL:

Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM domU Youtube video link: http://www.youtube.com/watch?v=3SaYO0ERW44

I am appalled and baffled that he has attained 100% success while both of us have only attained partial success (i.e. less than 100%) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.

Solving the yellow exclamation mark issue is important because we would not be able to run 3D graphics benchmarks and play 3D games without solving it. I am not sending silly emails about some yellow marks, as Jean David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D display benchmarks, because of the yellow exclamation mark for NVIDIA Geforce 8400 GS in Device Manager.

Casey DeLorme, with your report on relatively easy success with ATI VGA cards, I think I would go the ATI way, but I would have to spend a few hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card. And while deciding to go the ATI way, I would also like to continue troubleshooting with the NVIDIA problem, because I consider it to be a technical challenge.

In essence, Jean David Techner is considered to be a "boss", or business owner, or proprietor, or technopreneur, or entrepreneur, or technical support officer, or customer support officer, or IT helpdesk engineer, providing services like his forward-ported Xen 4.2-unstable VGA Passthrough patches and the documentation on his blog. I repost Jean David Techer's official website here:

Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through

Jean David Techer's official website is his business venture.

Basically, I am Jean David Techer's "customer", trying to obtain technical support from him. Of course, he is not obliged to provide technical support to me since he is providing free services. It is, after all, an open source software project. Nobody is obliged to provide anybody with technical support. To do Jean David Techer justice, he replied most of my questions while avoiding some of my questions.

Finally, I have also failed to obtain technical support from Xen developers like Ian Campbell from Citrix Corporation and Konrad Wilk from Oracle Corporation. I have always provided all the steps which I have taken, the configuration files and necessary documentation, and kernel messages and error logs to xen-users and xen-devel mailing lists, but they keep insisting I did not provide the information they required. I wondered why. I think they did not read my emails carefully. They told me they would not reply to me any more if I do not provide the information they requested. But the problem is that I have always provided information they requested! I think they missed some of my emails, or did not read my emails carefully enough. I am an ardent supporter and SERIOUS software tester for open source Xen virtualization/hypervisor but they treated me lightly. I always read my emails WORD BY WORD. I have even went to the point of making a video on the BUG and uploading my video to Youtube. The video is only THREE minutes.

As everybody says, a picture is worth a thousand words. A video is worth a BILLION words!

I have also failed to obtain technical support from Xen developers regarding Xen 4.2-unstable VGA Passthrough.

I am hoping Xen 4.2 would have official support for Xen VGA Passthrough for both NVIDIA and ATI cards.

Casey DeLorme, thank you very much once again. I will be making changes to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be releasing Version 1.7 shortly. Jean David Techer's documentation assumes some level of advanced Linux technical knowledge, so I am writing documentation on my own so that everybody, not just advanced Linux and Xen users, can follow. I have made references to Jean David Techer's documentation in my own documentation.

I would be very happy if people would use my documentation. Of course, it satisfies my ego and my vanity. Haha.

I have been un-employed for nearly three years now, and I would hesitate to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT engineer 3 years ago because my father suffered from lacunar infarct, or more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44. Please understand why I hesitate to buy an ATI VGA card. The cheapest one costs SGD$279.

I have a diploma in Mechanical+Electronics engineering from Singapore Polytechnic and a Bachelor's degree in Mechanical Engineering from the National University of Singapore. But I do not have qualifications in Computer Science or Information Technology. I have worked as an Information Technology engineer in Defense Science and Technology Agency, Ministry of Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte Ltd, and Ishinemax Singapore Pte Ltd.

Google search terms: Frenchman Jean David Techer, Singaporean Teo En Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP HVM Virtual Machines

Thank you very much for reading my lengthy email. I am always courteous, saying "Please help me. Please. Please. Please." and "Thank you very much for your kind assistance" in my emails.

Thank you very much.

--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore Citizen

cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore

On 29/03/2012 03:53, Casey DeLorme wrote:
Hi Teo,

I tried David's patch files a while ago without success.  I had Xen compiled with the patch files and my GTX 460 VGA BIOS rom, but I got the same as you, either a BSOD or Code 43 in Device Manager.

You sound plenty competent, but it's important to remember that you are pioneering a technology that for consumers is still in its infancy.  Very few people are testing this with consumer equipment, so finding results seems to be a rarity.





_______________________________________________
Xen-users mailing list
[hidden email]
http://lists.xen.org/xen-users










  


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Pasi Kärkkäinen
In reply to this post by Casey DeLorme
On Thu, Mar 29, 2012 at 05:29:01PM -0400, Casey DeLorme wrote:
>    David,
>    XenServer VGA Passthrough requires a paid/licensed copy, which costs
>    $2500, a bit out of my price range for experimentation.  Important to note
>    that the feature is not a part of the 30-day trial license.
>

Afaik XenServer only supports GPU passthru with certain "pro" GPUs - not consumer models.

>    However, Citrix recently visited my college and I was able to preview
>    hardware access on a laptop one of the employees had, where they swapped
>    between Ubuntu and Windows with a hotkey, and various hardware components
>    including onboard GPU and the WebCam were accessible.
>

And here you're talking about XenClient, which is a totally separate product for laptops.
XenClient does a lot of tricks to share the (consumer) GPU between VMs,
including the V4V framework to copy GPU data between VMs.

-- Pasi


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Pasi Kärkkäinen
In reply to this post by Huang2, Wei
On Thu, Mar 29, 2012 at 06:03:17PM -0500, Wei Huang wrote:

>    On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>
>      David,
>      XenServer VGA Passthrough requires a paid/licensed copy, which costs
>      $2500, a bit out of my price range for experimentation.  Important to
>      note that the feature is not a part of the 30-day trial license.
>      However, Citrix recently visited my college and I was able to preview
>      hardware access on a laptop one of the employees had, where they swapped
>      between Ubuntu and Windows with a hotkey, and various hardware
>      components including onboard GPU and the WebCam were accessible.
>      In testing XenServer, I can say that if I had a business, that's the
>      product I would use.  In the past month having tried Xen and ESXi, I was
>      astonished with the ease of use for XenServer.
>      As for Catalyst, version 12.2 (the latest currently) worked for me.
>      Important to note that until I followed Andrews advice to omit the
>      Catalyst Control Center, the installation resulted in a BSOD.
>
>    I saw similar issue whiling playing with XenClient. After discussing with
>    AMD GPU driver team, the conclusion was that the installer has a bug. But
>    I have not received any further update from them. Also manual driver
>    installation (after many tries) did fix problem for me.
>

Good to know the manual method works.


>      The solution, select "Custom" installation and uncheck the CCC.  After
>      the installation your first reboot should run some follow-up updates via
>      cmd, you need to reboot a second time for fully functional drivers.
>      Also, I had underscan on my monitor so I went out on a limb and re-ran
>      the setup for Catalyst, and was able to get CCC installed with a second
>      run through, which allowed me to fix my underscan issue.
>      My conclusion is that the CCC requires some driver functionality that
>      isn't available until after you install the drivers, this could be on
>      all systems or it might be related to how HVM's handle the PCI devices,
>      that much I can't say.
>      Teo,
>      I could be spouting nonsense, and if so I'm sure Wei can correct me, but
>      I am pretty sure AMD engineers have been contributing to Xen for a
>      while, and some patches have already been applied.  Obviously it isn't
>      flawless, I myself haven't gotten video at boot time, only at the login
>      screen.
>
>    This is because VBIOS patch wasn't applied. But as I said before, my VBIOS
>    wasn't universal enough to put it as a production patch. So I am hesitant
>    to put it out.
>

Isn't it better than nothing? More GPU support could be added later?


-- Pasi


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Kristijan Lečnik
Hi,

i was looking hard to get this thing working, and i somehow manage to get two ATI graphic card working under Windows 7 and Debian 6 DomU,
what i learn from all this trying, that the most important thing is the motherboard!
i had i7 860 with VT-D, but it was hard to find working VT-D motherboard, i try gigabyte P55-USB3 with beta bios from gigabyte and i got working 3D drivers for a few minutes and then the DomU would crash,
then i wanted to try asus, but they said that P55 chipset doesnt support VT-D functions, then i look what David uses and get a MSI motherboard and its default bios has got VT-D to enable/disable
currenty i have:
i7 860
MSI P55 GD85
ATI H6670 - working 3D
ATI H5830 - working 3D
Debian 6.0, custom kernel 3.1
Xen 4.2 unstable ( from repo 2. march? )
Windows 7 64bit - virtual
no extra patches

but how i get it to work is strange, if i enable #gfx_passthru=1 then virtual machine wont start, but if its disabled it starts with virtual graphic and ATI, but with the primary the virtual graphic
and when i install lates ATI drivers and reboot the machine, it use the ATI as the primary graphic and the virtual graphic has ! on it.
i testes with 3D test, even play a game on it, and it works! but as soon i uninstall the drivers it goes back to virtual graphic as primary graphic card.

Best Regards,
Kristijan Lecnik

On Sat, Mar 31, 2012 at 12:49 PM, Pasi Kärkkäinen <[hidden email]> wrote:
On Thu, Mar 29, 2012 at 06:03:17PM -0500, Wei Huang wrote:
>    On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>
>      David,
>      XenServer VGA Passthrough requires a paid/licensed copy, which costs
>      $2500, a bit out of my price range for experimentation.  Important to
>      note that the feature is not a part of the 30-day trial license.
>      However, Citrix recently visited my college and I was able to preview
>      hardware access on a laptop one of the employees had, where they swapped
>      between Ubuntu and Windows with a hotkey, and various hardware
>      components including onboard GPU and the WebCam were accessible.
>      In testing XenServer, I can say that if I had a business, that's the
>      product I would use.  In the past month having tried Xen and ESXi, I was
>      astonished with the ease of use for XenServer.
>      As for Catalyst, version 12.2 (the latest currently) worked for me.
>      Important to note that until I followed Andrews advice to omit the
>      Catalyst Control Center, the installation resulted in a BSOD.
>
>    I saw similar issue whiling playing with XenClient. After discussing with
>    AMD GPU driver team, the conclusion was that the installer has a bug. But
>    I have not received any further update from them. Also manual driver
>    installation (after many tries) did fix problem for me.
>

Good to know the manual method works.


>      The solution, select "Custom" installation and uncheck the CCC.  After
>      the installation your first reboot should run some follow-up updates via
>      cmd, you need to reboot a second time for fully functional drivers.
>      Also, I had underscan on my monitor so I went out on a limb and re-ran
>      the setup for Catalyst, and was able to get CCC installed with a second
>      run through, which allowed me to fix my underscan issue.
>      My conclusion is that the CCC requires some driver functionality that
>      isn't available until after you install the drivers, this could be on
>      all systems or it might be related to how HVM's handle the PCI devices,
>      that much I can't say.
>      Teo,
>      I could be spouting nonsense, and if so I'm sure Wei can correct me, but
>      I am pretty sure AMD engineers have been contributing to Xen for a
>      while, and some patches have already been applied.  Obviously it isn't
>      flawless, I myself haven't gotten video at boot time, only at the login
>      screen.
>
>    This is because VBIOS patch wasn't applied. But as I said before, my VBIOS
>    wasn't universal enough to put it as a production patch. So I am hesitant
>    to put it out.
>

Isn't it better than nothing? More GPU support could be added later?


-- Pasi


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Pasi Kärkkäinen
On Sat, Mar 31, 2012 at 01:06:37PM +0200, Kristijan Le??nik wrote:

>    Hi,
>    i was looking hard to get this thing working, and i somehow manage to get
>    two ATI graphic card working under Windows 7 and Debian 6 DomU,
>    what i learn from all this trying, that the most important thing is the
>    motherboard!
>    i had i7 860 with VT-D, but it was hard to find working VT-D motherboard,
>    i try gigabyte P55-USB3 with beta bios from gigabyte and i got working 3D
>    drivers for a few minutes and then the DomU would crash,
>    then i wanted to try asus, but they said that P55 chipset doesnt support
>    VT-D functions, then i look what David uses and get a MSI motherboard and
>    its default bios has got VT-D to enable/disable
>    currenty i have:
>    i7 860
>    MSI P55 GD85
>    ATI H6670 - working 3D
>    ATI H5830 - working 3D
>    Debian 6.0, custom kernel 3.1
>    Xen 4.2 unstable ( from repo 2. march? )
>    Windows 7 64bit - virtual
>    no extra patches
>    but how i get it to work is strange, if i enable #gfx_passthru=1 then
>    virtual machine wont start
>

gfx_passthru=1 makes the passthru gfx card primary in the VM,
so you need the additional ATI gfx passthru patch so that the VBIOS passthru works.

without gfx_passthru=1 the virtual emulated gfx is primary.

-- Pasi


_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
Reply | Threaded
Open this post in threaded view
|

Re: [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation

Kristijan Lečnik
Hi,

does such patch exists? 
i am working on this for quite some time now, and didn't came across any ATI patch, only for nvidia
as i understand that ATI should work out of the box or am i mistaking? 

Best Regards,
Kristijan Lečnik

On Sat, Mar 31, 2012 at 1:19 PM, Pasi Kärkkäinen <[hidden email]> wrote:
On Sat, Mar 31, 2012 at 01:06:37PM +0200, Kristijan Le??nik wrote:
>    Hi,
>    i was looking hard to get this thing working, and i somehow manage to get
>    two ATI graphic card working under Windows 7 and Debian 6 DomU,
>    what i learn from all this trying, that the most important thing is the
>    motherboard!
>    i had i7 860 with VT-D, but it was hard to find working VT-D motherboard,
>    i try gigabyte P55-USB3 with beta bios from gigabyte and i got working 3D
>    drivers for a few minutes and then the DomU would crash,
>    then i wanted to try asus, but they said that P55 chipset doesnt support
>    VT-D functions, then i look what David uses and get a MSI motherboard and
>    its default bios has got VT-D to enable/disable
>    currenty i have:
>    i7 860
>    MSI P55 GD85
>    ATI H6670 - working 3D
>    ATI H5830 - working 3D
>    Debian 6.0, custom kernel 3.1
>    Xen 4.2 unstable ( from repo 2. march? )
>    Windows 7 64bit - virtual
>    no extra patches
>    but how i get it to work is strange, if i enable #gfx_passthru=1 then
>    virtual machine wont start
>

gfx_passthru=1 makes the passthru gfx card primary in the VM,
so you need the additional ATI gfx passthru patch so that the VBIOS passthru works.

without gfx_passthru=1 the virtual emulated gfx is primary.

-- Pasi



_______________________________________________
Xen-devel mailing list
[hidden email]
http://lists.xen.org/xen-devel
12