Bug 466686 - [NVIDIA] On Wayland, screen goes black after changing resolution and doesn't come back
Summary: [NVIDIA] On Wayland, screen goes black after changing resolution and doesn't ...
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.27.1
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-01 22:55 UTC by kevin
Modified: 2023-06-06 16:02 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin 2023-03-01 22:55:45 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Start a Wayland session
2. Choose display settings, change resolution and click apply
3. Screen goes blank and reboot is required

OBSERVED RESULT
Screen goes blank

EXPECTED RESULT
Resolution should change and return to settings window

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2023-03-02 21:12:24 UTC
If you wait 16 seconds, does it revert to its former settings and bring back the image? Which screen? All screens? How many screens do you have? What GPU hardware are you using? Does it happen on X11 too?
Comment 2 kevin 2023-03-02 21:45:25 UTC
(In reply to Nate Graham from comment #1)
> If you wait 16 seconds, does it revert to its former settings and bring back
> the image? I've waited as long as 10 min and the image didn't come back.

 Which screen? All screens? How many screens do you have?  Only one screen.

>What GPU hardware are you using? Output of inxi -SG
System:
  Host: localhost.localdomain Kernel: 6.2.0-1-default arch: x86_64 bits: 64
    Desktop: KDE Plasma v: 5.27.1 Distro: openSUSE Tumbleweed 20230301
Graphics:
  Device-1: NVIDIA GP106 [GeForce GTX 1060 6GB] driver: nvidia v: 530.30.02
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8 driver: X:
    loaded: nvidia gpu: nvidia,nvidia-nvswitch resolution: 3840x2160~60Hz
  API: OpenGL v: 4.6.0 NVIDIA 530.30.02 renderer: NVIDIA GeForce GTX 1060
    6GB/PCIe/SSE2

Does it happen on X11 too? No
Comment 3 Nate Graham 2023-03-02 21:46:42 UTC
Thanks for the info.
Comment 4 kevin 2023-06-02 23:28:25 UTC
I've installed nvidia beta driver 535.43. Current updates are Plasma 5.27.5 Frameworks 5.106.0 Qt 5.15.9 and kernel 6.3.4-1. I can now change the resolution and settings will save it after a few of seconds of a dark screen. 

Looks like this bug has been solved.
Comment 5 Nate Graham 2023-06-06 16:02:19 UTC
Cool, thanks for following up!