Hide Forgot
Description of problem: Boot guest with GPU card, then change Screen Resolution inside guest. guest is screen mess. and fail to change, guest will resume old resolution. emulate VGA card don't this issue by default. Version-Release number of selected component (if applicable): # uname -r 3.10.0-57.el7.x86_64 qemu-kvm-1.5.3-20.el7.x86_64 How reproducible: 100% Steps to Reproduce: 1./usr/libexec/qemu-kvm -M q35 -cpu host -enable-kvm -m 8196 -smp 4,sockets=2,cores=2,threads=1 -usb -device usb-tablet,id=input0 -name gpu -uuid 990ea161-6b67-47b2-b803-19fb01d30d30 -rtc base=localtime,clock=host,driftfix=slew -device ahci,id=ahci0 -drive file=/home/win2012-64.qcow2,if=none,id=drive-sata-disk-0-0,format=qcow2 -device ide-drive,bus=ahci0.0,unit=0,drive=drive-sata-disk-0-0,id=sata-disk-0-0 -netdev tap,id=hostnet0,vhost=on,script=/etc/qemu-ifup -device e1000,netdev=hostnet0,id=virtio-net-pci0,mac=00:01:02:B6:40:21 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -k en-us -boot menu=on -qmp tcp:0:4444,server,nowait -serial unix:/tmp/ttyS0,server,nowait -spice disable-ticketing,port=5932 -vga qxl -monitor stdio -device vfio-pci,host=06:00.0,id=GPU-k1,addr=06.0 -device vfio-pci,host=07:00.0,id=GPU-k2,addr=07.0 -device vfio-pci,host=08:00.0,id=GPU-k3,addr=08.0 -device vfio-pci,host=09:00.0,id=GPU-k4,addr=09.0 2.disable emulate VGA card 3.change resolution inside guest Actual results: guest screen mass and fail to change Expected results: successful Additional info:
RHEL7 and win2008r2 guest don't hit this issue.
This is a q35 guest, does 440fx have the same problem?
(In reply to Alex Williamson from comment #3) > This is a q35 guest, does 440fx have the same problem? For windows2012 guest, 440fx machine type has the same problem. windows2008r2 and rhel7 guest don't hit this problem whether q35 or 440fx machine type.
Works for me. I installed Windows Server 2012 Standard Edition, installed RealVNC server, and connected to the client based VNC server. I then powered down the guest, added the GPU (GRID K2), and restarted it, making sure I could login via the guest-based VNC server. I then installed the Nvidia driver (331.65), the guest rebooted and I again connected to the guest-based VNC server. Logging in I notice that the VNC window is extra wide. When I adjust screen resolution I can see that the display extends across both emulated VGA device and assigned GPU (this is the only guest that I've seen that does this). I can independently adjust the screen resolution for either device or disable either device. Note that my guest is configured to use the standard VGA device (not QXL/Cirrus), it's possible that you're having trouble changing the resolution on the emulated display. Please retest and provide details if still having problems.
Since didn't install auxiliary power connector of gup before host. so I am trying to setup a new test hosts. QE will re-test this issue asap, and update test result to bz.
Let's close this then, the error was reported against mis-configured hardware. Re-open or file new if it can be reproduced when the configuration is fixed.