You are not logged in.

#1 2022-11-17 16:46:11

NovaViper
Member
Registered: 2022-01-22
Posts: 22

[Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Hey guys, lately I've been noticing this strange issue where any window I open from time to time suddenly goes all black, I can still select elements on the window but I can't see anything. The only way I've been able to get the UI back is by resizing the window, however even then that sometimes doesn't work so I have to restart my computer to get it back functional.

Image of the issue (images were too big to post so I just linked them)
https://imgur.com/a/5P70BqH
https://imgur.com/SdekYMk


System information
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.7
Kernel Version: 6.0.8-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 2600X Six-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7B79
System Version: 1.0
Nvidia driver version: 520.56.06

Last edited by NovaViper (2023-01-25 01:14:14)

Offline

#2 2022-11-17 17:59:32

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Does suspending the compositor (SHIFT+alt+F12 toggles it) reveal the window?

Offline

#3 2022-11-20 06:03:45

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

seth wrote:

Does suspending the compositor (SHIFT+alt+F12 toggles it) reveal the window?

Sorry for the delay! It looks like it does make it work again but if I restart my computer at any point then it acts up again

Offline

#4 2022-11-20 07:35:39

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

The textures run invalid - either across an S3 (suspend to ram) or because you're running out of VRAM or a bug in kwin.
Suspending the compositor unredirects the windows and makes them directly visible.

1. Do the come back/remain visible if you suspend and then resume the compositor (SHIFT+alt+F12 twice)?
2. What's the output of

qdbus org.kde.KWin /KWin supportInformation

Offline

#5 2022-12-04 00:16:07

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

seth wrote:

The textures run invalid - either across an S3 (suspend to ram) or because you're running out of VRAM or a bug in kwin.
Suspending the compositor unredirects the windows and makes them directly visible.

1. Do the come back/remain visible if you suspend and then resume the compositor (SHIFT+alt+F12 twice)?
2. What's the output of

qdbus org.kde.KWin /KWin supportInformation

Hey sorry for the delay again. It disappears again if I turn the compositor off and on, and attached is the output from the

qdbus org.kde.KWin /KWin supportInformation

command.

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 https://paste.kde.org instead of pasting into support threads.

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

Version
=======
KWin version: 5.26.4
Qt Version: 5.15.7
Qt compile version: 5.15.7
XCB compile version: 1.15

Operation Mode: X11 only

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

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101004
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:
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,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

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

Cursor
======
themeName: Dracula-cursors
themeSize: 24

Options
=======
focusPolicy: 0
xwaylandCrashPolicy:
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
activeMouseScreen: true
placement:
activationDesktopPolicy: 0
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
commandAll1: 10
commandAll2: 3
commandAll3: 14
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: false
glStrictBindingFollowsDriver: true
glPreferBufferSwap: 99
glPlatformInterface: 1
windowsBlockCompositing: true
latencyPolicy:
renderTimeEstimator:

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
=======
Active screen follows mouse:  yes
Number of Screens: 1

Screen 0:
---------
Name: DP-0
Enabled: 1
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60000
Adaptive Sync: incapable

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 525.60.11
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 525.60.11
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.21.1
Linux kernel version: 6.0.10
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
kwin4_effect_windowaperture
kwin4_effect_squash
kwin4_effect_sessionquit
kwin4_effect_scale
kwin4_effect_morphingpopups
kwin4_effect_maximize
kwin4_effect_logout
kwin4_effect_login
kwin4_effect_fullscreen
kwin4_effect_frozenapp
kwin4_effect_fadingpopups
kwin4_effect_dialogparent
colorpicker
outputlocator
blendchanges
screenshot
screenedge
zoom
slidingpopups
slide
desktopgrid
highlightwindow
overview
windowview
blur
contrast
startupfeedback
kscreen

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

Effect Settings:
----------------
kwin4_effect_windowaperture:
pluginId: kwin4_effect_windowaperture
isActiveFullScreenEffect: false

kwin4_effect_squash:
pluginId: kwin4_effect_squash
isActiveFullScreenEffect: false

kwin4_effect_sessionquit:
pluginId: kwin4_effect_sessionquit
isActiveFullScreenEffect: false

kwin4_effect_scale:
pluginId: kwin4_effect_scale
isActiveFullScreenEffect: false

kwin4_effect_morphingpopups:
pluginId: kwin4_effect_morphingpopups
isActiveFullScreenEffect: false

kwin4_effect_maximize:
pluginId: kwin4_effect_maximize
isActiveFullScreenEffect: false

kwin4_effect_logout:
pluginId: kwin4_effect_logout
isActiveFullScreenEffect: false

kwin4_effect_login:
pluginId: kwin4_effect_login
isActiveFullScreenEffect: false

kwin4_effect_fullscreen:
pluginId: kwin4_effect_fullscreen
isActiveFullScreenEffect: false

kwin4_effect_frozenapp:
pluginId: kwin4_effect_frozenapp
isActiveFullScreenEffect: false

kwin4_effect_fadingpopups:
pluginId: kwin4_effect_fadingpopups
isActiveFullScreenEffect: false

kwin4_effect_dialogparent:
pluginId: kwin4_effect_dialogparent
isActiveFullScreenEffect: false

colorpicker:

outputlocator:

blendchanges:

screenshot:

screenedge:

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

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

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

desktopgrid:
activeView:
gridRows: 1
gridColumns: 2
animationDuration: 300
layout: 1
partialActivationFactor: 0
gestureInProgress: false
showAddRemove: true
desktopNameAlignment: 0
desktopLayoutMode: 0
customLayoutRows: 2

highlightwindow:

overview:
activeView:
animationDuration: 300
layout: 1
ignoreMinimized: false
blurBackground: true
partialActivationFactor: 0
gestureInProgress: false
searchText:

windowview:
activeView:
animationDuration: 300
layout: 1
ignoreMinimized: false
mode: -439272304
partialActivationFactor: 0
gestureInProgress: false
searchText:

blur:

contrast:

startupfeedback:
type: 1

kscreen:


Loaded Plugins:
---------------
kwin5_plugin_krunner
kwin5_plugin_nightcolor

Available Plugins:
------------------
kwin5_plugin_buttonrebinds
kwin5_plugin_colord
kwin5_plugin_krunner
kwin5_plugin_nightcolor

Offline

#6 2022-12-04 07:28:42

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

https://download.nvidia.com/XFree86/Lin … ement.html

Likely trigger is the blur effect/plugin?
You could try to disable that (if the above doesn't help)

Offline

#7 2022-12-17 22:11:04

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Sorry for the delay again! I haven't had the issue as much since turning off the blur plugin but I still sometimes get black elements on pages like the Systems Settings program on KDE. Though now I'm noticng the window directions become stretched and frozen, have to restart the program in order to fix that issue.

Offline

#8 2022-12-18 10:42:23

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Though now I'm noticng the window directions become stretched and frozen, have to restart the program in order to fix that issue.

What "window directions"? Of any window?

Does simply
a) resizing the window
b) restarting the compositor (SHIFT+alt+F12, twice)
"fix" that? (rather than restarting any client)

Offline

#9 2022-12-20 04:11:50

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Oops, my apologizes! I actually mispelled, meant the window decorations. I took a picture to show what I mean by the decorations stretched. https://imgur.com/a/nP8L7Z6

Offline

#10 2022-12-20 10:11:45

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Does that also happen w/ the "breeze" decoration?

Offline

#11 2023-01-24 20:34:32

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Sorry for the delay again, I just got back from a family trip! So a couple of things have changed now since my last response. I actually just got a new Nvidia GPU (this time a RTX 2060 I got from a classmate) and reinstalled the OS (using EndeavourOS this time around instead of vanilla ArchLinux), the computer actually seems to be running alot better this time around! I think it's all sorted now, not real sure if it was a misconfiguration when I was setting up vanilla Arch or if it was a hardware issue with my old GPU, hopefully the issue's gone entirely. Thanks for helping!

Offline

#12 2023-01-24 23:46:07

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 22,844

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Be aware that this disqualifies you from getting support here. So if any other issues turn up, ask the Endeavour OS community

Offline

#13 2023-01-25 01:13:50

NovaViper
Member
Registered: 2022-01-22
Posts: 22

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

V1del wrote:

Be aware that this disqualifies you from getting support here. So if any other issues turn up, ask the Endeavour OS community

Understood, thanks for the heads up!

Offline

#14 2023-11-06 18:47:38

Funkin_Stoopid
Member
Registered: 2013-12-01
Posts: 12

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Hello
I revive this topic because I'm affected by this bug and this is really annoying.
Here is my configuration:
Nvidia RTX 4080
Nvidia drivers (nvidia 535.113.01-6)
KDE Plasma 5.27.8
Qt version 5.15.11
Graphic Plateform X11
No blur effect checked

Last edited by Funkin_Stoopid (2023-11-06 18:47:47)

Offline

#15 2023-11-06 20:17:01

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

The thread is a year old and for the OP it was apparently down to the blur effect, so technically you're necro-jacking this thread.
In any event we'd best see the kwin supportInformation, your xorg log and maybe some details on the behavioral pattern (eg. this is a common problem when resumign from S3 and there's a mechanism available to copy the VRAM into the RAM for that reason, you'd have to enable it, though)

Offline

#16 2023-11-08 00:23:36

Funkin_Stoopid
Member
Registered: 2013-12-01
Posts: 12

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

So what I have to do ?
Open a new thread ?
How can I collect some infos for you about kwin, xorg, etc ?
Do I have to suspend effect before suspend and resume after ?
Thank you

Offline

#17 2023-11-08 07:22:29

seth
Member
Registered: 2012-09-03
Posts: 57,061

Re: [Solved] Strange graphical issues with KDE Plasma X11 and Nvidia GPU

Open a new thread?

Yes.

How can I collect some infos for you about kwin, xorg, etc ?

kwin supportinfo is explain ITT, Xorg log: https://wiki.archlinux.org/title/Xorg#General
system journal:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Do I have to suspend effect before suspend and resume after ?

Is the problem tied to S3 cycles?

Offline

Board footer

Powered by FluxBB