You are not logged in.

#1 2022-11-29 17:22:36

Algorhythm
Member
Registered: 2022-06-09
Posts: 9

[SOLVED] FPS stutter on certain input events

Update: I noticed that this behaviour is present with just a single monitor connected, I'm surprised that I never noticed it before. It seems to be an issue with i3 itself so I will close this thread and move discussion there.

I recently added a second 165Hz monitor to my 60Hz one. After I got the new monitor to use its full refresh rate I noticed that certain events cause a noticeable short pause on both monitors, but only when both are used (even when both have the same refresh rate).

The events that do this include:
- changing the active window
- creating/closing windows
- clicking in any window or the i3 bar (but curiously not when I click on the desktop background)

Scrolling or highlighting ui elements within windows does not cause stuttering.

CPU/GPU:
- AMD Ryzen 5 1600
- NVIDIA GTX 1070ti

driver: nvidia 520.56.06-11
wm: i3
compositor: picom

xrandr output:

Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 32767 x 32767
DVI-D-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1080     60.00    59.94    50.00    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-0 connected primary 1920x1080+2560+251 (normal left inverted right x axis y axis) 526mm x 296mm
   1920x1080     60.00 + 165.00*  144.00   119.88   100.00    59.94    50.00    29.97    25.00    23.98  
   1680x1050     59.95  
   1600x900      60.00  
   1280x1024    119.96    75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1024x768     143.93   119.99    75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00  
   720x480       59.94  
   640x480       75.00    59.94    59.93  
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 disconnected (normal left inverted right x axis y axis)
DP-5 disconnected (normal left inverted right x axis y axis)

Contents of xorg.conf:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 520.56.06

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 510.60.02

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "BenQ GW2765"
    DisplaySize     597    336
    HorizSync       30.0 - 89.0
    VertRefresh     50.0 - 76.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "NVIDIA GeForce GTX 1070 Ti"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "UseEdiDpi" "FALSE"
    Option         "Stereo" "0"
    Option         "nvidiaXineramaInfoOrder" "DFP-2"
    Option         "metamodes" "HDMI-0: 2560x1440_60 +0+0 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}, DP-0: 1920x1080_165 +2560+251 {ForceCompositionPipeline=On, ForceFullCompositionPipeline=On}"
    Option         "SLI" "Off"
    Option         "MultiGPU" "Off"
    Option         "BaseMosaic" "off"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Killing my compositor does not change this behaviour so I don't think the issue is compositor-related.

I've not come across any other threads experiencing this kind of issue in my googling, and I have not managed to find helpful info on the wiki either so any help or troubleshooting suggestions are appreciated!

Thanks

Last edited by Algorhythm (2022-11-29 19:06:07)

Offline

Board footer

Powered by FluxBB