[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-05-02 Thread nathanp
https://bugs.kde.org/show_bug.cgi?id=485805

nathanp  changed:

   What|Removed |Added

 Resolution|UPSTREAM|FIXED

--- Comment #13 from nathanp  ---
(In reply to Zamundaaa from comment #12)
> Okay, then this is on a lower level than KWin. You can create an issue at
> https://gitlab.freedesktop.org/drm/amd/-/issues about the broken mode.
> If you want, you can also follow bug 481222; when that's fixed, mirroring
> won't change modes anymore and would work around this issue

I will do this this weekend, just got a bit busier during the week.  Thank you
for all the help.

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

Zamundaaa  changed:

   What|Removed |Added

 Resolution|--- |UPSTREAM
 Status|CONFIRMED   |RESOLVED

--- Comment #12 from Zamundaaa  ---
Okay, then this is on a lower level than KWin. You can create an issue at
https://gitlab.freedesktop.org/drm/amd/-/issues about the broken mode.
If you want, you can also follow bug 481222; when that's fixed, mirroring won't
change modes anymore and would work around this issue

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread nathanp
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #11 from nathanp  ---
(In reply to Zamundaaa from comment #10)
> Oh, the mode is advertised by the driver...
> > │   │   │   ├───1600x1200@60.00 driver phsync pvsync 
> 
> If you manually select that same mode on Xorg, does that have the same
> problem?

Yep same issue in Xorg if I select 1600x1200@60 - although I am not completely
sure if I set phsync or pvsy

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #10 from Zamundaaa  ---
Oh, the mode is advertised by the driver...
> │   │   │   ├───1600x1200@60.00 driver phsync pvsync 

If you manually select that same mode on Xorg, does that have the same problem?

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread nathanp
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #9 from nathanp  ---
(In reply to Zamundaaa from comment #8)
> No. It's easy enough to compile for yourself though
> (https://gitlab.freedesktop.org/emersion/drm_info), but it's probably in the
> AUR as well

Ok, couldn't find in AUR but yes easy enough to compile. Here is the output:

https://pastebin.com/EChSCCjx

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #8 from Zamundaaa  ---
No. It's easy enough to compile for yourself though
(https://gitlab.freedesktop.org/emersion/drm_info), but it's probably in the
AUR as well

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread nathanp
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #7 from nathanp  ---
(In reply to Zamundaaa from comment #6)
> Okay, then this probably happened when you tried to mirror the laptop screen
> to the other screen with the same resolution.
> Just to confirm this is something we can prevent from happening, could you
> attach the output of drm_info here?

Is that the same thing as `drmdevice`? I tried installing drm_info and drminfo
as well as searching for it in the arch packages repo but I cannot find
anything.

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #6 from Zamundaaa  ---
Okay, then this probably happened when you tried to mirror the laptop screen to
the other screen with the same resolution.
Just to confirm this is something we can prevent from happening, could you
attach the output of drm_info here?

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread nathanp
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #5 from nathanp  ---
(In reply to Zamundaaa from comment #4)
> okay, I think I see what's going on. With the working config, does switching
> the mode to 1600x1200 trigger the issue again as well?

Yes changing the resolution to 1600x1200 from display settings while logged in
causes a black screen with no cursor again.

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

--- Comment #4 from Zamundaaa  ---
okay, I think I see what's going on. With the working config, does switching
the mode to 1600x1200 trigger the issue again as well?

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

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

duha.b...@gmail.com changed:

   What|Removed |Added

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

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

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

--- Comment #3 from nathan.w.pul...@gmail.com ---
Yes I just tried this, restoring the old config json brings the issue back. I
will include both the good one and the bad one here. I did change some display
settings like scaling and theming once I got it working again, sorry about that
hopefully it does not complicate things. 

The broken one: 

https://pastebin.com/gBJmH1Nm

The working one:

https://pastebin.com/Q8fMeiZx

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

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

duha.b...@gmail.com changed:

   What|Removed |Added

 CC||duha.b...@gmail.com

--- Comment #2 from duha.b...@gmail.com ---
For reference:
The issue was resolved after deleting(renaming= ~/.config/kwinoutputconfig.json 

Discuss thread:
https://discuss.kde.org/t/wayland-boots-to-black-screen-no-cursor-x11-boots-to-black-screen-with-cursor/14274

Broken kwinoutputconfig.json file: https://pastebin.com/gBJmH1Nm

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

[kwin] [Bug 485805] Wayland session black screen no cursor, X11 black screen with cursor until reboot after plugging into external monitor

2024-04-30 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=485805

Zamundaaa  changed:

   What|Removed |Added

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

--- Comment #1 from Zamundaaa  ---
In the discuss thread, you mention that renaming the output config file makes
it work. Does putting the old file back also break it again?

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