[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-05-31 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

Zamundaaa  changed:

   What|Removed |Added

   Version Fixed In|5.23|5.22.0

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-05-31 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

Zamundaaa  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
   |ma/kwin/commit/7de0f1f2ad02 |ma/kwin/commit/592d2aac0594
   |2241fb5644ab6798b60b5a94d90 |6a8c329e1e8c3d49368160f6af2
   |f   |c

--- Comment #85 from Zamundaaa  ---
Git commit 592d2aac05946a8c329e1e8c3d49368160f6af2c by Xaver Hugl.
Committed on 31/05/2021 at 07:53.
Pushed by zamundaaa into branch 'Plasma/5.22'.

platforms/drm: CPU copy for multi-gpu

Not all GPUs can scan out linear buffers, so if import with a dmabuf
fails manually copy the data into a non-linear gbm buffer instead.


(cherry picked from commit 7de0f1f2ad022241fb5644ab6798b60b5a94d90f)

M  +1-0src/plugins/platforms/drm/CMakeLists.txt
M  +13   -2src/plugins/platforms/drm/abstract_egl_drm_backend.h
M  +3-1src/plugins/platforms/drm/drm_buffer.h
M  +26   -2src/plugins/platforms/drm/drm_buffer_gbm.cpp
M  +12   -0src/plugins/platforms/drm/drm_buffer_gbm.h
A  +54   -0src/plugins/platforms/drm/dumb_swapchain.cpp [License:
GPL(v2.0+)]
A  +45   -0src/plugins/platforms/drm/dumb_swapchain.h [License:
GPL(v2.0+)]
M  +165  -81   src/plugins/platforms/drm/egl_gbm_backend.cpp
M  +13   -3src/plugins/platforms/drm/egl_gbm_backend.h
M  +2-8src/plugins/platforms/drm/egl_multi_backend.cpp
M  +7-23   src/plugins/platforms/drm/scene_qpainter_drm_backend.cpp
M  +3-2src/plugins/platforms/drm/scene_qpainter_drm_backend.h

https://invent.kde.org/plasma/kwin/commit/592d2aac05946a8c329e1e8c3d49368160f6af2c

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-05-18 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

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 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

Zamundaaa  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/plas
   ||ma/kwin/commit/7de0f1f2ad02
   ||2241fb5644ab6798b60b5a94d90
   ||f
 Resolution|--- |FIXED

--- Comment #84 from Zamundaaa  ---
Git commit 7de0f1f2ad022241fb5644ab6798b60b5a94d90f by Xaver Hugl.
Committed on 18/05/2021 at 12:54.
Pushed by zamundaaa into branch 'master'.

platforms/drm: CPU copy for multi-gpu

Not all GPUs can scan out linear buffers, so if import with a dmabuf
fails manually copy the data into a non-linear gbm buffer instead.

M  +1-0src/plugins/platforms/drm/CMakeLists.txt
M  +13   -2src/plugins/platforms/drm/abstract_egl_drm_backend.h
M  +3-1src/plugins/platforms/drm/drm_buffer.h
M  +26   -2src/plugins/platforms/drm/drm_buffer_gbm.cpp
M  +12   -0src/plugins/platforms/drm/drm_buffer_gbm.h
A  +54   -0src/plugins/platforms/drm/dumb_swapchain.cpp [License:
GPL(v2.0+)]
A  +45   -0src/plugins/platforms/drm/dumb_swapchain.h [License:
GPL(v2.0+)]
M  +165  -81   src/plugins/platforms/drm/egl_gbm_backend.cpp
M  +13   -3src/plugins/platforms/drm/egl_gbm_backend.h
M  +2-8src/plugins/platforms/drm/egl_multi_backend.cpp
M  +7-23   src/plugins/platforms/drm/scene_qpainter_drm_backend.cpp
M  +3-2src/plugins/platforms/drm/scene_qpainter_drm_backend.h

https://invent.kde.org/plasma/kwin/commit/7de0f1f2ad022241fb5644ab6798b60b5a94d90f

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-05-03 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #137848|0   |1
is obsolete||
 Attachment #137851|0   |1
is obsolete||

--- Comment #83 from Shawn Starr  ---
Created attachment 138131
  --> https://bugs.kde.org/attachment.cgi?id=138131&action=edit
Kwin + latest KWayland server + protocols - both displays turn on

Kwin + latest KWayland server + protocols - both displays turn on

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-05-03 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #82 from Shawn Starr  ---
With latest changes to dumb-import both displays turn on now!

Attached outputs

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-23 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #81 from Shawn Starr  ---
Created attachment 137851
  --> https://bugs.kde.org/attachment.cgi?id=137851&action=edit
dumb-import - April 23rd - log - Latest

 dumb-import - April 23rd - log - Latest

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-23 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #137810|0   |1
is obsolete||
 Attachment #137838|0   |1
is obsolete||

--- Comment #80 from Shawn Starr  ---
Created attachment 137848
  --> https://bugs.kde.org/attachment.cgi?id=137848&action=edit
dumb-import - April 23rd - log

dumb-import - April 23rd - log

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-23 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #79 from Shawn Starr  ---
Created attachment 137838
  --> https://bugs.kde.org/attachment.cgi?id=137838&action=edit
dumb-import branch only - latest test

dumb-import branch only - latest test

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-22 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #137797|0   |1
is obsolete||

--- Comment #78 from Shawn Starr  ---
Created attachment 137810
  --> https://bugs.kde.org/attachment.cgi?id=137810&action=edit
dumb-import branch only

dumb-import branch only

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-22 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #137782|0   |1
is obsolete||

--- Comment #77 from Shawn Starr  ---
Created attachment 137797
  --> https://bugs.kde.org/attachment.cgi?id=137797&action=edit
dumb-import + primary-gpu-context log

dumb-import + primary-gpu-context log

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-21 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #137697|0   |1
is obsolete||
 Attachment #137698|0   |1
is obsolete||
 Attachment #137761|0   |1
is obsolete||
 Attachment #137781|0   |1
is obsolete||

--- Comment #76 from Shawn Starr  ---
Created attachment 137782
  --> https://bugs.kde.org/attachment.cgi?id=137782&action=edit
dumb-import + primary-gpu-context + fix-hotplug w/o SDDM/Xorg VT

dumb-import + primary-gpu-context + fix-hotplug w/o SDDM/Xorg VT

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-21 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #75 from Shawn Starr  ---
Created attachment 137781
  --> https://bugs.kde.org/attachment.cgi?id=137781&action=edit
New log from latest testing - dumb-import + primary-gpu-context + fix-hotplug

New log from latest testing - dumb-import + primary-gpu-context + fix-hotplug

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-21 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #136854|0   |1
is obsolete||
 Attachment #137046|0   |1
is obsolete||
 Attachment #137423|0   |1
is obsolete||
 Attachment #137442|0   |1
is obsolete||
 Attachment #137443|0   |1
is obsolete||

--- Comment #74 from Shawn Starr  ---
Created attachment 137761
  --> https://bugs.kde.org/attachment.cgi?id=137761&action=edit
Wayland Error logs - with dumb-import + primary-gpu-context branches

Wayland Error logs - with dumb-import + primary-gpu-context branches

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-21 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #73 from Shawn Starr  ---
Interesting results with kwin branches:

work/zamundaaa/dumb-import + work/primary-gpu-context
 merged together with latest kwayland-server master + protocols.

I *DO* get the DisplayPort turning on, although only *one* screen is able to
turn on now..

Log attached

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #72 from Shawn Starr  ---
Created attachment 137698
  --> https://bugs.kde.org/attachment.cgi?id=137698&action=edit
Coredump from Kwin

Coredump from the session tested,segfaulted

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #71 from Shawn Starr  ---
Created attachment 137697
  --> https://bugs.kde.org/attachment.cgi?id=137697&action=edit
New log from latest code changes

New log from latest code changes

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #70 from Shawn Starr  ---
Coming back to the KDE side of things.. right now nothing works for me. I can
wait and will have to wait. I would prefer we have a common EDID/display
detection framework not one for every DE though...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Fervi
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #69 from Fervi  ---
Sway supports Nvidia, but without support
https://github.com/swaywm/sway/blob/master/sway/main.c#L103

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #68 from Shawn Starr  ---
You should sort that out with them. Upon installing Sway for Fedora, starting
Sway from SDDM, both displays turned on immediately.

So...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Neal Gompa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #67 from Neal Gompa  ---
(In reply to Shawn Starr from comment #66)
> That's not confirmed... and wlroots devs dispute this im told on IRC so...

* https://github.com/swaywm/sway/wiki#nvidia-users
* https://drewdevault.com/2017/10/26/Fuck-you-nvidia.html

The wlroots/sway devs are very public about not supporting NVIDIA.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #66 from Shawn Starr  ---
That's not confirmed... and wlroots devs dispute this im told on IRC so...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Neal Gompa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #65 from Neal Gompa  ---
(In reply to Shawn Starr from comment #64)
> I hate to bring this up but: https://gitlab.com/kwinft/kwinft/-/issues/137
> 
> Why exactly are we not using wlroots? It's not exactly 'fun' to have to
> implement your own drm plugin for kwin, deal with all the complexities of
> display management  like Xorg DDX did for us behind the scenes..

Among other things, wlroots will *never* support NVIDIA.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-13 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #64 from Shawn Starr  ---
I hate to bring this up but: https://gitlab.com/kwinft/kwinft/-/issues/137

Why exactly are we not using wlroots? It's not exactly 'fun' to have to
implement your own drm plugin for kwin, deal with all the complexities of
display management  like Xorg DDX did for us behind the scenes..

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #63 from Zamundaaa  ---
The laptop display not turning on is unexpected... Maybe I can still find a
solution that can be implemented somwhat quickly but it looks like it's gonna
take a while

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-08 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #62 from Shawn Starr  ---
Created attachment 137443
  --> https://bugs.kde.org/attachment.cgi?id=137443&action=edit
Wayland Errors Log - Existing user - Laptop screen made primary  - with
work/zamundaaa/dumb-import branch for kwin

Wayland Errors Log - Existing user - Laptop screen made primary  - with
work/zamundaaa/dumb-import branch for kwin

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-08 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #61 from Shawn Starr  ---
Created attachment 137442
  --> https://bugs.kde.org/attachment.cgi?id=137442&action=edit
Wayland Errors Log - New user - with work/zamundaaa/dumb-import branch for kwin

Wayland Errors Log - New user - with work/zamundaaa/dumb-import branch for kwin

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-08 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #60 from Shawn Starr  ---
Results:

In the first log, I created a new user
- Started Plasma Wayland session, Laptop screen and DisplayPort didnt turn on,
VT switched, the DisplayPort turned on saw an X cursor but nothing else, laptop
screen did not turn on.

In the second log, before I switched to Wayland from X11, I forced Kscreen to
make the laptop screen primary and DisplayPort secondary.

- Started Plasma Wayland session, Laptop screen and DisplayPort didn't turn on,
VT switched. Laptop screen turned on, DisplayPort screen failed...

Still no go with latest test branch.

Attached are both logs.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-07 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #59 from Shawn Starr  ---
Created attachment 137423
  --> https://bugs.kde.org/attachment.cgi?id=137423&action=edit
Wayland Errors Log - with work/zamundaaa/dumb-import branch for kwin

Wayland Errors Log - with work/zamundaaa/dumb-import branch for kwin

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-07 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #58 from Shawn Starr  ---
Well, something appeared but it was garbage output on the DisplayPort.

I had to alt-tab to switch VT then back and then I noticed my laptop display
lit up.

Attached is log.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-06 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #57 from Shawn Starr  ---
Will compile and report back today

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #56 from Zamundaaa  ---
Can you test if https://invent.kde.org/plasma/kwin/-/merge_requests/832 works?

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-05 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #55 from Nate Graham  ---
*** Bug 435265 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-04-05 Thread Alex
https://bugs.kde.org/show_bug.cgi?id=432707

Alex  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

Nate Graham  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #54 from Nate Graham  ---
*** Bug 425586 has been marked as a duplicate of this bug. ***

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

Nate Graham  changed:

   What|Removed |Added

   Priority|NOR |VHI

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-28 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

Nate Graham  changed:

   What|Removed |Added

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

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-27 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=432707

Nate Graham  changed:

   What|Removed |Added

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

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-24 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #53 from Shawn Starr  ---
I should note when I moved the screen to the DisplayPort, then maximized it was
returned to the laptop screen. So it was not allowing it to be displayed on the
DisplayPort output which didn't light up.

I did see in logs:

kwin_wayland_drm: drmModeAddFB2WithModifiers failed! Invalid argument
kwin_wayland_drm: drmModeAddFB2 and drmModeAddFB both failed! Invalid argument

So, drmModeAddFB2WithModifiers is new...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-24 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #52 from Shawn Starr  ---
Created attachment 137046
  --> https://bugs.kde.org/attachment.cgi?id=137046&action=edit
Kwin Kwayland-server new log

Kwin Kwayland-server new log

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-24 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #51 from Shawn Starr  ---
I tried again, explicitly even set DRI_PRIME to right GPU, attached is new
wayland-errors log file.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-24 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #50 from Shawn Starr  ---
>From my Xorg config I have DRI_PRIME=0 

OpenGL renderer string: AMD Radeon HD 8950 (BONAIRE, DRM 3.40.0,
5.10.14-200.fc33.x86_64, LLVM 11.1.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 21.0.0
OpenGL core profile shading language version string: 4.60

When in standard X

I don't know how Kwin/KWayland-server handles integrated vs dedicated GPUs
here.

But if I move the window to the DisplayPort nothing lights up...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-20 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #49 from Shawn Starr  ---
Should be, DRI_PRIME is set, but I'll double check and or enforce if its not.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-19 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #48 from Zamundaaa  ---
Are you sure the game ran on the dedicated GPU? The log suggests to me that it
probably wasn't

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-19 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #136828|0   |1
is obsolete||

--- Comment #47 from Shawn Starr  ---
Created attachment 136854
  --> https://bugs.kde.org/attachment.cgi?id=136854&action=edit
kwin Xwayland - wayland-errors.log

kwin Xwayland - wayland-errors.log

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-19 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #46 from Shawn Starr  ---
Does not work.

I even tried Wine with League of Legends, moved window to other screen,
alt+enter but it moved the full screen to the laptop output.

Attached the is the log with League of Legends

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-19 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #45 from Shawn Starr  ---
I will try that in a moment...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-19 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #44 from Zamundaaa  ---
Okay now the interesting bit would be if fullscreen apps running through
Xwayland make the display work - with direct scanout they bypass the normal
multi-GPU mechanism. So just use any game from Steam or install Xonotic or
something like that from your distros repo, make it fullscreen and drag the
fullscreen window to the not-working display with Meta + Left Click. If I'm
right then the display should light up.

(In reply to Shawn Starr from comment #43)
> If this is a kernel bug, why does this only manifest with Wayland and not
> X11?

Either X is doing hardware accelerated multi-GPU differently in some way that
works or it's using the CPU fallback

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #43 from Shawn Starr  ---
I even tried disconnecting from my DisplayPort KVM switch, same result, so that
eliminates that.

If this is a kernel bug, why does this only manifest with XWayland and not X11?

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #42 from Shawn Starr  ---
Yes, if I make a new user, XWayland starts only on the Laptop display, I *can*
drag windows to the external display.

Kscreen does detect this but no display, I do see attempts to power it on then
it fails the kernel shows:

[   91.494549] amdgpu: VI should always have 2 performance levels
[  126.275199] [drm] PCIE gen 3 link speeds already enabled
[  126.277690] [drm] PCIE GART of 1024M enabled (table at 0x00F4).
[  126.282206] amdgpu :01:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
[  126.449983] [drm] Got external EDID base block and 2 extensions from
"edid/Samsung-LC27G7xT.edid.bin" for connector "DP-2"
[  126.510293] [drm] UVD initialized successfully.
[  126.631314] [drm] VCE initialized successfully.
[  132.760379] amdgpu: VI should always have 2 performance levels
[  139.011159] [drm] PCIE gen 3 link speeds already enabled
[  139.012180] [drm] PCIE GART of 1024M enabled (table at 0x00F4).
[  139.014696] amdgpu :01:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
[  139.173110] [drm] Got external EDID base block and 2 extensions from
"edid/Samsung-LC27G7xT.edid.bin" for connector "DP-2"
[  139.232354] [drm] UVD initialized successfully.
[  139.353376] [drm] VCE initialized successfully.
[  159.485632] amdgpu: VI should always have 2 performance levels
[  182.866884] [drm] PCIE gen 3 link speeds already enabled
[  182.869354] [drm] PCIE GART of 1024M enabled (table at 0x00F4).
[  182.873968] amdgpu :01:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
[  183.037980] [drm] Got external EDID base block and 2 extensions from
"edid/Samsung-LC27G7xT.edid.bin" for connector "DP-2"
[  183.097016] [drm] UVD initialized successfully.
[  183.218037] [drm] VCE initialized successfully.
[  188.819090] amdgpu: VI should always have 2 performance levels
[  193.681966] [drm] PCIE gen 3 link speeds already enabled
[  193.684447] [drm] PCIE GART of 1024M enabled (table at 0x00F4).
[  193.688981] amdgpu :01:00.0: amdgpu: SRBM_SOFT_RESET=0x00100040
[  193.853029] [drm] Got external EDID base block and 2 extensions from
"edid/Samsung-LC27G7xT.edid.bin" for connector "DP-2"
[  193.913052] [drm] UVD initialized successfully.
[  194.034072] [drm] VCE initialized successfully.
[  194.405045] broken atomic modeset userspace detected, disabling atomic
[  207.167245] amdgpu: [powerplay] 
failed to send message 146 ret is 0

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #41 from Shawn Starr  ---
Well, right now when i try starting with XWayland via SDDM, it just locks up
the screen I can VT switch however..

I will create a new user and see if any .config from KDE is causing
XWayland/X11 confusion with Kwin/Kscreen

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #40 from Zamundaaa  ---
I know that the display doesn't turn on but you should be able to move windows
to it on master.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #39 from Shawn Starr  ---
Well, its not even a game that works, Plasma/Kscreen doesnt detect the screen.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #38 from Zamundaaa  ---
I'll be adding a CPU fallback mode for multi-GPU soon™, that would definitely
work.

Ideally we can still get it working with hardware acceleration for 5.22
though...
Could you check if on master a fullscreen game running through Xwayland and on
the dedicated GPU makes the display work? Even if there is no PRIME support for
the hardware that should show something. If it does show something, could you
then test the same but with the game running on the integrated graphics?

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #37 from Shawn Starr  ---
Oh there's no coredump now, systemd coredumpctl shows none.

This core issue remains, I just happened to crash kwin before the above commit
is already in the master branch.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Aleix Pol
https://bugs.kde.org/show_bug.cgi?id=432707

Aleix Pol  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #36 from Aleix Pol  ---
Can you provide that new coredump then? (in addition to the session log)

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #136749|0   |1
is obsolete||
 Attachment #136754|0   |1
is obsolete||

--- Comment #35 from Shawn Starr  ---
Created attachment 136828
  --> https://bugs.kde.org/attachment.cgi?id=136828&action=edit
New Wayland Session log

New Wayland Session log

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #34 from Shawn Starr  ---
Well, the coredump is fixed, and it shows a lot more of the error...

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #33 from Zamundaaa  ---
Test https://invent.kde.org/plasma/kwin/-/merge_requests/756 that's rebased.
The crash should be fixed, the behavior of the monitor will most likely not
change though

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-18 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #32 from Shawn Starr  ---
Will test this commit and report back

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #31 from Zamundaaa  ---
Git commit 6569bf80c37ea46e7507fac17b9f1162b9a9978e by Xaver Hugl.
Committed on 18/03/2021 at 14:22.
Pushed by zamundaaa into branch 'master'.

EglGbmBackend: use output reference

M  +2-2src/plugins/platforms/drm/egl_gbm_backend.cpp

https://invent.kde.org/plasma/kwin/commit/6569bf80c37ea46e7507fac17b9f1162b9a9978e

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

Shawn Starr  changed:

   What|Removed |Added

 Attachment #136070|0   |1
is obsolete||
 Attachment #136708|0   |1
is obsolete||

--- Comment #30 from Shawn Starr  ---
Created attachment 136754
  --> https://bugs.kde.org/attachment.cgi?id=136754&action=edit
Wayland Session Errors from multiple kwin spawn attempts by SDDM

Wayland Session Errors from multiple kwin spawn attempts by SDDM

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #29 from Shawn Starr  ---
Created attachment 136749
  --> https://bugs.kde.org/attachment.cgi?id=136749&action=edit
Stack dump

Stack dump

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #28 from Shawn Starr  ---
GDB stack dump

$ sudo gdb --core
core.kwin_wayland.1000.55d0822d350d434bb3a76b384eae7800.1445.161592086800
GNU gdb (GDB) Fedora 10.1-14.fc35
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.

For help, type "help".
Type "apropos word" to search for commands related to "word".

warning: Can't open file /memfd:JSGCHeap:QtQml (deleted) during file-backed
mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:JSVMStack:QtQml (deleted) during file-backed
mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file /memfd:unknown-usage:QtQml (deleted) during
file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing

warning: Can't open file anon_inode:i915.gem which was expanded to
anon_inode:i915.gem during file-backed mapping note processing
[New LWP 1445]
[New LWP 1446]
[New LWP 1452]
[New LWP 1459]
[New LWP 1448]
[New LWP 1462]
[New LWP 1447]
[New LWP 1468]
[New LWP 1461]
[New LWP 1453]
[New LWP 1465]
[New LWP 1451]
[New LWP 1464]
[New LWP 1454]
[New LWP 1455]
[New LWP 1467]
[New LWP 1458]
[New LWP 1470]
[New LWP 1475]
[New LWP 1460]
[New LWP 1477]
[New LWP 1463]
[New LWP 1472]
[New LWP 1457]
[New LWP 1469]
[New LWP 1466]
Reading symbols from /usr/lib64/libffi.so.6.0.2...
Reading symbols from
/usr/lib/debug/usr/lib64/libffi.so.6.0.2-3.1-28.fc34.x86_64.debug...

warning: Ignoring non-absolute filename: 
Missing separate debuginfo for linux-vdso.so.1
Try: dnf --enablerepo='*debug*' install
/usr/lib/debug/.build-id/0c/f00d2ae4f266ffbda56d7c5c61fcf64c5c439a
Warning: couldn't activate thread debugging using libthread_db: Cannot find new
threads: generic error

warning: File "/usr/lib64/libthread_db-1.0.so" auto-loading has been declined
by your `auto-load safe-path' set to
"$debugdir:$datadir/auto-load:/usr/lib/golang/src/runtime/runtime-gdb.py".
To enable execution of this file add
Missing separate debuginfos, use: dnf debuginfo-install
kf5-frameworkintegration-libs-5.79.0-2.fc34.x86_64
kf5-kactivities-5.79.0-2.fc34.x86_64 kf5-karchive-5.79.0-2.fc34.x86_64
kf5-kbookmarks-5.79.0-2.fc34.x86_64

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #27 from Shawn Starr  ---
I tried using:

gdb -batch -ex "set logging file kwin_wayland.gdb" -ex "set logging on" -ex
"continue" -ex "thread apply all backtrace"-ex quit --args kwin_wayland
--libinput --drm

While that worked, oddly the DisplayPort turned *on* though froze..

This is difficult to debug if I can't reproduce this with SDDM -> plasmastart
--> kwin.

Will coredumpctl work even with this?

The wiki says:

"Warning
The kwin_wayland process is not dumpable, which means coredumpctl is unable to
fetch a full backtrace, rendering only truncated core dumps. Those are still
useful, but if possible, SSH into your session and attach GDB directly."

So, If you can provide some step for me to try to debug this consistently.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #26 from Zamundaaa  ---
Log one is from 5.21, and log two is from my merge request.
As I undertand it, 5.21 doesn't show anything and my merge request makes the
session crash? It would be interesting if master crashes as well.

You can get the backtrace by using coredumpctl (if the coredump isn't
truncated) or by using gdb over ssh

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #25 from Shawn Starr  ---
KWin debugging isntructions:

echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope
sudo gdb -pid $(pidof kwin_wayland) -batch -ex "set logging file
kwin_wayland.gdb" -ex "set logging on" -ex "continue" -ex "thread apply all
backtrace" -ex "quit"

Except im not sure how do I wrap kwin_wayland to use gdb via SDDM via my
/usr/share/wayland-sessions/plasmawayland-dev.desktop?

Since I get no display while kwin crashes on start.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #24 from Shawn Starr  ---
This was from master branch, in this case how can I get a gdb crash dump? Are
you on IRC? :)

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-16 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #23 from Zamundaaa  ---
Can you get a backtrace of the crash? And can you reproduce it on master?

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-15 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #22 from Shawn Starr  ---
Created attachment 136708
  --> https://bugs.kde.org/attachment.cgi?id=136708&action=edit
Wayland Error log #2

Wayland Error log #2

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-15 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #21 from Shawn Starr  ---
Well I got built, it is failing attached is wayland-errors log.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-07 Thread Neal Gompa
https://bugs.kde.org/show_bug.cgi?id=432707

Neal Gompa  changed:

   What|Removed |Added

 CC||[email protected]

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-06 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #20 from Shawn Starr  ---
Or if I can apply this patch as part of building the Fedora RPM.. might try
that first

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-06 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #19 from Shawn Starr  ---
I need to refresh my KDE build outside of using Fedora RPMs, ill gget back to
you on this,

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-06 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #18 from Zamundaaa  ---
Does the patch fix the problem (or at least change anything)? In theory the two
function calls should do the same but it's worth a try

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-03-06 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=432707

Bug Janitor Service  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|ASSIGNED

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

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-02-26 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #16 from Shawn Starr  ---
I use amdgpu, disabled radeon for CIK.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

--- Comment #15 from Zamundaaa  ---
What I mean is that there's probably some edge-case or assumption about the
driver that we're not handling correctly.

Are you using the amdgpu or radeon kernel driver? IIRC for a few of those old
cards radeon is still the default. If that affects your card, could you try
what happens with amdgpu?

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

2021-02-25 Thread Shawn Starr
https://bugs.kde.org/show_bug.cgi?id=432707

--- Comment #14 from Shawn Starr  ---
hmm, well since it works with Xorg, the driver seems ok, both the DRM kernel,
DRI side at least.

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

[kwin] [Bug 432707] [Wayland] KScreen does not detect external displays such as DisplayPort on laptops

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

Zamundaaa  changed:

   What|Removed |Added

Product|KScreen |kwin
Version|git |git master
   Assignee|[email protected]   |[email protected]
  Component|libkscreen  |platform-drm

--- Comment #13 from Zamundaaa  ---
The "can't find fitting mode" warning just means that on KWin can't find the
intial mode it wants, it just falls back to the first mode. The relevant error
is

drmModeAddFB failed

It's possible that part of the problem is driver or hardware support - I'll
find out how to get relevant information for that.

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