You are not logged in.
This was resolved a while back by the explicit sync patch to the NVIDIA driver 555 in the repository and KDE plasma explicit sync patch
I also wanted to use this opportunity to Thank @Seth for all the help you are giving on this forum and @v1del for all the work you are also doing in moderating and answering questions on this forum.
Also to the people who worked on getting explicit sync into the NVIDIA driver.
To the Wayland team and the desktop teams who got explicit sync to where it is now in the desktop and the wonderful experience it now is as well as the more secure experience and the work on the Linux desktop in general.
A heartfelt thank you to everyone above the Linux experience would not be as good without you and the hard work you do.
-----------------------------------
Hi all
I have been using wayland since plasma 6 rolled out in the extra repositry
However i have noticed some issues with the occasional screen tear while using chromium under xwayland (This is barely noticable)
When i run games however it is very noticable specifically rather significant screen tearing (looks kind of like stuttering) in a game called oxygen not included from steam and very severe tearing and the window flashing white with minecraft.
in oxygen not included case steam and the game run under x11
in multimc minecraft's case multimc the launcher runs under wayland but the minecraft instance itself runs under x11.
Sounds like this case excluding the slow text input
=https://bbs.archlinux.org/viewtopic.php?id=293622&p=2
Software
KDE Plasma Version : 6.0.2
KDE Frameworks Version : 6.0.0
QT Version : 6.6.2
Kernel Version : 6.6.21-1-lts (64-bit)
Hardware
processor AMD Ryzen 9 5950x
memmory 32Gb ram
Graphics Processor : nvidia geforce rtx 2080 super
motherboard : gigabyte x570S UD
let me know what info you need and whether to post it here or here through another platform
output of loginctl session-status
2 - karnak (1003)
Since: Fri 2024-03-15 10:59:48 NZDT; 3h 32min ago
State: active
Leader: 1067 (sddm-helper)
Seat: seat0; vc1
TTY: tty1
Remote: no
Service: sddm
Type: wayland
Class: user
Desktop: KDE
Idle: no
Unit: session-2.scope
├─1067 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-2117737f-757f-4fb1-8be8-3dfc2a5adb0d --id 1>
├─1114 /usr/bin/kwalletd6 --pam-login 12 14
└─1115 /usr/bin/startplasma-wayland
Mar 15 10:59:48 deathcap systemd[1]: Started Session 2 of User karnak.
Mar 15 10:59:49 deathcap sddm-helper[1113]: pam_kwallet5: final socket path: /run/user/1003/kwallet5.socket
Mar 15 10:59:49 deathcap sddm-helper[1115]: Jumping to VT 1
Mar 15 10:59:49 deathcap sddm-helper[1115]: VT mode didn't need to be fixed output of
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.0.2
Qt Version: 6.6.2
Qt compile version: 6.6.2
XCB compile version: 1.16.1
Operation Mode: Xwayland
Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes
HAVE_GLX: yes
X11
===
Vendor: The X.Org Foundation
Vendor Release: 12302004
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.breeze
Theme: Breeze
Plugin recommends border size: None
onAllDesktopsAvailable: true
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
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
compositingMode: 1
useCompositing: true
hiddenPreviews: 1
glSmoothScale: 2
glStrictBinding: true
glStrictBindingFollowsDriver: true
glPreferBufferSwap: AutoSwapStrategy
glPlatformInterface: 2
windowsBlockCompositing: true
allowTearing: false
Screen Edges
============
desktopSwitching: true
desktopSwitchingMovingClients: true
cursorPushBackDistance: 1x1
timeThreshold: 75
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0
Screens
=======
Active screen follows mouse: yes
Number of Screens: 2
Screen 0:
---------
Name: DP-1
Enabled: 1
Geometry: 2560,0,2560x1440
Scale: 1
Refresh Rate: 143973
Adaptive Sync: automatic
Screen 1:
---------
Name: DP-3
Enabled: 1
Geometry: 0,0,2560x1440
Scale: 1
Refresh Rate: 144000
Adaptive Sync: incapable
Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 2080 SUPER/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 550.54.14
OpenGL platform interface: EGL
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 550.54.14
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.23.2
Linux kernel version: 6.6.21
Direct rendering: Requires strict binding: no
Virtual Machine: no
OpenGL 2 Shaders are used
Loaded Effects:
---------------
screenshot
outputlocator
colorpicker
zoom
screenedge
mousemark
blur
contrast
logout
sessionquit
login
slidingpopups
windowaperture
slide
maximize
frozenapp
fullscreen
squash
fadingpopups
scale
morphingpopups
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
screentransform
kscreen
Currently Active Effects:
-------------------------
blur
contrast
fadingpopups
scale
highlightwindow
Effect Settings:
----------------
screenshot:
outputlocator:
colorpicker:
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
focusTrackingEnabled: false
textCaretTrackingEnabled: false
focusDelay: 350
moveFactor: 20
targetZoom: 1
screenedge:
mousemark:
width: 3
color: #ff0000
modifiers:
modifiers:
blur:
contrast:
logout:
pluginId: logout
isActiveFullScreenEffect: false
sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false
login:
pluginId: login
isActiveFullScreenEffect: false
slidingpopups:
slideInDuration: 150
slideOutDuration: 250
windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false
slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true
maximize:
pluginId: maximize
isActiveFullScreenEffect: false
frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false
fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false
squash:
pluginId: squash
isActiveFullScreenEffect: false
fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false
scale:
pluginId: scale
isActiveFullScreenEffect: false
morphingpopups:
pluginId: morphingpopups
isActiveFullScreenEffect: false
dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false
windowview:
activeView:
delegate:
animationDuration: 300
layout: 1
ignoreMinimized: false
mode:
partialActivationFactor: 0
gestureInProgress: false
searchText:
selectedIds:
tileseditor:
activeView:
delegate:
animationDuration: 200
overview:
activeView:
delegate:
animationDuration: 300
layout: 1
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
screentransform:
kscreen:
Loaded Plugins:
---------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
krunnerintegration
nightcolor
screencast
Available Plugins:
------------------
BounceKeysPlugin
StickyKeysPlugin
buttonsrebind
krunnerintegration
nightcolor
screencast also i tried running the game warsow as per seth's suggestion in the thread linked above suffering no screen tearing or issues which makes it look like this is to do with xwayland because if i run x11 not under wayland it seems to function fine beyond my desktop background going black and desktop apps dissapearing.
let me know if i need to post anything else or any of the above again with filtering
Thank you for reading all this and any help offered
edit
forgot to mention if running any games through lutris enabling dgvoodoo2 (which if i understand is a directx substitute/emulation) screen tearing is reduced significantly
Last edited by Fullsteam (2024-09-08 20:59:29)
Offline
Online
that does make a significant difference
i believe chrome is still suffering lag when playing videos however when playing a game through steam is when i have noticed
and minecraft when actually playing in a world the screen is flashing white
that game oxygen not included is functioning very well
also thought i would check factorio that is going between flickering black for fraction of a second and fully black for roughly a second
Offline
Is chrome configured to use the wayland backend? You should configure it to do so: https://wiki.archlinux.org/title/Chromi … nd_support
Offline
Thanks V1del thats chrome sorted because it wasn't flagged to use wayland
also turns out you can just go to chrome://flags normal method to flick the ozone parameter to wayland
Offline
x-ref reg. factorio: https://bbs.archlinux.org/viewtopic.php … 0#p2157610
Online
Hi sorry for taking a while to get back to this
Seth could you clarify what you mean by xref reg factorio, because i'm not sure what you mean my best guess from a couple of seconds look is reverse engineering, or something like a memory or process dump.
from something i read on reddit it could take a year for the nvidia explicit sync patch to get merged into mainline?
if thats true its either stick with xorg or transition to amd if i understand?
i'll edit with those links when i get back a bit later
links
=https://www.reddit.com/r/kde/comments/ … ch_in_kde/
=https://gitlab.freedesktop.org/xorg/xs … quests/967
Last edited by Fullsteam (2024-03-17 22:08:06)
Offline
https://en.wikipedia.org/wiki/Cross-reference ![]()
from something i read on reddit
… srsly?
Either way, from what I can tell xorg-xwayland-explicit-sync-git doesn't fix specifically factorio for Papapuff (did you try?)
So mainline or git, facebook or reddit - it's possibly not related to the factorio issue at all (resp. factorio might have layers of issues here) ![]()
Does the game come w/ some confgi options reg. its renderer?
Online
I mean i'm mainly using factorio as an example here minecraft is more the hill i'm going for specifically my 1.7.10 modpack.
however in terms of factorio i only get a couple of seconds grace before the just goes black and i have to just click and pray i clicked the right thing so pretty unworkable.
in terms of minecraft the only thing i'm having issues with is the screen specifically minecraft not the whole screen flashing white and on the main menu the graphics fragmenting severly for minecraft the only solution i've found is glfw minecraft git which is the glfw library patched for minecraft.
Cheers for the clarity on cross reference : )
Offline
There're reports about the 550xx driver causing some "black flicker" - have you tried the 545xx or 535xx driver against this?
(nb. that the dkms versions in the ALA will NOT build against the 6.8 kernel, you'd have to try along the LTS kernel)
Online
I'm trying the nvidia 535.54.03 dkms module however against kernel 6.6.22-1-lts its responding withg
'make' -j32 IGNORE_PREEMPT_RT_PRESENCE=1 NV_EXCLUDE_BUILD_MODULES='__EXCLUDE_MODULES' KERNEL_UNAME=6.6.22-1-lts modules....(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.6.22-1-lts (x86_64)
Consult /var/lib/dkms/nvidia/535.54.03/build/make.log for more information.
as it is nvidia 545 driver does make a difference because minecraft isn't crashing on close its properly closing
i'm trying the 535.54.03-8 driver non dkms now
EDIT
tried 535.54.03-8 non dkms non lts however that didn't work
Last edited by Fullsteam (2024-03-24 04:25:24)
Offline
Actually just looked at factorio forums
found this post though same kind of problem actually
https://forums.factorio.com/viewtopic.php?t=74751
in steam had to add the option --force-opengl other wise it would just be a black screen
testing minecraft still have tempermental flickering
FYI
I had to switch back to nvidia 550 driver
also i am no longer running the xorg-xwayland or xorgproto git packages (yeah it was a mistake and i will reinstall still i'm not against just sticking with xorg untill may 15th)
oh also went digging and saw this
https://github.com/NVIDIA/egl-wayland/p … 2010292221
nvidia rep saying that they are targetting a may 15th release with beta driver 555 hopefully that timeline sticks with the explicit sync patch
Last edited by Fullsteam (2024-06-24 08:42:44)
Offline
Been a while I held off on trying driver version 555 because of it being a beta and this being my main system.
but with plasma 6.1 implementing explicit sync in the stable branch i'm wondering how stable is the nvidia driver 555 because of course explicit sync in plasma is not useful if the graphics card doesn't support it
Thanks in advance for any feedback
Offline