qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 1924914] Re: Running sway in a QEMU VM results in a GPU hang of the


From: Diego Viola
Subject: [Bug 1924914] Re: Running sway in a QEMU VM results in a GPU hang of the guest (virtio-gpu driver)
Date: Mon, 19 Apr 2021 17:21:26 -0000

>From the dmesg above:

[  573.935889] Oops: 0000 [#1] PREEMPT SMP PTI
[  573.935892] CPU: 0 PID: 7 Comm: kworker/u2:0 Not tainted 5.11.11-arch1-1 #1
[  573.935896] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 
ArchLinux 1.14.0-1 04/01/2014
[  573.935899] Workqueue: events_unbound commit_work [drm_kms_helper]
[  573.935949] RIP: 0010:dma_fence_wait_timeout+0x20/0x110
[  573.935953] Code: 5c 41 5d 41 5e 41 5f c3 66 90 0f 1f 44 00 00 41 54 55 53 
48 83 ec 08 48 85 d2 0f 88 da 00 00 00 48 89 fd 89 f3 0f 1f 44 00 00 <48> 8b 45 
08 0f b6 f3 48 89 ef 48 8b 40 28 48 85 c0 0f 84 ac 00 00
[  573.935956] RSP: 0018:ffffbbf100043db0 EFLAGS: 00010206
[  573.935958] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000001
[  573.935959] RDX: 7fffffffffffffff RSI: 0000000000000001 RDI: 0000000000000000
[  573.935961] RBP: 0000000000000000 R08: 0000000000000001 R09: ffff90631e171bc0
[  573.935962] R10: 0000000000000001 R11: 0000000000000001 R12: ffff906408336000
[  573.935964] R13: ffff906380260cc0 R14: ffff906401700000 R15: 0000000000000005
[  573.935966] FS:  0000000000000000(0000) GS:ffff90643bc00000(0000) 
knlGS:0000000000000000
[  573.935967] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  573.935969] CR2: 0000000000000008 CR3: 000000011ed86000 CR4: 00000000000006f0
[  573.935973] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  573.935974] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  573.935976] Call Trace:
[  573.935983]  ? virtio_gpu_notify+0x46/0x60 [virtio_gpu]
[  573.935995]  virtio_gpu_cursor_plane_update+0x1c3/0x2a0 [virtio_gpu]
[  573.936005]  drm_atomic_helper_commit_planes+0xb7/0x220 [drm_kms_helper]
[  573.936024]  drm_atomic_helper_commit_tail+0x42/0x80 [drm_kms_helper]
[  573.936038]  commit_tail+0xce/0x130 [drm_kms_helper]
[  573.936050]  process_one_work+0x214/0x3e0
[  573.936054]  worker_thread+0x4d/0x3d0
[  573.936056]  ? rescuer_thread+0x3c0/0x3c0
[  573.936058]  kthread+0x133/0x150
[  573.936061]  ? __kthread_bind_mask+0x60/0x60
[  573.936064]  ret_from_fork+0x22/0x30
[  573.936072] Modules linked in: cfg80211 rfkill ghash_generic gf128mul cryptd 
gcm ccm algif_aead des_generic libdes cbc ecb algif_skcipher cmac md4 
algif_hash af_alg ppdev pktcdvd parport_pc parport i2c_piix4 joydev mousedev 
mac_hid psmouse qemu_fw_cfg pcspkr pkcs8_key_parser speakup_soft speakup fuse 
bpf_preload ip_tables x_tables overlay squashfs loop isofs sr_mod cdrom 
ata_generic pata_acpi virtio_gpu virtio_dma_buf drm_kms_helper syscopyarea 
sysfillrect sysimgblt fb_sys_fops cec drm intel_agp intel_gtt serio_raw e1000 
virtio_pci ata_piix agpgart floppy
[  573.936161] CR2: 0000000000000008
[  573.936163] ---[ end trace 0f1e24b3ea0a35cd ]---
[  573.936165] RIP: 0010:dma_fence_wait_timeout+0x20/0x110

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1924914

Title:
  Running sway in a QEMU VM results in a GPU hang of the guest (virtio-
  gpu driver)

Status in QEMU:
  New

Bug description:
  System is Arch Linux (guest and host OS).

  Problem:

  Basically, when using sway on a guest and running certain applications
  via Xwayland (on the guest), the GUI will freeze and won't be usable
  anymore, I can still ssh to the guest and run commands.

  This is the command I use to run my guest:

  qemu-system-x86_64 -enable-kvm -cdrom
  ~/Downloads/linux/archlinux/archlinux-2021.04.01-x86_64.iso -m 4G -vga
  virtio -nic user,hostfwd=tcp::10022-:22

  This doesn't happen when I use X with i3-wm.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1924914/+subscriptions



reply via email to

[Prev in Thread] Current Thread [Next in Thread]