Bug 466231 - Some games create extra Wayland window in the taskbar
Summary: Some games create extra Wayland window in the taskbar
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.27.1
Platform: Other Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL: https://gitlab.freedesktop.org/gstrea...
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2023-02-22 08:39 UTC by Smokus
Modified: 2024-01-23 19:34 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Game + extra Wayland icon in Task bar (3.43 KB, image/png)
2023-02-22 08:39 UTC, Smokus
Details
extra wayland windows showing side-by-side with battlebit (41.08 KB, image/png)
2024-01-19 11:44 UTC, Vinícius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Smokus 2023-02-22 08:39:03 UTC
Created attachment 156590 [details]
Game + extra Wayland icon in Task bar

I am creating a bug report for the first time here, so sorry if I posted it in the wrong section. I am not that technically experienced to be able to figure out under what category this issue fits.

SUMMARY
***
Some games will create an extra Wayland window (with an Wayland icon) in the Task bar.
An example of this would be:
Solasta: Crown of the Magister(https://store.steampowered.com/app/1096530/Solasta_Crown_of_the_Magister/)
If I remember correctly, Returnal(https://store.steampowered.com/app/1649240/Returnal/) did the same thing

I've attached the Screenshot in the report.

When I mouse over the game icon, a preview of the game appears above it.
When I mouse over the Wayland icon, no preview appears. Also nothing happens when I click on it.

I've noticed this extra window/icon only on KDE Plasma.
***


STEPS TO REPRODUCE
1. Start the effected games
2. Instantly new Wayland window will spawn in the task bar

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: EndeavourOS, KDE Plasma Wayland
(available in About System)
KDE Plasma Version: 5.27.1
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.2.0
Comment 1 Smokus 2023-02-23 16:33:55 UTC
Sherlock Holmes Chapter One has this issue as well (https://store.steampowered.com/app/1137300/Sherlock_Holmes_Chapter_One/)
Comment 2 Fushan Wen 2023-02-24 06:45:02 UTC
Are they native Linux games?
Comment 3 Smokus 2023-02-24 17:42:02 UTC
(In reply to Fushan Wen from comment #2)
> Are they native Linux games?

Nope, they were all run via Proton(Steam) or Wine(Lutris).

Happens on Ancestors Legacy as well (https://store.steampowered.com/app/620590/Ancestors_Legacy/)
Comment 5 Smokus 2023-03-01 16:08:31 UTC
Happens on Wo Long: Fallen Dynasty Demo as well (https://store.steampowered.com/app/1448440/Wo_Long_Fallen_Dynasty/)
Comment 6 Smokus 2023-03-03 20:51:30 UTC
Happens on Nioh 2 as well (https://store.steampowered.com/app/1325200/Nioh_2__The_Complete_Edition/)
Comment 7 Smokus 2023-04-10 17:13:20 UTC
Happens on Atomic Heart as well (https://store.steampowered.com/app/668580/Atomic_Heart/)
Comment 8 Smokus 2023-04-13 18:48:30 UTC
Happens on Remnant From The Ashes as well (https://store.steampowered.com/app/617290/Remnant_From_the_Ashes/)
Comment 9 Vinícius 2024-01-19 11:44:07 UTC
Created attachment 165036 [details]
extra wayland windows showing side-by-side with battlebit

that window don't make sense, it read "opengl renderer" when the game is running with DXVk, also steam engine simulator also runs using DXVK and don't show that window
Comment 10 Vinícius 2024-01-19 12:11:43 UTC
i found a free to play game that has the issue,  walking simulator 2020(https://store.steampowered.com/app/1214280/Walking_Simulator/)
Operating System: Fedora Linux 40(Kinoite)
KDE Plasma Version: 5.92.0
KDE Frameworks Version: 5.248.0
Qt Version: 6.6.1
Kernel Version: 6.8.0-0.rc0.20240112git70d201a40823.5.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5700U with Radeon Graphics
Memory: 7,1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 82MF
System Version: IdeaPad 3 15ALC6
Comment 11 Nate Graham 2024-01-19 17:04:36 UTC
My wife was able to reproduce this with Rimworld (distributed by Steam, played through Proton 8.0-4) last week, but when I asked her to check again today, it had stopped happening.
Comment 12 kostadinshishmanov 2024-01-23 01:28:18 UTC
Probably this: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2997

Can be solved by adding `GST_GL_WINDOW=x11 %command%` to the launch options
Comment 13 Nate Graham 2024-01-23 19:34:29 UTC
Looks exactly like it. Thanks a lot!