Created attachment 669535 [details] list of package updates that triggers the bug Description of problem: I updated my Rawhide VM recently, and the login screen and desktop are now huge. My VM previously had a 1024x768 resolution. It is now 2560x1600. My physical monitor is only 1280x1024 so the VM is quite hard to work with. Version-Release number of selected component (if applicable): Hypervisor is Fedora 17. VM is Fedora 19 (rawhide). I've narrowed down the list of packages that could be causing the issue and attached the list to this report. It seems GNOME 3.7.3 has the regression. How reproducible: Always Steps to Reproduce: 1. Update GNOME packages in Rawhide to 3.7.3. 2. Reboot. Actual results: Login resolution is 2560x1600. Expected results: The resolution should not have changed as a result of this update. It should have remained at 1024x768.
This problem only occurs when I'm using the qxl model for my VM. When I switch to vga in virt-manager, Gnome (and X) stays at 1024x768.
After discussing with ajax in #fedora-devel, he helpfully pointed out that the problem is more closely related to qxl than to Gnome. Under qxl, X sets the resolution to 2560x1600, and Gnome 3.7.3 expands to fill all of this. My workaround was to configure X manually. xorg.conf: Section "Screen" Identifier "Screen0" Device "Videocard0" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 Virtual 1024 768 EndSubSection EndSection With this in place, GDM and my desktop are back to 1024x768.
So you want the vm resolution to default to 1024x768? That is fixable in the driver by providing a preferred mode. But it's also workaroundable like you did or by setting the resolution via gnome display settings. The problem is that there is currently no default and I guess gnome takes the largest available resolution unless another one is set (i.e. previously assigned using the control center - based on the card's EDID). When the kms driver lands (in the future) there will be a preferred resolution set via the spice client (which requests a resolution fitting the window size the client has). Marc-Andre, any ideas? (as more of a gnome guy then myself) Alon
(In reply to comment #3) > So you want the vm resolution to default to 1024x768? That is fixable in the > driver by providing a preferred mode. As I was searching around on this problem, I ran across comment 4 on bug 581841. Hans reports that qxl will "default to 1024x768 when no size is specified in xorg.conf". It's an old bug, and maybe things have changed since then, but it seems like that's a safe choice to me (at least until the client can communicate this information back, as you say).
Hi Ken, We start with a mode of 1024x768, and when the monitor modes get enumerated through xrandr, we always add the current mode (which is 1024x768) as preferred mode, which we do to avoid exactly the problem you are describing... So to me this really feels like a gnome issue, where it picks the largest mode over the preffered mode, which is clearly wrong. For example this would cause it to do 1920x1080 on my 720p TV, causing the TV to downscale, rather then picking its native 1360x768 mode, etc. 2 questions before kicking this back to the gnome guys: 1) What does "rpm -q xorg-x11-drv-qxl" give as output? 2) After starting the vm, and it has switched to 2560x1600, can you do "xrandr --current" in a terminal and copy and paste the full output here? Regards, Hans
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19
No response for months, closing