Skip to contentSkip to conversation

nographic=1 but still have a vga adapter

DISCUSSION James Harper 4 participants 6 messages Jul 3, 2009 – Jul 6, 2009

lore
Share & tools
lore
#0 lore raw

Is nographic=1 supposed to make there be no vga adapter at all? That's what I was hoping for but I still get the CL 5446 display adapter detected.

Thanks

James

#1 lore raw

I'm not sure whether a way to enable this has made it into the xen config file parsing, but the option to qemu-dm to remove the virtual vga card completely is "-vga none"

-- Trolle

Quoted 4 lines · James Harper

Is nographic=1 supposed to make there be no vga adapter at all? That's what I was hoping for but I still get the CL 5446 display adapter detected.

Quoted 9 lines

Thanks

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 2 lines

I'm not sure whether a way to enable this has made it into the xen

config file

Quoted 1 line

parsing, but the option to qemu-dm to remove the virtual vga card

completely

Quoted 2 lines

is "-vga none"

That option doesn't seem to exist in the qemu that ships with 3.3 so I upgraded to 3.4 (was going to soon anyway) and appended "-vga none" via a wrapper script for 'qemu-dm'. Unfortunately it just gives a bus error in qemu-dm so obviously there is some internal reliance on having a vga adapter present.

The problem I'm trying to solve here is to get Windows to enter standby. It won't because the Cirrus Logic 5446 adapter doesn't support it, and neither does the 'stdvga' driver. I tried corrupting the PCI ID's for the CL-5446 but Windows just falls back to the 'vga save' adapter, which also doesn't support standby.

Frustrating.

Does anyone know if it is the CL5446 driver that doesn't support standby, or if it is qemu's implementation of the CL5446 that doesn't support standby?

Thanks

James

#3 lore raw

James,

I tent to believe that it's the driver in Windows that prevents the system from entering stand-by, since if you'll try the same on a Linux guest, it will go to stand-by without any problems.

Regarding the problem you have, there are 2 options to solve it:
1. Use VGA pass-through with IOMMU (should work on some of the devices with Xen 3.4, and a compatible machine)
(However, i have tried it, and it didn't work on my machine...)
2. Write your own basic wrapper driver for the display adapter, which will support sleep. Maybe you will be able to find such driver out in the web...

Tom

2009/7/4 James Harper <[email protected]>

Quoted 26 lines
Quoted 2 lines

I'm not sure whether a way to enable this has made it into the xen

config file

Quoted 1 line

parsing, but the option to qemu-dm to remove the virtual vga card

completely

Quoted 2 lines

is "-vga none"

That option doesn't seem to exist in the qemu that ships with 3.3 so I upgraded to 3.4 (was going to soon anyway) and appended "-vga none" via a wrapper script for 'qemu-dm'. Unfortunately it just gives a bus error in qemu-dm so obviously there is some internal reliance on having a vga adapter present.

The problem I'm trying to solve here is to get Windows to enter standby. It won't because the Cirrus Logic 5446 adapter doesn't support it, and neither does the 'stdvga' driver. I tried corrupting the PCI ID's for the CL-5446 but Windows just falls back to the 'vga save' adapter, which also doesn't support standby.

Frustrating.

Does anyone know if it is the CL5446 driver that doesn't support standby, or if it is qemu's implementation of the CL5446 that doesn't support standby?

Quoted 9 lines

Thanks

James

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw
Quoted 3 lines

James,

I tent to believe that it's the driver in Windows that prevents the

system

Quoted 1 line

from entering stand-by, since if you'll try the same on a Linux guest,

it will

Quoted 1 line

go to stand-by without any problems.

A Linux HVM guest? I had assumed it was probably the driver but thanks for the confirmation.

Quoted 3 lines

Regarding the problem you have, there are 2 options to solve it:
1. Use VGA pass-through with IOMMU (should work on some of the devices

with

Quoted 2 lines

Xen 3.4, and a compatible machine)
(However, i have tried it, and it didn't work on my machine...)

Unlikely to work on my test machine - it's a bit old.

Quoted 1 line

2. Write your own basic wrapper driver for the display adapter, which

will

Quoted 1 line

support sleep. Maybe you will be able to find such driver out in the

web...

Quoted 1 line

I have been looking for a dummy display driver (eg which windows thinks is a display but isn't really) and I was sure I'd find something but not so far...

Thanks

James

#5 lore raw
In reply to James Harper
Quoted 4 lines

Does anyone know if it is the CL5446 driver that doesn't support standby, or if it is qemu's implementation of the CL5446 that doesn't support standby?

Our backend Cirrus VGABIOS extension does support S3 but I found that the Windows Cirrus driver was impeding S3 for CL-GD544 but allowing it for CL-GD7548, CL-GD7555, CL-GD7556 and more. You could expose one of these device ids but then you might have to make additional changes in the backend to support these device ids.

Kamala