Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Xen: Users

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

 

 

Xen users RSS feed   Index | Next | Previous | View Threaded


singapore.mr.teo.en.ming at gmail

Mar 28, 2012, 8:57 AM

Post #1 of 21 (2219 views)
Permalink
[REQUEST] 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.

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


singapore.mr.teo.en.ming at gmail

Mar 28, 2012, 7:21 PM

Post #2 of 21 (2153 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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.

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

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

On 29/03/2012 03:53, Casey DeLorme wrote:
> Hi Teo,
>
> I tried David's patch files a while ago *_without success_*. I had
> Xen compiled with the patch files and my GTX 460 VGA BIOS rom, _*but I
> got the same as you, either a BSOD or Code 43 in Device Manager.*_
>
> You sound plenty competent, but it's important to remember that you
> are pioneering a technology that for consumers is still in its
> infancy. Very few people are testing this with consumer equipment, so
> finding results seems to be a rarity.
>
>


cdelorme at gmail

Mar 28, 2012, 9:29 PM

Post #3 of 21 (2139 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

My mistake for not hitting "Reply to All", sorry.

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

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. To me this would be evidence that driver
version isn't a problem, but then again I didn't have anything actually
working.


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

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.

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.

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.


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.

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.

~Casey

On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming) <
singapore.mr.teo.en.ming [at] gmail> wrote:

> Dearest Casey DeLorme,
>
> Thank you very very much for your kind feedback and input. I would also
> like to thank Mr. Tobias Geiger, again, for providing his suggestion on
> exposing the fourth memory region in
> tools/firmware/hvmloader/acpi/dsdt.asl. *In any case, either exposing the
> first 3 memory regions only or exposing all the 4 memory regions does not
> work.* Sadly, Tobias Geiger is unable to help me further.
>
> I have asked Jean David Techer, what about the 4th PCI memory region? Why
> only expose the first 3 PCI memory regions? I don't understand, of course.
> Jean David Techer did not reply to my question.
>
> I have decided to post your prompt reply to the xen-users and xen-devel
> mailing lists, in case people think that I am finding fault with Jean David
> Techer, or trying to irritate him, or trying to make him angry, or trying
> to aggravate him. Jean David Techer replied me with an email saying that I
> *spent too much time* and *too bent* on solving the yellow exclamation
> mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8
> Consumer Preview and Windows XP Home Edition, and that I sent *stupid*requests. Stupid requests? Did he read my emails carefully, word by word?
>
> Casey DeLorme, please, can I confirm with you again that you are getting
> the following errors after applying Jean David Techer's Xen 4.2-unstable
> VGA Passthrough patches:
>
> *(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device Manager
> (2) Windows has stopped this device because it has reported problems.
> (Code 43)
> (3) This device isn't using any resources because it has a problem.*
>
> Jean David Techer insists that our technical issues are due to a NVIDIA
> driver problem. He insists that you have to install NVIDIA driver versions
> 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above
> 280.XX) will not work, according to Jean David Techer. *However, I have
> tried installing NVIDIA driver versions 275.33 and 275.50 from
> www.softpedia.com, as he suggested, but it caused my Windows XP Home
> Edition HVM virtual machine to be destroyed/terminated/crash after a few
> minutes and my dom0 to crash as well.* NVIDIA driver versions 275.33 and
> 275.50 for Windows XP 32-bit is not available from the official NVIDIA
> website.
>
> So it is definitely not a NVIDIA driver problem. I suspect that the
> technical issue has to do with *MMIO BARs pBAR:vBAR 1:1 matching*. I
> don't think there is any problem with vgabios-pt.bin extracted out from our
> NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted
> VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.
>
> Secondly, it does seem strange that Jean David Techer was able to attain *
> 100%*, ie. *perfect success* with Xen 4.2-unstable VGA Passthrough to his
> Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube video?
> It is only 4 minutes. Please do watch Jean David Techer's Youtube video at
> the following URL:
>
> Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64 HVM
> domU Youtube video link: *http://www.youtube.com/watch?v=3SaYO0ERW44*
>
> I am *appalled* and *baffled* that he has attained *100% success* while
> both of us have only attained *partial success* (*i.e. less than 100%*)
> on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and
> Windows XP.
>
> *Solving the yellow exclamation mark issue is important because we would
> not be able to run 3D graphics benchmarks and play 3D games without solving
> it. I am not sending silly emails about some yellow marks, as Jean David
> Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D
> display benchmarks, because of the yellow exclamation mark for NVIDIA
> Geforce 8400 GS in Device Manager.*
>
> Casey DeLorme, with your report on relatively easy success with ATI VGA
> cards, I think I would go the ATI way, but I would have to spend a few
> hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card.
> And while deciding to go the ATI way, I would also like to continue
> troubleshooting with the NVIDIA problem, because I consider it to be a
> technical challenge.
>
> In essence, Jean David Techner is considered to be a "boss", or business
> owner, or proprietor, or technopreneur, or entrepreneur, or technical
> support officer, or customer support officer, or IT helpdesk engineer,
> providing services like his forward-ported Xen 4.2-unstable VGA Passthrough
> patches and the documentation on his blog. I repost Jean David Techer's
> official website here:
>
> Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: *
> http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through
> *
>
> Jean David Techer's official website is his business venture.
>
> Basically, I am Jean David Techer's *"customer"*, trying to obtain
> technical support from him. Of course, he is *not obliged* to provide
> technical support to me since he is providing *free* services. It is,
> after all, an open source software project. Nobody is obliged to provide
> anybody with technical support. *To do Jean David Techer justice, he
> replied most of my questions while avoiding some of my questions.*
>
> Finally, I have also failed to obtain technical support from Xen
> developers like Ian Campbell from *Citrix Corporation* and Konrad Wilk
> from *Oracle Corporation*. *I have always provided all the steps which I
> have taken, the configuration files and necessary documentation, and kernel
> messages and error logs* to xen-users and xen-devel mailing lists, but
> they keep insisting I did not provide the information they required. I
> wondered why. I think they did not read my emails carefully. They told me
> they would not reply to me any more if I do not provide the information
> they requested. *But the problem is that I have always provided
> information they requested!* I think they missed some of my emails, or
> did not read my emails carefully enough. I am an *ardent supporter* and *SERIOUS
> software tester* for open source Xen virtualization/hypervisor but they
> treated me lightly. *I always read my emails WORD BY WORD.* I have even
> went to the point of making a video on the *BUG* and uploading my video
> to Youtube. The video is only THREE minutes.
>
> *As everybody says, a picture is worth a thousand words. A video is worth
> a BILLION words!*
>
> I have also failed to obtain technical support from Xen developers
> regarding Xen 4.2-unstable VGA Passthrough.
>
> I am hoping Xen 4.2 would have official support for Xen VGA Passthrough
> for both NVIDIA and ATI cards.
>
> Casey DeLorme, thank you very much once again. I will be making changes to
> my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be
> releasing Version 1.7 shortly. Jean David Techer's documentation assumes
> some level of advanced Linux technical knowledge, so I am writing
> documentation on my own so that everybody, not just advanced Linux and Xen
> users, can follow. I have made references to Jean David Techer's
> documentation in my own documentation.
>
> I would be very happy if people would use my documentation. Of course, it
> satisfies my ego and my vanity. Haha.
>
> I have been un-employed for nearly three years now, and I would hesitate
> to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT
> engineer 3 years ago because my father suffered from lacunar infarct, or
> more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44.
> Please understand why I hesitate to buy an ATI VGA card. The cheapest one
> costs SGD$279.
>
> I have a diploma in Mechanical+Electronics engineering from Singapore
> Polytechnic and a Bachelor's degree in Mechanical Engineering from the
> National University of Singapore. But I do not have qualifications in
> Computer Science or Information Technology. I have worked as an Information
> Technology engineer in Defense Science and Technology Agency, Ministry of
> Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte
> Ltd, and Ishinemax Singapore Pte Ltd.
>
> Google search terms: Frenchman Jean David Techer, Singaporean Teo En
> Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen
> 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP
> HVM Virtual Machines
>
> Thank you very much for reading my lengthy email. I am always courteous,
> saying "Please help me. Please. Please. Please." and "Thank you very much
> for your kind assistance" in my emails.
>
> Thank you very much.
>
> --
> Yours sincerely,
> Mr. Teo En Ming (Zhang Enming)
> Singapore Citizen
>
> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
> Minister's Office, Republic of Singapore
>
> On 29/03/2012 03:53, Casey DeLorme wrote:
>
> Hi Teo,
>
> I tried David's patch files a while ago *without success*. I had Xen
> compiled with the patch files and my GTX 460 VGA BIOS rom, *but I got the
> same as you, either a BSOD or Code 43 in Device Manager.*
>
> You sound plenty competent, but it's important to remember that you are
> pioneering a technology that for consumers is still in its infancy. Very
> few people are testing this with consumer equipment, so finding results
> seems to be a rarity.
>
>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users [at] lists
> http://lists.xen.org/xen-users
>


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 8:50 AM

Post #4 of 21 (2126 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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)
> <singapore.mr.teo.en.ming [at] gmail
> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>
> --
> Yours sincerely,
> Mr. Teo En Ming (Zhang Enming)
> Singapore Citizen
>
> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
> Minister's Office, Republic of Singapore
>
> On 29/03/2012 03:53, Casey DeLorme wrote:
>> Hi Teo,
>>
>> I tried David's patch files a while ago *_without success_*. I
>> had Xen compiled with the patch files and my GTX 460 VGA BIOS
>> rom, _*but I got the same as you, either a BSOD or Code 43 in
>> Device Manager.*_
>>
>> You sound plenty competent, but it's important to remember that
>> you are pioneering a technology that for consumers is still in
>> its infancy. Very few people are testing this with consumer
>> equipment, so finding results seems to be a rarity.
>>
>>
>
>
>
> _______________________________________________
> Xen-users mailing list
> Xen-users [at] lists <mailto:Xen-users [at] lists>
> http://lists.xen.org/xen-users
>
>


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 11:35 AM

Post #5 of 21 (2122 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

Dear Casey DeLorme,

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

Please read Sebastien Gauthier's case here:

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

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

Dear Tobias Geiger,

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

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore





On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
> On 29/03/2012 12:29, Casey DeLorme wrote:
>> My mistake for not hitting "Reply to All", sorry.
>
> No worries Casey.
>
>>
>> It might be of some value to mention that my tests were with Windows
>> 7, I have no interest in using XP anymore. Also, I did all of my
>> testing through remote VNC, not once did I actually get video, even
>> 2D, working.
>
> I bought 2 copies of Windows XP Home Edition in the past because it is
> cheap, at S$145. I did not buy Windows 7 because it is expensive. I
> got video working all right, but only 2D. I cannot get 3D graphics
> working.
>
>> However, my errors are exactly as you described:
>>
>> 1. Windows recognizes the model (GTX 460), not "unknown PCI device".
>> 2. Device code 43.
>> 3. No resources assigned to the device.
>
> We have the same set of errors.
>
>>
>> Might be worth mentioning, I was able to run the latest nVidia driver
>> installation without errors, but after rebooting there was no change,
>> same error code, still no video.
>
> Same situation here with the latest NVIDIA drivers. But I only have 2D
> video working. I can't get 3D video to work.
>
>> To me this would be evidence that driver version isn't a problem,
>> but then again I didn't have anything actually working.
>
> I agree that driver version isn't a problem. Something is wrong somewhere.
>
>>
>>
>> I am an IT student in college, so my experience is limited to mostly
>> programming with very little knowledge of the inner-workings of
>> hardware. So, forgive me for being unable to help with regards to
>> memory addresses on the cards.
>
> I am hoping that Intel engineers and Xen developers would be able to help.
>
>>
>> I've been using *nix for about 4 years, and Windows since I my age
>> was a single digit. I have had experience setting up server features
>> such as web, database, and application servers but I am still green
>> when it comes to kernel or hardware configuration.
>
> I started learning Linux/UNIX since the year 2005, that is about 7
> years ago. I started using Windows when it was version 3.1. I love
> compiling the latest Linux kernel and assembling my own computer hardware.
>
>>
>> My Xen adventure began 35 days ago, and it is no exaggeration to say
>> that in those 35 days I have learned more about linux than I had in
>> the past two years. I like challenges as much as the next IT person,
>> but I ran out of time and ideas for debugging my nVidia problems.
>> The nVidia stretch of my adventure lasted for 24 days through 54
>> fresh linux installations accompanied by over 200~ pages worth of
>> documented failures and not a single pixel sighted.
>
> Why not make your documentation into PDF? It is a very popular
> document format.
>
>>
>> The ATI card took me a day, less than 12 hours of relatively easy
>> debugging by comparison to the aforementioned testing. I do fully
>> understanding financial constraints, but it is a working solution and
>> worth mentioning. I do not know what the prices are like in
>> Singapore, but in the states I was able to buy an ATI Radeon HD 6870
>> for $160. For me it came down to weighing my objectives against my
>> curiosity.
>
> That ATI Radeon HD 6870 would cost me $279, I think.
>
>>
>> If you do continue your nVidia endeavors I wish you success, but as
>> in my former email VGA passthrough is a new frontier, not even Guru's
>> like David may not be able to help beyond their own hardware experiences.
>
> I don't think VGA passthrough is a new frontier. Oracle VirtualBox and
> Linux KVM supports VGA passthrough as well. Xen ATI VGA Passthrough
> works out of the box, as Tobias Geiger suggested, but NVIDIA requires
> patches.
>
>>
>>
>> Documentation is one problem I agree with you on 100%. I came into
>> this knowing relatively little about Linux & hardware, and nothing
>> about Xen, and most every guide I found assumed I had been in a deep
>> relationship with Linux for many years and had a basic understanding
>> of Xen commands.
>
> I started learning Xen since the year 2007, which is about 5 years ago.
>
>>
>> Like you, I intend to use those documented failures as well as my
>> recent success to create a comprehensive guide with photographs,
>> screen captures, and perhaps even videos going from "assembled
>> computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough". Provided
>> the wiki will allow me to upload the screenshots, I'll be certain to
>> post it there.
>
> I will be looking forward to your documentation and videos. Right now
> Xen wiki allows uploading image files and PDF files. Why not create a
> PDF document and share it with all of us? It is known as portable
> document format and is very popular, but it appears that xen mailing
> lists don't like PDF format.
>
> _*I don't like wiki pages because anybody can edit and fundamentally
> mess up the wiki pages, even providing bogus and erroneous
> information. That's why I don't like creating wiki pages. Anybody can
> edit and mess up the information you have painstakingly created on the
> wiki pages. So please take note.*_
>
> --
> Yours sincerely,
>
> Mr. Teo En Ming (Zhang Enming)
> Singapore
>
>
>>
>> ~Casey
>>
>> On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming)
>> <singapore.mr.teo.en.ming [at] gmail
>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>
>> --
>> Yours sincerely,
>> Mr. Teo En Ming (Zhang Enming)
>> Singapore Citizen
>>
>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
>> Minister's Office, Republic of Singapore
>>
>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>> Hi Teo,
>>>
>>> I tried David's patch files a while ago *_without success_*. I
>>> had Xen compiled with the patch files and my GTX 460 VGA BIOS
>>> rom, _*but I got the same as you, either a BSOD or Code 43 in
>>> Device Manager.*_
>>>
>>> You sound plenty competent, but it's important to remember that
>>> you are pioneering a technology that for consumers is still in
>>> its infancy. Very few people are testing this with consumer
>>> equipment, so finding results seems to be a rarity.
>>>
>>>
>>
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>> http://lists.xen.org/xen-users
>>
>>
>
>


halcyon1981 at gmail

Mar 29, 2012, 11:46 AM

Post #6 of 21 (2134 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

Casey-
Have you tried ATI pass through on XenServer 6? Just curious if it
works out of the box there or not. Also was there a particular
Catalyst driver you had success with?

Thanks,
David

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


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 11:56 AM

Post #7 of 21 (2165 views)
Permalink
Re: [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

Dear Casey DeLorme and Tobias Geiger,

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

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

Casey DeLorme,

Thomas Richard also had the same problems as us.

[QUOTE=Thomas Richard]

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

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

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore





On 30/03/2012 02:35, Teo En Ming (Zhang Enming) wrote:
> Dear Casey DeLorme,
>
> This guy, Sebastien Gauthier, also has the same problems as us. He was
> using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei Huang's
> patch. After installing the latest ATI/AMD Catalyst drivers, he got a
> BSOD with Xen VGA Passthrough to Windows 7.
>
> Please read Sebastien Gauthier's case here:
>
> http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html
>
> Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL
> SUCCESS, like us.
>
> Dear Tobias Geiger,
>
> You were saying that with ATI VGA cards, you do not need to apply any
> Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied
> Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing
> ATI Catalyst drivers. Sebastien Gauthier did not get 100% success with
> Xen VGA Passthrough to Windows 7 using an ATI VGA card.
>
> --
> Yours sincerely,
>
> Mr. Teo En Ming (Zhang Enming)
> Singapore
>
>
>
>
> On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
>> On 29/03/2012 12:29, Casey DeLorme wrote:
>>> My mistake for not hitting "Reply to All", sorry.
>>
>> No worries Casey.
>>
>>>
>>> It might be of some value to mention that my tests were with Windows
>>> 7, I have no interest in using XP anymore. Also, I did all of my
>>> testing through remote VNC, not once did I actually get video, even
>>> 2D, working.
>>
>> I bought 2 copies of Windows XP Home Edition in the past because it
>> is cheap, at S$145. I did not buy Windows 7 because it is expensive.
>> I got video working all right, but only 2D. I cannot get 3D graphics
>> working.
>>
>>> However, my errors are exactly as you described:
>>>
>>> 1. Windows recognizes the model (GTX 460), not "unknown PCI device".
>>> 2. Device code 43.
>>> 3. No resources assigned to the device.
>>
>> We have the same set of errors.
>>
>>>
>>> Might be worth mentioning, I was able to run the latest nVidia
>>> driver installation without errors, but after rebooting there was no
>>> change, same error code, still no video.
>>
>> Same situation here with the latest NVIDIA drivers. But I only have
>> 2D video working. I can't get 3D video to work.
>>
>>> To me this would be evidence that driver version isn't a problem,
>>> but then again I didn't have anything actually working.
>>
>> I agree that driver version isn't a problem. Something is wrong
>> somewhere.
>>
>>>
>>>
>>> I am an IT student in college, so my experience is limited to mostly
>>> programming with very little knowledge of the inner-workings of
>>> hardware. So, forgive me for being unable to help with regards to
>>> memory addresses on the cards.
>>
>> I am hoping that Intel engineers and Xen developers would be able to
>> help.
>>
>>>
>>> I've been using *nix for about 4 years, and Windows since I my age
>>> was a single digit. I have had experience setting up server
>>> features such as web, database, and application servers but I am
>>> still green when it comes to kernel or hardware configuration.
>>
>> I started learning Linux/UNIX since the year 2005, that is about 7
>> years ago. I started using Windows when it was version 3.1. I love
>> compiling the latest Linux kernel and assembling my own computer
>> hardware.
>>
>>>
>>> My Xen adventure began 35 days ago, and it is no exaggeration to say
>>> that in those 35 days I have learned more about linux than I had in
>>> the past two years. I like challenges as much as the next IT
>>> person, but I ran out of time and ideas for debugging my nVidia
>>> problems. The nVidia stretch of my adventure lasted for 24 days
>>> through 54 fresh linux installations accompanied by over 200~ pages
>>> worth of documented failures and not a single pixel sighted.
>>
>> Why not make your documentation into PDF? It is a very popular
>> document format.
>>
>>>
>>> The ATI card took me a day, less than 12 hours of relatively easy
>>> debugging by comparison to the aforementioned testing. I do fully
>>> understanding financial constraints, but it is a working solution
>>> and worth mentioning. I do not know what the prices are like in
>>> Singapore, but in the states I was able to buy an ATI Radeon HD 6870
>>> for $160. For me it came down to weighing my objectives against my
>>> curiosity.
>>
>> That ATI Radeon HD 6870 would cost me $279, I think.
>>
>>>
>>> If you do continue your nVidia endeavors I wish you success, but as
>>> in my former email VGA passthrough is a new frontier, not even
>>> Guru's like David may not be able to help beyond their own hardware
>>> experiences.
>>
>> I don't think VGA passthrough is a new frontier. Oracle VirtualBox
>> and Linux KVM supports VGA passthrough as well. Xen ATI VGA
>> Passthrough works out of the box, as Tobias Geiger suggested, but
>> NVIDIA requires patches.
>>
>>>
>>>
>>> Documentation is one problem I agree with you on 100%. I came into
>>> this knowing relatively little about Linux & hardware, and nothing
>>> about Xen, and most every guide I found assumed I had been in a deep
>>> relationship with Linux for many years and had a basic understanding
>>> of Xen commands.
>>
>> I started learning Xen since the year 2007, which is about 5 years ago.
>>
>>>
>>> Like you, I intend to use those documented failures as well as my
>>> recent success to create a comprehensive guide with photographs,
>>> screen captures, and perhaps even videos going from "assembled
>>> computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough". Provided
>>> the wiki will allow me to upload the screenshots, I'll be certain to
>>> post it there.
>>
>> I will be looking forward to your documentation and videos. Right now
>> Xen wiki allows uploading image files and PDF files. Why not create a
>> PDF document and share it with all of us? It is known as portable
>> document format and is very popular, but it appears that xen mailing
>> lists don't like PDF format.
>>
>> _*I don't like wiki pages because anybody can edit and fundamentally
>> mess up the wiki pages, even providing bogus and erroneous
>> information. That's why I don't like creating wiki pages. Anybody can
>> edit and mess up the information you have painstakingly created on
>> the wiki pages. So please take note.*_
>>
>> --
>> Yours sincerely,
>>
>> Mr. Teo En Ming (Zhang Enming)
>> Singapore
>>
>>
>>>
>>> ~Casey
>>>
>>> On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming)
>>> <singapore.mr.teo.en.ming [at] gmail
>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>
>>> --
>>> Yours sincerely,
>>> Mr. Teo En Ming (Zhang Enming)
>>> Singapore Citizen
>>>
>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
>>> Minister's Office, Republic of Singapore
>>>
>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>> Hi Teo,
>>>>
>>>> I tried David's patch files a while ago *_without success_*. I
>>>> had Xen compiled with the patch files and my GTX 460 VGA BIOS
>>>> rom, _*but I got the same as you, either a BSOD or Code 43 in
>>>> Device Manager.*_
>>>>
>>>> You sound plenty competent, but it's important to remember that
>>>> you are pioneering a technology that for consumers is still in
>>>> its infancy. Very few people are testing this with consumer
>>>> equipment, so finding results seems to be a rarity.
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>> http://lists.xen.org/xen-users
>>>
>>>
>>
>>
>
>


wei.huang2 at amd

Mar 29, 2012, 1:11 PM

Post #8 of 21 (2121 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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)
>>> <singapore.mr.teo.en.ming [at] gmail
>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>
>>> --
>>> Yours sincerely,
>>> Mr. Teo En Ming (Zhang Enming)
>>> Singapore Citizen
>>>
>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
>>> Minister's Office, Republic of Singapore
>>>
>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>> Hi Teo,
>>>>
>>>> I tried David's patch files a while ago *_without success_*. I
>>>> had Xen compiled with the patch files and my GTX 460 VGA BIOS
>>>> rom, _*but I got the same as you, either a BSOD or Code 43 in
>>>> Device Manager.*_
>>>>
>>>> You sound plenty competent, but it's important to remember that
>>>> you are pioneering a technology that for consumers is still in
>>>> its infancy. Very few people are testing this with consumer
>>>> equipment, so finding results seems to be a rarity.
>>>>
>>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>> http://lists.xen.org/xen-users
>>>
>>>
>>
>>
>
>


cdelorme at gmail

Mar 29, 2012, 2:29 PM

Post #9 of 21 (2126 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

David,

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

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

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

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

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

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

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

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



Teo,

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

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

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

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

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

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


~Casey

On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd> 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) <
> singapore.mr.teo.en.ming [at] gmail> wrote:
>
>> Dearest Casey DeLorme,
>>
>> Thank you very very much for your kind feedback and input. I would also
>> like to thank Mr. Tobias Geiger, again, for providing his suggestion on
>> exposing the fourth memory region in
>> tools/firmware/hvmloader/acpi/dsdt.asl. *In any case, either exposing
>> the first 3 memory regions only or exposing all the 4 memory regions does
>> not work.* Sadly, Tobias Geiger is unable to help me further.
>>
>> I have asked Jean David Techer, what about the 4th PCI memory region? Why
>> only expose the first 3 PCI memory regions? I don't understand, of course.
>> Jean David Techer did not reply to my question.
>>
>> I have decided to post your prompt reply to the xen-users and xen-devel
>> mailing lists, in case people think that I am finding fault with Jean David
>> Techer, or trying to irritate him, or trying to make him angry, or trying
>> to aggravate him. Jean David Techer replied me with an email saying that I
>> *spent too much time* and *too bent* on solving the yellow exclamation
>> mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8
>> Consumer Preview and Windows XP Home Edition, and that I sent *stupid*requests. Stupid requests? Did he read my emails carefully, word by word?
>>
>> Casey DeLorme, please, can I confirm with you again that you are getting
>> the following errors after applying Jean David Techer's Xen 4.2-unstable
>> VGA Passthrough patches:
>>
>> *(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device
>> Manager
>> (2) Windows has stopped this device because it has reported problems.
>> (Code 43)
>> (3) This device isn't using any resources because it has a problem.*
>>
>> Jean David Techer insists that our technical issues are due to a NVIDIA
>> driver problem. He insists that you have to install NVIDIA driver versions
>> 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above
>> 280.XX) will not work, according to Jean David Techer. *However, I have
>> tried installing NVIDIA driver versions 275.33 and 275.50 from
>> www.softpedia.com, as he suggested, but it caused my Windows XP Home
>> Edition HVM virtual machine to be destroyed/terminated/crash after a few
>> minutes and my dom0 to crash as well.* NVIDIA driver versions 275.33 and
>> 275.50 for Windows XP 32-bit is not available from the official NVIDIA
>> website.
>>
>> So it is definitely not a NVIDIA driver problem. I suspect that the
>> technical issue has to do with *MMIO BARs pBAR:vBAR 1:1 matching*. I
>> don't think there is any problem with vgabios-pt.bin extracted out from our
>> NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted
>> VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.
>>
>> Secondly, it does seem strange that Jean David Techer was able to attain
>> *100%*, ie. *perfect success* with Xen 4.2-unstable VGA Passthrough to
>> his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube
>> video? It is only 4 minutes. Please do watch Jean David Techer's Youtube
>> video at the following URL:
>>
>> Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64
>> HVM domU Youtube video link: *http://www.youtube.com/watch?v=3SaYO0ERW44*
>>
>> I am *appalled* and *baffled* that he has attained *100% success* while
>> both of us have only attained *partial success* (*i.e. less than 100%*)
>> on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and
>> Windows XP.
>>
>> *Solving the yellow exclamation mark issue is important because we would
>> not be able to run 3D graphics benchmarks and play 3D games without solving
>> it. I am not sending silly emails about some yellow marks, as Jean David
>> Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11 3D
>> display benchmarks, because of the yellow exclamation mark for NVIDIA
>> Geforce 8400 GS in Device Manager.*
>>
>> Casey DeLorme, with your report on relatively easy success with ATI VGA
>> cards, I think I would go the ATI way, but I would have to spend a few
>> hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card.
>> And while deciding to go the ATI way, I would also like to continue
>> troubleshooting with the NVIDIA problem, because I consider it to be a
>> technical challenge.
>>
>> In essence, Jean David Techner is considered to be a "boss", or business
>> owner, or proprietor, or technopreneur, or entrepreneur, or technical
>> support officer, or customer support officer, or IT helpdesk engineer,
>> providing services like his forward-ported Xen 4.2-unstable VGA Passthrough
>> patches and the documentation on his blog. I repost Jean David Techer's
>> official website here:
>>
>> Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: *
>> http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through
>> *
>>
>> Jean David Techer's official website is his business venture.
>>
>> Basically, I am Jean David Techer's *"customer"*, trying to obtain
>> technical support from him. Of course, he is *not obliged* to provide
>> technical support to me since he is providing *free* services. It is,
>> after all, an open source software project. Nobody is obliged to provide
>> anybody with technical support. *To do Jean David Techer justice, he
>> replied most of my questions while avoiding some of my questions.*
>>
>> Finally, I have also failed to obtain technical support from Xen
>> developers like Ian Campbell from *Citrix Corporation* and Konrad Wilk
>> from *Oracle Corporation*. *I have always provided all the steps which I
>> have taken, the configuration files and necessary documentation, and kernel
>> messages and error logs* to xen-users and xen-devel mailing lists, but
>> they keep insisting I did not provide the information they required. I
>> wondered why. I think they did not read my emails carefully. They told me
>> they would not reply to me any more if I do not provide the information
>> they requested. *But the problem is that I have always provided
>> information they requested!* I think they missed some of my emails, or
>> did not read my emails carefully enough. I am an *ardent supporter* and *SERIOUS
>> software tester* for open source Xen virtualization/hypervisor but they
>> treated me lightly. *I always read my emails WORD BY WORD.* I have even
>> went to the point of making a video on the *BUG* and uploading my video
>> to Youtube. The video is only THREE minutes.
>>
>> *As everybody says, a picture is worth a thousand words. A video is
>> worth a BILLION words!*
>>
>> I have also failed to obtain technical support from Xen developers
>> regarding Xen 4.2-unstable VGA Passthrough.
>>
>> I am hoping Xen 4.2 would have official support for Xen VGA Passthrough
>> for both NVIDIA and ATI cards.
>>
>> Casey DeLorme, thank you very much once again. I will be making changes
>> to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be
>> releasing Version 1.7 shortly. Jean David Techer's documentation assumes
>> some level of advanced Linux technical knowledge, so I am writing
>> documentation on my own so that everybody, not just advanced Linux and Xen
>> users, can follow. I have made references to Jean David Techer's
>> documentation in my own documentation.
>>
>> I would be very happy if people would use my documentation. Of course, it
>> satisfies my ego and my vanity. Haha.
>>
>> I have been un-employed for nearly three years now, and I would hesitate
>> to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT
>> engineer 3 years ago because my father suffered from lacunar infarct, or
>> more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44.
>> Please understand why I hesitate to buy an ATI VGA card. The cheapest one
>> costs SGD$279.
>>
>> I have a diploma in Mechanical+Electronics engineering from Singapore
>> Polytechnic and a Bachelor's degree in Mechanical Engineering from the
>> National University of Singapore. But I do not have qualifications in
>> Computer Science or Information Technology. I have worked as an Information
>> Technology engineer in Defense Science and Technology Agency, Ministry of
>> Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte
>> Ltd, and Ishinemax Singapore Pte Ltd.
>>
>> Google search terms: Frenchman Jean David Techer, Singaporean Teo En
>> Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen
>> 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP
>> HVM Virtual Machines
>>
>> Thank you very much for reading my lengthy email. I am always courteous,
>> saying "Please help me. Please. Please. Please." and "Thank you very much
>> for your kind assistance" in my emails.
>>
>> Thank you very much.
>>
>> --
>> Yours sincerely,
>> Mr. Teo En Ming (Zhang Enming)
>> Singapore Citizen
>>
>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
>> Minister's Office, Republic of Singapore
>>
>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>
>> Hi Teo,
>>
>> I tried David's patch files a while ago *without success*. I had Xen
>> compiled with the patch files and my GTX 460 VGA BIOS rom, *but I got
>> the same as you, either a BSOD or Code 43 in Device Manager.*
>>
>> You sound plenty competent, but it's important to remember that you are
>> pioneering a technology that for consumers is still in its infancy. Very
>> few people are testing this with consumer equipment, so finding results
>> seems to be a rarity.
>>
>>
>>
>>
>>
>> _______________________________________________
>> Xen-users mailing list
>> Xen-users [at] lists
>> http://lists.xen.org/xen-users
>>
>
>
>
>
>
>
>


wei.huang2 at amd

Mar 29, 2012, 4:03 PM

Post #10 of 21 (2111 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 03/29/2012 04:29 PM, Casey DeLorme wrote:
> David,
>
> XenServer VGA Passthrough requires a paid/licensed copy, which costs
> $2500, a bit out of my price range for experimentation. Important to
> note that the feature is not a part of the 30-day trial license.
>
> However, Citrix recently visited my college and I was able to preview
> hardware access on a laptop one of the employees had, where they
> swapped between Ubuntu and Windows with a hotkey, and various hardware
> components including onboard GPU and the WebCam were accessible.
>
> In testing XenServer, I can say that if I had a business, that's the
> product I would use. In the past month having tried Xen and ESXi, I
> was astonished with the ease of use for XenServer.
>
> As for Catalyst, version 12.2 (the latest currently) worked for me.
>
> Important to note that until I followed Andrews advice to omit the
> Catalyst Control Center, the installation resulted in a BSOD.
I saw similar issue whiling playing with XenClient. After discussing
with AMD GPU driver team, the conclusion was that the installer has a
bug. But I have not received any further update from them. Also manual
driver installation (after many tries) did fix problem for me.
>
> The solution, select "Custom" installation and uncheck the CCC. After
> the installation your first reboot should run some follow-up updates
> via cmd, you need to reboot a second time for fully functional drivers.
>
> Also, I had underscan on my monitor so I went out on a limb and re-ran
> the setup for Catalyst, and was able to get CCC installed with a
> second run through, which allowed me to fix my underscan issue.
>
> My conclusion is that the CCC requires some driver functionality that
> isn't available until after you install the drivers, this could be on
> all systems or it might be related to how HVM's handle the PCI
> devices, that much I can't say.
>
>
>
> Teo,
>
> I could be spouting nonsense, and if so I'm sure Wei can correct me,
> but I am pretty sure AMD engineers have been contributing to Xen for a
> while, and some patches have already been applied. Obviously it isn't
> flawless, I myself haven't gotten video at boot time, only at the
> login screen.
>
This is because VBIOS patch wasn't applied. But as I said before, my
VBIOS wasn't universal enough to put it as a production patch. So I am
hesitant to put it out.
> Mine works on 4.1.2, but it is possible that 4.1.0 had less of these
> "patches" hence Sebastien's post.
>
> Also, I apologize as I did not properly word my opinion before. VGA
> Passthrough is new "for consumer components". In 2010 the number of
> desktop (not server) boards boasting VT-d functionality could probably
> be counted on one hand. To my understanding that means the technology
> is at most 3 years old, still a baby in my opinion.
>
> I didn't mean that the technology hadn't been implemented into various
> Hypervisors, just that it is clearly not a perfected feature. If you
> consider 3 years of consumer availability, dates become important when
> researching. Sebastien's post was May 2011, just shy of one year ago,
> and Thomas's was in 2010.
>
> There are newer patches still for ATI in Xen 4.2, which I intend to
> test over the next week. I have NOT gotten ATI to work at boot time,
> video starts at the login screen.
>
> I agree with Wei that drivers can contribute to BSOD's and errors, but
> when an install doesn't fail but the hardware reacts the same as
> before, I would like to assume the driver is irrelative.
>
Have you looked at XenClient project? It has a customized ATI component
which allows you to switch between VMs flawlessly. I think it is the
most mature Xen solution for GPU passthru in client area.
>
> ~Casey
>
> On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd
> <mailto:wei.huang2 [at] amd>> 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)
>>>> <singapore.mr.teo.en.ming [at] gmail
>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>
>>>> --
>>>> Yours sincerely,
>>>> Mr. Teo En Ming (Zhang Enming)
>>>> Singapore Citizen
>>>>
>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>> Prime Minister's Office, Republic of Singapore
>>>>
>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>> Hi Teo,
>>>>>
>>>>> I tried David's patch files a while ago *_without
>>>>> success_*. I had Xen compiled with the patch files and my
>>>>> GTX 460 VGA BIOS rom, _*but I got the same as you, either
>>>>> a BSOD or Code 43 in Device Manager.*_
>>>>>
>>>>> You sound plenty competent, but it's important to remember
>>>>> that you are pioneering a technology that for consumers is
>>>>> still in its infancy. Very few people are testing this
>>>>> with consumer equipment, so finding results seems to be a
>>>>> rarity.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>> http://lists.xen.org/xen-users
>>>>
>>>>
>>>
>>>
>>
>>
>
>


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 9:36 PM

Post #11 of 21 (2167 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 30/03/2012 04:11, Wei Huang wrote:
> On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
>> Dear Casey DeLorme,
>>
>> This guy, Sebastien Gauthier, also has the same problems as us. He
>> was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei
>> Huang's patch. After installing the latest ATI/AMD Catalyst drivers,
>> he got a BSOD with Xen VGA Passthrough to Windows 7.
>>
>> Please read Sebastien Gauthier's case here:
>>
>> http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html
>>
>> Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL
>> SUCCESS, like us.
>>
>> Dear Tobias Geiger,
>>
>> You were saying that with ATI VGA cards, you do not need to apply any
>> Xen VGA Passthrough patches. But this guy Sebastien Gauthier applied
>> Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after installing
>> ATI Catalyst drivers. Sebastien Gauthier did not get 100% success
>> with Xen VGA Passthrough to Windows 7 using an ATI VGA card.
>>
> Hi Teo,
>
> The VBIOS patch I sent out did not work for all ATI cards. The patch
> itself assumed certain behavior of GPU VBIOS. But this doesn't apply
> to every GPU generation. From this perspective, my patch isn't
> universal. Also there are many factors, some of which are not in
> control by us (like graphics driver), can contribute to BSOD you
> mentioned. I am not in a position to debug it for everyone's card (as
> I don't have all cards).
>
> Thanks,
> -Wei

Dear Mr. Wei Huang at AMD Corporation,

Thank you very much for your kind reply.

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

Sapphire HD5450 512MB Singapore Dollars $55

I am a cheapskate when it comes to spending money.

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

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

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

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

Thank you very very very much.

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore



>> --
>> Yours sincerely,
>>
>> Mr. Teo En Ming (Zhang Enming)
>> Singapore
>>
>>
>>
>>
>> On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
>>> On 29/03/2012 12:29, Casey DeLorme wrote:
>>>> My mistake for not hitting "Reply to All", sorry.
>>>
>>> No worries Casey.
>>>
>>>>
>>>> It might be of some value to mention that my tests were with
>>>> Windows 7, I have no interest in using XP anymore. Also, I did all
>>>> of my testing through remote VNC, not once did I actually get
>>>> video, even 2D, working.
>>>
>>> I bought 2 copies of Windows XP Home Edition in the past because it
>>> is cheap, at S$145. I did not buy Windows 7 because it is expensive.
>>> I got video working all right, but only 2D. I cannot get 3D graphics
>>> working.
>>>
>>>> However, my errors are exactly as you described:
>>>>
>>>> 1. Windows recognizes the model (GTX 460), not "unknown PCI device".
>>>> 2. Device code 43.
>>>> 3. No resources assigned to the device.
>>>
>>> We have the same set of errors.
>>>
>>>>
>>>> Might be worth mentioning, I was able to run the latest nVidia
>>>> driver installation without errors, but after rebooting there was
>>>> no change, same error code, still no video.
>>>
>>> Same situation here with the latest NVIDIA drivers. But I only have
>>> 2D video working. I can't get 3D video to work.
>>>
>>>> To me this would be evidence that driver version isn't a problem,
>>>> but then again I didn't have anything actually working.
>>>
>>> I agree that driver version isn't a problem. Something is wrong
>>> somewhere.
>>>
>>>>
>>>>
>>>> I am an IT student in college, so my experience is limited to
>>>> mostly programming with very little knowledge of the inner-workings
>>>> of hardware. So, forgive me for being unable to help with regards
>>>> to memory addresses on the cards.
>>>
>>> I am hoping that Intel engineers and Xen developers would be able to
>>> help.
>>>
>>>>
>>>> I've been using *nix for about 4 years, and Windows since I my age
>>>> was a single digit. I have had experience setting up server
>>>> features such as web, database, and application servers but I am
>>>> still green when it comes to kernel or hardware configuration.
>>>
>>> I started learning Linux/UNIX since the year 2005, that is about 7
>>> years ago. I started using Windows when it was version 3.1. I love
>>> compiling the latest Linux kernel and assembling my own computer
>>> hardware.
>>>
>>>>
>>>> My Xen adventure began 35 days ago, and it is no exaggeration to
>>>> say that in those 35 days I have learned more about linux than I
>>>> had in the past two years. I like challenges as much as the next
>>>> IT person, but I ran out of time and ideas for debugging my nVidia
>>>> problems. The nVidia stretch of my adventure lasted for 24 days
>>>> through 54 fresh linux installations accompanied by over 200~ pages
>>>> worth of documented failures and not a single pixel sighted.
>>>
>>> Why not make your documentation into PDF? It is a very popular
>>> document format.
>>>
>>>>
>>>> The ATI card took me a day, less than 12 hours of relatively easy
>>>> debugging by comparison to the aforementioned testing. I do fully
>>>> understanding financial constraints, but it is a working solution
>>>> and worth mentioning. I do not know what the prices are like in
>>>> Singapore, but in the states I was able to buy an ATI Radeon HD
>>>> 6870 for $160. For me it came down to weighing my objectives
>>>> against my curiosity.
>>>
>>> That ATI Radeon HD 6870 would cost me $279, I think.
>>>
>>>>
>>>> If you do continue your nVidia endeavors I wish you success, but as
>>>> in my former email VGA passthrough is a new frontier, not even
>>>> Guru's like David may not be able to help beyond their own hardware
>>>> experiences.
>>>
>>> I don't think VGA passthrough is a new frontier. Oracle VirtualBox
>>> and Linux KVM supports VGA passthrough as well. Xen ATI VGA
>>> Passthrough works out of the box, as Tobias Geiger suggested, but
>>> NVIDIA requires patches.
>>>
>>>>
>>>>
>>>> Documentation is one problem I agree with you on 100%. I came into
>>>> this knowing relatively little about Linux & hardware, and nothing
>>>> about Xen, and most every guide I found assumed I had been in a
>>>> deep relationship with Linux for many years and had a basic
>>>> understanding of Xen commands.
>>>
>>> I started learning Xen since the year 2007, which is about 5 years ago.
>>>
>>>>
>>>> Like you, I intend to use those documented failures as well as my
>>>> recent success to create a comprehensive guide with photographs,
>>>> screen captures, and perhaps even videos going from "assembled
>>>> computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".
>>>> Provided the wiki will allow me to upload the screenshots, I'll be
>>>> certain to post it there.
>>>
>>> I will be looking forward to your documentation and videos. Right
>>> now Xen wiki allows uploading image files and PDF files. Why not
>>> create a PDF document and share it with all of us? It is known as
>>> portable document format and is very popular, but it appears that
>>> xen mailing lists don't like PDF format.
>>>
>>> _*I don't like wiki pages because anybody can edit and fundamentally
>>> mess up the wiki pages, even providing bogus and erroneous
>>> information. That's why I don't like creating wiki pages. Anybody
>>> can edit and mess up the information you have painstakingly created
>>> on the wiki pages. So please take note.*_
>>>
>>> --
>>> Yours sincerely,
>>>
>>> Mr. Teo En Ming (Zhang Enming)
>>> Singapore
>>>
>>>
>>>>
>>>> ~Casey
>>>>
>>>> On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming)
>>>> <singapore.mr.teo.en.ming [at] gmail
>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>
>>>> --
>>>> Yours sincerely,
>>>> Mr. Teo En Ming (Zhang Enming)
>>>> Singapore Citizen
>>>>
>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>> Prime Minister's Office, Republic of Singapore
>>>>
>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>> Hi Teo,
>>>>>
>>>>> I tried David's patch files a while ago *_without success_*.
>>>>> I had Xen compiled with the patch files and my GTX 460 VGA
>>>>> BIOS rom, _*but I got the same as you, either a BSOD or Code
>>>>> 43 in Device Manager.*_
>>>>>
>>>>> You sound plenty competent, but it's important to remember
>>>>> that you are pioneering a technology that for consumers is
>>>>> still in its infancy. Very few people are testing this with
>>>>> consumer equipment, so finding results seems to be a rarity.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>> http://lists.xen.org/xen-users
>>>>
>>>>
>>>
>>>
>>
>>
>


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 9:48 PM

Post #12 of 21 (2106 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 30/03/2012 05:29, Casey DeLorme wrote:
> David,
>
> XenServer VGA Passthrough requires a paid/licensed copy, which costs
> $2500, a bit out of my price range for experimentation. Important to
> note that the feature is not a part of the 30-day trial license.
>
> However, Citrix recently visited my college and I was able to preview
> hardware access on a laptop one of the employees had, where they
> swapped between Ubuntu and Windows with a hotkey, and various hardware
> components including onboard GPU and the WebCam were accessible.
>
> In testing XenServer, I can say that if I had a business, that's the
> product I would use. In the past month having tried Xen and ESXi, I
> was astonished with the ease of use for XenServer.
>
> As for Catalyst, version 12.2 (the latest currently) worked for me.
>
> Important to note that until I followed Andrews advice to omit the
> Catalyst Control Center, the installation resulted in a BSOD.
>
> The solution, select "Custom" installation and uncheck the CCC. After
> the installation your first reboot should run some follow-up updates
> via cmd, you need to reboot a second time for fully functional drivers.
>
> Also, I had underscan on my monitor so I went out on a limb and re-ran
> the setup for Catalyst, and was able to get CCC installed with a
> second run through, which allowed me to fix my underscan issue.
>
> My conclusion is that the CCC requires some driver functionality that
> isn't available until after you install the drivers, this could be on
> all systems or it might be related to how HVM's handle the PCI
> devices, that much I can't say.
>
>
>
> Teo,
>
> I could be spouting nonsense, and if so I'm sure Wei can correct me,
> but I am pretty sure AMD engineers have been contributing to Xen for a
> while, and some patches have already been applied. Obviously it isn't
> flawless, I myself haven't gotten video at boot time, only at the
> login screen.
>
> Mine works on 4.1.2, but it is possible that 4.1.0 had less of these
> "patches" hence Sebastien's post.
>
> Also, I apologize as I did not properly word my opinion before. VGA
> Passthrough is new "for consumer components". In 2010 the number of
> desktop (not server) boards boasting VT-d functionality could probably
> be counted on one hand. To my understanding that means the technology
> is at most 3 years old, still a baby in my opinion.
>
> I didn't mean that the technology hadn't been implemented into various
> Hypervisors, just that it is clearly not a perfected feature. If you
> consider 3 years of consumer availability, dates become important when
> researching. Sebastien's post was May 2011, just shy of one year ago,
> and Thomas's was in 2010.
>
> There are newer patches still for ATI in Xen 4.2, which I intend to
> test over the next week. I have NOT gotten ATI to work at boot time,
> video starts at the login screen.

Dear Casey DeLorme,

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

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

Thank you very much.

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


>
> I agree with Wei that drivers can contribute to BSOD's and errors, but
> when an install doesn't fail but the hardware reacts the same as
> before, I would like to assume the driver is irrelative.
>
>
> ~Casey
>
> On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd
> <mailto:wei.huang2 [at] amd>> 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)
>>>> <singapore.mr.teo.en.ming [at] gmail
>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>
>>>> --
>>>> Yours sincerely,
>>>> Mr. Teo En Ming (Zhang Enming)
>>>> Singapore Citizen
>>>>
>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>> Prime Minister's Office, Republic of Singapore
>>>>
>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>> Hi Teo,
>>>>>
>>>>> I tried David's patch files a while ago *_without
>>>>> success_*. I had Xen compiled with the patch files and my
>>>>> GTX 460 VGA BIOS rom, _*but I got the same as you, either
>>>>> a BSOD or Code 43 in Device Manager.*_
>>>>>
>>>>> You sound plenty competent, but it's important to remember
>>>>> that you are pioneering a technology that for consumers is
>>>>> still in its infancy. Very few people are testing this
>>>>> with consumer equipment, so finding results seems to be a
>>>>> rarity.
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Xen-users mailing list
>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>> http://lists.xen.org/xen-users
>>>>
>>>>
>>>
>>>
>>
>>
>
>


singapore.mr.teo.en.ming at gmail

Mar 29, 2012, 9:55 PM

Post #13 of 21 (2111 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 30/03/2012 07:03, Wei Huang wrote:
> On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>> David,
>>
>> XenServer VGA Passthrough requires a paid/licensed copy, which costs
>> $2500, a bit out of my price range for experimentation. Important to
>> note that the feature is not a part of the 30-day trial license.
>>
>> However, Citrix recently visited my college and I was able to preview
>> hardware access on a laptop one of the employees had, where they
>> swapped between Ubuntu and Windows with a hotkey, and various
>> hardware components including onboard GPU and the WebCam were accessible.
>>
>> In testing XenServer, I can say that if I had a business, that's the
>> product I would use. In the past month having tried Xen and ESXi, I
>> was astonished with the ease of use for XenServer.
>>
>> As for Catalyst, version 12.2 (the latest currently) worked for me.
>>
>> Important to note that until I followed Andrews advice to omit the
>> Catalyst Control Center, the installation resulted in a BSOD.
> I saw similar issue whiling playing with XenClient. After discussing
> with AMD GPU driver team, the conclusion was that the installer has a
> bug. But I have not received any further update from them. Also manual
> driver installation (after many tries) did fix problem for me.
>>
>> The solution, select "Custom" installation and uncheck the CCC.
>> After the installation your first reboot should run some follow-up
>> updates via cmd, you need to reboot a second time for fully
>> functional drivers.
>>
>> Also, I had underscan on my monitor so I went out on a limb and
>> re-ran the setup for Catalyst, and was able to get CCC installed with
>> a second run through, which allowed me to fix my underscan issue.
>>
>> My conclusion is that the CCC requires some driver functionality that
>> isn't available until after you install the drivers, this could be on
>> all systems or it might be related to how HVM's handle the PCI
>> devices, that much I can't say.
>>
>>
>>
>> Teo,
>>
>> I could be spouting nonsense, and if so I'm sure Wei can correct me,
>> but I am pretty sure AMD engineers have been contributing to Xen for
>> a while, and some patches have already been applied. Obviously it
>> isn't flawless, I myself haven't gotten video at boot time, only at
>> the login screen.
>>
> This is because VBIOS patch wasn't applied. But as I said before, my
> VBIOS wasn't universal enough to put it as a production patch. So I am
> hesitant to put it out.

Dear Wei Huang at AMD Corporation,

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

Thank you very much.

--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


>> Mine works on 4.1.2, but it is possible that 4.1.0 had less of these
>> "patches" hence Sebastien's post.
>>
>> Also, I apologize as I did not properly word my opinion before. VGA
>> Passthrough is new "for consumer components". In 2010 the number of
>> desktop (not server) boards boasting VT-d functionality could
>> probably be counted on one hand. To my understanding that means the
>> technology is at most 3 years old, still a baby in my opinion.
>>
>> I didn't mean that the technology hadn't been implemented into
>> various Hypervisors, just that it is clearly not a perfected feature.
>> If you consider 3 years of consumer availability, dates become
>> important when researching. Sebastien's post was May 2011, just shy
>> of one year ago, and Thomas's was in 2010.
>>
>> There are newer patches still for ATI in Xen 4.2, which I intend to
>> test over the next week. I have NOT gotten ATI to work at boot time,
>> video starts at the login screen.
>>
>> I agree with Wei that drivers can contribute to BSOD's and errors,
>> but when an install doesn't fail but the hardware reacts the same as
>> before, I would like to assume the driver is irrelative.
>>
> Have you looked at XenClient project? It has a customized ATI
> component which allows you to switch between VMs flawlessly. I think
> it is the most mature Xen solution for GPU passthru in client area.

Dear Wei Huang at AMD Corporation,

May I know what is the XenClient project?


>>
>> ~Casey
>>
>> On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd
>> <mailto:wei.huang2 [at] amd>> 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)
>>>>> <singapore.mr.teo.en.ming [at] gmail
>>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>>
>>>>> --
>>>>> Yours sincerely,
>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>> Singapore Citizen
>>>>>
>>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>>> Prime Minister's Office, Republic of Singapore
>>>>>
>>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>>> Hi Teo,
>>>>>>
>>>>>> I tried David's patch files a while ago *_without
>>>>>> success_*. I had Xen compiled with the patch files and
>>>>>> my GTX 460 VGA BIOS rom, _*but I got the same as you,
>>>>>> either a BSOD or Code 43 in Device Manager.*_
>>>>>>
>>>>>> You sound plenty competent, but it's important to
>>>>>> remember that you are pioneering a technology that for
>>>>>> consumers is still in its infancy. Very few people are
>>>>>> testing this with consumer equipment, so finding results
>>>>>> seems to be a rarity.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-users mailing list
>>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>>> http://lists.xen.org/xen-users
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>


wei.huang2 at amd

Mar 30, 2012, 7:38 AM

Post #14 of 21 (2130 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 03/29/2012 11:36 PM, Teo En Ming (Zhang Enming) wrote:
> On 30/03/2012 04:11, Wei Huang wrote:
>> On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
>>> Dear Casey DeLorme,
>>>
>>> This guy, Sebastien Gauthier, also has the same problems as us. He
>>> was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei
>>> Huang's patch. After installing the latest ATI/AMD Catalyst drivers,
>>> he got a BSOD with Xen VGA Passthrough to Windows 7.
>>>
>>> Please read Sebastien Gauthier's case here:
>>>
>>> http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html
>>>
>>> Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL
>>> SUCCESS, like us.
>>>
>>> Dear Tobias Geiger,
>>>
>>> You were saying that with ATI VGA cards, you do not need to apply
>>> any Xen VGA Passthrough patches. But this guy Sebastien Gauthier
>>> applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after
>>> installing ATI Catalyst drivers. Sebastien Gauthier did not get 100%
>>> success with Xen VGA Passthrough to Windows 7 using an ATI VGA card.
>>>
>> Hi Teo,
>>
>> The VBIOS patch I sent out did not work for all ATI cards. The patch
>> itself assumed certain behavior of GPU VBIOS. But this doesn't apply
>> to every GPU generation. From this perspective, my patch isn't
>> universal. Also there are many factors, some of which are not in
>> control by us (like graphics driver), can contribute to BSOD you
>> mentioned. I am not in a position to debug it for everyone's card (as
>> I don't have all cards).
>>
>> Thanks,
>> -Wei
>
> Dear Mr. Wei Huang at AMD Corporation,
>
> Thank you very much for your kind reply.
>
> I want to buy the following ATI Radeon VGA card. Do you think it would
> work with your Xen VGA Passthrough patch to Xen 4.2-unstable???
>
> Sapphire HD5450 512MB Singapore Dollars $55
>
> I am a cheapskate when it comes to spending money.
>
I don't have HD5450 card. So I can't test it and can't answer your
question directly. If I have some time later, I will test other HD5xxx
cards and test you the result. Normally GPUs of same family behave
similarly.
> If your Xen VGA Passthrough patch to Xen 4.2-unstable works with the
> above ATI VGA card, I will go ahead and buy it. Do I have to manually
> patch Xen 4.2-unstable or is your patch already included in Xen
> 4.2-unstable source tree?
My patch was against QEMU. It is not included in the tree.
>
> Secondly, I have a request/favor to ask of you. Do you think it is
> possible for you to examine the Xen 4.2-unstable VGA Passthrough
> patches hosted at Jean David Techer's website and check if it is
> compatible with Xen 4.2-unstable code?
>
> Thirdly and finally, could you read through my Xen VGA Passthrough
> Version 1.7 documentation to see if there are ANY MISTAKES with NVIDIA
> Geforce 8400 GS VGA Passthrough, because I am only getting PARTIAL
> SUCCESS.
>
> If you could write Xen VGA Passthrough patches, you are an expert
> software engineer.
>
> Thank you very very very much.
>
> --
> Yours sincerely,
>
> Mr. Teo En Ming (Zhang Enming)
> Singapore
>
>
>>> --
>>> Yours sincerely,
>>>
>>> Mr. Teo En Ming (Zhang Enming)
>>> Singapore
>>>
>>>
>>>
>>>
>>> On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
>>>> On 29/03/2012 12:29, Casey DeLorme wrote:
>>>>> My mistake for not hitting "Reply to All", sorry.
>>>>
>>>> No worries Casey.
>>>>
>>>>>
>>>>> It might be of some value to mention that my tests were with
>>>>> Windows 7, I have no interest in using XP anymore. Also, I did
>>>>> all of my testing through remote VNC, not once did I actually get
>>>>> video, even 2D, working.
>>>>
>>>> I bought 2 copies of Windows XP Home Edition in the past because it
>>>> is cheap, at S$145. I did not buy Windows 7 because it is
>>>> expensive. I got video working all right, but only 2D. I cannot get
>>>> 3D graphics working.
>>>>
>>>>> However, my errors are exactly as you described:
>>>>>
>>>>> 1. Windows recognizes the model (GTX 460), not "unknown PCI device".
>>>>> 2. Device code 43.
>>>>> 3. No resources assigned to the device.
>>>>
>>>> We have the same set of errors.
>>>>
>>>>>
>>>>> Might be worth mentioning, I was able to run the latest nVidia
>>>>> driver installation without errors, but after rebooting there was
>>>>> no change, same error code, still no video.
>>>>
>>>> Same situation here with the latest NVIDIA drivers. But I only have
>>>> 2D video working. I can't get 3D video to work.
>>>>
>>>>> To me this would be evidence that driver version isn't a problem,
>>>>> but then again I didn't have anything actually working.
>>>>
>>>> I agree that driver version isn't a problem. Something is wrong
>>>> somewhere.
>>>>
>>>>>
>>>>>
>>>>> I am an IT student in college, so my experience is limited to
>>>>> mostly programming with very little knowledge of the
>>>>> inner-workings of hardware. So, forgive me for being unable to
>>>>> help with regards to memory addresses on the cards.
>>>>
>>>> I am hoping that Intel engineers and Xen developers would be able
>>>> to help.
>>>>
>>>>>
>>>>> I've been using *nix for about 4 years, and Windows since I my age
>>>>> was a single digit. I have had experience setting up server
>>>>> features such as web, database, and application servers but I am
>>>>> still green when it comes to kernel or hardware configuration.
>>>>
>>>> I started learning Linux/UNIX since the year 2005, that is about 7
>>>> years ago. I started using Windows when it was version 3.1. I love
>>>> compiling the latest Linux kernel and assembling my own computer
>>>> hardware.
>>>>
>>>>>
>>>>> My Xen adventure began 35 days ago, and it is no exaggeration to
>>>>> say that in those 35 days I have learned more about linux than I
>>>>> had in the past two years. I like challenges as much as the next
>>>>> IT person, but I ran out of time and ideas for debugging my nVidia
>>>>> problems. The nVidia stretch of my adventure lasted for 24 days
>>>>> through 54 fresh linux installations accompanied by over 200~
>>>>> pages worth of documented failures and not a single pixel sighted.
>>>>
>>>> Why not make your documentation into PDF? It is a very popular
>>>> document format.
>>>>
>>>>>
>>>>> The ATI card took me a day, less than 12 hours of relatively easy
>>>>> debugging by comparison to the aforementioned testing. I do fully
>>>>> understanding financial constraints, but it is a working solution
>>>>> and worth mentioning. I do not know what the prices are like in
>>>>> Singapore, but in the states I was able to buy an ATI Radeon HD
>>>>> 6870 for $160. For me it came down to weighing my objectives
>>>>> against my curiosity.
>>>>
>>>> That ATI Radeon HD 6870 would cost me $279, I think.
>>>>
>>>>>
>>>>> If you do continue your nVidia endeavors I wish you success, but
>>>>> as in my former email VGA passthrough is a new frontier, not even
>>>>> Guru's like David may not be able to help beyond their own
>>>>> hardware experiences.
>>>>
>>>> I don't think VGA passthrough is a new frontier. Oracle VirtualBox
>>>> and Linux KVM supports VGA passthrough as well. Xen ATI VGA
>>>> Passthrough works out of the box, as Tobias Geiger suggested, but
>>>> NVIDIA requires patches.
>>>>
>>>>>
>>>>>
>>>>> Documentation is one problem I agree with you on 100%. I came
>>>>> into this knowing relatively little about Linux & hardware, and
>>>>> nothing about Xen, and most every guide I found assumed I had been
>>>>> in a deep relationship with Linux for many years and had a basic
>>>>> understanding of Xen commands.
>>>>
>>>> I started learning Xen since the year 2007, which is about 5 years ago.
>>>>
>>>>>
>>>>> Like you, I intend to use those documented failures as well as my
>>>>> recent success to create a comprehensive guide with photographs,
>>>>> screen captures, and perhaps even videos going from "assembled
>>>>> computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".
>>>>> Provided the wiki will allow me to upload the screenshots, I'll
>>>>> be certain to post it there.
>>>>
>>>> I will be looking forward to your documentation and videos. Right
>>>> now Xen wiki allows uploading image files and PDF files. Why not
>>>> create a PDF document and share it with all of us? It is known as
>>>> portable document format and is very popular, but it appears that
>>>> xen mailing lists don't like PDF format.
>>>>
>>>> _*I don't like wiki pages because anybody can edit and
>>>> fundamentally mess up the wiki pages, even providing bogus and
>>>> erroneous information. That's why I don't like creating wiki pages.
>>>> Anybody can edit and mess up the information you have painstakingly
>>>> created on the wiki pages. So please take note.*_
>>>>
>>>> --
>>>> Yours sincerely,
>>>>
>>>> Mr. Teo En Ming (Zhang Enming)
>>>> Singapore
>>>>
>>>>
>>>>>
>>>>> ~Casey
>>>>>
>>>>> On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming)
>>>>> <singapore.mr.teo.en.ming [at] gmail
>>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>>
>>>>> --
>>>>> Yours sincerely,
>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>> Singapore Citizen
>>>>>
>>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>>> Prime Minister's Office, Republic of Singapore
>>>>>
>>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>>> Hi Teo,
>>>>>>
>>>>>> I tried David's patch files a while ago *_without success_*.
>>>>>> I had Xen compiled with the patch files and my GTX 460 VGA
>>>>>> BIOS rom, _*but I got the same as you, either a BSOD or Code
>>>>>> 43 in Device Manager.*_
>>>>>>
>>>>>> You sound plenty competent, but it's important to remember
>>>>>> that you are pioneering a technology that for consumers is
>>>>>> still in its infancy. Very few people are testing this with
>>>>>> consumer equipment, so finding results seems to be a rarity.
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Xen-users mailing list
>>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>>> http://lists.xen.org/xen-users
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>


wei.huang2 at amd

Mar 30, 2012, 7:39 AM

Post #15 of 21 (2107 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 03/29/2012 11:55 PM, Teo En Ming (Zhang Enming) wrote:
> On 30/03/2012 07:03, Wei Huang wrote:
>> On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>>> David,
>>>
>>> XenServer VGA Passthrough requires a paid/licensed copy, which costs
>>> $2500, a bit out of my price range for experimentation. Important
>>> to note that the feature is not a part of the 30-day trial license.
>>>
>>> However, Citrix recently visited my college and I was able to
>>> preview hardware access on a laptop one of the employees had, where
>>> they swapped between Ubuntu and Windows with a hotkey, and various
>>> hardware components including onboard GPU and the WebCam were
>>> accessible.
>>>
>>> In testing XenServer, I can say that if I had a business, that's the
>>> product I would use. In the past month having tried Xen and ESXi, I
>>> was astonished with the ease of use for XenServer.
>>>
>>> As for Catalyst, version 12.2 (the latest currently) worked for me.
>>>
>>> Important to note that until I followed Andrews advice to omit the
>>> Catalyst Control Center, the installation resulted in a BSOD.
>> I saw similar issue whiling playing with XenClient. After discussing
>> with AMD GPU driver team, the conclusion was that the installer has a
>> bug. But I have not received any further update from them. Also
>> manual driver installation (after many tries) did fix problem for me.
>>>
>>> The solution, select "Custom" installation and uncheck the CCC.
>>> After the installation your first reboot should run some follow-up
>>> updates via cmd, you need to reboot a second time for fully
>>> functional drivers.
>>>
>>> Also, I had underscan on my monitor so I went out on a limb and
>>> re-ran the setup for Catalyst, and was able to get CCC installed
>>> with a second run through, which allowed me to fix my underscan issue.
>>>
>>> My conclusion is that the CCC requires some driver functionality
>>> that isn't available until after you install the drivers, this could
>>> be on all systems or it might be related to how HVM's handle the PCI
>>> devices, that much I can't say.
>>>
>>>
>>>
>>> Teo,
>>>
>>> I could be spouting nonsense, and if so I'm sure Wei can correct me,
>>> but I am pretty sure AMD engineers have been contributing to Xen for
>>> a while, and some patches have already been applied. Obviously it
>>> isn't flawless, I myself haven't gotten video at boot time, only at
>>> the login screen.
>>>
>> This is because VBIOS patch wasn't applied. But as I said before, my
>> VBIOS wasn't universal enough to put it as a production patch. So I
>> am hesitant to put it out.
>
> Dear Wei Huang at AMD Corporation,
>
> Please put your Xen VGA Passthrough patch out so that all of us can
> have a try.
>
> Thank you very much.
>
http://old-list-archives.xen.org/archives/html/xen-devel/2010-10/msg00284.html
> --
> Yours sincerely,
>
> Mr. Teo En Ming (Zhang Enming)
> Singapore
>
>>> Mine works on 4.1.2, but it is possible that 4.1.0 had less of these
>>> "patches" hence Sebastien's post.
>>>
>>> Also, I apologize as I did not properly word my opinion before. VGA
>>> Passthrough is new "for consumer components". In 2010 the number of
>>> desktop (not server) boards boasting VT-d functionality could
>>> probably be counted on one hand. To my understanding that means the
>>> technology is at most 3 years old, still a baby in my opinion.
>>>
>>> I didn't mean that the technology hadn't been implemented into
>>> various Hypervisors, just that it is clearly not a perfected
>>> feature. If you consider 3 years of consumer availability, dates
>>> become important when researching. Sebastien's post was May 2011,
>>> just shy of one year ago, and Thomas's was in 2010.
>>>
>>> There are newer patches still for ATI in Xen 4.2, which I intend to
>>> test over the next week. I have NOT gotten ATI to work at boot
>>> time, video starts at the login screen.
>>>
>>> I agree with Wei that drivers can contribute to BSOD's and errors,
>>> but when an install doesn't fail but the hardware reacts the same as
>>> before, I would like to assume the driver is irrelative.
>>>
>> Have you looked at XenClient project? It has a customized ATI
>> component which allows you to switch between VMs flawlessly. I think
>> it is the most mature Xen solution for GPU passthru in client area.
>
> Dear Wei Huang at AMD Corporation,
>
> May I know what is the XenClient project?
>
>
>>>
>>> ~Casey
>>>
>>> On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd
>>> <mailto:wei.huang2 [at] amd>> 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)
>>>>>> <singapore.mr.teo.en.ming [at] gmail
>>>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>>>
>>>>>> --
>>>>>> Yours sincerely,
>>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>>> Singapore Citizen
>>>>>>
>>>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien
>>>>>> Loong, Prime Minister's Office, Republic of Singapore
>>>>>>
>>>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>>>> Hi Teo,
>>>>>>>
>>>>>>> I tried David's patch files a while ago *_without
>>>>>>> success_*. I had Xen compiled with the patch files and
>>>>>>> my GTX 460 VGA BIOS rom, _*but I got the same as you,
>>>>>>> either a BSOD or Code 43 in Device Manager.*_
>>>>>>>
>>>>>>> You sound plenty competent, but it's important to
>>>>>>> remember that you are pioneering a technology that for
>>>>>>> consumers is still in its infancy. Very few people are
>>>>>>> testing this with consumer equipment, so finding results
>>>>>>> seems to be a rarity.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Xen-users mailing list
>>>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>>>> http://lists.xen.org/xen-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>
>


cdelorme at gmail

Mar 30, 2012, 10:48 PM

Post #16 of 21 (2111 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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


On Fri, Mar 30, 2012 at 12:48 AM, Teo En Ming (Zhang Enming) <
singapore.mr.teo.en.ming [at] gmail> wrote:

> On 30/03/2012 05:29, Casey DeLorme wrote:
>
> David,
>
> XenServer VGA Passthrough requires a paid/licensed copy, which costs
> $2500, a bit out of my price range for experimentation. Important to note
> that the feature is not a part of the 30-day trial license.
>
> However, Citrix recently visited my college and I was able to preview
> hardware access on a laptop one of the employees had, where they swapped
> between Ubuntu and Windows with a hotkey, and various hardware components
> including onboard GPU and the WebCam were accessible.
>
> In testing XenServer, I can say that if I had a business, that's the
> product I would use. In the past month having tried Xen and ESXi, I was
> astonished with the ease of use for XenServer.
>
> As for Catalyst, version 12.2 (the latest currently) worked for me.
>
> Important to note that until I followed Andrews advice to omit the
> Catalyst Control Center, the installation resulted in a BSOD.
>
> The solution, select "Custom" installation and uncheck the CCC. After
> the installation your first reboot should run some follow-up updates via
> cmd, you need to reboot a second time for fully functional drivers.
>
> Also, I had underscan on my monitor so I went out on a limb and re-ran
> the setup for Catalyst, and was able to get CCC installed with a second run
> through, which allowed me to fix my underscan issue.
>
> My conclusion is that the CCC requires some driver functionality that
> isn't available until after you install the drivers, this could be on all
> systems or it might be related to how HVM's handle the PCI devices, that
> much I can't say.
>
>
>
> Teo,
>
> I could be spouting nonsense, and if so I'm sure Wei can correct me, but
> I am pretty sure AMD engineers have been contributing to Xen for a while,
> and some patches have already been applied. Obviously it isn't flawless, I
> myself haven't gotten video at boot time, only at the login screen.
>
> Mine works on 4.1.2, but it is possible that 4.1.0 had less of these
> "patches" hence Sebastien's post.
>
> Also, I apologize as I did not properly word my opinion before. VGA
> Passthrough is new "for consumer components". In 2010 the number of
> desktop (not server) boards boasting VT-d functionality could probably be
> counted on one hand. To my understanding that means the technology is at
> most 3 years old, still a baby in my opinion.
>
> I didn't mean that the technology hadn't been implemented into various
> Hypervisors, just that it is clearly not a perfected feature. If you
> consider 3 years of consumer availability, dates become important when
> researching. Sebastien's post was May 2011, just shy of one year ago, and
> Thomas's was in 2010.
>
> There are newer patches still for ATI in Xen 4.2, which I intend to test
> over the next week. I have NOT gotten ATI to work at boot time, video
> starts at the login screen.
>
>
> Dear Casey DeLorme,
>
> I am sorry to say that I don't quite understand by what you say when you
> state that you haven't got ATI VGA card to work at boot time, video starts
> at the login screen. I am puzzled.
>
> Do you think you could record your Xen VGA Passthrough computer with a
> video camera and upload your video to Youtube so that I can watch it?
>
>
> Thank you very much.
>
> --
> Yours sincerely,
>
> Mr. Teo En Ming (Zhang Enming)
> Singapore
>
>
>
> I agree with Wei that drivers can contribute to BSOD's and errors, but
> when an install doesn't fail but the hardware reacts the same as before, I
> would like to assume the driver is irrelative.
>
>
> ~Casey
>
> On Thu, Mar 29, 2012 at 4:11 PM, Wei Huang <wei.huang2 [at] amd> 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) <
>> singapore.mr.teo.en.ming [at] gmail> wrote:
>>
>>> Dearest Casey DeLorme,
>>>
>>> Thank you very very much for your kind feedback and input. I would also
>>> like to thank Mr. Tobias Geiger, again, for providing his suggestion on
>>> exposing the fourth memory region in
>>> tools/firmware/hvmloader/acpi/dsdt.asl. *In any case, either exposing
>>> the first 3 memory regions only or exposing all the 4 memory regions does
>>> not work.* Sadly, Tobias Geiger is unable to help me further.
>>>
>>> I have asked Jean David Techer, what about the 4th PCI memory region?
>>> Why only expose the first 3 PCI memory regions? I don't understand, of
>>> course. Jean David Techer did not reply to my question.
>>>
>>> I have decided to post your prompt reply to the xen-users and xen-devel
>>> mailing lists, in case people think that I am finding fault with Jean David
>>> Techer, or trying to irritate him, or trying to make him angry, or trying
>>> to aggravate him. Jean David Techer replied me with an email saying that I
>>> *spent too much time* and *too bent* on solving the yellow exclamation
>>> mark glitch for my NVIDIA Geforce 8400GS in Device Manager in Windows 8
>>> Consumer Preview and Windows XP Home Edition, and that I sent *stupid*requests. Stupid requests? Did he read my emails carefully, word by word?
>>>
>>> Casey DeLorme, please, can I confirm with you again that you are getting
>>> the following errors after applying Jean David Techer's Xen 4.2-unstable
>>> VGA Passthrough patches:
>>>
>>> *(1) Yellow exclamation mark besides your NVIDIA GTX 460 in Device
>>> Manager
>>> (2) Windows has stopped this device because it has reported problems.
>>> (Code 43)
>>> (3) This device isn't using any resources because it has a problem.*
>>>
>>> Jean David Techer insists that our technical issues are due to a NVIDIA
>>> driver problem. He insists that you have to install NVIDIA driver versions
>>> 275.33 WHQL and 275.50 BETA. Any other NVIDIA driver versions (above
>>> 280.XX) will not work, according to Jean David Techer. *However, I have
>>> tried installing NVIDIA driver versions 275.33 and 275.50 from
>>> www.softpedia.com, as he suggested, but it caused my Windows XP Home
>>> Edition HVM virtual machine to be destroyed/terminated/crash after a few
>>> minutes and my dom0 to crash as well.* NVIDIA driver versions 275.33
>>> and 275.50 for Windows XP 32-bit is not available from the official NVIDIA
>>> website.
>>>
>>> So it is definitely not a NVIDIA driver problem. I suspect that the
>>> technical issue has to do with *MMIO BARs pBAR:vBAR 1:1 matching*. I
>>> don't think there is any problem with vgabios-pt.bin extracted out from our
>>> NVIDIA VGA cards, because I have performed a "hexdump -C" on my extracted
>>> VGA BIOS EEPROM, or Electrically Erasable Programmable Read Only Memory.
>>>
>>> Secondly, it does seem strange that Jean David Techer was able to attain
>>> *100%*, ie. *perfect success* with Xen 4.2-unstable VGA Passthrough to
>>> his Windows XP 32-bit and 64-bit HVM domU. Have you watched his Youtube
>>> video? It is only 4 minutes. Please do watch Jean David Techer's Youtube
>>> video at the following URL:
>>>
>>> Jean David Techer's Xen 4.2-unstable VGA Passthrough to Windows XP x64
>>> HVM domU Youtube video link: *http://www.youtube.com/watch?v=3SaYO0ERW44
>>> *
>>>
>>> I am *appalled* and *baffled* that he has attained *100% success* while
>>> both of us have only attained *partial success* (*i.e. less than 100%*)
>>> on Xen 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and
>>> Windows XP.
>>>
>>> *Solving the yellow exclamation mark issue is important because we
>>> would not be able to run 3D graphics benchmarks and play 3D games without
>>> solving it. I am not sending silly emails about some yellow marks, as Jean
>>> David Techer suggested. I can't even run Unigine Heaven DX11, and 3dmark11
>>> 3D display benchmarks, because of the yellow exclamation mark for NVIDIA
>>> Geforce 8400 GS in Device Manager.*
>>>
>>> Casey DeLorme, with your report on relatively easy success with ATI VGA
>>> cards, I think I would go the ATI way, but I would have to spend a few
>>> hundred dollars compared to my cheap SGD$44 NVIDIA Geforce 8400 GS card.
>>> And while deciding to go the ATI way, I would also like to continue
>>> troubleshooting with the NVIDIA problem, because I consider it to be a
>>> technical challenge.
>>>
>>> In essence, Jean David Techner is considered to be a "boss", or business
>>> owner, or proprietor, or technopreneur, or entrepreneur, or technical
>>> support officer, or customer support officer, or IT helpdesk engineer,
>>> providing services like his forward-ported Xen 4.2-unstable VGA Passthrough
>>> patches and the documentation on his blog. I repost Jean David Techer's
>>> official website here:
>>>
>>> Jean David Techer's Xen 4.2-unstable VGA Passthrough blog: *
>>> http://www.davidgis.fr/blog/index.php?2011/12/07/860-xen-42unstable-patches-for-vga-pass-through
>>> *
>>>
>>> Jean David Techer's official website is his business venture.
>>>
>>> Basically, I am Jean David Techer's *"customer"*, trying to obtain
>>> technical support from him. Of course, he is *not obliged* to provide
>>> technical support to me since he is providing *free* services. It is,
>>> after all, an open source software project. Nobody is obliged to provide
>>> anybody with technical support. *To do Jean David Techer justice, he
>>> replied most of my questions while avoiding some of my questions.*
>>>
>>> Finally, I have also failed to obtain technical support from Xen
>>> developers like Ian Campbell from *Citrix Corporation* and Konrad Wilk
>>> from *Oracle Corporation*. *I have always provided all the steps which
>>> I have taken, the configuration files and necessary documentation, and
>>> kernel messages and error logs* to xen-users and xen-devel mailing
>>> lists, but they keep insisting I did not provide the information they
>>> required. I wondered why. I think they did not read my emails carefully.
>>> They told me they would not reply to me any more if I do not provide the
>>> information they requested. *But the problem is that I have always
>>> provided information they requested!* I think they missed some of my
>>> emails, or did not read my emails carefully enough. I am an *ardent
>>> supporter* and *SERIOUS software tester* for open source Xen
>>> virtualization/hypervisor but they treated me lightly. *I always read
>>> my emails WORD BY WORD.* I have even went to the point of making a
>>> video on the *BUG* and uploading my video to Youtube. The video is only
>>> THREE minutes.
>>>
>>> *As everybody says, a picture is worth a thousand words. A video is
>>> worth a BILLION words!*
>>>
>>> I have also failed to obtain technical support from Xen developers
>>> regarding Xen 4.2-unstable VGA Passthrough.
>>>
>>> I am hoping Xen 4.2 would have official support for Xen VGA Passthrough
>>> for both NVIDIA and ATI cards.
>>>
>>> Casey DeLorme, thank you very much once again. I will be making changes
>>> to my Xen, Linux Kernel and Xen VGA Passthrough Documentation and will be
>>> releasing Version 1.7 shortly. Jean David Techer's documentation assumes
>>> some level of advanced Linux technical knowledge, so I am writing
>>> documentation on my own so that everybody, not just advanced Linux and Xen
>>> users, can follow. I have made references to Jean David Techer's
>>> documentation in my own documentation.
>>>
>>> I would be very happy if people would use my documentation. Of course,
>>> it satisfies my ego and my vanity. Haha.
>>>
>>> I have been un-employed for nearly three years now, and I would hesitate
>>> to spend a few hundred dollars on an ATI VGA card. I quit my job as an IT
>>> engineer 3 years ago because my father suffered from lacunar infarct, or
>>> more commonly known as stroke. My NVIDIA Geforce 8400 GS costs only S$44.
>>> Please understand why I hesitate to buy an ATI VGA card. The cheapest one
>>> costs SGD$279.
>>>
>>> I have a diploma in Mechanical+Electronics engineering from Singapore
>>> Polytechnic and a Bachelor's degree in Mechanical Engineering from the
>>> National University of Singapore. But I do not have qualifications in
>>> Computer Science or Information Technology. I have worked as an Information
>>> Technology engineer in Defense Science and Technology Agency, Ministry of
>>> Defense, Singapore, National Computer Systems Pte Ltd, Asiasoft Online Pte
>>> Ltd, and Ishinemax Singapore Pte Ltd.
>>>
>>> Google search terms: Frenchman Jean David Techer, Singaporean Teo En
>>> Ming's Xen, Linux Kernel and Xen VGA Passthrough Documentation, Xen
>>> 4.2-unstable VGA Passthrough to Windows 8 Consumer Preview and Windows XP
>>> HVM Virtual Machines
>>>
>>> Thank you very much for reading my lengthy email. I am always courteous,
>>> saying "Please help me. Please. Please. Please." and "Thank you very much
>>> for your kind assistance" in my emails.
>>>
>>> Thank you very much.
>>>
>>> --
>>> Yours sincerely,
>>> Mr. Teo En Ming (Zhang Enming)
>>> Singapore Citizen
>>>
>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong, Prime
>>> Minister's Office, Republic of Singapore
>>>
>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>
>>> Hi Teo,
>>>
>>> I tried David's patch files a while ago *without success*. I had Xen
>>> compiled with the patch files and my GTX 460 VGA BIOS rom, *but I got
>>> the same as you, either a BSOD or Code 43 in Device Manager.*
>>>
>>> You sound plenty competent, but it's important to remember that you
>>> are pioneering a technology that for consumers is still in its infancy.
>>> Very few people are testing this with consumer equipment, so finding
>>> results seems to be a rarity.
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Xen-users mailing list
>>> Xen-users [at] lists
>>> http://lists.xen.org/xen-users
>>>
>>
>>
>>
>>
>>
>>
>>
>
>
>


pasik at iki

Mar 31, 2012, 3:49 AM

Post #17 of 21 (2100 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On Thu, Mar 29, 2012 at 06:03:17PM -0500, Wei Huang wrote:
> On 03/29/2012 04:29 PM, Casey DeLorme wrote:
>
> David,
> XenServer VGA Passthrough requires a paid/licensed copy, which costs
> $2500, a bit out of my price range for experimentation. Important to
> note that the feature is not a part of the 30-day trial license.
> However, Citrix recently visited my college and I was able to preview
> hardware access on a laptop one of the employees had, where they swapped
> between Ubuntu and Windows with a hotkey, and various hardware
> components including onboard GPU and the WebCam were accessible.
> In testing XenServer, I can say that if I had a business, that's the
> product I would use. In the past month having tried Xen and ESXi, I was
> astonished with the ease of use for XenServer.
> As for Catalyst, version 12.2 (the latest currently) worked for me.
> Important to note that until I followed Andrews advice to omit the
> Catalyst Control Center, the installation resulted in a BSOD.
>
> I saw similar issue whiling playing with XenClient. After discussing with
> AMD GPU driver team, the conclusion was that the installer has a bug. But
> I have not received any further update from them. Also manual driver
> installation (after many tries) did fix problem for me.
>

Good to know the manual method works.


> The solution, select "Custom" installation and uncheck the CCC. After
> the installation your first reboot should run some follow-up updates via
> cmd, you need to reboot a second time for fully functional drivers.
> Also, I had underscan on my monitor so I went out on a limb and re-ran
> the setup for Catalyst, and was able to get CCC installed with a second
> run through, which allowed me to fix my underscan issue.
> My conclusion is that the CCC requires some driver functionality that
> isn't available until after you install the drivers, this could be on
> all systems or it might be related to how HVM's handle the PCI devices,
> that much I can't say.
> Teo,
> I could be spouting nonsense, and if so I'm sure Wei can correct me, but
> I am pretty sure AMD engineers have been contributing to Xen for a
> while, and some patches have already been applied. Obviously it isn't
> flawless, I myself haven't gotten video at boot time, only at the login
> screen.
>
> This is because VBIOS patch wasn't applied. But as I said before, my VBIOS
> wasn't universal enough to put it as a production patch. So I am hesitant
> to put it out.
>

Isn't it better than nothing? More GPU support could be added later?


-- Pasi


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


andreww591 at gmail

Apr 2, 2012, 6:35 PM

Post #18 of 21 (2139 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 3/31/12, Casey DeLorme <cdelorme [at] gmail> wrote:
> 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
>

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

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


singapore.mr.teo.en.ming at gmail

May 6, 2012, 10:20 PM

Post #19 of 21 (1967 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

On 30/03/2012 22:38, Wei Huang wrote:
> On 03/29/2012 11:36 PM, Teo En Ming (Zhang Enming) wrote:
>> On 30/03/2012 04:11, Wei Huang wrote:
>>> On 03/29/2012 01:35 PM, Teo En Ming (Zhang Enming) wrote:
>>>> Dear Casey DeLorme,
>>>>
>>>> This guy, Sebastien Gauthier, also has the same problems as us. He
>>>> was using Xen 4.1.0 and an ATI Radeon 4550. He applied Mr. Wei
>>>> Huang's patch. After installing the latest ATI/AMD Catalyst
>>>> drivers, he got a BSOD with Xen VGA Passthrough to Windows 7.
>>>>
>>>> Please read Sebastien Gauthier's case here:
>>>>
>>>> http://readlist.com/lists/lists.xensource.com/xen-users/11/59090.html
>>>>
>>>> Hence Sebastien Gauthier reported Xen VGA Passthrough with PARTIAL
>>>> SUCCESS, like us.
>>>>
>>>> Dear Tobias Geiger,
>>>>
>>>> You were saying that with ATI VGA cards, you do not need to apply
>>>> any Xen VGA Passthrough patches. But this guy Sebastien Gauthier
>>>> applied Mr. Wei Huang's patches to Xen 4.1.0 and got a BSOD after
>>>> installing ATI Catalyst drivers. Sebastien Gauthier did not get
>>>> 100% success with Xen VGA Passthrough to Windows 7 using an ATI VGA
>>>> card.
>>>>
>>> Hi Teo,
>>>
>>> The VBIOS patch I sent out did not work for all ATI cards. The patch
>>> itself assumed certain behavior of GPU VBIOS. But this doesn't apply
>>> to every GPU generation. From this perspective, my patch isn't
>>> universal. Also there are many factors, some of which are not in
>>> control by us (like graphics driver), can contribute to BSOD you
>>> mentioned. I am not in a position to debug it for everyone's card
>>> (as I don't have all cards).
>>>
>>> Thanks,
>>> -Wei
>>
>> Dear Mr. Wei Huang at AMD Corporation,
>>
>> Thank you very much for your kind reply.
>>
>> I want to buy the following ATI Radeon VGA card. Do you think it
>> would work with your Xen VGA Passthrough patch to Xen 4.2-unstable???
>>
>> Sapphire HD5450 512MB Singapore Dollars $55
>>
>> I am a cheapskate when it comes to spending money.
>>
> I don't have HD5450 card. So I can't test it and can't answer your
> question directly. If I have some time later, I will test other HD5xxx
> cards and test you the result. Normally GPUs of same family behave
> similarly.
>> If your Xen VGA Passthrough patch to Xen 4.2-unstable works with the
>> above ATI VGA card, I will go ahead and buy it. Do I have to manually
>> patch Xen 4.2-unstable or is your patch already included in Xen
>> 4.2-unstable source tree?
> My patch was against QEMU. It is not included in the tree.


Dear Wei Huang,

How do I use your VGA Passthrough patch with Xen 4.2-unstable?

Thank you.


>>
>> Secondly, I have a request/favor to ask of you. Do you think it is
>> possible for you to examine the Xen 4.2-unstable VGA Passthrough
>> patches hosted at Jean David Techer's website and check if it is
>> compatible with Xen 4.2-unstable code?
>>
>> Thirdly and finally, could you read through my Xen VGA Passthrough
>> Version 1.7 documentation to see if there are ANY MISTAKES with
>> NVIDIA Geforce 8400 GS VGA Passthrough, because I am only getting
>> PARTIAL SUCCESS.
>>
>> If you could write Xen VGA Passthrough patches, you are an expert
>> software engineer.
>>
>> Thank you very very very much.
>>
>> --
>> Yours sincerely,
>>
>> Mr. Teo En Ming (Zhang Enming)
>> Singapore
>>
>>
>>>> --
>>>> Yours sincerely,
>>>>
>>>> Mr. Teo En Ming (Zhang Enming)
>>>> Singapore
>>>>
>>>>
>>>>
>>>>
>>>> On 29/03/2012 23:50, Teo En Ming (Zhang Enming) wrote:
>>>>> On 29/03/2012 12:29, Casey DeLorme wrote:
>>>>>> My mistake for not hitting "Reply to All", sorry.
>>>>>
>>>>> No worries Casey.
>>>>>
>>>>>>
>>>>>> It might be of some value to mention that my tests were with
>>>>>> Windows 7, I have no interest in using XP anymore. Also, I did
>>>>>> all of my testing through remote VNC, not once did I actually get
>>>>>> video, even 2D, working.
>>>>>
>>>>> I bought 2 copies of Windows XP Home Edition in the past because
>>>>> it is cheap, at S$145. I did not buy Windows 7 because it is
>>>>> expensive. I got video working all right, but only 2D. I cannot
>>>>> get 3D graphics working.
>>>>>
>>>>>> However, my errors are exactly as you described:
>>>>>>
>>>>>> 1. Windows recognizes the model (GTX 460), not "unknown PCI device".
>>>>>> 2. Device code 43.
>>>>>> 3. No resources assigned to the device.
>>>>>
>>>>> We have the same set of errors.
>>>>>
>>>>>>
>>>>>> Might be worth mentioning, I was able to run the latest nVidia
>>>>>> driver installation without errors, but after rebooting there was
>>>>>> no change, same error code, still no video.
>>>>>
>>>>> Same situation here with the latest NVIDIA drivers. But I only
>>>>> have 2D video working. I can't get 3D video to work.
>>>>>
>>>>>> To me this would be evidence that driver version isn't a
>>>>>> problem, but then again I didn't have anything actually working.
>>>>>
>>>>> I agree that driver version isn't a problem. Something is wrong
>>>>> somewhere.
>>>>>
>>>>>>
>>>>>>
>>>>>> I am an IT student in college, so my experience is limited to
>>>>>> mostly programming with very little knowledge of the
>>>>>> inner-workings of hardware. So, forgive me for being unable to
>>>>>> help with regards to memory addresses on the cards.
>>>>>
>>>>> I am hoping that Intel engineers and Xen developers would be able
>>>>> to help.
>>>>>
>>>>>>
>>>>>> I've been using *nix for about 4 years, and Windows since I my
>>>>>> age was a single digit. I have had experience setting up server
>>>>>> features such as web, database, and application servers but I am
>>>>>> still green when it comes to kernel or hardware configuration.
>>>>>
>>>>> I started learning Linux/UNIX since the year 2005, that is about 7
>>>>> years ago. I started using Windows when it was version 3.1. I love
>>>>> compiling the latest Linux kernel and assembling my own computer
>>>>> hardware.
>>>>>
>>>>>>
>>>>>> My Xen adventure began 35 days ago, and it is no exaggeration to
>>>>>> say that in those 35 days I have learned more about linux than I
>>>>>> had in the past two years. I like challenges as much as the next
>>>>>> IT person, but I ran out of time and ideas for debugging my
>>>>>> nVidia problems. The nVidia stretch of my adventure lasted for
>>>>>> 24 days through 54 fresh linux installations accompanied by over
>>>>>> 200~ pages worth of documented failures and not a single pixel
>>>>>> sighted.
>>>>>
>>>>> Why not make your documentation into PDF? It is a very popular
>>>>> document format.
>>>>>
>>>>>>
>>>>>> The ATI card took me a day, less than 12 hours of relatively easy
>>>>>> debugging by comparison to the aforementioned testing. I do
>>>>>> fully understanding financial constraints, but it is a working
>>>>>> solution and worth mentioning. I do not know what the prices are
>>>>>> like in Singapore, but in the states I was able to buy an ATI
>>>>>> Radeon HD 6870 for $160. For me it came down to weighing my
>>>>>> objectives against my curiosity.
>>>>>
>>>>> That ATI Radeon HD 6870 would cost me $279, I think.
>>>>>
>>>>>>
>>>>>> If you do continue your nVidia endeavors I wish you success, but
>>>>>> as in my former email VGA passthrough is a new frontier, not even
>>>>>> Guru's like David may not be able to help beyond their own
>>>>>> hardware experiences.
>>>>>
>>>>> I don't think VGA passthrough is a new frontier. Oracle VirtualBox
>>>>> and Linux KVM supports VGA passthrough as well. Xen ATI VGA
>>>>> Passthrough works out of the box, as Tobias Geiger suggested, but
>>>>> NVIDIA requires patches.
>>>>>
>>>>>>
>>>>>>
>>>>>> Documentation is one problem I agree with you on 100%. I came
>>>>>> into this knowing relatively little about Linux & hardware, and
>>>>>> nothing about Xen, and most every guide I found assumed I had
>>>>>> been in a deep relationship with Linux for many years and had a
>>>>>> basic understanding of Xen commands.
>>>>>
>>>>> I started learning Xen since the year 2007, which is about 5 years
>>>>> ago.
>>>>>
>>>>>>
>>>>>> Like you, I intend to use those documented failures as well as my
>>>>>> recent success to create a comprehensive guide with photographs,
>>>>>> screen captures, and perhaps even videos going from "assembled
>>>>>> computer" to "Complete Xen Dom0 /w HVM & VGA Passthrough".
>>>>>> Provided the wiki will allow me to upload the screenshots, I'll
>>>>>> be certain to post it there.
>>>>>
>>>>> I will be looking forward to your documentation and videos. Right
>>>>> now Xen wiki allows uploading image files and PDF files. Why not
>>>>> create a PDF document and share it with all of us? It is known as
>>>>> portable document format and is very popular, but it appears that
>>>>> xen mailing lists don't like PDF format.
>>>>>
>>>>> _*I don't like wiki pages because anybody can edit and
>>>>> fundamentally mess up the wiki pages, even providing bogus and
>>>>> erroneous information. That's why I don't like creating wiki
>>>>> pages. Anybody can edit and mess up the information you have
>>>>> painstakingly created on the wiki pages. So please take note.*_
>>>>>
>>>>> --
>>>>> Yours sincerely,
>>>>>
>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>> Singapore
>>>>>
>>>>>
>>>>>>
>>>>>> ~Casey
>>>>>>
>>>>>> On Wed, Mar 28, 2012 at 10:21 PM, Teo En Ming (Zhang Enming)
>>>>>> <singapore.mr.teo.en.ming [at] gmail
>>>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>>>
>>>>>> --
>>>>>> Yours sincerely,
>>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>>> Singapore Citizen
>>>>>>
>>>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien Loong,
>>>>>> Prime Minister's Office, Republic of Singapore
>>>>>>
>>>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>>>> Hi Teo,
>>>>>>>
>>>>>>> I tried David's patch files a while ago *_without success_*.
>>>>>>> I had Xen compiled with the patch files and my GTX 460 VGA
>>>>>>> BIOS rom, _*but I got the same as you, either a BSOD or Code
>>>>>>> 43 in Device Manager.*_
>>>>>>>
>>>>>>> You sound plenty competent, but it's important to remember
>>>>>>> that you are pioneering a technology that for consumers is
>>>>>>> still in its infancy. Very few people are testing this with
>>>>>>> consumer equipment, so finding results seems to be a rarity.
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Xen-users mailing list
>>>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>>>> http://lists.xen.org/xen-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>


--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


singapore.mr.teo.en.ming at gmail

May 6, 2012, 10:42 PM

Post #20 of 21 (2001 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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 <wei.huang2 [at] amd
>>>> <mailto:wei.huang2 [at] amd>> 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)
>>>>>>> <singapore.mr.teo.en.ming [at] gmail
>>>>>>> <mailto:singapore.mr.teo.en.ming [at] gmail>> 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 *_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.
>>>>>>>
>>>>>>> --
>>>>>>> Yours sincerely,
>>>>>>> Mr. Teo En Ming (Zhang Enming)
>>>>>>> Singapore Citizen
>>>>>>>
>>>>>>> cc: His Excellency The Prime Minister Mr. Lee Hsien
>>>>>>> Loong, Prime Minister's Office, Republic of Singapore
>>>>>>>
>>>>>>> On 29/03/2012 03:53, Casey DeLorme wrote:
>>>>>>>> Hi Teo,
>>>>>>>>
>>>>>>>> I tried David's patch files a while ago *_without
>>>>>>>> success_*. I had Xen compiled with the patch files and
>>>>>>>> my GTX 460 VGA BIOS rom, _*but I got the same as you,
>>>>>>>> either a BSOD or Code 43 in Device Manager.*_
>>>>>>>>
>>>>>>>> You sound plenty competent, but it's important to
>>>>>>>> remember that you are pioneering a technology that for
>>>>>>>> consumers is still in its infancy. Very few people are
>>>>>>>> testing this with consumer equipment, so finding
>>>>>>>> results seems to be a rarity.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Xen-users mailing list
>>>>>>> Xen-users [at] lists <mailto:Xen-users [at] lists>
>>>>>>> http://lists.xen.org/xen-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>
>>
>


--
Yours sincerely,

Mr. Teo En Ming (Zhang Enming)
Singapore


Wei.Huang2 at amd

May 7, 2012, 2:44 PM

Post #21 of 21 (2001 views)
Permalink
Re: [Xen-devel] [REQUEST] Request for Xen Users to Attempt Jean David Techer's Xen 4.2-unstable VGA Passthrough Documentation [In reply to]

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:singapore.mr.teo.en.ming [at] gmail]
Sent: Monday, May 07, 2012 12:42 AM
To: Huang2, Wei
Cc: Casey DeLorme; xen-users [at] lists; Tobias Geiger; xen-devel [at] lists; '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 <wei.huang2 [at] amd<mailto:wei.huang2 [at] amd>> 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) <singapore.mr.teo.en.ming [at] gmail<mailto:singapore.mr.teo.en.ming [at] gmail>> 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

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

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

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

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




_______________________________________________
Xen-users mailing list
Xen-users [at] lists<mailto:Xen-users [at] lists>
http://lists.xen.org/xen-users












--

Yours sincerely,



Mr. Teo En Ming (Zhang Enming)

Singapore

Xen users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.