[Bug 75824] New: Screen resize when X starts

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Mar 5 22:47:33 PST 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75824

          Priority: medium
            Bug ID: 75824
          Assignee: spice-bugs at lists.freedesktop.org
           Summary: Screen resize when X starts
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: gareth at garethwilliams.me.uk
          Hardware: Other
            Status: NEW
           Version: unspecified
         Component: xorg qxl
           Product: Spice

Created attachment 95209
  --> https://bugs.freedesktop.org/attachment.cgi?id=95209&action=edit
Xorg.0.log

I don't even know if I'm sending this to the right place - please accept my
apologies if it's wrong.

I didn't report it on my distro as I don't believe it's distro specific.  I've
had Arch guests and host along with Fedora guests and host and they all show
the same issue with the QXL driver.  There is no issue with the modesetting
driver, but I'd miss the mouse integration and copy/paste etc if I dropped the
QXL driver.

When I run a Linux guest in KVM with the QXL driver the screen (as viewed by
virt-viewer) is larger than the configured size.  I use the xorg.conf file to
set my screen to 800x600 (so as to fit in on my laptop screen).  When I start X
the visible portion of the screen is correctly set to 800x600 but with a large
black border around it.  Using virt-viewer's 'resize to VM' menu option,
doesn't shrink the screen to 800x600.  When I look in the logs, I see a few
lines, as follows:-

[    23.300] (II) qxl(0): RandR 1.2 enabled, ignore the following RandR
disabled
 message.
[    23.300] resizing primary to 1024x768
[    23.300] primary is 0x1d93ec0
[    23.307] (--) RandR disabled

It's the 'resizing primary' that concerns me and I believe it's the cause of
the black border.  I've Googled the term and nothing comes up; hence my
question here.

If I run xrandr --size ??? to resize the screen to any arbitrary size (eg
640x480), then use the same to size it to 800x600, followed by 'resize to VM'
then virt-viewer resizes to the correct size and without a black border.

This only happens when I start X.  I've appended video=800x600-24 to the kernel
boot options and the vt sets it's screen size to 800x600 (no border after
'resize to VM') but if I follow that with 'startx' then the border appears.

Is this a bug, or am I doing something wrong?  The driver version I'm currently
running is 0.1.1

Thanks in advance.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-bugs/attachments/20140306/7d43c80a/attachment.html>


More information about the spice-bugs mailing list