Bug 417525 - the system freeze if the primary monitor is turned off in a two monitor setup
Summary: the system freeze if the primary monitor is turned off in a two monitor setup
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.0
Platform: Ubuntu Linux
: NOR major
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-12 22:34 UTC by Miguel Rozsas
Modified: 2020-03-10 17:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Rozsas 2020-02-12 22:34:26 UTC
SUMMARY
the windows system freeze if the primary monitor is turned off in a two monitor setup

STEPS TO REPRODUCE
1. Move the mouse pointer to the second monitor
2. Turn off the primary monitor
3. You could do anything else until you turn the primary monitor on again.

OBSERVED RESULT
The mouse pointer freezes, the keyboard did not receive input;

EXPECTED RESULT
I expect that I could use the OS/System on the second monitor normally.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.18.0
(available in About System)
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.4

ADDITIONAL INFORMATION
If I turn on the primary monitor the keyboard receive a reset. Besides that, everything goes to normal.
Comment 1 Miguel Rozsas 2020-02-12 22:36:17 UTC
I mean "3. You could't do anything else until you turn the primary monitor on again."
Comment 2 Méven Car 2020-02-14 09:43:45 UTC
I don't reproduce as described, perhaps your settings have something to do with the issue.
Is it a laptop + screen ? do the screens have different resolutions ? which one is left or right, or top or bottom ?

Operating System: Kubuntu 19.10
KDE Plasma Version: 5.18.80 (from sources)
KDE Frameworks Version: 5.67.0
Qt Version: 5.12.4
Comment 3 Miguel Rozsas 2020-02-15 21:47:56 UTC
For me happens all the time.
As soon I turn off the primary monitor the mouse pointer on the second monitor freezes. 
As soon I turn on the primary monitor the mouse pointer goes back to action AND the keyboard gets a reset (I can tell that because my keyboard is a RGB keyboard that when gets a reset it glows in a special way to indicate that)
Following additional information right from Configuration Center and Kinfo:
Kubuntu 19.10, plasma: 5.18.0; KDE Framework: 5.67.0; Qt: 5.12.4; kernel:5.3.0.-29-generic
Processor:8 x Intel Core i7-3770 CPU @ 3.4GHz
Memory: 14,6GiB RAM (installed 2x8G bytes, dual Channel)
Primary Monitor (on the left): DELL U2312HM (DVI-I-1) (1920x1080)
Secondary monitor(on the right): 2343 (DVI-D-0) (1920x1080) - (AOC monitor)
GeForce GTX 760/PCe/SSE2
OpenGL 4.6.0 NVIDIA 430.50
Kernel module: i915
Using a X server: 1.20.5
version: 11.0
Screen #0 dimension: 3849x1080
resolution: 94 x 94 ppp

I can provide any other information you need. Just ask.
Comment 4 Miguel Rozsas 2020-02-15 21:51:30 UTC
oh.. and doing the opposite, I mean, turning OFF the secondary monitor, nothing special occurs. The primary monitor and the mouse pointer are both alive and turning ON the secondary monitor, the keyboard DID NOT receive a reset. The secondary monitor goes back, and the previous image is displayed as expected.
Comment 5 David Edmundson 2020-02-16 08:05:20 UTC
X or Wayland?
Comment 6 Méven Car 2020-02-17 08:09:57 UTC
For David , Miguel already gave this info :
> Using a X server: 1.20.5

Could this be related to our Nvidia support ?
Comment 7 Aurélien Bertron 2020-02-17 08:51:49 UTC
I reproduce the bug. When I turn my second monitor off the mouse cursor freezes but keyboard still works.

KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.66.0
Qt Version: 5.14.1
Kernel Version: 4.19.102-1-MANJARO
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-8650U CPU @ 1.90GHz
Memory: 15,5 Gio
Comment 8 Aurélien Bertron 2020-02-17 08:56:26 UTC
(In reply to Méven Car from comment #6)
> Could this be related to our Nvidia support ?

I reproduce with only Intel drivers. I don't have a Nvidia card.
Comment 9 Miguel Rozsas 2020-02-21 12:05:38 UTC
The bug still present after updating to Plasma 5.18.1.
Comment 10 Christoph Feck 2020-03-06 11:24:55 UTC
Requested information was provided; changing status for inspection.
Comment 11 Miguel Rozsas 2020-03-06 13:59:27 UTC
The bug still present after updating to Plasma 5.18.2.
Comment 12 Miguel Rozsas 2020-03-06 14:37:35 UTC
The bug is still present after changing the video card to a GeForce GTX 970/PCIe/SSE2 4G RAM, openGL 4.6.0 NVIDIA 430.50
Comment 13 Miguel Rozsas 2020-03-10 17:19:39 UTC
I was curious about how is the Gnome behavior for that situation (turning off the primary monitor).
And I've learned it is the same ! The mouse freezes on the second monitor and the keyboard is turned off.
Then I wanted to know how is the Microsoft Windows 10 behavior for this since it could be a X11 problem or even a kernel thing...(my machine has dual boot. I use windows rarely)
Well, beyond all my expectations, the Windows 10 1909 has exactly the same behavior ! The system freezes, the keyboard is turned off and when the primary monitor is turned on, the keyboard gets a reset and everything went to normal.
So it is not a KDE problem. It is something related with the hardware/bios, I don't know...
So, I am marking this as RESOLVED/NOT A BUG since it is not a KDE problem after all, for sure.

However, this is interesting anyway. 

cheers,