Bug 340132 - the screen turns black when a plasma dialog is shown
Summary: the screen turns black when a plasma dialog is shown
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.1.0
Platform: Arch Linux Linux
: NOR grave
Target Milestone: 1.0
Assignee: Sebastian Kügler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-19 18:26 UTC by Ahmed Waheed
Modified: 2014-10-24 23:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
qdbus org.kde.KWin /KWin supportInformation (4.69 KB, text/plain)
2014-10-19 22:15 UTC, Ahmed Waheed
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed Waheed 2014-10-19 18:26:56 UTC
Whenever any "native" plasmaoid is active, the screen turns to black, for example clicking the desktop or kickoff menu, or right clicking the clock and choosing "Digital Clock Settings".

I can alt tab out of it to another window and it goes back to normal, however this renders plasma next to useless.

Turning off composition, all effects and even changing opengl backends (xrender included) doesn't change anything.

Keep in mind that it doesn't crash or freeze or anything, I can blindly click and whatever I clicked on will work, also taking a screenshot works and doesn't show a black picture.

It took me a while to realize it was kwin_x11 and not plasmashell causing this.


Reproducible: Always

Steps to Reproduce:
1. startx (with startkde)
2. boot into a black window with the cursor
3. start any application blindly (alt+f2 -> chrome -> enter)



Running on:

testing/nvidia        343.22-4
extra/xorg-server 1.16.1-1
extra/kwin             5.1.0.1-1 (installed kf5 kf5-aids plasma-next, up to date as of 2014-10-19)
Comment 1 Thomas Lübking 2014-10-19 19:13:31 UTC
Please confirm:
a) the entire screen become black, not just (some, plasma) windows (start sth. foolproof like xterm to check this)
b) this even happens with compositing entirely suspended
c) this does not happen with another window manager

And also please attach the output (with compositing enabled) of
    qdbus org.kde.KWin /KWin supportInformation

And (assuming you're using the aurorae breeze theme) please try whether this also happens with the oxygen decoration.
Comment 2 Ahmed Waheed 2014-10-19 22:15:04 UTC
Created attachment 89204 [details]
qdbus org.kde.KWin /KWin supportInformation
Comment 3 Ahmed Waheed 2014-10-19 22:20:30 UTC
a) the entire screen goes black, but only plasma-related windows / dialogs (menus are fine), however smplayer, skype, chrome, etc are fine.

b) happens with composite on or off doesn't change anything, opengl 3.1, 2.0 and xrender doesn't change anything either.

c) apparently it happens with openbox again, so I guess this is a plasma bug not a kwin bug.

I was using oxygen window deco but to be sure I switched everything else to Oxygen as well, even the cursors, still the same.

But also keep in mind that if I kill the WM (either openbox or kwin) the problem goes away.

I think plasma draws some kind of overlay when it shows dialogs but I'm not familiar enough with QML to figure out where that happens.
Comment 4 Thomas Lübking 2014-10-19 22:53:59 UTC
(In reply to Ahmed Waheed from comment #3)
> a) the entire screen goes black, but only plasma-related windows / dialogs

That's not the "entire screen" (but what I wanted to know ;-)

> b) happens with composite [...] off
That's the relevant bit, because KWin has no direct impact on the visual outcome in this case.

> c) I guess this is a plasma bug not a kwin bug.
Actually I guess it would be a QML bug, nvidia bug, or misconfiguration (see below) - or it's actually a plasma bug ;-)

> I was using oxygen window deco
That'd have been the only relevant bit, but is irrelevant by the former findings.

> But also keep in mind that if I kill the WM (either openbox or kwin) the
> problem goes away.
Interesting indeed, notably since the majority of windows you mentioned should be undecorated (thus not be reparented)

What does this say:
$ dmesg | grep NVRM
Comment 5 Ahmed Waheed 2014-10-19 23:07:50 UTC
About a), there's a misunderstanding, I meant the entire screen goes black, not just the plasma bits.

I worded it wrong, what I meant is that the black screen only shows when a plasma window has focus, however everything is black not just plasma.

➜ dmesg | grep NVRM
[   46.893096] NVRM: loading NVIDIA UNIX x86_64 Kernel Module  343.22  Thu Sep 11 16:27:43 PDT 2014
Comment 6 Martin Flöser 2014-10-20 06:29:14 UTC
reassigning to plasma as it's obviously not a KWin issue if it also happens with openbox ;-)
Comment 7 Thomas Lübking 2014-10-20 08:08:16 UTC
I suspect a driver issue - can you try to roll back to an older version

http://seblu.net/a/arm/packages/n/nvidia/
http://seblu.net/a/arm/packages/n/nvidia-libgl/
http://seblu.net/a/arm/packages/n/nvidia-utils/

> black screen only shows when a plasma window has focus
This will of course never happen w/o a window manager.
Comment 8 Ahmed Waheed 2014-10-24 23:29:54 UTC
Ok so this happens with lxqt's version of krunner and openbox, so it seems like this is related to qt5 / nvidia.

I didn't have a chance to downgrade nvidia yet, this bug can be closed.

Sorry for the noise.