Bug 92996

Summary: [Fiji/amdgpu/Powerplay] Problems with interactivity, performance, EQ overflow with Powerplay
Product: DRI Reporter: Ernst Sjöstrand <ernstp>
Component: DRM/AMDgpuAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
modesetting-dmesg
none
modesetting-Xorg.0.log none

Description Ernst Sjöstrand 2015-11-18 17:07:52 UTC
Not sure if all these problems are related or not, I think they are.
This happens when I test Powerplay with my Fiji.
When I start the Steam client the mouse cursor freezes a number of times for a short duration. Also interactivity during 3D graphics is bad.

Hardware:
Radeon Fury
Intel 2500k

Software:
64-bit Ubuntu 15.10
LLVM 3.8~svn252698-0~padoka0
Mesa 11.1~git151118010100.dd05ffe~padoka0
Linux agd5f/powerplay from 151117
Xorg 2:1.17.2-1ubuntu9
xorg-video-amdgpu 0.0.01+git1511040732.92e7c9~gd~w
libdrm-amdgpu 2.4.65+git1511161830.8913cd~gd~w

Dmesg says:
[  1023.552] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117453646 < target_msc 117453647
[  1024.469] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117453701 < target_msc 117453702
[  1025.335] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117453753 < target_msc 117453754
[  1030.502] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117454063 < target_msc 117454064
[  1137.140] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117460461 < target_msc 117460462
[  1142.207] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117460765 < target_msc 117460766
[  1148.591] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117461148 < target_msc 117461149
[  1153.958] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117461470 < target_msc 117461471
[  1160.191] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117461844 < target_msc 117461845
[  1163.942] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117462069 < target_msc 117462070
[  1256.362] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117467614 < target_msc 117467615
[  2637.722] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117550492 < target_msc 117550493
[  2691.391] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117553712 < target_msc 117553713
[  2700.275] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117554245 < target_msc 117554246
[  2705.059] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117554532 < target_msc 117554533
[  2751.244] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117557303 < target_msc 117557304
[  2758.727] (WW) AMDGPU(0): amdgpu_dri2_flip_event_handler: Pageflip completion event has impossible msc 117557752 < target_msc 117557753

Xorg.0.log says:
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing events are processed.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5634060bf62e]
(EE) 1: /usr/bin/X (mieqEnqueue+0x253) [0x5634060a1313]
(EE) 2: /usr/bin/X (QueuePointerEvents+0x52) [0x563405f7b152]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x60a7) [0x7f96e7dcb0a7]
(EE) 4: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x687d) [0x7f96e7dcb87d]
(EE) 5: /usr/bin/X (0x563405f0b000+0x96ac8) [0x563405fa1ac8]
(EE) 6: /usr/bin/X (0x563405f0b000+0xbfc52) [0x563405fcac52]
(EE) 7: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 8: /usr/bin/X (0x563405f0b000+0x1b8df0) [0x5634060c3df0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 10: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f96f3fef0b7]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f96f52d7138]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWriteRead+0x1f) [0x7f96f52d9e2f]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (0x7f96f0230000+0x2b4f) [0x7f96f0232b4f]
(EE) 14: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_cs_submit+0x44) [0x7f96f0232f24]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x73f54a) [0x7f96ef3d654a]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x689a97) [0x7f96ef320a97]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x746477) [0x7f96ef3dd477]
(EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x6838ad) [0x7f96ef31a8ad]
(EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x748bd7) [0x7f96ef3dfbd7]
(EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x24413a) [0x7f96eeedb13a]
(EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x1a8f23) [0x7f96eee3ff23]
(EE) 22: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x2066ac) [0x7f96eee9d6ac]
(EE) 23: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x199e36) [0x7f96eee30e36]
(EE) 24: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a04b) [0x7f96eee3104b]
(EE) 25: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a445) [0x7f96eee31445]
(EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0xdf1f) [0x7f96eac9ff1f]
(EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x1fbb0) [0x7f96eacb1bb0]
(EE) 28: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x2076d) [0x7f96eacb276d]
(EE) 29: /usr/bin/X (0x563405f0b000+0x13d91b) [0x56340604891b]
(EE) 30: /usr/bin/X (doPolyText+0x198) [0x563405f65a28]
(EE) 31: /usr/bin/X (PolyText+0x59) [0x563405f66769]
(EE) 32: /usr/bin/X (0x563405f0b000+0x55499) [0x563405f60499]
(EE) 33: /usr/bin/X (0x563405f0b000+0x5818f) [0x563405f6318f]
(EE) 34: /usr/bin/X (0x563405f0b000+0x5c34b) [0x563405f6734b]
(EE) 35: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f96f3f12a40]
(EE) 36: /usr/bin/X (_start+0x29) [0x563405f516c9]
(EE) 
(EE) [mi] These backtraces from mieqEnqueue may point to a culprit higher up the stack.
(EE) [mi] mieq is *NOT* the cause.  It is a victim.
(EE) [mi] EQ overflow continuing.  100 events have been dropped.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5634060bf62e]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x563405f7b152]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x60a7) [0x7f96e7dcb0a7]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x687d) [0x7f96e7dcb87d]
(EE) 4: /usr/bin/X (0x563405f0b000+0x96ac8) [0x563405fa1ac8]
(EE) 5: /usr/bin/X (0x563405f0b000+0xbfc52) [0x563405fcac52]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 7: /usr/bin/X (0x563405f0b000+0x1b8df0) [0x5634060c3df0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f96f3fef0b7]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f96f52d7138]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWriteRead+0x1f) [0x7f96f52d9e2f]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (0x7f96f0230000+0x2b4f) [0x7f96f0232b4f]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_cs_submit+0x44) [0x7f96f0232f24]
(EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x73f54a) [0x7f96ef3d654a]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x689a97) [0x7f96ef320a97]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x746477) [0x7f96ef3dd477]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x6838ad) [0x7f96ef31a8ad]
(EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x748bd7) [0x7f96ef3dfbd7]
(EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x24413a) [0x7f96eeedb13a]
(EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x1a8f23) [0x7f96eee3ff23]
(EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x2066ac) [0x7f96eee9d6ac]
(EE) 22: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x199e36) [0x7f96eee30e36]
(EE) 23: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a04b) [0x7f96eee3104b]
(EE) 24: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a445) [0x7f96eee31445]
(EE) 25: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0xdf1f) [0x7f96eac9ff1f]
(EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x1fbb0) [0x7f96eacb1bb0]
(EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x2076d) [0x7f96eacb276d]
(EE) 28: /usr/bin/X (0x563405f0b000+0x13d91b) [0x56340604891b]
(EE) 29: /usr/bin/X (doPolyText+0x198) [0x563405f65a28]
(EE) 30: /usr/bin/X (PolyText+0x59) [0x563405f66769]
(EE) 31: /usr/bin/X (0x563405f0b000+0x55499) [0x563405f60499]
(EE) 32: /usr/bin/X (0x563405f0b000+0x5818f) [0x563405f6318f]
(EE) 33: /usr/bin/X (0x563405f0b000+0x5c34b) [0x563405f6734b]
(EE) 34: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f96f3f12a40]
(EE) 35: /usr/bin/X (_start+0x29) [0x563405f516c9]
(EE) 
(EE) [mi] EQ overflow continuing.  200 events have been dropped.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5634060bf62e]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x563405f7b152]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x60a7) [0x7f96e7dcb0a7]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x687d) [0x7f96e7dcb87d]
(EE) 4: /usr/bin/X (0x563405f0b000+0x96ac8) [0x563405fa1ac8]
(EE) 5: /usr/bin/X (0x563405f0b000+0xbfc52) [0x563405fcac52]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 7: /usr/bin/X (0x563405f0b000+0x1b8df0) [0x5634060c3df0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f96f3fef0b7]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f96f52d7138]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWriteRead+0x1f) [0x7f96f52d9e2f]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (0x7f96f0230000+0x2b4f) [0x7f96f0232b4f]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_cs_submit+0x44) [0x7f96f0232f24]
(EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x73f54a) [0x7f96ef3d654a]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x689a97) [0x7f96ef320a97]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x746477) [0x7f96ef3dd477]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x6838ad) [0x7f96ef31a8ad]
(EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x748bd7) [0x7f96ef3dfbd7]
(EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x24413a) [0x7f96eeedb13a]
(EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x1a8f23) [0x7f96eee3ff23]
(EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x2066ac) [0x7f96eee9d6ac]
(EE) 22: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x199e36) [0x7f96eee30e36]
(EE) 23: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a04b) [0x7f96eee3104b]
(EE) 24: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a445) [0x7f96eee31445]
(EE) 25: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0xdf1f) [0x7f96eac9ff1f]
(EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x1fbb0) [0x7f96eacb1bb0]
(EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x2076d) [0x7f96eacb276d]
(EE) 28: /usr/bin/X (0x563405f0b000+0x13d91b) [0x56340604891b]
(EE) 29: /usr/bin/X (doPolyText+0x198) [0x563405f65a28]
(EE) 30: /usr/bin/X (PolyText+0x59) [0x563405f66769]
(EE) 31: /usr/bin/X (0x563405f0b000+0x55499) [0x563405f60499]
(EE) 32: /usr/bin/X (0x563405f0b000+0x5818f) [0x563405f6318f]
(EE) 33: /usr/bin/X (0x563405f0b000+0x5c34b) [0x563405f6734b]
(EE) 34: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f96f3f12a40]
(EE) 35: /usr/bin/X (_start+0x29) [0x563405f516c9]
(EE) 
(EE) [mi] EQ overflow continuing.  300 events have been dropped.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5634060bf62e]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x563405f7b152]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x60a7) [0x7f96e7dcb0a7]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x687d) [0x7f96e7dcb87d]
(EE) 4: /usr/bin/X (0x563405f0b000+0x96ac8) [0x563405fa1ac8]
(EE) 5: /usr/bin/X (0x563405f0b000+0xbfc52) [0x563405fcac52]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 7: /usr/bin/X (0x563405f0b000+0x1b8df0) [0x5634060c3df0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f96f3fef0b7]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f96f52d7138]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWriteRead+0x1f) [0x7f96f52d9e2f]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (0x7f96f0230000+0x2b4f) [0x7f96f0232b4f]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_cs_submit+0x44) [0x7f96f0232f24]
(EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x73f54a) [0x7f96ef3d654a]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x689a97) [0x7f96ef320a97]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x746477) [0x7f96ef3dd477]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x6838ad) [0x7f96ef31a8ad]
(EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x748bd7) [0x7f96ef3dfbd7]
(EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x24413a) [0x7f96eeedb13a]
(EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x1a8f23) [0x7f96eee3ff23]
(EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x2066ac) [0x7f96eee9d6ac]
(EE) 22: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x199e36) [0x7f96eee30e36]
(EE) 23: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a04b) [0x7f96eee3104b]
(EE) 24: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a445) [0x7f96eee31445]
(EE) 25: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0xdf1f) [0x7f96eac9ff1f]
(EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x1fbb0) [0x7f96eacb1bb0]
(EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x2076d) [0x7f96eacb276d]
(EE) 28: /usr/bin/X (0x563405f0b000+0x13d91b) [0x56340604891b]
(EE) 29: /usr/bin/X (doPolyText+0x198) [0x563405f65a28]
(EE) 30: /usr/bin/X (PolyText+0x59) [0x563405f66769]
(EE) 31: /usr/bin/X (0x563405f0b000+0x55499) [0x563405f60499]
(EE) 32: /usr/bin/X (0x563405f0b000+0x5818f) [0x563405f6318f]
(EE) 33: /usr/bin/X (0x563405f0b000+0x5c34b) [0x563405f6734b]
(EE) 34: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f96f3f12a40]
(EE) 35: /usr/bin/X (_start+0x29) [0x563405f516c9]
(EE) 
(EE) [mi] EQ overflow continuing.  400 events have been dropped.
(EE) 
(EE) Backtrace:
(EE) 0: /usr/bin/X (xorg_backtrace+0x4e) [0x5634060bf62e]
(EE) 1: /usr/bin/X (QueuePointerEvents+0x52) [0x563405f7b152]
(EE) 2: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x60a7) [0x7f96e7dcb0a7]
(EE) 3: /usr/lib/xorg/modules/input/evdev_drv.so (0x7f96e7dc5000+0x687d) [0x7f96e7dcb87d]
(EE) 4: /usr/bin/X (0x563405f0b000+0x96ac8) [0x563405fa1ac8]
(EE) 5: /usr/bin/X (0x563405f0b000+0xbfc52) [0x563405fcac52]
(EE) 6: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 7: /usr/bin/X (0x563405f0b000+0x1b8df0) [0x5634060c3df0]
(EE) 8: /lib/x86_64-linux-gnu/libc.so.6 (0x7f96f3ef2000+0x352f0) [0x7f96f3f272f0]
(EE) 9: /lib/x86_64-linux-gnu/libc.so.6 (ioctl+0x7) [0x7f96f3fef0b7]
(EE) 10: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmIoctl+0x28) [0x7f96f52d7138]
(EE) 11: /usr/lib/x86_64-linux-gnu/libdrm.so.2 (drmCommandWriteRead+0x1f) [0x7f96f52d9e2f]
(EE) 12: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (0x7f96f0230000+0x2b4f) [0x7f96f0232b4f]
(EE) 13: /usr/lib/x86_64-linux-gnu/libdrm_amdgpu.so.1 (amdgpu_cs_submit+0x44) [0x7f96f0232f24]
(EE) 14: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x73f54a) [0x7f96ef3d654a]
(EE) 15: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x689a97) [0x7f96ef320a97]
(EE) 16: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x746477) [0x7f96ef3dd477]
(EE) 17: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x6838ad) [0x7f96ef31a8ad]
(EE) 18: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x748bd7) [0x7f96ef3dfbd7]
(EE) 19: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x24413a) [0x7f96eeedb13a]
(EE) 20: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x1a8f23) [0x7f96eee3ff23]
(EE) 21: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x2066ac) [0x7f96eee9d6ac]
(EE) 22: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x199e36) [0x7f96eee30e36]
(EE) 23: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a04b) [0x7f96eee3104b]
(EE) 24: /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so (0x7f96eec97000+0x19a445) [0x7f96eee31445]
(EE) 25: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0xdf1f) [0x7f96eac9ff1f]
(EE) 26: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x1fbb0) [0x7f96eacb1bb0]
(EE) 27: /usr/lib/xorg/modules/libglamoregl.so (0x7f96eac92000+0x2076d) [0x7f96eacb276d]
(EE) 28: /usr/bin/X (0x563405f0b000+0x13d91b) [0x56340604891b]
(EE) 29: /usr/bin/X (doPolyText+0x198) [0x563405f65a28]
(EE) 30: /usr/bin/X (PolyText+0x59) [0x563405f66769]
(EE) 31: /usr/bin/X (0x563405f0b000+0x55499) [0x563405f60499]
(EE) 32: /usr/bin/X (0x563405f0b000+0x5818f) [0x563405f6318f]
(EE) 33: /usr/bin/X (0x563405f0b000+0x5c34b) [0x563405f6734b]
(EE) 34: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7f96f3f12a40]
(EE) 35: /usr/bin/X (_start+0x29) [0x563405f516c9]
(EE) 
(EE) [mi] EQ overflow continuing.  500 events have been dropped.
Comment 1 Ernst Sjöstrand 2015-11-18 20:04:21 UTC
So that was with the amdgpu DDX. I get a similar experience with modesetting driver, ie. mouse freezes when starting Steam, vsync doesn't work in gnome-shell, low FPS (at least on screen).
Comment 2 Ernst Sjöstrand 2015-11-18 20:04:44 UTC
Created attachment 119917 [details]
modesetting-dmesg
Comment 3 Ernst Sjöstrand 2015-11-18 20:06:26 UTC
Created attachment 119918 [details]
modesetting-Xorg.0.log
Comment 4 Michel Dänzer 2015-11-19 02:51:06 UTC
It sounds like maybe the GPU interrupt isn't working reliably or something like that.
Comment 5 Ernst Sjöstrand 2015-11-23 15:12:50 UTC
My system only support PCI-Express 2.0, not 3.0. Could that be something?
Does someone _not_ have these problems with Fiji?
Comment 6 Ernst Sjöstrand 2015-12-01 20:08:23 UTC
I don't even get 60 fps in glxgears with a tiny window:
292 frames in 5.0 seconds = 58.264 FPS
286 frames in 5.0 seconds = 57.198 FPS
291 frames in 5.0 seconds = 58.198 FPS
(amdgpu ddx+dri2)
Comment 7 Alex Deucher 2015-12-01 20:40:31 UTC
The vsync/pageflip issue is probably bug 93147.
Comment 8 Ernst Sjöstrand 2015-12-02 13:04:35 UTC
Alex: is the commit causing that really part of your powerplay branch?
Comment 9 Ernst Sjöstrand 2015-12-02 19:08:59 UTC
Ok if I revert the two patches mentioned in bug 93147 I get 60.0 fps in glxgears and smoother desktop at startup.

But I still have
1) mouse freezes when starting steam

2) if I run Unigine Heaven benchmark, apart from low performance (~30 fps @ 1080p), vsync seems to break down really bad during the run, and stays severely broken afterwards.
Comment 10 Michel Dänzer 2015-12-03 03:08:59 UTC
(In reply to Ernst Sjöstrand from comment #9)
> 1) mouse freezes when starting steam

This is probably fixed in xserver 1.17.3 by http://cgit.freedesktop.org/xorg/xserver/commit/?h=server-1.17-branch&id=8415eca0abc00ec96cb94cd656b58edbfa8f09a3


> 2) if I run Unigine Heaven benchmark, apart from low performance (~30 fps @
> 1080p), vsync seems to break down really bad during the run, and stays
> severely broken afterwards.

What does "vsync breaks down" mean exactly?
Comment 11 Ernst Sjöstrand 2015-12-03 07:17:14 UTC
It means that I get a lot of tearing both in 3D graphics like Unigine Heaven even though vsync is enabled, and when moving around a window in Gnome Shell.
Comment 12 Michel Dänzer 2015-12-03 09:33:15 UTC
The modesetting driver in xserver 1.17 didn't support page flipping yet. To avoid tearing, you need the modesetting driver from xserver 1.18 or current xf86-video-amdgpu with Fiji support (and enable Option "DRI3" to avoid tearing when moving around windows in gnome-shell).
Comment 13 Ernst Sjöstrand 2015-12-03 10:40:31 UTC
I have xserver 2:1.17.2-1ubuntu9
and
xserver-xorg-video-amdgpu 1.0.99+git1511200733.43c2dc~gd~w
with DRI3 enabled now.

Doesn't help, very bad interactivity during Unigine Heaven and vsync
does not work during and after running Heaven.
Comment 14 Michel Dänzer 2015-12-04 01:17:51 UTC
Please attach the log file for that and provide the output of "LIBGL_DEBUG=verbose glxinfo >/dev/null".
Comment 15 Ernst Sjöstrand 2015-12-04 17:22:56 UTC
Ah, I had been running with LIBGL_DRI3_DISABLE=1 because of
https://bugs.freedesktop.org/show_bug.cgi?id=84252
https://bugzilla.mozilla.org/show_bug.cgi?id=1069523

So only applying that variable to Firefox it seems like I can't break vsync. (This was OK before powerplay though?)

I saw a bunch of regressions when switching to the powerplay kernel so I listed them here, thinking they were caused by "powerplay". The rest are still there.
Comment 16 Ernst Sjöstrand 2015-12-09 18:42:17 UTC
Yey, seems to be solved!
Seems to be solved for another user on the Phoronix forums also:
http://openbenchmarking.org/result/1511262-HA-1510216HA93
http://www.phoronix.com/forums/forum/linux-graphics-x-org-drivers/open-source-amd-linux/834606-amd-tonga-fiji-open-source-performance-boosted-by-powerplay-patches/page6

After my latest pull of agd5f/amdgpu-powerplay I now get > 100 FPS in Unigine Heaven, the mouse cursor doesn't freeze when I start Steam etc.
So it's one of the new commits on drm-next-4.5-wip I guess.
Comment 17 Ernst Sjöstrand 2015-12-09 22:43:07 UTC
Actually the EQ overflowing errors are not gone, they just happen so quickly now that I hardly notice it.
Comment 18 Ernst Sjöstrand 2016-11-25 21:11:36 UTC
Right, this was fixed! :-)

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.