You are not logged in.

#1 2015-04-30 23:34:06

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Dropping half FPS while moving mouse

Hi all,

After upgrading the system, I found that 3D game is not working properly.
When I move the mouse, the game's FPS will drop by half.
When the mouse is stationary, or click and hold the screen within the game, the FPS will return to normal, no matter how I moved.
I try to disable vsync, but it is no effect.
The problem is exist in both discrete graphics and integrated graphics.

x1ZyNom.png
Mouse is stationary or outside the window


9YCkhrJ.png
Moving mouse

Anyone know where is the problem?

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

Linux 4.0.1-1-ARCH
Nvidia 349.16-2
xf86-video-intel 2.99.917-5
xorg-server 1.17.1-5
wine 1.7.41-1

Last edited by MagicFish1990 (2015-05-01 07:28:19)

Offline

#2 2015-05-01 06:59:59

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Dropping half FPS while moving mouse

Hi MagicFish1990,

please don't do this. If you had a problem and you found a solution, share the solution with the other users https://wiki.archlinux.org/index.php/Fo … way_street.
If you think your post should be deleted then use the report button (at the bottom right edge of your post) to contact a moderator and ask for deletion.


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#3 2015-05-01 07:06:01

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Re: Dropping half FPS while moving mouse

mauritiusdadd wrote:

Hi MagicFish1990,

please don't do this. If you had a problem and you found a solution, share the solution with the other users https://wiki.archlinux.org/index.php/Fo … way_street.
If you think your post should be deleted then use the report button (at the bottom right edge of your post) to contact a moderator and ask for deletion.

Sorry, I restored the content.

I think this is a kernel bug, I downgrade to linux-3.19.3-3,  then it returned to normal.
But I don't know how to report it.
It  related to 3 large projects (linux, mesa, wine), but I did not find where is the problem.

Last edited by MagicFish1990 (2015-05-01 07:17:40)

Offline

#4 2015-05-01 07:16:59

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Re: Dropping half FPS while moving mouse

.

Last edited by MagicFish1990 (2015-05-01 07:17:14)

Offline

#5 2015-05-01 07:20:27

mauritiusdadd
Member
From: Benevento, Italy
Registered: 2013-10-27
Posts: 776

Re: Dropping half FPS while moving mouse

MagicFish1990 wrote:

Sorry, I restored the content.

But, I think this is a kernel bug, I downgrade to linux-3.19.3-3,  then it returned to normal.

Thank you smile
I don't have an answer (maybe it has something to do with interrupts) but if downgrading the kernel helped then you could be right.


About me - github

-- When you have eliminated the impossible, whatever remains, however improbable, must be the truth -- Spock | Sherlock Holmes

Offline

#6 2015-05-01 07:39:07

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Dropping half FPS while moving mouse


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2015-05-03 22:45:28

ien
Member
Registered: 2014-08-06
Posts: 16

Re: Dropping half FPS while moving mouse

I had similar performance issues with flash videos and problem was too high mouse polling rate, https://wiki.archlinux.org/index.php/Mouse_polling_rate
By default it was polling at 1000 hz and videos would start to lag everytime I moved mouse, but it stopped when I lowered rate to 250hz.

Offline

#8 2015-05-04 22:34:55

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Re: Dropping half FPS while moving mouse

@ien Hi, I tried it, but the problem still remains.

Offline

#9 2015-05-04 23:33:20

progandy
Member
Registered: 2012-05-17
Posts: 5,305

Re: Dropping half FPS while moving mouse

If a kernel downgrade helps, did you compare the kernel configurations (zcat /proc/config.gz) or consider a git bisect of the kernel?
https://wiki.archlinux.org/index.php/Bisecting_bugs
https://wiki.gentoo.org/wiki/Kernel_git-bisect


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#10 2015-05-05 01:10:26

MagicFish1990
Member
From: Beijing,China
Registered: 2010-07-12
Posts: 16

Re: Dropping half FPS while moving mouse

@progandy kernel config looks no significant change.

# Linux/x86 3.19.3-3 Kernel Configuration                     | # Linux/x86 4.0.1-1 Kernel Configuration
                                                              > CONFIG_SRCU=y
                                                              > CONFIG_RCU_KTHREAD_PRIO=0
CONFIG_INIT_FALLBACK=y                                        <
                                                              > CONFIG_LOCK_SPIN_ON_OWNER=y
                                                              > # CONFIG_X86_AMD_PLATFORM_DEVICE is not set
                                                              > # CONFIG_ZSMALLOC_STAT is not set
                                                              > CONFIG_HAVE_LIVEPATCH=y
                                                              > CONFIG_ACPI_HOTPLUG_IOAPIC=y
                                                              > CONFIG_IEEE802154_SOCKET=m
                                                              > CONFIG_NET_ACT_BPF=m
                                                              > CONFIG_NET_ACT_CONNMARK=m
                                                              > # CONFIG_BT_SELFTEST is not set
                                                              > # CONFIG_MTD_NAND_HISI504 is not set
# CONFIG_BLK_DEV_XIP is not set                               <
CONFIG_I2O=m                                                  <
CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=y                            <
CONFIG_I2O_EXT_ADAPTEC=y                                      <
CONFIG_I2O_EXT_ADAPTEC_DMA64=y                                <
CONFIG_I2O_CONFIG=m                                           <
CONFIG_I2O_CONFIG_OLD_IOCTL=y                                 <
CONFIG_I2O_BUS=m                                              <
CONFIG_I2O_BLOCK=m                                            <
CONFIG_I2O_SCSI=m                                             <
CONFIG_I2O_PROC=m                                             <
                                                              > CONFIG_AMD_XGBE=m
                                                              > CONFIG_IXGBE_VXLAN=y
                                                              > CONFIG_TI_CPSW_ALE=m
                                                              > CONFIG_AMD_XGBE_PHY=m
                                                              > CONFIG_MOUSE_PS2_FOCALTECH=y
                                                              > CONFIG_INPUT_E3X0_BUTTON=m
                                                              > CONFIG_INPUT_TPS65218_PWRBUTTON=m
                                                              > CONFIG_DEVMEM=y
# CONFIG_SERIAL_MRST_MAX3110 is not set                       <
CONFIG_TCG_ST33_I2C=m                                         | CONFIG_TCG_TIS_I2C_ST33=m
                                                              > CONFIG_TCG_CRB=m
                                                              > # CONFIG_BATTERY_GAUGE_LTC2941 is not set
                                                              > # CONFIG_POWER_RESET_RESTART is not set
                                                              > CONFIG_USB_GSPCA_TOUPTEK=m
CONFIG_VIDEO_BTCX=m                                           <
                                                              > CONFIG_DRM_MIPI_DSI=y
CONFIG_DRM_PTN3460=m                                          <
                                                              > CONFIG_DRM_PANEL=y
                                                              >
                                                              > #
                                                              > # Display Panels
                                                              > #
                                                              > CONFIG_DUMMY_CONSOLE_COLUMNS=80
                                                              > CONFIG_DUMMY_CONSOLE_ROWS=25
                                                              > CONFIG_SND_USB_LINE6=m
                                                              > CONFIG_SND_USB_POD=m
                                                              > CONFIG_SND_USB_PODHD=m
                                                              > CONFIG_SND_USB_TONEPORT=m
                                                              > CONFIG_SND_USB_VARIAX=m
                                                              > CONFIG_HID_BETOP_FF=m
CONFIG_USB_ISP1760_HCD=m                                      <
                                                              > # CONFIG_USB_ISP1760 is not set
CONFIG_MMC_SDHCI_PXAV3=m                                      <
CONFIG_MMC_SDHCI_PXAV2=m                                      <
                                                              > CONFIG_LEDS_CLASS_FLASH=m
                                                              > # CONFIG_RTC_DRV_ABB5ZES3 is not set
                                                              > CONFIG_RTC_DRV_DS1685_FAMILY=m
                                                              > CONFIG_RTC_DRV_DS1685=y
                                                              > # CONFIG_RTC_DRV_DS1689 is not set
                                                              > # CONFIG_RTC_DRV_DS17285 is not set
                                                              > # CONFIG_RTC_DRV_DS17485 is not set
                                                              > # CONFIG_RTC_DRV_DS17885 is not set
                                                              > # CONFIG_RTC_DS1685_PROC_REGS is not set
                                                              > CONFIG_RTC_DS1685_SYSFS_REGS=y
                                                              > CONFIG_VIRTIO_PCI_LEGACY=y
                                                              > CONFIG_XEN_BALLOON_MEMORY_HOTPLUG_LIMIT=512
CONFIG_LINE6_USB=m                                            <
# CONFIG_LINE6_USB_IMPULSE_RESPONSE is not set                <
                                                              > # CONFIG_FB_SM7XX is not set
CONFIG_TOUCHSCREEN_CLEARPAD_TM1217=m                          <
CONFIG_VIDEO_TLG2300=m                                        <
CONFIG_MEDIA_PARPORT_SUPPORT=y                                <
CONFIG_VIDEO_BWQCAM=m                                         <
CONFIG_VIDEO_CQCAM=m                                          <
CONFIG_VIDEO_W9966=m                                          <
# CONFIG_VIDEO_SAA7191 is not set                             <
                                                              > # CONFIG_FB_TFT is not set
                                                              > CONFIG_I2O=m
                                                              > CONFIG_I2O_LCT_NOTIFY_ON_CHANGES=y
                                                              > CONFIG_I2O_EXT_ADAPTEC=y
                                                              > CONFIG_I2O_EXT_ADAPTEC_DMA64=y
                                                              > CONFIG_I2O_CONFIG=m
                                                              > CONFIG_I2O_CONFIG_OLD_IOCTL=y
                                                              > CONFIG_I2O_BUS=m
                                                              > CONFIG_I2O_BLOCK=m
                                                              > CONFIG_I2O_SCSI=m
                                                              > CONFIG_I2O_PROC=m
                                                              > # CONFIG_COMMON_CLK_CDCE706 is not set
                                                              >
                                                              > #
                                                              > # Generic IOMMU Pagetable Support
                                                              > #
                                                              > CONFIG_IOMMU_IOVA=y
                                                              > # CONFIG_PM_DEVFREQ_EVENT is not set
                                                              > # CONFIG_MMA9551 is not set
                                                              > # CONFIG_MMA9553 is not set
                                                              > # CONFIG_CC10001_ADC is not set
                                                              > # CONFIG_QCOM_SPMI_VADC is not set
                                                              >
                                                              > #
                                                              > # SSP Sensor Common
                                                              > #
                                                              > # CONFIG_IIO_SSP_SENSORHUB is not set
                                                              > # CONFIG_KMX61 is not set
                                                              > # CONFIG_CM3232 is not set
                                                              > # CONFIG_JSA1212 is not set
                                                              > # Proximity sensors
                                                              > #
                                                              > # CONFIG_SX9500 is not set
                                                              >
                                                              > #
                                                              > # CONFIG_FS_DAX is not set
                                                              > CONFIG_EFIVAR_FS=y
                                                              > # CONFIG_PSTORE_PMSG is not set
CONFIG_EFIVAR_FS=y                                            | # CONFIG_F2FS_IO_TRACE is not set
                                                              > CONFIG_PNFS_FLEXFILE_LAYOUT=m
                                                              > CONFIG_NFSD_PNFS=y
                                                              > CONFIG_HAVE_ARCH_KASAN=y
                                                              > # CONFIG_KASAN is not set
                                                              > CONFIG_KASAN_SHADOW_OFFSET=0xdffffc0000000000
                                                              > # CONFIG_TEST_HEXDUMP is not set
# CONFIG_KEYS_DEBUG_PROC_KEYS is not set                      <
                                                              > CONFIG_CRYPTO_USER_API_RNG=m
                                                              > CONFIG_KVM_GENERIC_DIRTYLOG_READ_PROTECT=y
                                                              > CONFIG_KVM_COMPAT=y
                                                              > # CONFIG_HAVE_ARCH_BITREVERSE is not set

I am going to do git bisect.

Offline

Board footer

Powered by FluxBB