* [Qemu-devel] No video for Windows 2000 guest
@ 2017-08-09 14:56 Programmingkid
2017-08-09 16:37 ` Paolo Bonzini
0 siblings, 1 reply; 12+ messages in thread
From: Programmingkid @ 2017-08-09 14:56 UTC (permalink / raw)
To: Paolo Bonzini, Richard Henderson, ehabkost
Cc: qemu-devel@nongnu.org qemu-devel
The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
This is the command-line I used:
qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 14:56 [Qemu-devel] No video for Windows 2000 guest Programmingkid
@ 2017-08-09 16:37 ` Paolo Bonzini
2017-08-09 17:18 ` Michael S. Tsirkin
2017-08-09 18:12 ` Programmingkid
0 siblings, 2 replies; 12+ messages in thread
From: Paolo Bonzini @ 2017-08-09 16:37 UTC (permalink / raw)
To: Programmingkid, Richard Henderson, ehabkost
Cc: qemu-devel@nongnu.org qemu-devel
On 09/08/2017 16:56, Programmingkid wrote:
> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
>
> This is the command-line I used:
>
> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
>
> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
Did it work in 2.9?
Paolo
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 16:37 ` Paolo Bonzini
@ 2017-08-09 17:18 ` Michael S. Tsirkin
2017-08-09 17:54 ` Programmingkid
2017-08-09 18:12 ` Programmingkid
1 sibling, 1 reply; 12+ messages in thread
From: Michael S. Tsirkin @ 2017-08-09 17:18 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Programmingkid, Richard Henderson, ehabkost,
qemu-devel@nongnu.org qemu-devel
On Wed, Aug 09, 2017 at 06:37:12PM +0200, Paolo Bonzini wrote:
> On 09/08/2017 16:56, Programmingkid wrote:
> > The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
> >
> > This is the command-line I used:
> >
> > qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
> >
> > When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
>
> Did it work in 2.9?
>
> Paolo
Generally bisect is extremely helpful to debug these issues.
--
MST
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 17:18 ` Michael S. Tsirkin
@ 2017-08-09 17:54 ` Programmingkid
2017-08-09 18:05 ` Michael S. Tsirkin
0 siblings, 1 reply; 12+ messages in thread
From: Programmingkid @ 2017-08-09 17:54 UTC (permalink / raw)
To: Michael S. Tsirkin
Cc: Paolo Bonzini, Richard Henderson, ehabkost,
qemu-devel@nongnu.org qemu-devel
> On Aug 9, 2017, at 1:18 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Wed, Aug 09, 2017 at 06:37:12PM +0200, Paolo Bonzini wrote:
>> On 09/08/2017 16:56, Programmingkid wrote:
>>> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
>>>
>>> This is the command-line I used:
>>>
>>> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
>>>
>>> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
>>
>> Did it work in 2.9?
>>
>> Paolo
>
> Generally bisect is extremely helpful to debug these issues.
I tried but the acpi issue kept Windows 2000 from booting.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 17:54 ` Programmingkid
@ 2017-08-09 18:05 ` Michael S. Tsirkin
2017-08-09 19:22 ` Michael S. Tsirkin
0 siblings, 1 reply; 12+ messages in thread
From: Michael S. Tsirkin @ 2017-08-09 18:05 UTC (permalink / raw)
To: Programmingkid
Cc: Paolo Bonzini, Richard Henderson, ehabkost,
qemu-devel@nongnu.org qemu-devel
On Wed, Aug 09, 2017 at 01:54:23PM -0400, Programmingkid wrote:
>
> > On Aug 9, 2017, at 1:18 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Wed, Aug 09, 2017 at 06:37:12PM +0200, Paolo Bonzini wrote:
> >> On 09/08/2017 16:56, Programmingkid wrote:
> >>> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
> >>>
> >>> This is the command-line I used:
> >>>
> >>> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
> >>>
> >>> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
> >>
> >> Did it work in 2.9?
> >>
> >> Paolo
> >
> > Generally bisect is extremely helpful to debug these issues.
>
> I tried but the acpi issue kept Windows 2000 from booting.
You can just revert that on top of each bisect.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 16:37 ` Paolo Bonzini
2017-08-09 17:18 ` Michael S. Tsirkin
@ 2017-08-09 18:12 ` Programmingkid
2017-08-09 22:42 ` Paolo Bonzini
2017-08-10 3:51 ` Thomas Huth
1 sibling, 2 replies; 12+ messages in thread
From: Programmingkid @ 2017-08-09 18:12 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Richard Henderson, ehabkost, qemu-devel@nongnu.org qemu-devel
> On Aug 9, 2017, at 12:37 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 09/08/2017 16:56, Programmingkid wrote:
>> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
>>
>> This is the command-line I used:
>>
>> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
>>
>> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
>
> Did it work in 2.9?
>
> Paolo
I haven't test version QEMU 2.9.0 but I did test version 2.8.0 and it has the same problem. Starting up Windows 2000 in VGA mode allowed me to access the operating system. Found out QEMU's default video controller is not recognized. In the Device Manager I can see a yellow question mark for Video Controller (VGA Compatible). I remember Windows 2000 being able to use the default video card in QEMU in the past. I may be able to bisect this issue after all.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 18:05 ` Michael S. Tsirkin
@ 2017-08-09 19:22 ` Michael S. Tsirkin
0 siblings, 0 replies; 12+ messages in thread
From: Michael S. Tsirkin @ 2017-08-09 19:22 UTC (permalink / raw)
To: Programmingkid
Cc: Paolo Bonzini, Richard Henderson, ehabkost,
qemu-devel@nongnu.org qemu-devel
On Wed, Aug 09, 2017 at 09:05:54PM +0300, Michael S. Tsirkin wrote:
> On Wed, Aug 09, 2017 at 01:54:23PM -0400, Programmingkid wrote:
> >
> > > On Aug 9, 2017, at 1:18 PM, Michael S. Tsirkin <mst@redhat.com> wrote:
> > >
> > > On Wed, Aug 09, 2017 at 06:37:12PM +0200, Paolo Bonzini wrote:
> > >> On 09/08/2017 16:56, Programmingkid wrote:
> > >>> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
> > >>>
> > >>> This is the command-line I used:
> > >>>
> > >>> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
> > >>>
> > >>> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
> > >>
> > >> Did it work in 2.9?
> > >>
> > >> Paolo
> > >
> > > Generally bisect is extremely helpful to debug these issues.
> >
> > I tried but the acpi issue kept Windows 2000 from booting.
>
> You can just revert that on top of each bisect.
IOW after each bisect go
git revert 77af8a2b
test it
then reset back and continue with bisect
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 18:12 ` Programmingkid
@ 2017-08-09 22:42 ` Paolo Bonzini
2017-08-10 3:11 ` Programmingkid
2017-08-10 3:51 ` Thomas Huth
1 sibling, 1 reply; 12+ messages in thread
From: Paolo Bonzini @ 2017-08-09 22:42 UTC (permalink / raw)
To: Programmingkid
Cc: Richard Henderson, ehabkost, qemu-devel@nongnu.org qemu-devel
> I haven't test version QEMU 2.9.0 but I did test version 2.8.0 and it has the
> same problem. Starting up Windows 2000 in VGA mode allowed me to access the
> operating system. Found out QEMU's default video controller is not
> recognized. In the Device Manager I can see a yellow question mark for Video
> Controller (VGA Compatible). I remember Windows 2000 being able to use the
> default video card in QEMU in the past. I may be able to bisect this issue
> after all.
Try going back to 2.7.0 and so on...
Paolo
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 22:42 ` Paolo Bonzini
@ 2017-08-10 3:11 ` Programmingkid
0 siblings, 0 replies; 12+ messages in thread
From: Programmingkid @ 2017-08-10 3:11 UTC (permalink / raw)
To: Paolo Bonzini
Cc: Richard Henderson, ehabkost, qemu-devel@nongnu.org qemu-devel
> On Aug 9, 2017, at 6:42 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
>
>> I haven't test version QEMU 2.9.0 but I did test version 2.8.0 and it has the
>> same problem. Starting up Windows 2000 in VGA mode allowed me to access the
>> operating system. Found out QEMU's default video controller is not
>> recognized. In the Device Manager I can see a yellow question mark for Video
>> Controller (VGA Compatible). I remember Windows 2000 being able to use the
>> default video card in QEMU in the past. I may be able to bisect this issue
>> after all.
>
> Try going back to 2.7.0 and so on...
>
> Paolo
I went back all the way to 2.4.1 to find a version that works. I've ran into problems with compiling QEMU a little beyond that. I'm seeing this error:
fatal error:
'epoxy/egl.h' file not found
#include <epoxy/egl.h>
It will take me a while to figure out how to fix this issue. I did see some very interesting commits up ahead that involve VGA. If you look at this page: https://github.com/qemu/qemu/commits/stable-2.5, there are five patches that effect VGA. I'm thinking one of them might be the problem.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-09 18:12 ` Programmingkid
2017-08-09 22:42 ` Paolo Bonzini
@ 2017-08-10 3:51 ` Thomas Huth
2017-08-10 7:37 ` Michael Tokarev
1 sibling, 1 reply; 12+ messages in thread
From: Thomas Huth @ 2017-08-10 3:51 UTC (permalink / raw)
To: Programmingkid, Paolo Bonzini
Cc: qemu-devel@nongnu.org qemu-devel, ehabkost, Richard Henderson
On 09.08.2017 20:12, Programmingkid wrote:
>
>> On Aug 9, 2017, at 12:37 PM, Paolo Bonzini <pbonzini@redhat.com> wrote:
>>
>> On 09/08/2017 16:56, Programmingkid wrote:
>>> The default vga card not longer works with a Windows 2000 guest. All I see is a black screen after a the Windows splash screen.
>>>
>>> This is the command-line I used:
>>>
>>> qemu-system-i386 -hda Windows2000HD.qcow2 -boot c -m 512
>>>
>>> When using the -vga cirrus option video works. Testing was done with QEMU v2.10.0 rc2.
>>
>> Did it work in 2.9?
>>
>> Paolo
>
> I haven't test version QEMU 2.9.0 but I did test version 2.8.0 and it has the same problem. Starting up Windows 2000 in VGA mode allowed me to access the operating system. Found out QEMU's default video controller is not recognized. In the Device Manager I can see a yellow question mark for Video Controller (VGA Compatible). I remember Windows 2000 being able to use the default video card in QEMU in the past. I may be able to bisect this issue after all.
I guess you'll end up with QEMU 2.1 as good version and 2.2 as the first
"bad" version. According the qemu-doc:
-vga type
Select type of VGA card to emulate. Valid values for type are
cirrus
Cirrus Logic GD5446 Video card. All Windows versions starting
from Windows 95 should recognize and use this graphic card. For
optimal performances, use 16 bit color depth in the guest and
the host OS. (This card was the default before QEMU 2.2)
std
Standard VGA card with Bochs VBE extensions. If your guest OS
supports the VESA 2.0 VBE extensions (e.g. Windows XP) and if
you want to use high resolution modes (>= 1280x1024x16) then you
should use this option. (This card is the default since QEMU
2.2)
Everything is in the documentation ;-)
Thomas
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-10 3:51 ` Thomas Huth
@ 2017-08-10 7:37 ` Michael Tokarev
2017-08-10 18:35 ` Programmingkid
0 siblings, 1 reply; 12+ messages in thread
From: Michael Tokarev @ 2017-08-10 7:37 UTC (permalink / raw)
To: Thomas Huth, Programmingkid, Paolo Bonzini
Cc: Richard Henderson, qemu-devel@nongnu.org qemu-devel, ehabkost
10.08.2017 06:51, Thomas Huth wrote:
[]
> I guess you'll end up with QEMU 2.1 as good version and 2.2 as the first
> "bad" version. According the qemu-doc:
>
> -vga type
>
> Select type of VGA card to emulate. Valid values for type are
>
> cirrus
>
> Cirrus Logic GD5446 Video card. All Windows versions starting
> from Windows 95 should recognize and use this graphic card. For
> optimal performances, use 16 bit color depth in the guest and
> the host OS. (This card was the default before QEMU 2.2)
>
> std
>
> Standard VGA card with Bochs VBE extensions. If your guest OS
> supports the VESA 2.0 VBE extensions (e.g. Windows XP) and if
> you want to use high resolution modes (>= 1280x1024x16) then you
> should use this option. (This card is the default since QEMU
> 2.2)
Both cirrus and stdvga worked in Win2k not-so-recently. Cirrus, IIRC,
required a driver install, stdvga used "standard vga controller" which,
in win2k, was always marked with yellow exclamation mark, just because
the driver itself always sets that mark, "thinking" it is always wrong
driver.
So no, it's not the switch from cirrus to std, it's something else.
/mjt
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [Qemu-devel] No video for Windows 2000 guest
2017-08-10 7:37 ` Michael Tokarev
@ 2017-08-10 18:35 ` Programmingkid
0 siblings, 0 replies; 12+ messages in thread
From: Programmingkid @ 2017-08-10 18:35 UTC (permalink / raw)
To: Michael Tokarev, Gerd Hoffmann
Cc: Thomas Huth, Paolo Bonzini, Richard Henderson,
qemu-devel@nongnu.org qemu-devel, ehabkost
> On Aug 10, 2017, at 3:37 AM, Michael Tokarev <mjt@tls.msk.ru> wrote:
>
> 10.08.2017 06:51, Thomas Huth wrote:
> []
>
>> I guess you'll end up with QEMU 2.1 as good version and 2.2 as the first
>> "bad" version. According the qemu-doc:
>>
>> -vga type
>>
>> Select type of VGA card to emulate. Valid values for type are
>>
>> cirrus
>>
>> Cirrus Logic GD5446 Video card. All Windows versions starting
>> from Windows 95 should recognize and use this graphic card. For
>> optimal performances, use 16 bit color depth in the guest and
>> the host OS. (This card was the default before QEMU 2.2)
>>
>> std
>>
>> Standard VGA card with Bochs VBE extensions. If your guest OS
>> supports the VESA 2.0 VBE extensions (e.g. Windows XP) and if
>> you want to use high resolution modes (>= 1280x1024x16) then you
>> should use this option. (This card is the default since QEMU
>> 2.2)
>
> Both cirrus and stdvga worked in Win2k not-so-recently. Cirrus, IIRC,
> required a driver install, stdvga used "standard vga controller" which,
> in win2k, was always marked with yellow exclamation mark, just because
> the driver itself always sets that mark, "thinking" it is always wrong
> driver.
>
> So no, it's not the switch from cirrus to std, it's something else.
>
> /mjt
Here is the commit that causes Windows 2000 video problems:
commit 94ef4f337fb614f18b765a8e0e878a4c23cdedcd
Author: Gerd Hoffmann <kraxel@redhat.com>
Date: Tue May 17 10:54:54 2016 +0200
vga: add sr_vbe register set
Commit "fd3c136 vga: make sure vga register setup for vbe stays intact
(CVE-2016-3712)." causes a regression. The win7 installer is unhappy
because it can't freely modify vga registers any more while in vbe mode.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2017-08-10 18:35 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-09 14:56 [Qemu-devel] No video for Windows 2000 guest Programmingkid
2017-08-09 16:37 ` Paolo Bonzini
2017-08-09 17:18 ` Michael S. Tsirkin
2017-08-09 17:54 ` Programmingkid
2017-08-09 18:05 ` Michael S. Tsirkin
2017-08-09 19:22 ` Michael S. Tsirkin
2017-08-09 18:12 ` Programmingkid
2017-08-09 22:42 ` Paolo Bonzini
2017-08-10 3:11 ` Programmingkid
2017-08-10 3:51 ` Thomas Huth
2017-08-10 7:37 ` Michael Tokarev
2017-08-10 18:35 ` Programmingkid
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).