You are not logged in.

#1 2021-06-11 10:35:25

TizioCaio84
Member
Registered: 2021-06-11
Posts: 5

Some KDE windows are invisible

Hi! Recently I've had issues with some desktop applications not displaying in KDE Plasma. Right now I've encountered the same problem in: glxgears, glxgears32, minecraft-launcher(AUR) while using KDE Plasma, both X11 and Wayland.

What happens:
When I start the program my Switch Desktop applet correctly identifies an open window somewhere in the screen, however, nothing is showing. When I interact with the designated part of the screen my inputs are blocked (they are presumably being routed to that window instead). I can also Alt+drag to move the window and use the title bar as it were there (and see the effects from the Switch Desktop applet).
When hovering over the application icon on the taskbar I can see a perfectly normal preview (spinning gears, login screen etc).

My guess is that kwin is doing something funny, but I don't know where to start from.

Using plasma-meta-5.22-1, mesa-demos-8.4.0-4, minecraft-launcher 921-1.
Images:
    - Working preview
    - Window blocks input

Thanks in advance, let me know if I need to upload more info.

Last edited by TizioCaio84 (2021-06-11 10:36:25)

Offline

#2 2021-06-11 14:30:08

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: Some KDE windows are invisible

Just a guess -- Nvidia?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-06-11 14:54:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: Some KDE windows are invisible

All the applications you mention are GL applications, what's your output of

glxinfo -B
qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation

maybe a xorg log.

This sounds like the kind of issue that can happen if you disabled flipping in your OGL renderer, if ewaller's hunch is correct make sure that's enabled in nvidia-settings

Last edited by V1del (2021-06-11 15:00:39)

Offline

#4 2021-06-11 16:38:12

TizioCaio84
Member
Registered: 2021-06-11
Posts: 5

Re: Some KDE windows are invisible

V1del wrote:

All the applications you mention are GL applications, what's your output of

glxinfo -B
qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation

maybe a xorg log.

This sounds like the kind of issue that can happen if you disabled flipping in your OGL renderer, if ewaller's hunch is correct make sure that's enabled in nvidia-settings

Here are the logs:
https://pastebin.com/W6yXmyRy
https://pastebin.com/3RBpz8th

I do have an nvidia card, but as you can see I am only using my intel integrated GPU to reduce the problem space...

Offline

#5 2021-06-11 17:02:43

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Some KDE windows are invisible

to reduce the problem space

Is the implication that the problem exists w/ nvidia too?

Run "xprop" from a konsole window and click into the dead space where an invisible window is (you've to hit the invisible window, not sth. above when it's lower in the stack)
=> Post the output.

Online

#6 2021-06-12 17:13:10

TizioCaio84
Member
Registered: 2021-06-11
Posts: 5

Re: Some KDE windows are invisible

seth wrote:

Is the implication that the problem exists w/ nvidia too?

Yes, as far as I can tell this is not a GPU-dependent issue.

Here's the output of xprop on glxgears:

_NET_WM_ICON_GEOMETRY(CARDINAL) = 549, 729, 36, 36
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 0, 0, 29, 0
_NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 29, 0
_NET_WM_DESKTOP(CARDINAL) = 1
_KDE_NET_WM_ACTIVITIES(STRING) = "eeb0295a-1c3a-4cb0-ab6d-2df4b77291fb"
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_STATE(ATOM) = 
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 970649
WM_ICON_NAME(STRING) = "glxgears"
WM_NAME(STRING) = "glxgears"
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 0, 0
                user specified size: 300 by 300

I can confirm this is not a GPU issue, as I've reinstalled the nvidia drivers and launched

prime-run glxgears -info

. Output is as expected, still transparent window.

I'm starting to think that maybe some window-handling library is missing.

Last edited by TizioCaio84 (2021-06-12 17:35:51)

Offline

#7 2021-06-12 18:12:32

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Some KDE windows are invisible

I had hoped it's simply set transparent, but apparently not.

What happens when you resize the invisible window (alt+right mouse button)?

Online

#8 2021-06-13 13:37:14

TizioCaio84
Member
Registered: 2021-06-11
Posts: 5

Re: Some KDE windows are invisible

seth wrote:

What happens when you resize the invisible window (alt+right mouse button)?

Every interaction works just fine, I can also click buttons inside the minecraft login screen.

Offline

#9 2021-06-13 14:44:46

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Some KDE windows are invisible

Yeahno, I had hoped that the contents would show up when you resize the GL context :-(

Online

#10 2021-06-14 12:10:27

TizioCaio84
Member
Registered: 2021-06-11
Posts: 5

Re: Some KDE windows are invisible

Ok so this is strange.
I was doing manual backups (bad idea, I know, I know) and noticed that glxgears worked just fine up until I restored my home folder. I then created another user and found that, when logged in there, everything worked correctly.
This is extremely weird to me, does anyone know if there are some config files in my home folder that I could try to restore/delete?

Offline

#11 2021-06-14 12:13:20

seth
Member
Registered: 2012-09-03
Posts: 49,991

Re: Some KDE windows are invisible

Check systemsettings for kwin rules (forced opactiy) or effects (a broken one) - or the kwin*rc's in ~/.config

Online

Board footer

Powered by FluxBB