Bug 90357 - FPS will be cut in half when move the mouse
Summary: FPS will be cut in half when move the mouse
Status: CLOSED WORKSFORME
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-07 05:07 UTC by Sheng Yu
Modified: 2017-07-24 22:47 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
FPS changed (34.04 KB, text/plain)
2015-05-07 05:07 UTC, Sheng Yu
no flags Details
Operating normally log (227.61 KB, text/plain)
2015-05-12 02:35 UTC, Sheng Yu
no flags Details
Abnormal operation log (491.48 KB, text/plain)
2015-05-12 02:36 UTC, Sheng Yu
no flags Details

Description Sheng Yu 2015-05-07 05:07:08 UTC
Created attachment 115612 [details]
FPS changed

Hi,

I encountered a problem. 
When I move the mouse in the game, FPS will be reduced from 60 to 30.
It will be restored when the mouse stops again, or tap and hold the screen in the game. (Not a performance issue).
This problem also exist when use Bumblebee and nvidia card.
When the FPS decreases, the cursor have a slight flicker.
This problem does not exist on linux 3.19.3.
Disable vsync no effect.

==========
PS:
I try to use git bisect to find the bug, but I encountered another problem cause I can not test it.
On commit ea2c67bb4affa84080c616920f3899f123786e56, something that causes the entire screen freezes when move the mouse and mouse movement slow and delayed. 
It seems to have been fixed, but I did not find the relevant patches.
So I can not bypass it for other tests, and the two are somewhat similar bug.
==========

System:
Intel(R) Core(TM) i7-4710HQ
NVIDIA GeForce GTX 850M

Linux 4.0.1-1-ARCH
xf86-video-intel 2.99.917-5
nvidia 349.16-2
xorg-server 1.17.1-5
wine 1.7.41-1
Comment 1 Ander Conselvan de Oliveira 2015-05-11 08:28:06 UTC
It's not clear from the description if you are running with an Intel GPU. If you are, please add drm.debug=0x1e to your kernel command line and attach dmesg for the both the kernel that has the issue and the one that doesn't, for comparison.
Comment 2 Sheng Yu 2015-05-12 02:35:20 UTC
Created attachment 115704 [details]
Operating normally log
Comment 3 Sheng Yu 2015-05-12 02:36:59 UTC
Created attachment 115705 [details]
Abnormal operation log

Abnormal operation log, a large number of 
[106.436456] [drm: drm_atomic_set_fb_for_plane] Set [FB: 48] for plane state ffff880409564b40
Comment 4 Sheng Yu 2015-06-10 03:53:15 UTC
This BUG was fixed in Linux 4.0.5, FPS no longer dropped.


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.