| Summary: | Java GUI applications black window on Wayland, works on Plasma X11 or Gnome Wayland | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Tadas Giniotis <kde> |
| Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | normal | CC: | kde, kde |
| Priority: | NOR | ||
| Version First Reported In: | 6.0.5 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: |
simple java app showing a window with text in it
with gpu acceleration without gpu acceleration |
||
|
Description
Tadas Giniotis
2024-06-11 20:09:33 UTC
Runs here, which unfortunately means there's not a lot we can do right now. Created attachment 170741 [details]
with gpu acceleration
Created attachment 170742 [details]
without gpu acceleration
Hey David, thanks for the attempt in reproducing it. I can still reproduce it with Plasma 6.1 which just landed in Fedora though. I have built a barebones VM with KIWI that reproduces the issue - https://ibm.box.com/s/wczaqmga75nccf2cvic5vhmwk0wn3fhw Networking not needed, so the device can be removed in the configuration. Steps to reproduce it with the VM: 1. Install the latest UTM version from https://mac.getutm.app 2. Start UTM 3. Press "Create a New Virtual Machine" -> Virtualize -> Linux -> Browse -> Select the downloaded *.qcow2 file -> -> Continue -> -> Continue -> Continue -> Continue -> Check "Open VM Settings" -> Save Select "Network " -> Remove Select "Sound" -> Remove -> select "USB drive" -> Delete -> Delete -> select "VirtIO Drive" -> Delete -> Delete Under "Devices" select "New..." -> Import... -> Select the downloaded *.qcow2 file Select "Display" -> in "Emulated Display Card" select "virtio-gpu-gl-pci (GPU Supported)" -> Save 4. Press the "Play" icon on the newly created VM entry. Credentials: test / test Launch terminal -> run "java ~/test.java" Observe the broken window like in the "with gpu acceleration" attachment. Changing the "Emulated Display Card" to "virtio-gpu-pci" (i.e. without HW acceleration) makes the issue go away, like in the "without gpu acceleration" attachment. My host device is: Model Name: MacBook Pro Model Identifier: MacBookPro18,2 Chip: Apple M1 Max Though I imagine any Apple device with the M chip and integrated graphics should do. Can you check if you can reproduce it in the VM? |