mtkennerly / ludusavi

Backup tool for PC game saves
MIT License
2.81k stars 62 forks source link

Several errors, app does not open #390

Closed shishimaru90 closed 2 months ago

shishimaru90 commented 2 months ago

Ludusavi version

v0.25.0

Operating system

Linux

Installation method

Flatpak

Description

$ flatpak run com.github.mtkennerly.ludusavi wp_linux_drm_syncobj_manager_v1@65: error 0: surface already exists Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@65: Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@65: thread 'main' panicked at /run/build/ludusavi/cargo/vendor/wgpu-core-0.19.3/src/device/global.rs:1859:21: internal error: entered unreachable code: Fallback system failed to choose present mode. This is a bug. Mode: AutoVsync, Options: [] note: run withRUST_BACKTRACE=1environment variable to display a backtrace Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@65: Protocol error 0 on object wp_linux_drm_syncobj_manager_v1@65:

Logs

No response

mtkennerly commented 2 months ago

Hi! Unfortunately, graphics issues can be pretty hard to diagnose :( There could be an issue in your graphics drivers or a bug in one of the libraries that Ludusavi uses. There are a couple of workarounds you could try:

mtkennerly commented 2 months ago

I've just updated to the latest version of the Iced graphics library. Would you mind checking this build to see if it does any better for you?

ludusavi-v0.25.0-post.7+687cf50-linux.zip

iodream commented 1 month ago

Hi i'm still getting this bug, even with the latest -git version. Installed as a systems package without flatpak. Issue is on Plasma Wayland but works on x11.

tiny-skia workaround works as well.

Operating System: Arch Linux KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.3 Kernel Version: 6.11.2-arch1-1 (64-bit) Graphics Platform: Wayland Graphics Processor: AMD Radeon 660M

mtkennerly commented 1 month ago

@iodream Thanks for the extra info :+1: I've added some details to the troubleshooting steps for anyone else who runs into this.

iodream commented 1 month ago

after some more testing my own issue turns out to be caused by nvidia drivers, my DE(and the terminal as well for that matter) were selecting the discrete GPU as the main one for rendering. launching on the integrated gpu works without the software rendering workaround.

mtkennerly commented 1 month ago

@iodream Are there some particular environment variables or tools you used to reconfigure that? I can add it to the troubleshooting guide as an option.

iodream commented 1 month ago

Well i'm just using this tool which is just a bash script which sets VK_DRIVER_FILES to force a particular vulkan implementation. But looking at it i think it's a bit too specific and would help only AMD users.