Bug 647865

Summary: support 2560x1440 in qxl
Product: Red Hat Enterprise Linux 6 Reporter: David Egts <degts>
Component: qemu-kvmAssignee: Alon Levy <alevy>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.0CC: acathrow, alexl, cpelland, dblechte, degts, ehabkost, gyue, iheim, kraxel, lihuang, michen, mjenner, mkenneth, sandmann, sgordon, syeghiay, tburke, virt-maint
Target Milestone: betaKeywords: Reopened
Target Release: 6.1   
Hardware: All   
OS: Linux   
URL: http://mantis.tlv.redhat.com/view.php?id=5430
Whiteboard:
Fixed In Version: qemu-kvm-0.12.1.2-2.133.el6 Doc Type: Bug Fix
Doc Text:
Cause: old verion of qemu-kvm spice code was included, and it didn't support 2560x1440 display resolution. Consequence: no 2560x1440 support on qxl. Change: qemu-kvm spice code was updated to a newer version. Result: 2560x1440 display resolution is now supported by qxl
Story Points: ---
Clone Of: 482427
: 690417 (view as bug list) Environment:
Last Closed: 2011-05-19 11:22:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 482427    
Bug Blocks: 580954, 690417    

Comment 8 Golita Yue 2011-02-15 06:53:28 UTC
Hi Gerd,

I tested this bug on guest:winXP-32 with qemu-kvm-0.12.1.2-2.133.el6, Failed. 
The max supported Modes is 1920*1440. (with patch) Could not find 2560*1440.

I tested again on the same guest with qemu-kvm-0.12.1.2-2.113.el6,
the max supported Modes is 2560*1600. (without patch)

Why the max supported resolution changes to more small(with patch)?

Comment 9 Gerd Hoffmann 2011-02-16 11:27:31 UTC
What guest and what drivers you are testing with?

Comment 11 Gerd Hoffmann 2011-02-17 11:44:01 UTC
The driver referenced requires the new qxl device added by the patches and doesn't work with qemu-kvm-0.12.1.2-2.113.el6 ...

Comment 14 Gerd Hoffmann 2011-02-18 13:55:42 UTC
Just wrote up http://lacrosse.corp.redhat.com/~ghoffman/spice/bugs.txt

Comment 16 Golita Yue 2011-02-24 05:16:24 UTC
Created attachment 480643 [details]
screenshot_driver_version

Comment 17 Alon Levy 2011-04-04 12:26:21 UTC
The qemu-kvm support is already there, the remaining problem is a driver one (in X the current driver is good enough, but the windows driver has a check that removes modes with >2000 in any coordinate), the cloned bug #690417 was openned for that.

Alon

Comment 18 Alon Levy 2011-04-06 14:49:31 UTC
This bug was reopened after (or because of/related to) comment 8, since testing on windows xp failed. However, this turned out to be specifically a windows driver bug, for which bug #690417 was cloned. qemu-kvm is in fact good enough and so I'm returning this bug to MODIFIED (no further changes to qemu-kvm are needed). See #690417 comment 3 for a driver scratch build pending qa to verify the fix. Linux guests can already see 2560x1440 with the qxl xorg driver.

Alon

Comment 20 Golita Yue 2011-04-07 11:21:57 UTC
Verified in qemu-kvm-0.12.1.2-2.133.el6.

Tested in linux and windows guest, all can switch the screen resolution to 2560*1440.

qxl driver version:
xorg-x11-drv-qxl-0.0.12-9.el6.x86_64
for windows qxl driver https://bugzilla.redhat.com/show_bug.cgi?id=690417#c5

cmd:
/usr/libexec/qemu-kvm -drive file='/home/image/RHEL-Server-6.0-64.qcow2',index=0,if=none,id=drive-ide0-0-0,media=disk,cache=none,format=qcow2 -device ide-drive,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0 -device rtl8139,netdev=id4goLGK,mac=9a:52:99:ed:f1:00,id=ndev00id4goLG0,bus=pci.0,addr=0x3 -netdev tap,id=id4goLGK,ifname='t0-225502-vqKX',script='/etc/qemu-ifup-switch',downscript='no' -m 2048 -smp 2 -cpu cpu64-rhel6,+sse2,+x2apic -spice port=5930,disable-ticketing -vga qxl -rtc base=utc,clock=host,driftfix=none -M rhel6.1.0 -boot c -usbdevice tablet -no-kvm-pit-reinjection -enable-kvm -monitor stdio

Comment 21 Golita Yue 2011-04-12 03:39:59 UTC
(In reply to comment #20)
> Verified in qemu-kvm-0.12.1.2-2.133.el6.
> 
> Tested in linux and windows guest, all can switch the screen resolution to
> 2560*1440.

Tested guest: winXP-32 and RHEL6.0-64

Comment 22 Miya Chen 2011-04-12 09:25:47 UTC
move it to verified based on comment#20 and comment#21

Comment 23 Eduardo Habkost 2011-05-05 14:36:39 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Cause: old verion of qemu-kvm spice code was included, and it didn't support 2560x1440 display resolution.

Consequence: no 2560x1440 support on qxl.

Change: qemu-kvm spice code was updated to a newer version.

Result: 2560x1440 display resolution is now supported by qxl

Comment 24 errata-xmlrpc 2011-05-19 11:22:07 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html

Comment 25 errata-xmlrpc 2011-05-19 12:49:49 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2011-0534.html