veloren / Airshipper

The official Veloren launcher! This repository is a mirror. Please submit all PRs and issues on our GitLab page: https://gitlab.com/veloren/airshipper
https://veloren.net/download
GNU General Public License v3.0
254 stars 33 forks source link

airshipper crashing on mouseover events on wayland (debian bookworm) #187

Open khimaros opened 1 year ago

khimaros commented 1 year ago

this is happening with the latest github release as well as the latest flathub release.

reproduction steps:

if i don't move the mouse into the airshipper window at all, it will continue happily running for at least several minutes.

i'm able to update and also launch veloren, as long as i minimize mouse movement and avoid images.

i don't believe this is a regression, rather something has changed in Debian to trigger this. there was a recent change to veloren itself to fix wayland crashes which may be related: https://gitlab.com/veloren/veloren/-/commit/d254e147710b9c9c070fbce96de8723c3afac372

2023-01-11T17:22:06.081247Z  WARN wgpu_hal::gles::egl: Re-initializing Gles context due to Wayland window    
2023-01-11T17:22:06.094623Z  WARN wgpu_hal::gles::adapter: Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.    
2023-01-11T17:22:06.099106Z  WARN wgpu_hal::gles::egl: Re-initializing Gles context due to Wayland window    
2023-01-11T17:22:07.721699Z  INFO iced_wgpu::image: Atlas has grown. Recreating bind group...    
2023-01-11T17:22:07.729159Z  INFO iced_wgpu::image: Atlas has grown. Recreating bind group...    
2023-01-11T17:22:08.169196Z ERROR smithay_client_toolkit::event_loop: Error trying to flush the wayland display: Broken pipe (os error 32)    
2023-01-11T17:22:16.127569Z  INFO airshipper::logger: Setup terminal and file logging. path="/home/<elided>/.local/share/airshipper" file="airshipper.log"
2023-01-11T17:22:16.127583Z  INFO airshipper::cli: Visit https://book.veloren.net/ for an FAQ and Troubleshooting
2023-01-11T17:22:16.167844Z  WARN wgpu_hal::gles::egl: Re-initializing Gles context due to Wayland window    
2023-01-11T17:22:16.180353Z  WARN wgpu_hal::gles::adapter: Detected skylake derivative running on mesa i915. Clears to srgb textures will use manual shader clears.    
2023-01-11T17:22:16.184678Z  WARN wgpu_hal::gles::egl: Re-initializing Gles context due to Wayland window    
2023-01-11T17:22:18.197067Z  INFO iced_wgpu::image: Atlas has grown. Recreating bind group...    
2023-01-11T17:22:18.203700Z  INFO iced_wgpu::image: Atlas has grown. Recreating bind group...    
2023-01-11T17:22:20.943148Z ERROR smithay_client_toolkit::event_loop: Error trying to flush the wayland display: Broken pipe (os error 32) 
ElrohirGT commented 1 year ago

Can confirm this happened to me too! I'm using VanillaOS an Ubuntu based distro and the flatpak package: image

I know the XCURSOR_THEME variable is used for the game settings but I tried it also on the launcher just to see if it fixed things but it didn't.

SnoutBug commented 1 year ago

same on fedora 37 both flatpak and rpm