Bug 1172585

Summary: [abrt] WARNING: CPU: 0 PID: 9526 at drivers/gpu/drm/qxl/qxl_ttm.c:414 qxl_sync_obj_wait+0x188/0x210 [qxl]()
Product: [Fedora] Fedora Reporter: colin <bugzilla.redhat.com>
Component: xorg-x11-drv-qxlAssignee: Alon Levy <alon>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: alon, cfergeau, crobinso, gansalmon, hdegoede, itamar, jonathan, kernel-maint, madhu.chinakonda, marcandre.lureau, mchehab, mmarhefk, nixbugz, sandmann, virt-maint, xgl-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/c9bdb8a11ffb2c80a3af608d4927c8f9486d3960
Whiteboard: abrt_hash:4878f214c7d6fb3fe81634412c73c54c59585715
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-31 18:28:04 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:
Attachments:
Description Flags
File: dmesg
none
journalctl log
none
Xorg log none

Description colin 2014-12-10 12:35:57 UTC
Additional info:
reporter:       libreport-2.3.0
WARNING: CPU: 0 PID: 9526 at drivers/gpu/drm/qxl/qxl_ttm.c:414 qxl_sync_obj_wait+0x188/0x210 [qxl]()
sync obj 301 still has outstanding releases 0 0 0 4096 1
Modules linked in: team_mode_roundrobin team nls_utf8 isofs fuse xt_CHECKSUM tun xt_addrtype ipt_MASQUERADE dm_thin_pool dm_persistent_data dm_bio_prison loop openvswitch gre vxlan udp_tunnel libcrc32c ip6t_rpfilter ip6t_REJECT xt_conntrack cfg80211 rfkill ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw ppdev parport_pc virtio_console virtio_balloon parport pvpanic serio_raw i2c_piix4 virtio_net virtio_blk qxl drm_kms_helper ttm drm virtio_pci virtio_ring virtio ata_generic pata_acpi
CPU: 0 PID: 9526 Comm: plymouthd Not tainted 3.17.4-301.fc21.x86_64 #1
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.7.5-0-ge51488c-20140602_164612-nilsson.home.kraxel.org 04/01/2014
 0000000000000000 00000000738caa49 ffff88003b7e7738 ffffffff8173f929
 ffff88003b7e7780 ffff88003b7e7770 ffffffff810970ad 0000000000000001
 ffff88001a9dff60 0000000000000001 ffff88001a9dff78 0000000000000000
Call Trace:
 [<ffffffff8173f929>] dump_stack+0x45/0x56
 [<ffffffff810970ad>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff8109712c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff81745c63>] ? schedule_hrtimeout_range+0x13/0x20
 [<ffffffffa00a91e8>] qxl_sync_obj_wait+0x188/0x210 [qxl]
 [<ffffffffa00bd73d>] ttm_bo_wait+0xad/0x1b0 [ttm]
 [<ffffffffa00bf399>] ttm_bo_evict+0x59/0x3a0 [ttm]
 [<ffffffffa00bf80d>] ttm_mem_evict_first+0x12d/0x1c0 [ttm]
 [<ffffffffa00bfb65>] ttm_bo_mem_space+0x2c5/0x350 [ttm]
 [<ffffffffa00c0082>] ttm_bo_validate+0x1d2/0x250 [ttm]
 [<ffffffffa00c0369>] ttm_bo_init+0x269/0x3c0 [ttm]
 [<ffffffffa00ab3af>] qxl_bo_create+0x13f/0x1b0 [qxl]
 [<ffffffffa00ab120>] ? qxl_fbdev_qobj_is_fb+0x30/0x30 [qxl]
 [<ffffffffa00ac7f6>] qxl_alloc_bo_reserved+0x46/0xc0 [qxl]
 [<ffffffffa00ad6ab>] qxl_image_alloc_objects+0xab/0x150 [qxl]
 [<ffffffffa00ae1aa>] qxl_draw_dirty_fb+0x15a/0x470 [qxl]
 [<ffffffffa0079ed9>] ? drm_modeset_lock_all_crtcs+0x49/0x70 [drm]
 [<ffffffffa00a6da1>] qxl_framebuffer_surface_dirty+0xa1/0xf0 [qxl]
 [<ffffffff811ee6a2>] ? __kmalloc+0x242/0x260
 [<ffffffffa006f9e5>] drm_mode_dirtyfb_ioctl+0x145/0x170 [drm]
 [<ffffffffa0060e6f>] drm_ioctl+0x1df/0x680 [drm]
 [<ffffffff81220910>] do_vfs_ioctl+0x2d0/0x4b0
 [<ffffffff810c2850>] ? wake_up_state+0x20/0x20
 [<ffffffff81220b71>] SyS_ioctl+0x81/0xa0
 [<ffffffff81746ae9>] system_call_fastpath+0x16/0x1b

Potential duplicate: bug 1050142

Comment 1 colin 2014-12-10 12:36:02 UTC
Created attachment 966767 [details]
File: dmesg

Comment 2 Matus Marhefka 2014-12-10 15:22:48 UTC
Description of problem:
I was running Fedora  21 under Virtual Machine Manager.

Version-Release number of selected component:
kernel

Additional info:
reporter:       libreport-2.3.0
cmdline:        BOOT_IMAGE=/vmlinuz-3.17.4-301.fc21.x86_64 root=/dev/mapper/fedora-root ro rd.lvm.lv=fedora/swap rd.lvm.lv=fedora/root rhgb quiet LANG=en_US.UTF-8
kernel:         3.17.4-301.fc21.x86_64
runlevel:       N 5
type:           Kerneloops

Truncated backtrace:
WARNING: CPU: 0 PID: 1085 at drivers/gpu/drm/qxl/qxl_ttm.c:414 qxl_sync_obj_wait+0x188/0x210 [qxl]()
sync obj 301 still has outstanding releases 0 0 0 4096 1
Modules linked in: uinput bnep bluetooth fuse nf_conntrack_netbios_ns nf_conntrack_broadcast cfg80211 ip6t_rpfilter rfkill ip6t_REJECT xt_conntrack ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw snd_hda_codec_generic snd_hda_intel snd_hda_controller snd_hda_codec crct10dif_pclmul crc32_pclmul crc32c_intel snd_hwdep snd_seq ghash_clmulni_intel snd_seq_device snd_pcm ppdev parport_pc snd_timer serio_raw virtio_console virtio_balloon snd soundcore pvpanic i2c_piix4 parport qxl drm_kms_helper ttm drm virtio_blk virtio_net
 virtio_pci virtio_ring virtio ata_generic pata_acpi
CPU: 0 PID: 1085 Comm: Xorg.bin Not tainted 3.17.4-301.fc21.x86_64 #1
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
 0000000000000000 000000006b5dc39f ffff88007a46f880 ffffffff8173f929
 ffff88007a46f8c8 ffff88007a46f8b8 ffffffff810970ad 0000000000000001
 ffff88003a0b3360 0000000000000001 ffff88003a0b3378 0000000000000000
Call Trace:
 [<ffffffff8173f929>] dump_stack+0x45/0x56
 [<ffffffff810970ad>] warn_slowpath_common+0x7d/0xa0
 [<ffffffff8109712c>] warn_slowpath_fmt+0x5c/0x80
 [<ffffffff81745c63>] ? schedule_hrtimeout_range+0x13/0x20
 [<ffffffffa00a41e8>] qxl_sync_obj_wait+0x188/0x210 [qxl]
 [<ffffffffa00b873d>] ttm_bo_wait+0xad/0x1b0 [ttm]
 [<ffffffffa00ba399>] ttm_bo_evict+0x59/0x3a0 [ttm]
 [<ffffffffa00ba80d>] ttm_mem_evict_first+0x12d/0x1c0 [ttm]
 [<ffffffffa00bab65>] ttm_bo_mem_space+0x2c5/0x350 [ttm]
 [<ffffffffa00bb082>] ttm_bo_validate+0x1d2/0x250 [ttm]
 [<ffffffffa00bb369>] ttm_bo_init+0x269/0x3c0 [ttm]
 [<ffffffffa00a63af>] qxl_bo_create+0x13f/0x1b0 [qxl]
 [<ffffffffa00a6120>] ? qxl_fbdev_qobj_is_fb+0x30/0x30 [qxl]
 [<ffffffffa00a6b39>] qxl_gem_object_create+0x69/0x110 [qxl]
 [<ffffffffa00a6c3c>] qxl_gem_object_create_with_handle+0x5c/0x140 [qxl]
 [<ffffffffa00aa016>] qxl_alloc_ioctl+0x46/0xc0 [qxl]
 [<ffffffffa005be6f>] drm_ioctl+0x1df/0x680 [drm]
 [<ffffffff810fb995>] ? enqueue_hrtimer+0x25/0x80
 [<ffffffff810fbfbc>] ? __hrtimer_start_range_ns+0x2fc/0x450
 [<ffffffff81220910>] do_vfs_ioctl+0x2d0/0x4b0
 [<ffffffff81220b71>] SyS_ioctl+0x81/0xa0
 [<ffffffff81746ae9>] system_call_fastpath+0x16/0x1b

Comment 3 Nik Zbugz 2014-12-11 12:12:22 UTC
Same here for the F21 KDE spin when I log in to "KDE Plasma Workspace". The desktop starts to appear then goes away & it's back to the login screen.  I can log in to "KDE Plasma Workspace failsafe" without problems.

Have seen this qxl warning in F20 for the past few months mainly after logins to a 2nd vt using either Switch User or Ctrl-Alt-F2 -> login -> startx.  The warnings are often associated with the KDE session crashing.

In both F20 & F21 the default resolution is 1024x768 with black bars top and bottom despite the monitor being 1280x1024 (this is a remote monitor, connecting with VirtViewer from Windows).  I think this is relevant because sometimes in F20 the 2nd user's KDE desktop has only the top left 1024x768 part displayed (ie without the Panel). In this situation, xrandr shows the display as 1280x1024 when it isn't; the mouse may also misbehave.  The easiest way to fix the desktop is to run "xrandr -s $Another_Res && xrandr -s 1280x1024".  I see something similar in F21 with Switch User: the login screen is cut off below the username box and doesn't respond to the keyboard.  I haven't found a way round this.  The VM host is Arch Linux 3.17.4.

Comment 4 Nik Zbugz 2014-12-11 12:14:10 UTC
Created attachment 967210 [details]
journalctl log

Comment 5 Nik Zbugz 2014-12-11 12:15:14 UTC
Created attachment 967211 [details]
Xorg log

Comment 6 Cole Robinson 2015-05-31 18:28:04 UTC

*** This bug has been marked as a duplicate of bug 1058056 ***