Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained *_partial succes__s_* (*_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
Signature · 6 lines
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
Quoted 114 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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:
http://xen.1045712.n5.nabble.com/Secondary-VGA-Passthrough-nvidia-win7-success-report-td5126062.htmlI 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) <[email protected] <mailto:[email protected]>> 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-throughAny 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 cardAny 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,
Quoted 10 lines
Mr. Teo En Ming (Zhang Enming)
Singapore_______________________________________________
Xen-users mailing list
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained *_partial succes__s_* (*_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
Signature · 6 lines
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
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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
[email protected]
http://lists.xen.org/xen-devel
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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained *_partial succes__s_* (*_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.
Signature · 5 lines
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
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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
[email protected]
http://lists.xen.org/xen-devel
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Quoted 60 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 225 lines
I started learning Xen since the year 2007, which is about 5 years ago.
Quoted 2 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 207 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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
<http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 6 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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
Quoted 5 lines
Quoted 5 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Quoted 6 lines · Teo En Ming (Zhang Enming)
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:
Quoted 307 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 287 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 211 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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
<http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 6 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines · Teo En Ming (Zhang Enming)
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:
Quoted 8 lines
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
Quoted 299 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 58 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 229 lines
I started learning Xen since the year 2007, which is about 5 years ago.
Quoted 2 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 211 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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
<http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 6 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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
Quoted 183 lines · Wei Huang
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)
SingaporeOn 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
Quoted 200 lines
~Casey
Quoted 188 lines · Teo En Ming (Zhang Enming)
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 Citizencc: 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
[email protected]
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 11 lines · 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.
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.
Quoted 5 lines
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.
Quoted 8 lines
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.
Quoted 10 lines
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.
Quoted 39 lines
~Casey
On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[email protected] <mailto:[email protected]>> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:Quoted 14 lines
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.
Quoted 9 lines
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).
Quoted 379 lines
Thanks,
-WeiQuoted 374 lines
-- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:Quoted 362 lines · Casey DeLorme
Quoted 1 line
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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.
Quoted 6 lines
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.
Quoted 9 lines
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.
Quoted 8 lines
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.
Quoted 5 lines
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.
Quoted 7 lines
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.
Quoted 7 lines
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)
SingaporeQuoted 226 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 7 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 13 lines · Wei Huang
Quoted 12 lines · Teo En Ming (Zhang Enming)
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,
Quoted 8 lines
Quoted 2 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Quoted 293 lines
Quoted 293 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 283 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 4 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 207 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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
<http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 13 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*.
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.
Quoted 11 lines
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
_______________________________________________
Xen-users mailing list
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 24 lines · 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.
Quoted 7 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Quoted 42 lines
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 <[email protected] <mailto:[email protected]>> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:Quoted 14 lines
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.
Quoted 9 lines
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).
Quoted 379 lines
Thanks,
-WeiQuoted 374 lines
-- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:Quoted 362 lines · Casey DeLorme
Quoted 1 line
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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.
Quoted 6 lines
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.
Quoted 9 lines
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.
Quoted 8 lines
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.
Quoted 5 lines
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.
Quoted 7 lines
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.
Quoted 7 lines
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)
SingaporeQuoted 226 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 7 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 24 lines · Wei Huang
Quoted 11 lines · 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.
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.
Quoted 11 lines
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.
Quoted 5 lines
Quoted 4 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
Quoted 8 lines
Quoted 8 lines
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.
Quoted 5 lines
Quoted 4 lines
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?
Quoted 409 lines
Quoted 409 lines
~Casey
On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[email protected] <mailto:[email protected]>> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:Quoted 14 lines
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.
Quoted 9 lines
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,
-WeiQuoted 367 lines
-- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:Quoted 357 lines · Casey DeLorme
Quoted 1 line
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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.
Quoted 6 lines
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.
Quoted 9 lines
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.
Quoted 8 lines
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.
Quoted 5 lines
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.
Quoted 7 lines
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.
Quoted 7 lines
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)
SingaporeQuoted 223 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 14 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.
Quoted 13 lines
Quoted 12 lines
Quoted 10 lines
Quoted 8 lines
Quoted 6 lines
_______________________________________________
Xen-users mailing list
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 25 lines · Teo En Ming (Zhang Enming)
Quoted 13 lines · Wei Huang
Quoted 12 lines · Teo En Ming (Zhang Enming)
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,
Quoted 8 lines
Quoted 2 lines
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,
-WeiDear Mr. Wei Huang at AMD Corporation,
Quoted 8 lines
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.
Quoted 1 line
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.
Quoted 325 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 307 lines
Quoted 306 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 294 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 4 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 216 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*.
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.*_Quoted 6 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 29 lines · Teo En Ming (Zhang Enming)
Quoted 28 lines · Wei Huang
Quoted 11 lines · 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.
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.
Quoted 15 lines
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.
Quoted 8 lines
Quoted 1 line
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
Quoted 451 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 11 lines
Quoted 10 lines
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?
Quoted 426 lines
Quoted 425 lines
~Casey
On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[email protected] <mailto:[email protected]>> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:Quoted 14 lines
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.
Quoted 9 lines
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,
-WeiQuoted 381 lines
-- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:Quoted 369 lines · Casey DeLorme
Quoted 1 line
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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.
Quoted 6 lines
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.
Quoted 9 lines
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.
Quoted 8 lines
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.
Quoted 5 lines
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.
Quoted 7 lines
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.
Quoted 7 lines
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)
SingaporeQuoted 233 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 7 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
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:
http://www.davidgis.fr/blog/index.php?2012/02/22/884-xen-42-the-way-to-compile-xen-has-changedrevision24869
Quoted 84 lines · Teo En Ming (Zhang Enming)
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
Quoted 397 lines
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
Quoted 385 lines · Wei Huang
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)
SingaporeOn 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
Quoted 190 lines · Teo En Ming (Zhang Enming)
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 Citizencc: 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
[email protected]
http://lists.xen.org/xen-users
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · 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.
Afaik XenServer only supports GPU passthru with certain "pro" GPUs - not consumer models.
Quoted 5 lines
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
Quoted 17 lines · Wei Huang
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.
Quoted 5 lines
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.
Quoted 17 lines
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.
Quoted 4 lines
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
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
Quoted 70 lines · Pasi Kärkkäinen
Quoted 5 lines · Wei Huang
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. Importantto
Quoted 2 lines
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
Quoted 1 line
hardware access on a laptop one of the employees had, where they
swapped
Quoted 4 lines
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
Quoted 6 lines
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
Quoted 1 line
AMD GPU driver team, the conclusion was that the installer has a bug.
But
Quoted 3 lines
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.
Quoted 1 line
The solution, select "Custom" installation and uncheck the CCC.
After
Quoted 1 line
the installation your first reboot should run some follow-up
updates via
Quoted 2 lines
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
Quoted 1 line
the setup for Catalyst, and was able to get CCC installed with a
second
Quoted 2 lines
run through, which allowed me to fix my underscan issue. My conclusion is that the CCC requires some driver functionality
that
Quoted 1 line
isn't available until after you install the drivers, this could be
on
Quoted 1 line
all systems or it might be related to how HVM's handle the PCI
devices,
Quoted 3 lines
that much I can't say.
Teo,
I could be spouting nonsense, and if so I'm sure Wei can correctme, but
Quoted 2 lines
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
Quoted 1 line
flawless, I myself haven't gotten video at boot time, only at the
login
Quoted 3 lines
screen.
This is because VBIOS patch wasn't applied. But as I said before, my
VBIOS
Quoted 1 line
wasn't universal enough to put it as a production patch. So I am
hesitant
Quoted 2 lines
to put it out.
Isn't it better than nothing? More GPU support could be added later?
Quoted 8 lines
-- Pasi
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 14 lines · 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
Quoted 9 lines
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
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
Quoted 31 lines · Pasi Kärkkäinen
Quoted 2 lines · Kristijan Le??nik
Hi,
i was looking hard to get this thing working, and i somehow manage toget
Quoted 2 lines
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
Quoted 2 lines
motherboard!
i had i7 860 with VT-D, but it was hard to find working VT-Dmotherboard,
Quoted 1 line
i try gigabyte P55-USB3 with beta bios from gigabyte and i got
working 3D
Quoted 2 lines
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
Quoted 1 line
VT-D functions, then i look what David uses and get a MSI motherboard
and
Quoted 4 lines
its default bios has got VT-D to enable/disable currenty i have:
i7 860
MSI P55 GD85Quoted 9 lines
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
Quoted 9 lines
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
[email protected]
http://lists.xen.org/xen-devel
Quoted 5 lines · 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
Yes it's available on the xen-devel mailinglist archives, and iirc also on the xen vga passthru wiki page.
I think the link/url was already posted to this thread once.
Quoted 2 lines
as i understand that ATI should work out of the box or am i mistaking?Â
Some ATI cards work as *secondary* without extra patches, but passing them as *primary* requires a patch to make the ATI specific VBIOS stuff work properly.
-- Pasi
Quoted 42 lines
Best Regards,
Kristijan LeÄ*nikOn Sat, Mar 31, 2012 at 1:19 PM, Pasi KÀrkkÀinen <[1][email protected]> 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.
Quoted 7 lines
without gfx_passthru=1 the virtual emulated gfx is primary. -- Pasi
References
Visible links
1. mailto:[email protected]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Hi Pasi,
I can confirm that their GPU Passthrough works with consumer models, they visited my college and presented a 30 minute demonstration video where they acknowledged this.
Wei stated that XenClient ahs a "customized ATI component", and I am quite certain he is aware our discussion is about consumer models.
XenClient comes with XenDesktop, they market to the on-the-go businessman so it was designed with laptops in mind, but I am quite sure it would run on a tower.
~Casey
Quoted 62 lines · Pasi Kärkkäinen
Quoted 3 lines · Kristijan Le??nik
Hi,
does such patch exists?Â
i am working on this for quite some time now, and didn't came acrossany
Quoted 2 lines
ATI patch, only for nvidia
Yes it's available on the xen-devel mailinglist archives, and iirc also on the xen vga passthru wiki page.
I think the link/url was already posted to this thread once.
Quoted 1 line
as i understand that ATI should work out of the box or am i
mistaking?Â
Quoted 1 line
Some ATI cards work as *secondary* without extra patches, but passing them as *primary* requires a patch to make the ATI specific VBIOS stuff work properly.
-- Pasi
Quoted 11 lines
Best Regards,
Kristijan LeÄ*nikOn Sat, Mar 31, 2012 at 1:19 PM, Pasi KÀrkkÀinen <[1][email protected]> 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 6DomU,
Quoted 1 line
> Â Â what i learn from all this trying, that the most important
thing
Quoted 5 lines
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 igot
Quoted 3 lines
working 3D
> Â Â drivers for a few minutes and then the DomU would crash, > Â Â then i wanted to try asus, but they said that P55 chipsetdoesnt
Quoted 6 lines
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 860Quoted 8 lines
> Â Â 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
Quoted 17 lines
#gfx_passthru=1
Quoted 15 lines
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
References
Visible links
1. mailto:[email protected]
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 4 lines · Casey DeLorme
Hi Pasi,
I can confirm that their GPU Passthrough works with consumer models, they visited my college and presented a 30 minute demonstration video where they acknowledged this.
Yes, XenClient works with consumer models, like I wrote earlier. XenServer GPU passthru doesn't.
Quoted 3 lines
Wei stated that XenClient ahs a "customized ATI component", and I am quite certain he is aware our discussion is about consumer models.
Note that some/most of those "customized tweaks" to make XenClient work are not in upstream Xen repositories and also not in XenServer. XenClient is a customized product for some specific chipsets/laptops.
XenClient and XenServer have totally different way of working related to graphics passthru stuff.
Quoted 4 lines
XenClient comes with XenDesktop, they market to the on-the-go businessman so it was designed with laptops in mind, but I am quite sure it would run on a tower.
I wouldn't count on that.. afaik XenClient has pretty limited hardware support/certification.
-- Pasi
Quoted 92 lines
~Casey
On Sat, Mar 31, 2012 at 11:11 AM, Pasi Kärkkäinen <[1][email protected]> wrote:On Sat, Mar 31, 2012 at 04:35:32PM +0200, Kristijan Le??nik wrote:
> 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
>Yes it's available on the xen-devel mailinglist archives, and iirc also on the xen vga passthru wiki page.
I think the link/url was already posted to this thread once.
> as i understand that ATI should work out of the box or am i
mistaking?Â
>Some ATI cards work as *secondary* without extra patches, but passing them as *primary* requires a patch to make the ATI specific VBIOS stuff work properly.
-- Pasi
> Best Regards,
> Kristijan LeÄ*nik
>
> On Sat, Mar 31, 2012 at 1:19 PM, Pasi KÃ*rkkÃ*inen
<[1][2][email protected]>
> 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
>
> References
>
> Visible links
> 1. mailto:[3][email protected]References
Visible links
1. mailto:[email protected]
2. mailto:[email protected]
3. mailto:[email protected]
Quoted 10 lines · Casey DeLorme
Hi Pasi,
I can confirm that their GPU Passthrough works with consumer models, they visited my college and presented a 30 minute demonstration video where they acknowledged this.
Wei stated that XenClient ahs a "customized ATI component", and I am quite certain he is aware our discussion is about consumer models.
Quoted 6 lines
XenClient comes with XenDesktop, they market to the on-the-go businessman so it was designed with laptops in mind, but I am quite sure it would run on a tower.
~Casey
As far as I know, XenClient AMD GPU passthrough only works on 8 models of HP laptops. This is because it uses filtered passthrough in which the dom0 graphics server does some extremely model-specific voodoo with contexts (presumably involving rewriting of GPU commands to limit them to a particular region of graphics memory) to share the GPU. Poor support for AMD GPUs in XenClient is a big part of why I am making my own desktop Xen/Linux distribution, OpenXCI
<http://sourceforge.net/projects/openxci/>. It will support both primary and secondary AMD GPU passthrough (rather than XenClient-style filtered passthrough, it will use conventional passthrough for one domain and a viewer running on that domain to display all other domains).
Quoted 30 lines · Wei Huang
Quoted 29 lines · Teo En Ming (Zhang Enming)
Quoted 13 lines · Wei Huang
Quoted 12 lines · Teo En Ming (Zhang Enming)
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,
Quoted 8 lines
Quoted 2 lines
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,
-WeiDear 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???
Quoted 7 lines
Quoted 4 lines
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.
Quoted 1 line
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.
Dear Wei Huang,
How do I use your VGA Passthrough patch with Xen 4.2-unstable?
Thank you.
Quoted 327 lines
Quoted 326 lines
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.
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 308 lines
Quoted 307 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 295 lines · Teo En Ming (Zhang Enming)
Quoted 1 line · Casey DeLorme
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 2 lines
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.
Quoted 5 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 2 lines
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.
Quoted 3 lines
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.
Quoted 4 lines
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.*_
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 217 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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 <http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*.
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.*_Quoted 6 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 36 lines · Wei Huang
Quoted 35 lines · Teo En Ming (Zhang Enming)
Quoted 33 lines · Wei Huang
Quoted 6 lines · 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.Quoted 7 lines
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.
Quoted 11 lines
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.
Quoted 6 lines
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.
Quoted 7 lines
Quoted 6 lines
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
Dear Wei Huang,
Your VGA Passthrough patch is still not included in the Xen 4.2-unstable tree?
Thank you.
Quoted 459 lines
Quoted 458 lines
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) SingaporeQuoted 6 lines
Quoted 6 lines
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.Quoted 7 lines
Quoted 6 lines
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?
Quoted 431 lines
Quoted 430 lines
~Casey
On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <[email protected] <mailto:[email protected]>> wrote:
On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:Quoted 15 lines
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.
Quoted 9 lines
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,
-WeiQuoted 385 lines
-- Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:Quoted 373 lines · Casey DeLorme
Quoted 1 line
My mistake for not hitting "Reply to All", sorry.
No worries Casey.
Quoted 5 lines
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.
Quoted 6 lines
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.
Quoted 4 lines
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.
Quoted 2 lines
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.
Quoted 6 lines
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.
Quoted 6 lines
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.
Quoted 9 lines
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.
Quoted 8 lines
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.
Quoted 5 lines
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.
Quoted 7 lines
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.
Quoted 7 lines
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)
SingaporeQuoted 235 lines
~Casey
On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <[email protected] <mailto:[email protected]>> 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._Inany 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
_spenttoo muchtime_and_toobent_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
<http://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
*_MMIOBARs 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.
*_perfectsuccess_* 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 *_baffle__d_* that he has attained *_100% success_* while both of us have only attained
*_partialsucces__s_* (*_i.e. less than 100%_*) on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP.
*_Solvingthe 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
*_notobliged_* 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.*_Todo 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
*_CitrixCorporation_* and Konrad Wilk from*_OracleCorporation_*. _*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*_ardentsupporter_* and*_SERIOUSsoftware 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 Citizencc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime Minister's Office, Republic of Singapore
Quoted 7 lines · Casey DeLorme
Hi Teo,
I tried David's patch files a while ago
*_withoutsuccess_*. 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.*_Quoted 7 lines
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
[email protected] <mailto:[email protected]>
http://lists.xen.org/xen-users
Signature · 4 lines
Yours sincerely, Mr. Teo En Ming (Zhang Enming) Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
No, I didn't ask them to include this patch in Xen 4.2. If you have an AMD GPU, you can try it as a secondary passthru without VBIOS patch. Most of them will work from what I heard.
Thanks,
-Wei
From: Teo En Ming (Zhang Enming) [mailto:[email protected]]
Sent: Monday, May 07, 2012 12:42 AM
To: Huang2, Wei
Cc: Casey DeLorme; [email protected]; Tobias Geiger; [email protected]; 'Teo En Ming'
Subject: Re: [Xen-devel] [Xen-users] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation
On 30/03/2012 22:39, Wei Huang wrote:
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
Dear Wei Huang,
Your VGA Passthrough patch is still not included in the Xen 4.2-unstable tree?
Thank you.
--
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 <[email protected]<mailto:[email protected]>> 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) <[email protected]<mailto:[email protected]>> 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<http://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
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 [email protected]<mailto:[email protected]>
http://lists.xen.org/xen-users
--
Yours sincerely,
Mr. Teo En Ming (Zhang Enming)
Singapore
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel