http://bugzilla.opensuse.org/show_bug.cgi?id=978785 Bug ID: 978785 Summary: KDE desktop crashes with qxl driver warning Classification: openSUSE Product: openSUSE Distribution Version: 13.2 Hardware: x86-64 OS: openSUSE 13.2 Status: NEW Severity: Critical Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: nixbugz@outlook.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.112 Safari/537.36 Build Identifier: The KDE desktop crashes (about 3 times a week on average this year) with a qxl driver warning in dmesg: [5003537.245362] ------------[ cut here ]------------ [5003537.248462] WARNING: CPU: 0 PID: 11815 at ../drivers/gpu/drm/qxl/qxl_ttm.c:414 qxl_sync_obj_wait+0x172/0x1f0 [qxl]() [5003537.272330] sync obj 301 still has outstanding releases 0 0 0 262144 1 [5003537.272332] Modules linked in: fuse joydev uinput xt_pkttype xt_LOG rpcsec_gss_krb5 auth_rpcgss oid_registry xt_limit nfsv4 dns_resolver nfs lockd sunrpc fscache af_packet iscsi_ibft iscsi_boot_sysfs ip6t_REJECT xt_tcpudp nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_raw ipt_REJECT iptable_raw xt_CT iptable_filter ip6table_mangle nf_conntrack_netbios_ns nf_conntrack_broadcast nf_conntrack_ipv4 nf_defrag_ipv4 ip_tables xt_conntrack nf_conntrack ip6table_filter ip6_tables x_tables snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec snd_hwdep snd_pcm snd_timer crct10dif_pclmul snd crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel i2c_piix4 soundcore aes_x86_64 virtio_balloon lrw ppdev gf128mul parport_pc glue_helper ablk_helper parport cryptd button pcspkr serio_raw processor dm_mod [5003537.272366] sr_mod cdrom ata_generic virtio_net virtio_blk virtio_console ata_piix virtio_pci qxl virtio_ring virtio drm_kms_helper ttm drm floppy sg [5003537.272376] CPU: 0 PID: 11815 Comm: Xorg Tainted: G W 3.16.7-35-desktop #1 [5003537.272377] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.1-20160216_104851-anatol 04/01/2014 [5003537.272379] 0000000000000009 ffffffff8161d46f ffff8801e69f7980 ffffffff8105cae7 [5003537.272382] 0000000000000001 ffff8801e69f79d0 0000000000000001 ffff8801006b4358 [5003537.272384] 000000000000012d ffffffff8105cb4c ffffffffa00c8010 ffffffff00000030 [5003537.272386] Call Trace: [5003537.272397] [<ffffffff810051ee>] dump_trace+0x8e/0x350 [5003537.272401] [<ffffffff81005556>] show_stack_log_lvl+0xa6/0x190 [5003537.272404] [<ffffffff81006aa1>] show_stack+0x21/0x50 [5003537.272408] [<ffffffff8161d46f>] dump_stack+0x49/0x6a [5003537.272423] [<ffffffff8105cae7>] warn_slowpath_common+0x77/0x90 [5003537.272427] [<ffffffff8105cb4c>] warn_slowpath_fmt+0x4c/0x50 [5003537.272433] [<ffffffffa00bfee2>] qxl_sync_obj_wait+0x172/0x1f0 [qxl] [5003537.272443] [<ffffffffa009c747>] ttm_bo_wait+0x87/0x180 [ttm] [5003537.272452] [<ffffffffa009e12a>] ttm_bo_evict+0x4a/0x330 [ttm] [5003537.272462] [<ffffffffa009e58a>] ttm_mem_evict_first+0x17a/0x220 [ttm] [5003537.272474] [<ffffffffa009e8a1>] ttm_bo_mem_space+0x271/0x320 [ttm] [5003537.272485] [<ffffffffa009ed95>] ttm_bo_validate+0x1a5/0x210 [ttm] [5003537.272496] [<ffffffffa009f093>] ttm_bo_init+0x293/0x460 [ttm] [5003537.272506] [<ffffffffa00c1d7b>] qxl_bo_create+0x13b/0x1b0 [qxl] [5003537.272518] [<ffffffffa00c2487>] qxl_gem_object_create+0x57/0x100 [qxl] [5003537.272531] [<ffffffffa00c257a>] qxl_gem_object_create_with_handle+0x4a/0x100 [qxl] [5003537.272544] [<ffffffffa00c5485>] qxl_alloc_ioctl+0x35/0xa0 [qxl] [5003537.272565] [<ffffffffa002e8c7>] drm_ioctl+0x1c7/0x5b0 [drm] [5003537.272573] [<ffffffff811caff7>] do_vfs_ioctl+0x2e7/0x4c0 [5003537.272582] [<ffffffff811cb251>] SyS_ioctl+0x81/0xa0 [5003537.272586] [<ffffffff8162414d>] system_call_fastpath+0x1a/0x1f [5003537.272590] [<00007f83bf366ba7>] 0x7f83bf366ba6 [5003537.272592] ---[ end trace ce8a59f075a5213d ]--- This appears to be the same as the Closed bug https://bugzilla.opensuse.org/show_bug.cgi?id=905305 I don't believe it's restricted to KDE but it's a while since I've tried other desktops. Reproducible: Sometimes Steps to Reproduce: Dragging windows about or playing videos makes it more likely to happen. Red Hat have released a possible fix for this problem, among others, in their "Xorg server and driver bug fix and enhancement update" https://rhn.redhat.com/errata/RHEA-2015-2198.html In particular, Red Hat 1185807 - cannot show login page again of KVM guest (spice+qxl) after log out from guest's desktop http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1185807 and possibly: Due to a memory leak in the QXL driver, an X.Org guest could terminate unexpectedly. This update fixes the memory leak, and X.Org no longer crashes. (BZ#1222038) I am not authorized to access bug #1222038. Would it be possible to port these fixes to openSUSE? -- You are receiving this mail because: You are on the CC list for the bug.