You are not logged in.

#26 2025-11-05 10:34:32

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

In the video the mangohud flickers over the game (ie. sometimes everything's black but sometimes also just the hud is cut off) - is that a recording artifact?

No thats the way it works even without recording, everything shown is as it is.

The vulkan I consider it as fixed since the window settings do the trick and the cursor issue is more or less present on old valve games and games where the cursor is ever present like for example RTS games. The newer plasma 6.5 update I guess fixed the issue for FPS games so ill prob have to wait for a future update to fix it on RTS games or anything remaining. WINEcfg input setting will do for now. I have a spare disk that I can install arch so Ill do that and do further testing. If the same issues arise or they don't and find what initially causes the issue ill report back.

Last edited by Stef99 (2025-11-05 10:36:53)

Offline

#27 2025-11-05 20:44:57

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

I installed arch on my spare hdd with plasma, only plasma related things installed and it didn't fix the issues. Both vulkan flickering and cursor escaping (on non-fps games) are present.

Last edited by Stef99 (2025-11-05 20:46:10)

Offline

#28 2025-11-06 16:27:48

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,321

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

Offline

#29 2025-11-07 15:15:34

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

Don't have an outdated kernel, my info :

 Operating System: Arch Linux 
KDE Plasma Version: 6.5.1
KDE Frameworks Version: 6.19.0
Qt Version: 6.10.0
Kernel Version: 6.17.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7700 8-Core Processor
Memory: 32 GB of RAM (31,0 GB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B650 AORUS ELITE AX V2

Offline

#30 2025-11-07 18:39:51

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,321

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

Was meant to forward to https://bbs.archlinux.org/viewtopic.php … 5#p2271025 before that thread lead somewhere else.
Basically plasma color accuracy accurate vs. performance

Offline

#31 2025-11-07 22:03:04

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

Tried either option on various bit limits as well and nothing fixed it. Also the new plasma 6.5.2 update broke the vulkan fix. If you are not in a situation where the cursor is visible (not in a menu or something that has the cursor visible) the flickering starts. Sigh..... when I thought I got most of it fixed.

Last edited by Stef99 (2025-11-07 22:03:54)

Offline

#32 2025-11-08 08:23:35

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,321

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

Does https://zamundaaa.github.io/wayland/202 … ading.html help you out?
"export KWIN_USE_OVERLAYS=1" (to kwin_wayland)

Seems they're also playing around a log w/ the color management and nightcolor code, can you disable those plugins?

qdbus6 org.kde.KWin /KWin supportInformation # should tell you what's currently loaded/active

Offline

#33 2025-11-09 08:42:33

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

enabled "export KWIN_USE_OVERLAYS=1" but it didnt do anything and as for the color management and nightcolor code, by turning them off its enough to disable them right? I did that but didn't have much of a change.
On the new installation without vkbasalt and manghud the flickering is less pronounced with half the screen flickering and the other not but its still there and changes depending on which direction i might be looking at the game. The previous settings on window rules do have some effect and that is if enabled, when theres a cursor on the screen the flickering stops but when not it begins again. windowed mode fixes the issue but at the cost of the taskbar being visible.

Just for reference heres qdbus6 :

qdbus6 org.kde.KWin /KWin supportInformation # should tell you what's currently loaded/active
KWin Support Information:
The following information should be used when requesting support on e.g. https://discuss.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 https://paste.kde.org instead of pasting into support threads.

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

Version
=======
KWin version: 6.5.2
Qt Version: 6.10.0
Qt compile version: 6.10.0
XCB compile version: 1.17.0

Operation Mode: Wayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes

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

Decoration
==========
Plugin: org.kde.breeze
Theme: Breeze
Plugin recommends border size: None
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1
smallSpacing: 2
largeSpacing: 10

Output backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: breeze_cursors
themeSize: 24

Options
=======
focusPolicy: ClickToFocus
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 100
cornerBarrier: 1
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5013
operationMaxButtonRightClick: 5012
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseOnReleaseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
doubleClickBorderToMaximize: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
allowTearing: true
interactiveWindowMoveEnabled: true
pictureInPictureHomeCorner: BottomRightCorner
pictureInPictureMargin: 20
overlayVirtualKeyboardOnWindows: false

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

Screens
=======
Number of Screens: 2

Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 1440,1120,2560x1440
Physical size: 596x335mm
Scale: 1
Refresh Rate: 165080
Adaptive Sync: automatic
Screen 1:
---------
Name: DP-2
Enabled: 1
Geometry: 0,0,1440x2560
Physical size: 597x336mm
Scale: 1
Refresh Rate: 74971
Adaptive Sync: automatic

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 21.1.4, DRM 3.64, 6.17.7-arch1-1)
OpenGL version string: 4.6 (Core Profile) Mesa 25.2.6-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 25.2.6
X server version: 1.24.1
Linux kernel version: 6.17.7
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
outputlocator
colorpicker
zoom
screenedge
blur
login
sessionquit
logout
slidingpopups
windowaperture
slide
dimscreen
fullscreen
squash
fadingpopups
frozenapp
maximize
scale
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
systembell
screentransform
kscreen

Currently Active Effects:
-------------------------
blur

Effect Settings:
----------------
outputlocator:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusDelay: 350
moveFactor: 20
targetZoom: 1

screenedge:

blur:

login:
pluginId: login
isActiveFullScreenEffect: false

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

logout:
pluginId: logout
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

dimscreen:
pluginId: dimscreen
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: ModeAllDesktops
partialActivationFactor: 0
gestureInProgress: false
searchText: 
selectedIds: 

tileseditor:
activeView: 
delegate: 
animationDuration: 200

overview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
desktopOffset: 
searchText: 

highlightwindow:

blendchanges:

startupfeedback:
type: 1

systembell:

screentransform:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
screenshot

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
krunnerintegration
nightlight
screencast
screenshot

Last edited by Stef99 (2025-11-09 08:42:55)

Offline

#34 2025-11-09 14:00:15

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,321

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

windowed mode fixes the issue but at the cost of the taskbar being visible

You could try to use a window rule to enforce the layer to be above the dock.

Offline

#35 2025-11-13 16:27:59

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

You could try to use a window rule to enforce the layer to be above the dock.

Forcing the window above anything else doesn't fix it, it seems the taskbar prevents the flickering from happening in general and removing it makes the flickering happen again.

Offline

#36 2025-11-15 15:31:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 70,321

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

There's gonna be some special casing depending on the effective fullscreen state of the window but that would be the compositor rather than the game.
What happens if you just set the panel to autohiding ?

Offline

#37 Today 10:00:43

Stef99
Member
Registered: 2024-09-06
Posts: 57

Re: [SOLVED] Weird mouse cursor behavior, dual monitor setup in KDE plasma

What happens if you just set the panel to autohiding ?

As long as the panel is visible, everything is fine but after the panel is gone the flickering starts.

Offline

Board footer

Powered by FluxBB