[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2022-08-13 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

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

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2022-06-16 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #44 from Andrew Ammerlaan  ---
In version 5.25 this is broken again. After login the monitor connected to the
AMDGPU turns itself off, and the monitor connected to the iGPU continues to
display the SDDM login screen. If I switch to a tty and back I get a black
screen on all monitors but the mouse is now visible.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-09-14 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #43 from Andrew Ammerlaan  ---
(In reply to Zamundaaa from comment #42)
> The commit is only in git master / upcoming 5.23

Alrighty, I see, I'll wait a bit more then and test again later :D

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-09-13 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #42 from Zamundaaa  ---
The commit is only in git master / upcoming 5.23

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-09-13 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #41 from Andrew Ammerlaan  ---
Created attachment 141519
  --> https://bugs.kde.org/attachment.cgi?id=141519=edit
wayland-session-log-kwin-5.22.5

After upgrading to version 5.22.5 this is sadly still not quite working (though
it was working earlier when I tested the MR). The monitor connected to the
AMDGPU works and one of the monitors on the iGPU (the right one). But the
others still continue to show the SDDM screen after logging in. Wayland log
attached. 

I'm seeing a bunch of these:
kwin_core: Provided presentation timestamp is invalid: 154666 (current: 154675)
kwin_wayland_drm: Atomic request failed to commit:  Invalid argument
kwin_wayland_drm: Atomic test commit failed. Aborting present.

Furthermore, the issue where the monitor on the AMDGPU turns black for about a
second or two after logging in is back :(

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-09-08 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=433107

Nate Graham  changed:

   What|Removed |Added

   Version Fixed In||5.23

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-09-07 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

Zamundaaa  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/b38bb416982b
   ||abdae9941d41fa5b34717e5cae9
   ||7
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED

--- Comment #40 from Zamundaaa  ---
Git commit b38bb416982babdae9941d41fa5b34717e5cae97 by Xaver Hugl.
Committed on 08/09/2021 at 00:44.
Pushed by zamundaaa into branch 'master'.

Test DrmPipelines for outputs

Not all combinations of connectors, crtcs and planes will work
on all hardware, so we need to test the pipelines before using
them.
Related: bug 435265

M  +170  -162  src/plugins/platforms/drm/drm_gpu.cpp
M  +5-7src/plugins/platforms/drm/drm_gpu.h
M  +0-1src/plugins/platforms/drm/drm_object_connector.h
M  +13   -0src/plugins/platforms/drm/drm_output.cpp
M  +4-0src/plugins/platforms/drm/drm_output.h
M  +81   -78   src/plugins/platforms/drm/drm_pipeline.cpp
M  +15   -4src/plugins/platforms/drm/drm_pipeline.h

https://invent.kde.org/plasma/kwin/commit/b38bb416982babdae9941d41fa5b34717e5cae97

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-26 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #39 from Andrew Ammerlaan  ---
(In reply to Zamundaaa from comment #38)
> Could you check if the monitor still turns off on login now? I added a
> commit that might resolve that

Perfect, it works flawlessly now. There's a very nice transition from sddm to
black to a fade-in of the splash screen, it is the same on all monitors!

Thank you very much for your efforts

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-25 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #38 from Zamundaaa  ---
Could you check if the monitor still turns off on login now? I added a commit
that might resolve that

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-20 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #37 from Zamundaaa  ---
Nice!

> Hot(un)plugging works. However, when hotunplugging a monitor all windows are 
> moved to the monitor connected to the AMDGPU (which is marked as the 
> "primary" monitor, i.e. monitor 1). And when hotplugging a monitor all 
> windows are moved to the monitor that just connected.

Yes that is intentional. I think there is a MR that implements moving the
windows back to where they were before hot-unplugging though.

> The monitor connected to the AMDGPU does still go to black before eventually 
> showing the splash screen. It stays black for about a second (the other 
> monitors are already showing the splash screen at this stage).

I'll see what I can do about that - the kernel likely expects that we
immediately push a frame once we take over. Maybe we can push an empty frame
(so that it shows the same image again) as opposed to a black image for example
to not cause flickering.

> And one other small thing I noticed is that after hotunplugging and 
> hotplugging one of the monitors the widgets and taskbar on that monitor are 
> gone (i.a.w. it detects it as if it were a new monitor and it doesn't restore 
> the settings)

That's unfortunately a known bug in plasmashell.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-20 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #36 from Andrew Ammerlaan  ---
(In reply to Andrew Ammerlaan from comment #35)
> And one other small thing I noticed is that after hotunplugging and
> hotplugging one of the monitors the widgets and taskbar on that monitor are
> gone (i.a.w. it detects it as if it were a new monitor and it doesn't
> restore the settings)

After looking at the logs, it appears that it detects the hotplugged monitor
(HDMI-A-2-HKC-TV) multiple times instead.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-20 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #35 from Andrew Ammerlaan  ---
And one other small thing I noticed is that after hotunplugging and hotplugging
one of the monitors the widgets and taskbar on that monitor are gone (i.a.w. it
detects it as if it were a new monitor and it doesn't restore the settings)

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-20 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #34 from Andrew Ammerlaan  ---
Created attachment 140219
  --> https://bugs.kde.org/attachment.cgi?id=140219=edit
wayland-session-log (patch applied)

Awesome, now it works!

The monitor connected to the AMDGPU does still go to black before eventually
showing the splash screen. It stays black for about a second (the other
monitors are already showing the splash screen at this stage).

Hot(un)plugging works. However, when hotunplugging a monitor all windows are
moved to the monitor connected to the AMDGPU (which is marked as the "primary"
monitor, i.e. monitor 1). And when hotplugging a monitor all windows are moved
to the monitor that just connected. (But maybe this behaviour is intentional?)

There is also Bug 438508 which is possibly related since it only occurs when
using iGPU multimonitor. If I recall correctly, it didn't happen when I tested
yesterday, but it is happening now so perhaps it is maybe related to these
changes?

Thank you for working on this!

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-20 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #33 from Zamundaaa  ---
What seems to have caused the issue is that the display turns off because it
doesn't receive new frames while KWin is initializing - I think it takes too
long to render the first frame. Maybe we can push the old frame again or
something like that...

There was however also a bug in KWins handling of taking control over the
display, which made it not recover from that situation. I added a fix to the MR

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-19 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

 Attachment #140194|text/plain  |application/x-tar
  mime type||

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-19 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #32 from Andrew Ammerlaan  ---
Created attachment 140194
  --> https://bugs.kde.org/attachment.cgi?id=140194=edit
wayland session log after applying the patch

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-19 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #31 from Andrew Ammerlaan  ---
Created attachment 140193
  --> https://bugs.kde.org/attachment.cgi?id=140193=edit
wayland session log before applying patch

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-19 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #30 from Andrew Ammerlaan  ---
We're getting close,

Without the patch I get a working display on the monitor connected to the
AMDGPU, and on *one* of the monitors connected to the iGPU (the one that was
problematic before, but that might be a coincidence).

With the patch I get a working display on *all* monitors connected to the iGPU.
However, the monitor connected to the AMDGPU stays black. If I go to the
Display Settings the monitor is there. If I disabled and enable this monitor,
all of the displays hang/freeze but I do see the desktop pop up on that monitor
before it freezes and the screen corrupts.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-18 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #29 from Zamundaaa  ---
I rebased the MR to include a related bugfix from master, could you test again?

If it still fails in some way, could you also use the environment variable
QT_LOGGING_RULES="kwin_*.debug=true;kwin_libinput.debug=false"
again? On errors the output is rather verbose but debug output still helps

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-15 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #28 from Andrew Ammerlaan  ---
Created attachment 140080
  --> https://bugs.kde.org/attachment.cgi?id=140080=edit
wayland-session-log

(In reply to Zamundaaa from comment #27)
> crash should be fixed (at least it works with vkms)

Yes the crash is fixed now, Thanks.

After applying the patch from your Merge Request I get a proper display on one
of the monitors connected to the iGPU, the other two continue to display the
SDDM screen. The monitor connected to the AMDGPU (DVI-D-1) turns black. I can
move my mouse onto those monitors, and they are properly shown in Display
Settings (correct configuration and correct resolution etc). I see some
"Invalid argument" in the logs, so perhaps that is the cause.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-15 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #27 from Zamundaaa  ---
crash should be fixed (at least it works with vkms)

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-15 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #26 from Zamundaaa  ---
Git commit afcef2a6f822c46d3167f4b49bb8a3b13696c8c8 by Xaver Hugl.
Committed on 15/07/2021 at 11:42.
Pushed by zamundaaa into branch 'master'.

platforms/drm: fix crash with secondary GPUs and buffer age

M  +2-1src/plugins/platforms/drm/abstract_egl_drm_backend.h
M  +24   -12   src/plugins/platforms/drm/egl_gbm_backend.cpp
M  +4-3src/plugins/platforms/drm/egl_gbm_backend.h
M  +1-1src/plugins/platforms/drm/egl_stream_backend.cpp

https://invent.kde.org/plasma/kwin/commit/afcef2a6f822c46d3167f4b49bb8a3b13696c8c8

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-13 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #25 from Andrew Ammerlaan  ---
Created attachment 140018
  --> https://bugs.kde.org/attachment.cgi?id=140018=edit
kwin_wayland backtrace

(In reply to Zamundaaa from comment #24)
> KWin crashes, apparently when starting to render. Can you provide a
> backtrace?

Here's the backtrace, I hope it is helpful

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-12 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #24 from Zamundaaa  ---
KWin crashes, apparently when starting to render. Can you provide a backtrace?

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-12 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #23 from Andrew Ammerlaan  ---
Created attachment 140013
  --> https://bugs.kde.org/attachment.cgi?id=140013=edit
wayland-session-log

(In reply to Zamundaaa from comment #22)
> Patches the merge request depend on have been merged now, and I updated the
> merge request to the new code. Could you test it again? It should in theory
> work the same but it would be good to make sure.

After upgrading to the latest live version wayland is refusing to start (both
with and without the patch from your Merge Request). The screen flashes fast
and frequently, and eventually returns to SDDM (does not matter if the port
that was problematic before is connected or not). Wayland session log is
attached.

X does still work though.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-07-10 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #22 from Zamundaaa  ---
Patches the merge request depend on have been merged now, and I updated the
merge request to the new code. Could you test it again? It should in theory
work the same but it would be good to make sure.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-12 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #21 from Zamundaaa  ---
Cool. While the log unexpectedly still doesn't show any tests failing for the
amd gpu I don't think that's something to worry about.

> Sometimes the monitors connected to the iGPU retain their contents after the 
> session has quit and the shutdown process has started

That is a separate issue but should definitely be fixed as well. Properly
blanking the monitors before exit shouldn't be hard to do.

The session not closing everything properly is probably
https://bugs.kde.org/show_bug.cgi?id=433293

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-12 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

 Attachment #137515|0   |1
is obsolete||

--- Comment #20 from Andrew Ammerlaan  ---
Created attachment 137532
  --> https://bugs.kde.org/attachment.cgi?id=137532=edit
wayland session log (patch applied)

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-12 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #19 from Andrew Ammerlaan  ---
Good News!

You're patch works! I am writing this in a fully functioning wayland session.
All monitors now work as expected.

There seems to be a small issue on shutdown which may or may not be related.
Sometimes the monitors connected to the iGPU retain their contents after the
session has quit and the shutdown process has started. Some services fail to
stop (e.g. bluetooth), which indicates to me that the session might be
(partially) re-spawning when it shouldn't. But this could very well be an
unrelated issue.

Anyway with your patch my setup works with wayland! Looks like I will finally
be able to join the rest of the world in the future that is wayland :D

Thanks!

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #18 from Zamundaaa  ---
Hmm, the log says that the tests reported the outputs as working but
presentation fails afterwards... I added a commit that might fix that.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

 Attachment #137512|0   |1
is obsolete||

--- Comment #17 from Andrew Ammerlaan  ---
Created attachment 137515
  --> https://bugs.kde.org/attachment.cgi?id=137515=edit
wayland session log (patch applied)

(In reply to Zamundaaa from comment #16)
> Yes, very useful. https://invent.kde.org/plasma/kwin/-/merge_requests/847
> should fix that

Awesome, this indeed fixed it :)

However, the original issue is not quite fixed yet (though there is definitely
some progress with this patch). If I apply the patch the problem becomes sort
of inverted. Now the monitors connected to the iGPU work just fine (even the
problematic port!). However, the monitors connected to the AMDGPU turn off
after logging in. The kscreen config window does detect and display them
correctly and they are marked as enabled (though the monitor itself says "No
Signal"). If I disable and enable those monitors in the kscreen config window,
they do turn on but the desktop completely freezes shortly afterwards.

Without the patch the original behaviour described in the first comment is
restored (AMDGPU monitors work, but iGPU monitors display SDDM screen).

I don't have a coredump this time because there is no crash, though I have
attached the wayland session log.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #16 from Zamundaaa  ---
Yes, very useful. https://invent.kde.org/plasma/kwin/-/merge_requests/847
should fix that

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

 Attachment #137498|0   |1
is obsolete||

--- Comment #15 from Andrew Ammerlaan  ---
Created attachment 137512
  --> https://bugs.kde.org/attachment.cgi?id=137512=edit
wayland session log (patch applied)

I hope this is useful

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #14 from Andrew Ammerlaan  ---
Created attachment 137511
  --> https://bugs.kde.org/attachment.cgi?id=137511=edit
SIGSEGV backtrace kwin_wayland

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #13 from Zamundaaa  ---
You can try using
> coredumpctl debug kwin_wayland
and then use "bt" in gdb to get the stacktrace of the last crash.
If you use the environment variable
> QT_LOGGING_RULES="kwin_*.debug=true;kwin_libinput.debug=false"
again then there could be something useful in the wayland-session.log, too.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #12 from Andrew Ammerlaan  ---
I just tested without the patch, and then it still crashes. So the problem does
not seem to be with the patch necessarily but with some other change in the
live git version. Perhaps I just got unlucky and synced it while it was in a
broken state. 

I'm not sure how I could test this more properly, any suggestions?

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #11 from Andrew Ammerlaan  ---
Created attachment 137498
  --> https://bugs.kde.org/attachment.cgi?id=137498=edit
wayland log with the patch

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-11 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #10 from Andrew Ammerlaan  ---
To apply the patch successfully I had to use the latest version from git (for
kwin and some other packages). The patch does not apply to the 5.21.4 release. 

After upgrading and applying the patch, a X11 session still works. However, now
wayland does not work at all, it just flashes the screen a bit on the monitors
connected to the AMDGPU and then crashes. The monitors on the iGPU continue to
display the SDDM screen, now this happens irrespective of whether the
problematic port is connected or not.

I am not sure if the problem is with the patch from the Merge Request, or with
the upgrade to the latest version from git.

The log doesn't seem to show anything helpful, but I'll attach it anyway.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-10 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

--- Comment #9 from Zamundaaa  ---
The linked merge request will most likely solve your problem but it would be
great if you could test it

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-04-10 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=433107

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

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-02-18 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=433107

Zamundaaa  changed:

   What|Removed |Added

   Assignee|kwin-bugs-n...@kde.org  |xaver.h...@gmail.com
 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

--- Comment #7 from Zamundaaa  ---
That does sound like it is indeed the problem of kwin_wayland not being smart
enough when driving the iGPU. I've been working on some changes that should
enable us to fix that but they won't go into 5.21.

The thing with the port having problems overall is interesting but most likely
won't cause problems once we handle failures.

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

[kwin] [Bug 433107] Wayland: iGPU/AMDGPU multi-monitor keeps displaying the SDDM screen if iGPU-DisplayPort is connected

2021-02-18 Thread Andrew Ammerlaan
https://bugs.kde.org/show_bug.cgi?id=433107

Andrew Ammerlaan  changed:

   What|Removed |Added

Summary|Wayland: iGPU multi-monitor |Wayland: iGPU/AMDGPU
   |keeps displaying the SDDM   |multi-monitor keeps
   |screen  |displaying the SDDM screen
   ||if iGPU-DisplayPort is
   ||connected

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