Bug 78541 - QXL DRM Driver Freezes QEMU KVM Guest when Switching to Text Console
Summary: QXL DRM Driver Freezes QEMU KVM Guest when Switching to Text Console
Status: RESOLVED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-10 19:38 UTC by reimth
Modified: 2019-10-14 13:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description reimth 2014-05-10 19:38:19 UTC
Host: 
- Debian Linux with kernel 3.11-2-amd64
- QEMU emulator version 1.7.0 (Debian 1.7.0+dfsg-2)
- Spice server 0.12.4
- libvirt Virtual Machine Manager 0.9.5

Guest:
- Ubuntu Saucy with kernel 3.11.0-20-generic

Reproduce:
- Start qemu with option -global qxl-vga.revision=4, which allows drm to load the 
  qxl driver
  Other parameters related to graphics:
  + -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,bus=pci.0,addr=0x2
  + -spice port=5900,addr=127.0.0.1,disable-ticketing,seamless-migration=on
  + -chardev spicevmc,id=charchannel0,name=vdagent
  + -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0
- Check with dmesg, that QXL DRM has been correctly initialised
- Send Ctrl-Alt-Fn (n = 1, 2, ...) to VM guest

Bug:
Virtual machine manager will switch to console but freezes with strange display. Guest cannot be contacted any more. Switching back to vc is not possible. ssh connections will hang. No netconsole output. The guest must be restarted using forced shutdown.

The problem occurs also for qemu 2.0. It does not occur, if only userspace driver is used (omit option -global qxl-vga.revision=4). In this case lspci reports:
00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 03)
and dmesg reports:
[drm] Initialized drm 1.1.0 20060810
[drm:qxl_pci_probe] *ERROR* qxl too old, doesn't support client_monitors_config, use xf86-video.

I can provide further information, but need some guidance, what you prefer in order to locate the root cause of the problem.
Comment 1 Martin Peres 2019-10-14 13:20:20 UTC
Hi,

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.