Bug 472578 - Second monitor stopped working -- Only cursor shows
Summary: Second monitor stopped working -- Only cursor shows
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Containment (show other bugs)
Version: 5.27.4
Platform: Kubuntu Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: multiscreen
Depends on:
Blocks:
 
Reported: 2023-07-24 14:08 UTC by aplatypus
Modified: 2023-10-07 03:46 UTC (History)
2 users (show)

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


Attachments
Dual monitor desktop -- 2nd monitor is displaying BLACK ... But screenshot shows a desktop. (1.02 MB, image/png)
2023-07-24 14:08 UTC, aplatypus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aplatypus 2023-07-24 14:08:00 UTC
Created attachment 160503 [details]
Dual monitor desktop -- 2nd monitor is displaying BLACK ... But screenshot shows a desktop.

SUMMARY

When I restarted the workstaiton the second screen no longer displayed as a desktop extension.  A power-off and restart cycle had no effect.  I am pretty much stymied now because I need both monitors to perform several essential activities.  Trying to use just one screen will really curtail productivity.

Everything worked just fine before the system shutdown.

Also I ran the "Display and Monitor" system settings pressing 'Detect" did not display on the 2nd screen, the cursor displays.  So I can see that the hardware is fine.  In addition, I made the second screen a mirror of the first screen with the "Replica of" setting; the second screen came-to-life showing a clone of the Primary monitor.

Turning the replica off however left me with a black screen.

This appears to show several symptoms in common with earlier bug: [#450068](https://bugs.kde.org/show_bug.cgi?id=450068) and its duplicates.  

STEPS TO REPRODUCE
1. I do not know what happened, the monitor was 'gone' after a restart.

OBSERVED RESULT

NO second monitor -- I have attached a  screenshot of the two screen set-up.  When you look at the screenshot there is a second monitor desktop showing.  I do NOT see that.  I only see a black monitor and the cursor is displayed as it moved in that part of the viewport.  May be there is a clue in that screenshot???  I actually expected half of the graphic to be black!

EXPECTED RESULT

* Expect it to work as it has done since I installed Plasma/Kubuntu on this PC back for 21.10, it has worked absolutaly fine for dual monitor case.

* Expect some easy to find documentation to say where to look in the configuration files to determine what a normal multi monitor set-up should look like.  Obviously the Display and Monitor gui does not tell the whole story.  In fact once I saw that the "Replica of" setting showed me that the second monitor worked fine in both esoftware and hardware, I discovered it is non-trivial to get the extended display setting back (ie. No Replica).  

* I also think and "About" box could have a tab to say where to find critical elements like:
    * Relevant config files
    * Relevant log files
    * Link to things like troubleshooting wiki page or commands that might be useful in documenting or understanding what is going on.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
Operating System: Kubuntu 23.04
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.104.0
Qt Version: 5.15.8
Kernel Version: 6.2.0-25-generic (64-bit)
Graphics Platform: X11

Hardware
Processors: 16 × AMD Ryzen 7 2700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS PRO WIFI 

ADDITIONAL INFORMATION

* Attached information

    * Window manager - KWin
    * X-Server
    * syslog (since reboot)
Comment 1 aplatypus 2023-07-24 14:21:44 UTC
My apologies, the site or web link won't let me upload these files

    * Window manager - KWin
    * X-Server
    * syslog (since reboot)

Maybe I can send director via a cloud service if needed.
Comment 2 aplatypus 2023-07-25 13:40:34 UTC
I have found a workaround late last night.  

 1. I changed NVIDIA the driver package I use.  
 2. Shutdown the PC, `sudo shutdown`
 3. Turned power OFF
 4. Wait 30 minutes of more.
 5. Restart PC

I previously rebooted or turned PC off with not change.  I have found that there must be some CMOS or cache memory that does not clear until there is no power at all for several minutes.  Some stuff has to be purged it seems.  

When I rebooted  both screens displayed.  I already knew that the monitor was "working" from the screenshot of the blacked-out monitor (see screenshot to see what I mean).

I stress that this is no way a fix.  (Re)Installing a fresh driver package merely set things back to how they 'should be' after an install.  It is good enough to get me productive again.  I did not change driver version, etc.  I just applied "Nouveau" and then, restart then changed to the driver I was using originally.

Of course it is much more desirable to know what setting or option needed to be tweaked, yes?
Comment 3 Nate Graham 2023-09-07 22:02:04 UTC
When this happens, does it get fixed if you restart plasmashell by running `plasmashell --replace` in a terminal window?
Comment 4 Bug Janitor Service 2023-09-22 03:46:08 UTC
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!
Comment 5 Bug Janitor Service 2023-10-07 03:46:21 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

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