[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-05-10 Thread oso
https://bugs.kde.org/show_bug.cgi?id=475605

oso  changed:

   What|Removed |Added

   See Also|https://bugs.kde.org/show_b |
   |ug.cgi?id=477738|

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-16 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #45 from Nate Graham  ---
My mistake, the Wayland issues are different and should not have been duped to
this one. I'll un-dupe them, and we'll continue to track those separately.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-11 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #44 from Ilya Bizyaev  ---
UPD. Unless these are coincidences, I think:

1) This is now only reproducible with automatic (timer-based) suspend. If I
invoke the suspend mode manually, then graphics is restored correctly. (I use
the default energy saving settings)
2) Turning the monitor off and on again with the hardware button is a reliable
workaround for me (thanks, Victor!)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-10 Thread Ilya Bizyaev
https://bugs.kde.org/show_bug.cgi?id=475605

Ilya Bizyaev  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |---
 CC||bizy...@zoho.com

--- Comment #43 from Ilya Bizyaev  ---
I see that similarly named bugs for Wayland are being merged into this one as
duplicates, but I'm still getting this issue with the referenced commit after
suspending the Wayland session.

Turning the monitor off and on again with the physical button helped just now.

Operating System: openSUSE Tumbleweed 20240208
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.1
Kernel Version: 6.7.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 32 × Intel® Core™ i9-14900K
Graphics Processor: NVIDIA GeForce RTX 4070/PCIe/SSE2 (driver version:
545.29.06)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 CC||kodatar...@yahoo.com

--- Comment #42 from Nate Graham  ---
*** Bug 478090 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 CC||etnguyen03+kdeb...@gmail.co
   ||m

--- Comment #41 from Nate Graham  ---
*** Bug 477738 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-08 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=475605

David Redondo  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/-/commit/6b4018014c |ma/kwin/-/commit/c34aec1c7b
   |a4dfe170d2ddab3873222acc3ed |ee25b822552df4cc873f827bf84
   |cf0 |892

--- Comment #40 from David Redondo  ---
Git commit c34aec1c7bee25b822552df4cc873f827bf84892 by David Redondo.
Committed on 08/02/2024 at 13:53.
Pushed by davidre into branch 'Plasma/6.0'.

Guard against render time query failing

glGetQuery can fail (for example because of a context loss) in this
case the buffer stays unmodified. In this case this is zero resulting
in GLRenderTimeQuery::result() returning a negative value. Down the
line this leads to a negative duration in the RenderJournal and
RenderLoopPrivate::scheduleRepaint starting a timer with an amount
of milliseconds bigger than what an int can hold. This will not
actually start a timer but QTimer::isActive returns true resulting
in no futher repaints being scheduled.
FIXED-IN: 6.0


(cherry picked from commit 6b4018014ca4dfe170d2ddab3873222acc3edcf0)

M  +3-0src/opengl/glrendertimequery.cpp

https://invent.kde.org/plasma/kwin/-/commit/c34aec1c7bee25b822552df4cc873f827bf84892

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-08 Thread David Redondo
https://bugs.kde.org/show_bug.cgi?id=475605

David Redondo  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/-/commit/6b4018014c
   ||a4dfe170d2ddab3873222acc3ed
   ||cf0
   Version Fixed In||6.0

--- Comment #39 from David Redondo  ---
Git commit 6b4018014ca4dfe170d2ddab3873222acc3edcf0 by David Redondo.
Committed on 08/02/2024 at 13:29.
Pushed by vladz into branch 'master'.

Guard against render time query failing

glGetQuery can fail (for example because of a context loss) in this
case the buffer stays unmodified. In this case this is zero resulting
in GLRenderTimeQuery::result() returning a negative value. Down the
line this leads to a negative duration in the RenderJournal and
RenderLoopPrivate::scheduleRepaint starting a timer with an amount
of milliseconds bigger than what an int can hold. This will not
actually start a timer but QTimer::isActive returns true resulting
in no futher repaints being scheduled.
FIXED-IN: 6.0

M  +3-0src/opengl/glrendertimequery.cpp

https://invent.kde.org/plasma/kwin/-/commit/6b4018014ca4dfe170d2ddab3873222acc3edcf0

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-02-08 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=475605

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #38 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/plasma/kwin/-/merge_requests/5144

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-30 Thread Maximiliano Bertacchini
https://bugs.kde.org/show_bug.cgi?id=475605

Maximiliano Bertacchini  changed:

   What|Removed |Added

 CC||maxibe...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-30 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

mira...@mirandastreeter.com changed:

   What|Removed |Added

 CC||mira...@mirandastreeter.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-29 Thread Edward Oubrayrie
https://bugs.kde.org/show_bug.cgi?id=475605

Edward Oubrayrie  changed:

   What|Removed |Added

 CC||edoubray...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-22 Thread Victor Ryzhykh
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #37 from Victor Ryzhykh  ---
(In reply to holyzolly from comment #35)
> I too have been affected by a probably different bug (no signal too monitor).
> As a result, I changed from auto hybrid-sleep to auto hibernate. Dunno maybe
> btrfs issue, but I'm using a swap partition.
> So below is now after hibernate but used to be after sleep mode too:
> 
> Ok ok so I too have possibly been affected by this bug as well.
> 0. I however see the log screen where I use a slideshow of pictures as
> background. These pictures are seen but in the middle password field or my
> username don't show. Cursor however is active and in the middle where the pw
> field is supposed to show, the arrow of the cursor changed to a pipe so I
> know where to activate the not-shown pw field. So I left click there, type
> my pw and hit enter. That way I know I have unlocked the session which
> however is still visually covered with the lock screen. In the middle the
> cursor arrow does not change to pipe now.
> My workaround then is:
> 1./0b. Wait a few minutes, up to 6-7.
> or which I mostly after 0.
> 2. Change into TTY3 and back. If I get the black screen with only cursor
> like the OP:
> 2b. Change into TTY3 and log into it and look at htop, hit Q to quit it,
> look at nvtop (not installed by default) and hit Q and then I switch back to
> graphical interface from TTY3 (CTRL+ALT+F2). In either of the monitors shown
> in TTY you see the lockscreen process or plasmashell above 80%. For me this
> eventually changes after waiting a while. If I still get the black screen
> with only cursor like the OP.
> 2c. Repeat 2b
> 
> Might be the switching to TTY and back triggers the graphics to be restarted
> faster.
> At least I get my session back and the info message in systray: Your
> graphics had to be restarted due to a graphical issue (or a wording the
> like). And here everything works again as expected, full GUI. (Apart from
> some screen tearing when switching between Activities or in FF Yt videos,
> which is why I usually log out and back in in these restored/unlocked
> sessions).
> 
> Everyone is welcome to translate my complicatedly described  workaround into
> fewer, better organized sentences :)

In general, sometimes simply turning off and turning on the monitor using the
monitor's power button helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #36 from holyzo...@trash-mail.com ---
And X11 btw ^

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-22 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

holyzo...@trash-mail.com changed:

   What|Removed |Added

 CC||holyzo...@trash-mail.com

--- Comment #35 from holyzo...@trash-mail.com ---
I too have been affected by a probably different bug (no signal too monitor).
As a result, I changed from auto hybrid-sleep to auto hibernate. Dunno maybe
btrfs issue, but I'm using a swap partition.
So below is now after hibernate but used to be after sleep mode too:

Ok ok so I too have possibly been affected by this bug as well.
0. I however see the log screen where I use a slideshow of pictures as
background. These pictures are seen but in the middle password field or my
username don't show. Cursor however is active and in the middle where the pw
field is supposed to show, the arrow of the cursor changed to a pipe so I know
where to activate the not-shown pw field. So I left click there, type my pw and
hit enter. That way I know I have unlocked the session which however is still
visually covered with the lock screen. In the middle the cursor arrow does not
change to pipe now.
My workaround then is:
1./0b. Wait a few minutes, up to 6-7.
or which I mostly after 0.
2. Change into TTY3 and back. If I get the black screen with only cursor like
the OP:
2b. Change into TTY3 and log into it and look at htop, hit Q to quit it, look
at nvtop (not installed by default) and hit Q and then I switch back to
graphical interface from TTY3 (CTRL+ALT+F2). In either of the monitors shown in
TTY you see the lockscreen process or plasmashell above 80%. For me this
eventually changes after waiting a while. If I still get the black screen with
only cursor like the OP.
2c. Repeat 2b

Might be the switching to TTY and back triggers the graphics to be restarted
faster.
At least I get my session back and the info message in systray: Your graphics
had to be restarted due to a graphical issue (or a wording the like). And here
everything works again as expected, full GUI. (Apart from some screen tearing
when switching between Activities or in FF Yt videos, which is why I usually
log out and back in in these restored/unlocked sessions).

Everyone is welcome to translate my complicatedly described  workaround into
fewer, better organized sentences :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-20 Thread Dashon
https://bugs.kde.org/show_bug.cgi?id=475605

Dashon  changed:

   What|Removed |Added

 CC||sparky123558w...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #34 from Nate Graham  ---
Thanks for the info!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-17 Thread Victor Ryzhykh
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #33 from Victor Ryzhykh  ---
In general, sometimes simply turning off and turning on the monitor using the
monitor's power button helps.
I saw this mentioned in some online chat.
It turned out that this sometimes helps.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-17 Thread Sandro Cavazzoni
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #32 from Sandro Cavazzoni  ---
(In reply to Nate Graham from comment #31)
>- Does it happen when the system locks the screen?
I think only when put the display to sleep, but i'm not 100% sure
>- Does it happen when the system puts the display to sleep?
Yes
>- Does it happen when the system suspends?
No, suspend is disabled on my system.
>- Are there more than one screen?
Yes, I have 2 4K monitor
>- Are there more than one GPU?
I have an nvidia 3090 card, but there is also a Radeon 580X as secondary card,
but it's under vfio to be used inside VMs, so i don't think it's the problem.
>- Is it a PRIME system with muxing? If so, which GPU was driving the display?
No, it isn't a PRIME system.
>- Is the cursor visible?
Yes
>- Are there any GUI elements visible?
No
>- Is the broken lock screen function (e.g. blindly typing your password and 
>hitting Enter unlocks)?
I tried without success, but because is everything black i can't say for sure.
>- Is there a method that brings you back to a working desktop (e.g. killing 
>kscreenlocker_greet).
Not sure, I just reboot the PC when it happen.
>- Is the desktop session using X11 or Wayland?
The desktop is wayland, but SDDM should be X11

I'm not having this problem since the last 3/4 days (I had it also with RC1 at
begin).
But because it doesn't happen every time, i'm not sure if something is changed
or was just a few lucky days.
The only things I changed are distro updates (arch linux) and changed the
render loop from threaded to to basic inside "kcmshell6 kcm_qtquicksettings"
(to work around a different bug)

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #31 from Nate Graham  ---
Some questions:
- Does it happen when the system locks the screen?
- Does it happen when the system puts the display to sleep?
- Does it happen when the system suspends?
- Are there more than one screen?
- Are there more than one GPU?
- Is it a PRIME system with muxing? If so, which GPU was driving the display?
- Is the cursor visible?
- Are there any GUI elements visible?
- Is the broken lock screen function (e.g. blindly typing your password and
hitting Enter unlocks)?
- Is there a method that brings you back to a working desktop (e.g. killing
kscreenlocker_greet).
- Is the desktop session using X11 or Wayland?

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 Status|RESOLVED|REPORTED
 Resolution|DUPLICATE   |---

--- Comment #30 from Nate Graham  ---
Actually not a duplicate of that, as here the whole screen is black.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-17 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #29 from Nate Graham  ---


*** This bug has been marked as a duplicate of bug 457284 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-13 Thread postix
https://bugs.kde.org/show_bug.cgi?id=475605

postix  changed:

   What|Removed |Added

 CC||pos...@posteo.eu

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Sandro Cavazzoni
https://bugs.kde.org/show_bug.cgi?id=475605

Sandro Cavazzoni  changed:

   What|Removed |Added

 CC||san...@skanetwork.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Jean-Francois Roy
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #28 from Jean-Francois Roy  ---
(In reply to Victor Ryzhykh from comment #26)
> (In reply to Jean-Francois Roy from comment #25)
> > I think I am seeing this regularly but on Wayland. If I kill
> > kscreenlocker_greet from an ssh or tty session, I can see and use my
> > graphical session again, without needing to unlock the session first with
> > loginctl.
> 
> I had a similar problem.
> It turned out that qt5-qtvirtualkeboard was assembled incorrectly.
> To check, I deleted qt5-qtvirtualkeboard, and after that the problem went
> away.
> There was a patch in the qt5-qtvirtualkeboard package that caused this
> behavior.
> I removed the patch and the problem went away. This was maybe a year ago.
> Since then no problems with Nvidia.
> On kde5 and kde6.

I'll try w/o qt6-virtualkeyboard (I'm on Arch) and see if it makes any
difference.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Jean-Francois Roy
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #27 from Jean-Francois Roy  ---
(In reply to Jean-Francois Roy from comment #25)
> I think I am seeing this regularly but on Wayland. If I kill
> kscreenlocker_greet from an ssh or tty session, I can see and use my
> graphical session again, without needing to unlock the session first with
> loginctl.

I forgot to add that I see nothing interesting in the journal, but I don't have
any extra debug logging env or flags set.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Victor Ryzhykh
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #26 from Victor Ryzhykh  ---
(In reply to Jean-Francois Roy from comment #25)
> I think I am seeing this regularly but on Wayland. If I kill
> kscreenlocker_greet from an ssh or tty session, I can see and use my
> graphical session again, without needing to unlock the session first with
> loginctl.

I had a similar problem.
It turned out that qt5-qtvirtualkeboard was assembled incorrectly.
To check, I deleted qt5-qtvirtualkeboard, and after that the problem went away.
There was a patch in the qt5-qtvirtualkeboard package that caused this
behavior.
I removed the patch and the problem went away. This was maybe a year ago. Since
then no problems with Nvidia.
On kde5 and kde6.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Jean-Francois Roy
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #25 from Jean-Francois Roy  ---
I think I am seeing this regularly but on Wayland. If I kill
kscreenlocker_greet from an ssh or tty session, I can see and use my graphical
session again, without needing to unlock the session first with loginctl.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #24 from Nate Graham  ---
JFYI, what you see after locking the screen is not SDDM but rather the lock
screen. You'd only see SDDM if you logged out or switched users prior to
putting the user to sleep. Otherwise you're seeing the lock screen.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-11 Thread Victor Ryzhykh
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #23 from Victor Ryzhykh  ---
(In reply to kde-bugzilla from comment #22)
> I am not familiar with the Nvidia config file in modprobe.d, and I do not
> have that file on my system. I will do some research, try that suggestion,
> and see if it helps.

You can read it here at the bottom of the page
https://wiki.archlinux.org/title/NVIDIA/Tips_and_tricks

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #22 from kde-bugzi...@hexology.xyz ---
I have made some progress by accidentally reproducing the bug under conditions
I didn't expect.

I suspect now that SDDM specifically is involved, moreso than KWin or
Plasmashell.

KWin and/or Plasmashell does seem to suffer some progressive graphics
corruption after waking from sleep. That is, if the system goes to sleep
several times, eventually there will be graphics glitches that are not solved
by toggling compositing or restarting Plasmashell, e.g. solid color blocks,
panel buttons not responding, windows flickering when being moved, etc. That is
not the problem I am reporting here, but it might be related.

Specifically, I reproduced the bug just now under the following circumstances:

1. Wake from sleep and log in to the currently-running session through SDDM;
observe lots of graphics glitches, rendering the desktop borderline unusable.
Can't even open the KDE applications menu to log out.
2. Log in on TTY 3 as a different user, and use `loginctl terminate-user` to
end the graphical session.
3. Switch back to TTY 2 where the graphical session was.

At step 3, I was expecting the normal SDDM user selection screen. Instead, I
was surprised to find the same black screen with cursor that I had been seeing
previously upon wake from sleep.

Therefore while there does seem to be some issue with KWin and Plasmashell
becoming corrupted after several sleep cycles, the actual error was triggered
only when the user was logged out and SDDM was supposed to appear on TTY 2.

There is an error in the SDDM log, I have added it as an attachment:
https://bugs.kde.org/attachment.cgi?id=164796

I'm not sure if the bug is in SDDM, X.org, Plasmashell, KWin, the Nvidia driver
or elsewhere. But I hope that being able to reproduce it under different
circumstances, and having a new error message, might act as additional
evidence.

I am not familiar with the Nvidia config file in modprobe.d, and I do not have
that file on my system. I will do some research, try that suggestion, and see
if it helps.

Thanks again for not closing this ticket.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #21 from kde-bugzi...@hexology.xyz ---
Created attachment 164796
  --> https://bugs.kde.org/attachment.cgi?id=164796=edit
sudo journalctl -b 0 -u sddm.service

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-08 Thread Victor Ryzhykh
https://bugs.kde.org/show_bug.cgi?id=475605

Victor Ryzhykh  changed:

   What|Removed |Added

 CC||victorr2...@yandex.ru

--- Comment #20 from Victor Ryzhykh  ---
It is not clear from the messages whether there is an Nvidia config for turning
on the video card after exiting standby mode.
I use such a settings file and there are no problems with exiting standby mode.
This is usually the file /etc/modprobe.d/nvidia-power-management.conf with
content

# The destination should not be using tmpfs, so we prefer
# /var/tmp instead of /tmp
options nvidia NVreg_PreserveVideoMemoryAllocations=1
options nvidia NVreg_TemporaryFilePath=/var/tmp

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

kde-bugzi...@hexology.xyz changed:

   What|Removed |Added

 Status|NEEDSINFO   |REPORTED
 Resolution|WAITINGFORINFO  |---
 Ever confirmed|1   |0

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-02 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #19 from kde-bugzi...@hexology.xyz ---
I'm doing my best to actually reproduce this again so I can try the above
steps. I have not been able to trigger it reliably in recent weeks. I did
however confirm that toggling compositing appears to have no effect. It's not
even clear to me if the problem lies with KWin or SDDM.

I also have not had the time to set up an alternative DE, especially given that
reproducing the bug seems difficult now and it will take a long time to I feel
confident that it does not happen under another DE.

I'd appreciate if this could stay open. I have not lost track of it and I am
doing my best to provide any info I can.

(In reply to Bug Janitor Service from comment #18)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least
> 15 days. Please provide the requested information as soon as
> possible and set the bug status as REPORTED. Due to regular bug
> tracker maintenance, if the bug is still in NEEDSINFO status with
> no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> due to lack of needed information.
> 
> For more information about our bug triaging procedures please read the
> wiki located here:
> https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> 
> If you have already provided the requested information, please
> mark the bug as REPORTED so that the KDE team knows that the bug is
> ready to be confirmed.
> 
> Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2024-01-02 Thread Kane
https://bugs.kde.org/show_bug.cgi?id=475605

Kane  changed:

   What|Removed |Added

 CC||miller.k...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-12-26 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #18 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-12-12 Thread Jean-Francois Roy
https://bugs.kde.org/show_bug.cgi?id=475605

--- Comment #17 from Jean-Francois Roy  ---
> (In reply to Jean-Francois Roy from comment #15)
> > For what it's worth, I get this issue with the KDE Plasma 6.0 Beta 1 release
> > (as installed by arch's kde-unstable repo) using Wayland. I'm trying to
> > capture logs to file a report. It does not happen with the stable KDE Plasma
> > release.
> See bug 477738 for that.

I'll follow up in that bug or in a new bug -- my system is a desktop that never
suspends. What seems to trigger it for me is powering down the displays after
idle.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-12-12 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=475605

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com
 Resolution|--- |WAITINGFORINFO
 Status|REOPENED|NEEDSINFO

--- Comment #16 from Zamundaaa  ---
Could you please test
1. toggling compositing with Shift+Alt+F12 when the system is in the broken
state
2. disabling compositing before putting the system in standby in the first
place
3. the same scenario in a different session like openbox
4. the same thing with a new user account (if 3 doesn't work)

(In reply to Jean-Francois Roy from comment #15)
> For what it's worth, I get this issue with the KDE Plasma 6.0 Beta 1 release
> (as installed by arch's kde-unstable repo) using Wayland. I'm trying to
> capture logs to file a report. It does not happen with the stable KDE Plasma
> release.
See bug 477738 for that.

(In reply to petrk from comment #14)
> My panel becomes unresponsive after resume, Usually I would recover with
> "killall plasmashell && plasmashell", but this time I attempted "plasmashell
> --replace" and I got:
> kf.dbusaddons: Couldn't register name 'org.kde.plasmashell' with DBUS -
> another process owns it already!
> Needless to say, it wouldn't recover without killing plasmashell first.
That sounds unrelated to this bug report, please file a separate one for
plasmashell.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-12-11 Thread Jean-Francois Roy
https://bugs.kde.org/show_bug.cgi?id=475605

Jean-Francois Roy  changed:

   What|Removed |Added

 CC||j...@devklog.net

--- Comment #15 from Jean-Francois Roy  ---
For what it's worth, I get this issue with the KDE Plasma 6.0 Beta 1 release
(as installed by arch's kde-unstable repo) using Wayland. I'm trying to capture
logs to file a report. It does not happen with the stable KDE Plasma release.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-12-09 Thread petrk
https://bugs.kde.org/show_bug.cgi?id=475605

petrk  changed:

   What|Removed |Added

 CC||pepk...@gmail.com

--- Comment #14 from petrk  ---
My panel becomes unresponsive after resume, Usually I would recover with
"killall plasmashell && plasmashell", but this time I attempted "plasmashell
--replace" and I got:
kf.dbusaddons: Couldn't register name 'org.kde.plasmashell' with DBUS - another
process owns it already!
Needless to say, it wouldn't recover without killing plasmashell first.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-11-29 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=475605

fanzhuyi...@gmail.com changed:

   What|Removed |Added

   See Also||https://bugs.kde.org/show_b
   ||ug.cgi?id=477738

-- 
You are receiving this mail because:
You are watching all bug changes.

[kwin] [Bug 475605] On X11 with NVIDIA GPU and proprietary driver, black screen with only cursor shown on wake from sleep

2023-11-29 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=475605

Nate Graham  changed:

   What|Removed |Added

  Component|general |general
   Severity|crash   |critical
   Target Milestone|1.0 |---
Summary|Black screen with only  |On X11 with NVIDIA GPU and
   |cursor on wake from sleep.  |proprietary driver, black
   ||screen with only cursor
   ||shown on wake from sleep
   Assignee|plasma-b...@kde.org |kwin-bugs-n...@kde.org
Product|plasmashell |kwin
   Priority|NOR |VHI

-- 
You are receiving this mail because:
You are watching all bug changes.