Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launcher booting with a blank screen on steam deck #435

Open
ch991 opened this issue Oct 9, 2024 · 6 comments
Open

Launcher booting with a blank screen on steam deck #435

ch991 opened this issue Oct 9, 2024 · 6 comments

Comments

@ch991
Copy link

ch991 commented Oct 9, 2024

After 5.1 update launcher stopped working and started opening in a transparent window
I tried removing cache and reinstalling but that didn't change anything

debug.log

    at src/main.rs:198

  2024-10-09T09:37:03.400048Z DEBUG anime_launcher_sdk::config: Reading config data from file
    at /run/build/aagl/cargo/vendor/anime-launcher-sdk/src/config/mod.rs:41

  2024-10-09T09:37:03.400268Z  INFO anime_game_launcher: Set UI language to en-US
    at src/main.rs:222

  2024-10-09T09:37:03.406127Z  INFO anime_game_launcher::ui::main: Initializing main window
    at src/ui/main/mod.rs:634

  2024-10-09T09:37:03.457243Z  INFO anime_game_launcher::ui::about: Initializing about dialog
    at src/ui/about.rs:120

  2024-10-09T09:37:03.490754Z  INFO anime_game_launcher::ui::main: Main window initialized
    at src/ui/main/mod.rs:849

  2024-10-09T09:37:03.491000Z  INFO anime_game_launcher::ui::main: Initializing heavy tasks
    at src/ui/main/mod.rs:855

  2024-10-09T09:37:03.491212Z DEBUG anime_game_launcher::background: Downloading background picture
    at src/background.rs:63

  2024-10-09T09:37:03.491341Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/components"
    at /run/build/aagl/cargo/vendor/anime-game-core/src/traits/git_sync.rs:21

  2024-10-09T09:37:03.491402Z TRACE minreq::connection: Setting up TLS parameters for sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:171

  2024-10-09T09:37:03.491436Z TRACE anime_game_core::traits::git_sync: Checking local repository sync state. Folder: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/components". Remote: https://github.com/an-anime-team/components
    at /run/build/aagl/cargo/vendor/anime-game-core/src/traits/git_sync.rs:40

  2024-10-09T09:37:03.491483Z DEBUG anime_game_core::games::genshin::game: Trying to find version diff for the game
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/game.rs:150
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.491519Z TRACE anime_game_core::games::genshin::api: Fetching API for Global
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/api/mod.rs:12
    in anime_game_core::games::genshin::api::request with game_edition: Global
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.491700Z TRACE minreq::connection: Setting up TLS parameters for sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:171

  2024-10-09T09:37:03.493070Z TRACE minreq::connection: Establishing TCP connection to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:179

  2024-10-09T09:37:03.493130Z TRACE minreq::connection: Establishing TCP connection to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:179

  2024-10-09T09:37:03.494730Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.495048Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.996502623s))
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.580200Z TRACE minreq::connection: Establishing TLS session to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:183

  2024-10-09T09:37:03.580231Z TRACE minreq::connection: Establishing TLS session to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:183

  2024-10-09T09:37:03.580254Z TRACE minreq::connection: Writing HTTPS request to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:185

  2024-10-09T09:37:03.580270Z TRACE minreq::connection: Writing HTTPS request to sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:185

  2024-10-09T09:37:03.580299Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.580302Z TRACE minreq::connection: Timeout requested, it is currently: Ok(Some(7.911243693s))
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.596913Z  INFO anime_game_launcher::ui::preferences::main: Initializing preferences window
    at src/ui/preferences/main.rs:72

  2024-10-09T09:37:03.603376Z  INFO anime_game_launcher::ui::preferences::general: Initializing general settings
    at src/ui/preferences/general/mod.rs:529

  2024-10-09T09:37:03.631511Z DEBUG anime_game_launcher::ui::preferences::general: Called general settings event: UpdateDownloadedWine
    at src/ui/preferences/general/mod.rs:561
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedWine, component: "anime_game_launcher::ui::preferences::general::GeneralApp", id: "0x7ffc4d6ae608"

  2024-10-09T09:37:03.631928Z DEBUG anime_game_launcher::ui::preferences::general: Called general settings event: UpdateDownloadedDxvk
    at src/ui/preferences/general/mod.rs:561
    in relm4::component::r#async::builder::update_with_view with input: UpdateDownloadedDxvk, component: "anime_game_launcher::ui::preferences::general::GeneralApp", id: "0x7ffc4d6ae608"

  2024-10-09T09:37:03.632231Z  INFO anime_game_launcher::ui::preferences::enhancements: Initializing enhancements settings
    at src/ui/preferences/enhancements/mod.rs:647

  2024-10-09T09:37:03.637630Z TRACE minreq::connection: Setting up TLS parameters for discord.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:171

  2024-10-09T09:37:03.637795Z TRACE minreq::connection: Establishing TCP connection to discord.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:179

  2024-10-09T09:37:03.643412Z TRACE minreq::connection: Reading HTTPS response from sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:190

  2024-10-09T09:37:03.643650Z TRACE minreq::connection: Reading HTTPS response from sg-hyp-api.hoyoverse.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:190

  2024-10-09T09:37:03.683863Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.709140Z TRACE minreq::connection: Establishing TLS session to discord.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:183

  2024-10-09T09:37:03.709198Z TRACE minreq::connection: Writing HTTPS request to discord.com.
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:185

  2024-10-09T09:37:03.709209Z TRACE minreq::connection: Timeout requested, it is currently: Ok(None)
    at /run/build/aagl/cargo/vendor/minreq-2.12.0/src/connection.rs:158

  2024-10-09T09:37:03.946934Z DEBUG anime_game_core::games::genshin::game: Trying to get installed game version
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/game.rs:53
    in anime_game_core::games::genshin::game::get_version with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.950585Z DEBUG anime_game_core::games::genshin::game: return: Ok(5.0.0)
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/game.rs:51
    in anime_game_core::games::genshin::game::get_version with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.950648Z DEBUG anime_game_core::games::genshin::game: Game is outdated: 5.0.0 -> 5.1.0
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/game.rs:235
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.950670Z DEBUG anime_game_core::games::genshin::game: return: Ok(Diff { current: 5.0.0, latest: 5.1.0, uri: "https://autopatchhk.yuanshen.com/client_app/update/hk4e_global/game_5.0.0_5.1.0_hdiff_YqcpfTRBIuOIwHrO.zip", edition: Global, downloaded_size: 19324865600, unpacked_size: 20048767183, installation_path: Some("/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact"), version_file_path: None, temp_folder: None })
    at /run/build/aagl/cargo/vendor/anime-game-core/src/games/genshin/game.rs:148
    in anime_game_core::games::genshin::game::try_get_diff with self: Game { path: "/home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/Genshin Impact", edition: Global }

  2024-10-09T09:37:03.950698Z  INFO anime_game_launcher::ui::main: Updated game version status
    at src/ui/main/mod.rs:955

  2024-10-09T09:37:03.954191Z DEBUG anime_game_launcher::background: Background picture is already downloaded. Skipping
    at src/background.rs:73

  2024-10-09T09:37:04.144904Z  INFO anime_game_launcher::ui::main: App is ready
    at src/ui/main/mod.rs:973```

Console output
    ```(130)(deck@steamdeck ~)$ moe.launcher.an-anime-game-launcher

(process:2): Gtk-WARNING **: 12:37:03.217: Locale not supported by C library.
        Using the fallback 'C' locale.
Decoding of /home/deck/.var/app/moe.launcher.an-anime-game-launcher/data/anime-game-launcher/background failed.
Status: 3(BITSTREAM_ERROR)```

    
@ch991 ch991 changed the title Game booting with a blank screen on steam deck Launcher booting with a blank screen on steam deck Oct 9, 2024
@Nikslg
Copy link

Nikslg commented Oct 9, 2024

The same is happening with Honkers Railways Launcher.
I wonder if it's related to Discord due to timeouts in the provided log.
Cus Discord is blocked in Russia and Turkey rn.

@Bossach
Copy link

Bossach commented Oct 9, 2024

The same behavior on Debian testing PC. Not use Discord ever. Where you find your logs?
Reinstall didn't help.

@ch991
Copy link
Author

ch991 commented Oct 9, 2024

The same is happening with Honkers Railways Launcher. I wonder if it's related to Discord due to timeouts in the provided log. Cus Discord is blocked in Russia and Turkey rn.

Probably this, tried opening launcher with vpn and it worked.
I tried turning off discord rpc through config files and launcher settings, but it seems that launcher is waiting for discordapp.com anyways :(

@Bossach
Copy link

Bossach commented Oct 9, 2024

Just built it from source and now it works. Probably this #436 commit helps.
I used flatpak version before.

@hashelq
Copy link

hashelq commented Oct 10, 2024

Update that thing through VPN and the next time you run add "--just-run-game" to the cli command, through that is a dirty hack.

@Bossach
Copy link

Bossach commented Oct 10, 2024

Flatpak repo seems to be updated, now flatpak version works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants