On 12/12/13 09:44, Gerd Hoffmann wrote: >> (2d) Cirrus with efifb (cirrusdrmfb blacklisted) >> >> This setup seems to rule out X11 at once (probably not a popular >> setup...), > > X11 can run on top of a framebuffer device just fine. Make sure you > have xorg-x11-drv-fbdev installed.
You're right of course. I've had xorg-x11-drv-fbdev available from the start. However, I've forgotten about this: https://fedoraproject.org/wiki/Display_resolution_of_Fedora_18_virtual_machines I've been aware of the video=800x600 kernel cmdline setting for the console, but I've completely forgotten about the Xorg config. And that config doesn't just say Option "PreferredMode" "800x600", it also specifies Driver "modesetting". So the reason why I didn't have X11 with efifb is because I was specifically requesting modesetting in the X config file. As soon as I changed the driver to "fbdev", X11 started to work with efifb. Hence I tested my PoC S3 boot script against efifb+X11 too. It works. The screen is correctly reenabled and the GUI is usable as before. I wonder if this warrants for the CirrusVGA bootscript patch to be included in some form. >> Maybe the guest could write a boot script via SMM, but resume support in >> a guest driver is probably better. > > Yes, we should fix drm/cirrus. > Did you try cirrus S3 with seabios btw? I considered that before, but postponed it because my libvirt wrapper script (which handles "PIIX4_PM.disable_s3=0") is for OVMF guests only, and I had no other idea than a wrapper script to set "disable_s3=0". But, it turns out that libvirt supports this knob directly (ergo I shouldn't have added it to my wrapper script at all): http://libvirt.org/formatdomain.html#elementsPowerManagement <pm> <suspend-to-disk enabled='no'/> <suspend-to-mem enabled='yes'/> </pm> After adding this XML fragment to my seabios guest's config, I can suspend it (with the pm-suspend command issued in the guest). Command "fbset --info" confirms "cirrusdrmfb": Frame buffer device information: Name : cirrusdrmfb Address : (nil) Size : 0 Type : PACKED PIXELS Visual : TRUECOLOR XPanStep : 1 YPanStep : 1 YWrapStep : 0 LineLength : 2400 Accelerator : No And no, the display is not restored in the SeaBIOS guest @ resume. (I tested the character console.) Thanks Laszlo ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
