[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #13 from John Salatas  ---
Thank so much for your effort!

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=482256

Zamundaaa  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #12 from Zamundaaa  ---
Yeah, this is definitely a NVidia driver bug. I think the correct place to
report them is in the NVidia forums.

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #11 from John Salatas  ---
Created attachment 166452
  --> https://bugs.kde.org/attachment.cgi?id=166452&action=edit
weston-simple-egl

weston-simple-egl doesn't work as well. Similar issue with qml apps (see
attached). 

So I guess it's not really a plasma issue. Right?

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #10 from John Salatas  ---
>does
> KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
> (card numbers reversed) change anything? 

Tried that already and it seems like my computer used LSD :) 

I'll check weston-simple-egl soon...

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #9 from Zamundaaa  ---
As one more thing, does
> KWIN_DRM_DEVICES=/dev/dri/card0:/dev/dri/card1
(card numbers reversed) change anything? It would be weird if the other order
would be used as default, but it's not impossible

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-05 Thread Zamundaaa
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #8 from Zamundaaa  ---
Okay, qml apps not working definitely points in the direction of the OpenGL
driver. Does a simpler egl app like weston-simple-egl work?

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #7 from John Salatas  ---
Created attachment 166408
  --> https://bugs.kde.org/attachment.cgi?id=166408&action=edit
wayland session

Just in case here is a wayland session with konsole and firefox running

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #6 from John Salatas  ---
Created attachment 166407
  --> https://bugs.kde.org/attachment.cgi?id=166407&action=edit
plasmashell journal logs

please see attached the plasmashell journal log. 

setting KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0 didn't change anything

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #5 from John Salatas  ---
> As some additional things you could check, can you start apps that don't use 
> the GPU at all, like Konsole?

Sorry I missed to mention that. If I press Alt+F2 and then type knosole it runs
as expected. It just leaves the window traces (like it is shown in the
screenshot I attached) if I move it around. With the konsole open I can then
run kate and even firefox. It seems like the applications that are corrupted
are the ones that are based on qml (or kirigami?) like (the ones I tried)
systemsettings, discover, eliza and spectacle. 

I'll test the other suggestions soon.

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

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

--- Comment #4 from Zamundaaa  ---
The gbm error is a minor driver bug, but it's unrelated. The dbus one is also
unrelated.

Judging by the lack of errors in KWin + the image, the problem might be on the
app side - maybe the apps are using the wrong GPU. I don't know if anything
about that would be logged, but if so, please attach the output of
> journalctl --user-unit plasma-plasmashell --boot 0

As some additional things you could check, can you start apps that don't use
the GPU at all, like Konsole? Also, if you set the
> KWIN_DRM_DEVICES=/dev/dri/card1:/dev/dri/card0
environment variable to force KWin to use the other GPU, does that change
anything?

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #3 from John Salatas  ---
Just in case: Seems like the following line doesn't appear on my yesterday's
journal logs (the ones with a single gpu in which wayland was working)

kwin_wayland[1368]: qt.dbus.integration: QDBusConnection: couldn't handle call
to Teardown, no slot matched

The error line below appears in either case 

kwin_wayland_wrapper[1368]: src/gbm_drv_common.c:130: GBM-DRV error
(get_bytes_per_component): Unknown or not supported format: 875708754

Hope it helps.

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread John Salatas
https://bugs.kde.org/show_bug.cgi?id=482256

--- Comment #2 from John Salatas  ---
Created attachment 166406
  --> https://bugs.kde.org/attachment.cgi?id=166406&action=edit
journal log

see attached the journal logs. I'm not sure what I'm supposed to look for :\

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=482256

Nate Graham  changed:

   What|Removed |Added

   Keywords||wayland
   Severity|normal  |grave
 CC||n...@kde.org

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

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

Zamundaaa  changed:

   What|Removed |Added

 CC||xaver.h...@gmail.com

--- Comment #1 from Zamundaaa  ---
That's odd, to say the least. Are there any warnings in KWin's log when this
happens? You can access it with
> journalctl --user-unit plasma-kwin_wayland --boot 0

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-04 Thread Vlad Zahorodnii
https://bugs.kde.org/show_bug.cgi?id=482256

Vlad Zahorodnii  changed:

   What|Removed |Added

  Component|wayland-generic |platform-drm

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

[kwin] [Bug 482256] wayland doesn't work in systems with dual nvidia gpus

2024-03-02 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=482256

Bug Janitor Service  changed:

   What|Removed |Added

   Keywords||qt6

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