Screencast: Electron apps run as native wayland clients behaves weirdly
Affected version
Laporan Rincian Sistem
Rincian laporan
- Tanggal dihasilkan: 2023-11-06 21:20:20
Hardware Information:
- Model Perangkat Keras: ASUSTeK COMPUTER INC. VivoBook_ASUSLaptop X412DK
- Memori: 12,0 GiB
- Prosesor: AMD Ryzen™ 5 3500U with Radeon™ Vega Mobile Gfx × 8
- Grafik: AMD Radeon™ Vega 8 Graphics
- Kapasitas Diska: 1,5 TB
Software Information:
- Versi Firmware: X412DK.316
- Nama OS: Arch Linux
- Build OS: rolling
- Tipe OS: 64-bit
- Versi GNOME: 45.1
- Sistem Jendela: Wayland
- Versi Kernel: Linux 6.5.9-arch2-1
Bug summary
It seems that window screencast just shows a blurry blob with some clients, notably electron as native wayland clients, only on some versions, latest seems fine
Steps to reproduce
- Run GNOME Wayland
- Install any of the following :
- io.github.mimbrero.WhatsAppDesktop
- com.logseq.Logseq
- com.discordapp.Discord
- Install OBS
- Run any of the 3 apps above as native wayland clients
- Logseq flatpak has an alternative Exec line, so just right click the desktop shortcut and select "Wayland Backend"
- Need to pass
--enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform=wayland
flag
- Run OBS studio
- Window screencast any of the clients
What happened
Weird blurry image is casted
It seems that the size of the shared buffer has a really small size, like possibly 5x5 px small, so I think that's causing the blur.
What did you expect to happen
Sharp screencast with correct resolution of the window
Relevant logs, screenshots, screencasts etc.
Window
Casted
Edited by Zhafran Rama Azmi