Bug 473483 - KPipeWire-based Task Manager window previews are blank on Wayland with Nouveau drivers
Summary: KPipeWire-based Task Manager window previews are blank on Wayland with Nouvea...
Status: RESOLVED DUPLICATE of bug 477478
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2023-08-17 16:56 UTC by Edoardo Lolletti
Modified: 2024-01-17 04:42 UTC (History)
12 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of the issue (50.40 KB, image/png)
2023-08-17 16:56 UTC, Edoardo Lolletti
Details
Output of drm_info (105.67 KB, text/plain)
2023-08-26 21:55 UTC, Edoardo Lolletti
Details
drm_info and wayland-info on secondairy intel machine (65.66 KB, text/plain)
2023-08-28 16:44 UTC, Edoardo Lolletti
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Edoardo Lolletti 2023-08-17 16:56:13 UTC
Created attachment 161027 [details]
Example of the issue

SUMMARY
When hovering an icon in the task bar, the preview window is shown but is blank

STEPS TO REPRODUCE
1. Start a plasma wayland session
2. Open a program
3. Hover the icon of that program in the taskbar

OBSERVED RESULT
No window contents are shown in the preview window

EXPECTED RESULT
The contents of the window are shown in the preview window

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Artix linux
(available in About System)
KDE Plasma Version: 5.27.7
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION
The task switcher (accessed via alt+tab) instead properly shows the window previews.
Comment 1 Nate Graham 2023-08-17 19:06:29 UTC
Is it broken for 100% of windows 100% of the time?

Or does it happen only sometimes?
Comment 2 Edoardo Lolletti 2023-08-17 19:24:57 UTC
(In reply to Nate Graham from comment #1)
> Is it broken for 100% of windows 100% of the time?
> 
> Or does it happen only sometimes?

I never had it working since around plasma 5.23 (the bug I commented on earlier was the one I had found back then when searching for this problem) and has never worked since then.
If it might be helpful, the system I'm having this issue on is an Acer nitro 5 with an i5-7300hq and 1050ti and I'm using the noveau drivers.
Comment 3 Nate Graham 2023-08-21 17:46:14 UTC
Never had it working, huh? Do you have `kpipewire` installed on your system?
Comment 4 Edoardo Lolletti 2023-08-21 18:02:41 UTC
(In reply to Nate Graham from comment #3)
> Never had it working, huh? Do you have `kpipewire` installed on your system?

Just checked and I do have it installed
Comment 5 Nate Graham 2023-08-21 18:33:54 UTC
Thanks for the info.
Comment 6 Zamundaaa 2023-08-23 17:39:31 UTC
Works here with a rtx 3060; not sure why it wouldn't with a 1050. Please attach the output of drm_info
Comment 7 Patrick Silva 2023-08-23 17:58:02 UTC
Not related to video card. I can reproduce on Arch Linux running Plasma 5.27.7 on intel iGPU by hovering over the tasks repeatedly.
Comment 8 Zamundaaa 2023-08-23 20:36:43 UTC
Thumbnails never working and sometimes not showing are two different bugs
Comment 9 Edoardo Lolletti 2023-08-26 21:55:09 UTC
Created attachment 161202 [details]
Output of drm_info
Comment 10 Edoardo Lolletti 2023-08-28 16:44:49 UTC
Created attachment 161245 [details]
drm_info and wayland-info on secondairy intel machine

I tested on a seaprate machine that only has the intel integrated graphigs using a debian 12 live image (shipping with kde 27.5), and I get a very similar result, the difference being that rather than being empty, the preview window only shows the window icon. So I guess the issue is not related to the noveau drivers but the intel ones.

Attached are the outputs of both drm_info and wayland-info ran on that machine.
Comment 11 Bug Janitor Service 2023-09-12 03:45:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 12 Edoardo Lolletti 2023-09-12 05:17:51 UTC
(In reply to Bug Janitor Service from comment #11)
> Dear Bug Submitter,
> 
> This bug has been in NEEDSINFO status with no change for at least
> 15 days. Please provide the requested information as soon as
> possible and set the bug status as REPORTED. Due to regular bug
> tracker maintenance, if the bug is still in NEEDSINFO status with
> no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
> due to lack of needed information.
> 
> For more information about our bug triaging procedures please read the
> wiki located here:
> https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging
> 
> If you have already provided the requested information, please
> mark the bug as REPORTED so that the KDE team knows that the bug is
> ready to be confirmed.
> 
> Thank you for helping us make KDE software even better for everyone!
Comment 13 Mitja 2023-10-10 13:06:50 UTC
This happens on AMD (RX480) amdgpu driver on Debian 12, too.
Comment 14 Jean-Francois Roy 2023-10-12 19:05:19 UTC
This also reproduces on my system.

Operating System: Arch Linux 
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.110.0
Qt Version: 5.15.11
Kernel Version: 6.5.7-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 32 × AMD Ryzen 9 7950X3D 16-Core Processor
Memory: 62.5 GiB of RAM
Graphics Processor: NVIDIA GeForce RTX 4090/PCIe/SSE2
Manufacturer: ASUS
Nvidia: 535.113.01

When I hover over an item in the task manager, I see those logs in the user journal:

```
Oct 12 11:59:48 wave5 plasmashell[3314]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 3 op:4
Oct 12 11:59:48 wave5 plasmashell[3314]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 3 op:4
Oct 12 11:59:48 wave5 plasmashell[3314]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 3 op:4
Oct 12 11:59:48 wave5 plasmashell[3314]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 3 op:4
Oct 12 11:59:48 wave5 plasmashell[3314]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 3 op:7
Oct 12 11:59:48 wave5 pipewire[3453]: mod.client-node: 0x5619ad8323f0: unknown peer 0x5619ad8263c0 fd:59
Oct 12 11:59:48 wave5 pipewire[3453]: mod.client-node: 0x5619ad5e6a20: unknown peer 0x5619ad7ce990 fd:64
```
Comment 15 Francesco 2023-10-26 13:48:33 UTC
I'm seeing the same behaviour (no window preview, just application icon on icon only task manager thumbnail) but slightly different error message:

ott 26 15:46:42 localhost.localdomain pipewire[2454]: mod.protocol-native: 0x55f5777d8790: connection_data: client 0x55f57799d450 error -71 (Errore di protocollo)
ott 26 15:46:42 localhost.localdomain kwin_wayland[6625]: kwin_screencast: PipeWire remote error:  connection error
ott 26 15:46:42 localhost.localdomain plasmashell[6807]: kpipewire_logging: Stream error:  target not found
ott 26 15:46:42 localhost.localdomain plasmashell[6807]: kpipewire_logging: PipeWire remote error:  -2 target not found

here's my system specs:

Operating System: openSUSE Tumbleweed 20231023
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.111.0
Qt Version: 5.15.11
Kernel Version: 6.5.8-1-default (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-1235U
Memory: 15.3 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: HP
Product Name: HP EliteBook 860 16 inch G9 Notebook PC
Comment 16 Francesco 2023-10-27 08:21:10 UTC
Latest opensuse tumbleweed update (or the subsequent restart of the plasma session) fixed it for me
Comment 17 Andre Russ 2023-11-01 00:22:46 UTC
(In reply to Francesco from comment #16)
> Latest opensuse tumbleweed update (or the subsequent restart of the plasma
> session) fixed it for me

do you have any more details? wayland version, kde version?
Comment 18 Andre Russ 2023-11-01 00:22:57 UTC
(In reply to Francesco from comment #16)
> Latest opensuse tumbleweed update (or the subsequent restart of the plasma
> session) fixed it for me

do you have any more details? wayland version, kde version?
Comment 19 Edoardo Lolletti 2023-11-01 10:36:09 UTC
Recent versions seems to have fixed it, tho now it broke on my desktop with an amd RX570
Comment 20 Arjen Hiemstra 2023-12-14 15:41:47 UTC

*** This bug has been marked as a duplicate of bug 477478 ***