Bug 404669 - Show FPS effect does not work on dual monitors
Summary: Show FPS effect does not work on dual monitors
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.15.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-22 00:47 UTC by SimplyCorbett
Modified: 2023-09-06 10:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
ShowFPS is outside of the visible screen (3.91 MB, image/png)
2019-02-22 16:18 UTC, SimplyCorbett
Details
TopCentered (432.72 KB, image/png)
2019-02-22 21:51 UTC, SimplyCorbett
Details
TopAlignedRight (432.21 KB, image/jpeg)
2019-02-22 21:52 UTC, SimplyCorbett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SimplyCorbett 2019-02-22 00:47:03 UTC
SUMMARY
Show FPS is not visible on dual monitors. It does become visible when disabling one monitor.

Setup:
Left monitor - 3840x2160
Right monitor - 1600x900
Orientation: Right monitor is on the bottom right of the left monitor in displays.

Nvidia card is installed. Composition is disabled. OpenGL - sync to vblank/allow flipping / uses conformant textures.

kwin is default, with the exception of frame/refresh rate locked to 60fps in kwinrc, and triple buffering enabled in /etc/profile.d.


STEPS TO REPRODUCE
1. Enable Effect (restart optional)
2. No effect
3. Disable secondary monitor, effect visible

OBSERVED RESULT
No effect with dual monitors

EXPECTED RESULT
Effect visible

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 4.20.10-arch1-1-ARCH
(available in About System)
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1

ADDITIONAL INFORMATION
Comment 1 SimplyCorbett 2019-02-22 00:48:29 UTC
Sorry, my setup was confusing.

The left monitor is on the bottom right of the right monitor.
Comment 2 Martin Flöser 2019-02-22 05:24:06 UTC
Please provide the output of qdbus org.kde.KWin /KWin supportInformation
Comment 3 SimplyCorbett 2019-02-22 16:09:50 UTC
(In reply to Martin Flöser from comment #2)
> Please provide the output of qdbus org.kde.KWin /KWin supportInformation

[paradox@workstation ~]$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. https://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.15.1
Qt Version: 5.12.1
Qt compile version: 5.12.1
XCB compile version: 1.13.1

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12003000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.kwin.aurorae
Theme: __aurorae__svg__Adapta
Blur: 1
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 60
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 99
glPlatformInterface: 1
windowsBlockCompositing: false

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 2

Screen 0:
---------
Name: DP-4
Geometry: 0,0,3840x2160
Scale: 1
Refresh Rate: 59.9966

Screen 1:
---------
Name: DP-1
Geometry: 3840,1260,1600x900
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce RTX 2080 Ti/PCIe/SSE2
OpenGL version string: 4.6.0 NVIDIA 415.27
OpenGL platform interface: GLX
OpenGL shading language version string: 4.60 NVIDIA
Driver: NVIDIA
Driver version: 415.27
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
X server version: 1.20.3
Linux kernel version: 4.20.10
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
showfps
kwin4_effect_logout
zoom
kwin4_effect_windowaperture
kwin4_effect_maximize
kwin4_effect_dialogparent
kwin4_effect_squash
kwin4_effect_fade
kwin4_effect_login
kwin4_effect_fadingpopups
kwin4_effect_frozenapp
kwin4_effect_morphingpopups
kwin4_effect_translucency
slidingpopups
slide
screenshot
desktopgrid
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
showfps
blur
contrast

Effect Settings:
----------------
showfps:
alpha: 0.5
x: 5230
y: 0
fpsTextRect: 
textAlign: 34
textFont: Noto Sans,10,-1,5,50,0,0,0,0,0,Regular
textColor: #aaff00

kwin4_effect_logout:
isActiveFullScreenEffect: false

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

kwin4_effect_windowaperture:
isActiveFullScreenEffect: false

kwin4_effect_maximize:
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
isActiveFullScreenEffect: false

kwin4_effect_squash:
isActiveFullScreenEffect: false

kwin4_effect_fade:
isActiveFullScreenEffect: false

kwin4_effect_login:
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
isActiveFullScreenEffect: false

kwin4_effect_translucency:
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

slide:
duration: 500
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

screenshot:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

colorpicker:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:


[paradox@workstation ~
Comment 4 SimplyCorbett 2019-02-22 16:18:41 UTC
Created attachment 118292 [details]
ShowFPS is outside of the visible screen

Not sure if I can do anything to fix this on my end.
Comment 5 Martin Flöser 2019-02-22 19:12:29 UTC
Please try to top align the screens.
Comment 6 SimplyCorbett 2019-02-22 21:51:43 UTC
Created attachment 118303 [details]
TopCentered

On top, in center.
Comment 7 SimplyCorbett 2019-02-22 21:52:10 UTC
Created attachment 118304 [details]
TopAlignedRight
Comment 8 Guo Yunhe 2020-03-29 17:12:20 UTC
When the two monitors have different refresh rate: one in 60Hz, the other in 30Hz, shouldn't two FPS widgets be shown?

* Left 3840x2160@30Hz
* Right 1920x1080@60Hz
* Top alignment

In my case, the FPS widget always show FPS of the lower refresh rate screen, but the widget is shown in the higher refresh rate screen, which is confusing.
Comment 9 David Edmundson 2023-09-06 10:38:20 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.