Bug 928225 - cirrus guest screen is too big!
Summary: cirrus guest screen is too big!
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 966226 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-27 08:15 UTC by Jens Petersen
Modified: 2013-12-17 18:57 UTC (History)
15 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-12-17 18:09:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
virsh dumpxml F18 (3.31 KB, text/plain)
2013-03-28 02:58 UTC, Jens Petersen
no flags Details

Description Jens Petersen 2013-03-27 08:15:35 UTC
Description of problem:
When using the cirrus graphics drivers with virt-manager guests
the screen is very large compared to other drivers - in fact
it is too large to fit on most standard monitor sizes which
is annoying - specially since it seems to be the most reliable
stable virt graphics driver (though by default I use qxl these days).

Steps to Reproduce:
1. start a Fedora guest vm with cirrus graphics
  
Actual results:
1. guest screen is big - height is more than 1000
and does not fit completely on my 1920x1080 monitor.

Expected results:
1. cirrus screen to be similar size to other virt graphics drivers
(~1024x800?)

Additional info:
Basically means one has to scale guest screens using cirrus always
which looks ugly and hard to read.

Comment 1 Paolo Bonzini 2013-03-27 17:15:27 UTC
What version of Fedora in the guest VM?  Also can you give us the XML for the virtual machine (virsh dumpxml "<VM name>")?

Comment 2 Paolo Bonzini 2013-03-27 18:00:30 UTC
Works here with the F17 live CD, I get something that looks like 1024x768.

Comment 3 Jens Petersen 2013-03-28 02:54:01 UTC
Yes F17 guests seem ok - I see the problem with F18 and F19 guests at least.

Comment 4 Jens Petersen 2013-03-28 02:58:42 UTC
Created attachment 717413 [details]
virsh dumpxml F18

Comment 5 Jens Petersen 2013-03-28 03:01:47 UTC
(I see the large graphics screen size both running qemu-kvm directly
and from recent Fedora guests started from Virt Manager.)

Comment 6 Laszlo Ersek 2013-05-14 15:38:39 UTC
I had written a small wiki page with workarounds for console and X:

https://fedoraproject.org/wiki/Display_resolution_of_Fedora_18_virtual_machines

Comment 7 Cole Robinson 2013-12-17 18:09:25 UTC
F18 is still affected here, but up2date F19 doesn't have this issue for me anymore with cirrus graphics.

Since F18 is end-of-life soon, this issue is unlikely to be fixed there, so closing. Please reopen if anyone can reproduce on newer fedora

Comment 8 Cole Robinson 2013-12-17 18:12:14 UTC
*** Bug 966226 has been marked as a duplicate of this bug. ***

Comment 9 Laszlo Ersek 2013-12-17 18:57:11 UTC
(In reply to Cole Robinson from comment #7)
> F18 is still affected here, but up2date F19 doesn't have this issue for me
> anymore with cirrus graphics.

That's probably due to the following kernel commit (in v3.13-rc1):

commit 121a6a17439b000b9699c3fa876636db20fa4107
Author: Gerd Hoffmann <kraxel>
Date:   Fri Oct 11 10:01:09 2013 +0200

    drm/cirrus: use drm_set_preferred_mode
    
    Explicitly set 1024x768 as default mode, so the display doesn't come up
    with the largest supported mode.
    
    While being at it drop first three drm_add_modes_noedid calls.  As
    drm_add_modes_noedid fills the mode list with modes from the database
    *up to* the specified size it is pretty pointless to call it multiple
    times with different sizes.
    
    Signed-off-by: Gerd Hoffmann <kraxel>
    Signed-off-by: Dave Airlie <airlied>

So I agree with the closure; under Fedora 18 the workaround in comment 6 should be available.


Note You need to log in before you can comment on or make changes to this bug.