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

Cannot open any version with NixOS and Flatpak #986

Closed
nonetrix opened this issue May 19, 2024 · 3 comments
Closed

Cannot open any version with NixOS and Flatpak #986

nonetrix opened this issue May 19, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@nonetrix
Copy link

Describe the bug
I am having crashes on NixOS with the Flatpak no matter what version I use

To Reproduce
Steps to reproduce the behavior:

  1. Install the Flatpak on NixOS, maybe with my configs for good measure
  2. Try to download the newest version
  3. Crash
  4. Try to install a version listed as supported
  5. Crash

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

Desktop (please complete the following information):

  • OS: NixOS
  • Version: v0.14.2 on Flathub
  • Installation Type: Flatpak

Additional context
System info:

          ▗▄▄▄       ▗▄▄▄▄    ▄▄▄▖             noah@nixos
          ▜███▙       ▜███▙  ▟███▛             ----------
           ▜███▙       ▜███▙▟███▛              OS: NixOS 24.05.20240517.4a6b83b (Uakari) x86_64
            ▜███▙       ▜██████▛               Host: B450 AORUS PRO WIFI
     ▟█████████████████▙ ▜████▛     ▟▙         Kernel: Linux 6.9.1
    ▟███████████████████▙ ▜███▙    ▟██▙        Uptime: 1 hour, 4 mins
           ▄▄▄▄▖           ▜███▙  ▟███▛        Packages: 2528 (nix-system), 819 (nix-user), 6 (flatpak)
          ▟███▛             ▜██▛ ▟███▛         Shell: zsh 5.9
         ▟███▛               ▜▛ ▟███▛          Display (DELL U2412M): 1920x1200 @ 60Hz
▟███████████▛                  ▟██████████▙    Display (VG248): 1920x1080 @ 165Hz
▜██████████▛                  ▟███████████▛    WM: Hyprland (Wayland)
      ▟███▛ ▟▙               ▟███▛             Theme: Catppuccin-Mocha-Standard-Sapphire-Dark [GTK2/3/4]
     ▟███▛ ▟██▙             ▟███▛              Icons: Papirus-Dark [GTK2/3/4]
    ▟███▛  ▜███▙           ▝▀▀▀▀               Cursor: Catppuccin-Mocha-Dark
    ▜██▛    ▜███▙ ▜██████████████████▛         Terminal: kitty 0.34.1
     ▜▛     ▟████▙ ▜████████████████▛          Terminal Font: DejaVuSansMono (11pt)
           ▟██████▙       ▜███▙                CPU: AMD Ryzen 7 3700X (16) @ 4.43 GHz
          ▟███▛▜███▙       ▜███▙               GPU: AMD Radeon RX 6800 @ 0.00 GHz [Discrete]
         ▟███▛  ▜███▙       ▜███▙              Memory: 4.36 GiB / 62.72 GiB (7%)
         ▝▀▀▀    ▀▀▀▀▘       ▀▀▀▘              Swap: Disabled
                                               Disk (/): 789.57 GiB / 915.32 GiB (86%) - ext4
                                               Local IP (eno1): 192.168.1.159/24 *
                                               Locale: en_US.UTF-8

                                               ████████████████████████
                                               ████████████████████████

Logs:

16:11:22 Info  [Launcher] Version: client d9b553a / manifest e3c435a
16:11:22 Info  [Launcher] CPU: AuthenticAMD AMD Ryzen 7 3700X 8-Core Processor             
16:11:22 Info  [Launcher] CPU supports SSSE3: YES
16:11:22 Info  [Launcher] Reading Launcher Settings File: /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/mcpelauncher-client-settings.txt
16:11:22 Info  [Launcher] Applied Launcher Settings
16:11:22 Trace [Launcher] Loading android libraries
16:11:22 Trace [Launcher] linker loaded
16:11:22 Trace [REDIRECT] /data/data/com.mojang.minecraftpe to /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/
16:11:22 Trace [REDIRECT] /data/data/app/proc/47/cmdline to /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/
16:11:22 Trace [REDIRECT] /data/data/app/bin/mcpelauncher-client to /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/
16:11:22 Trace [REDIRECT] /data/data to /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/
16:11:22 Trace [REDIRECT] . to /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/assets/
16:11:22 Trace [LinkerUtils] Loaded OS library libm.so.6
16:11:22 Trace [LinkerUtils] Loaded OS library libz.so.1
16:11:22 Trace [LinkerUtils] Loaded OS library /app/share/mcpelauncher/lib/native/x86_64/libfmod.so.12.0
16:11:22 Info  [Launcher] Loading gamepad mappings
16:11:22 Trace [Launcher] Loading gamepad mappings: /app/share/mcpelauncher/gamecontrollerdb.txt
16:11:22 Trace [Launcher] Loading gamepad mappings: /app/share/mcpelauncher/gamecontrollerdb.txt
16:11:22 Info  [Launcher] Creating window
16:11:22 Trace [Launcher] Loading Minecraft library
linker: mcpelauncher_linker_notifylldb /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libc++_shared.so 0x7f9d78200000
linker: mcpelauncher_linker_notifylldb /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so 0x7f9d1da00000
Found hook: _ZN11AppPlatform16showMousePointerEv @ 0x556a2cbd05d0
Found hook: _ZN11AppPlatform16hideMousePointerEv @ 0x556a2cbd05b0
Found hook: _ZN11AppPlatform17setFullscreenModeE14FullscreenMode @ 0x556a2cbd05f0
16:11:22 Info  [Launcher] Loaded Minecraft library
16:11:22 Debug [Launcher] Minecraft is at offset 0x7F9D1DA00000
16:11:22 Info  [Launcher] Game version: 0.0.0.0
16:11:22 Info  [Launcher] Applying patches
16:11:22 Debug [CorePatches] Failed to patch, vtable _ZTV21AppPlatform_android23 not found
16:11:22 Info  [Launcher] Initializing JNI
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRegisterThis
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeInitializeWithApplicationContext
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeUnregisterThis
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeinitializeLibHttpClient
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_MainActivity_nativeRunNativeCallbackOnUiThread
16:11:22 Error [JniSupport] Missing native symbol: Java_com_microsoft_xal_browser_WebView_urlOperationSucceeded
16:11:22 Error [JniSupport] Missing native symbol: Java_com_mojang_minecraftpe_PlayIntegrity_nativePlayIntegrityComplete
16:11:22 Trace [Minecraft] Entering JNI_OnLoad 0x7f9d616006c0
16:11:22 Info  [Launcher] Executing main thread
16:11:22 Trace [Minecraft] JNI_OnLoad completed
16:11:22 Trace [JniSupport] Invoking nativeRegisterThis
16:11:22 Trace [JniSupport] Invoking ANativeActivity_onCreate
16:11:22 Warn  [Main] Android stub called
16:11:22 Warn  [Main] Android stub called
16:11:22 Warn  [Main] Android stub called
16:11:22 Warn  [Main] Android stub called
16:11:22 Info  [Minecraft] android_main starting. internalDataPath is '/internal', externalDataPath is '/external'
16:11:22 Trace [JniSupport] Invoking start activity callbacks
16:11:22 Error [MCPE] *** setCachedDeviceId(27215f90-e4a2-4cce-8c1f-d279944fe162)
16:11:22 Info  [Bedrock] configureBreakpad with directory: /crash, sessionid is: a7e01944-ee48-4f4e-bcbd-056193513946
16:11:22 Info  [Bedrock] configureBreakpad called, directory is: /crash, sessionid is: a7e01944-ee48-4f4e-bcbd-056193513946
16:11:22 Info  [Minecraft] NO LOG FILE! - AppPlatform_android::setStorageDirectory - using AppData dir - CurrentFileStoragePath is now '/home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/'
16:11:22 Warn  [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
16:11:22 Warn  [Minecraft] NO LOG FILE! - [Graphics] The graphics context was gained
16:11:22 Warn  [Minecraft] MinecraftGame::init && MinecraftGame::setSize!
16:11:22 Warn  [FakeEGL] eglQueryString 308d
16:11:22 Warn  [Main] Android stub called
16:11:22 Info  [GL] Vendor: AMD
16:11:22 Info  [GL] Renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.9.1)
16:11:22 Info  [GL] Version: OpenGL ES 3.2 Mesa 24.0.6 (git-c659c7e660)
16:11:22 Error [ImGuiUIInit] Disabling ImGui Overlay due to known Problems
16:11:22 Info  [GL] Vendor: AMD
16:11:22 Info  [GL] Renderer: AMD Radeon RX 6800 (radeonsi, navi21, LLVM 17.0.6, DRM 3.57, 6.9.1)
16:11:22 Info  [GL] Version: OpenGL ES 3.2 Mesa 24.0.6 (git-c659c7e660)
16:11:22 Warn  [Main] Android stub called
linker: mcpelauncher_linker_notifylldb /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libMediaDecoders_Android.so 0x7f9d1c600000
Signal 6 received
Backtrace elements: 14
#0 /app/bin/mcpelauncher-client(_ZN12CrashHandler12handleSignalEiPv+0x122) [0x556a2cced1b2]
#1 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x3ee80) [0x7f9d85a51e80]
#2 /usr/lib/x86_64-linux-gnu/libc.so.6(+0x90e14) [0x7f9d85aa3e14]
#3 /usr/lib/x86_64-linux-gnu/libc.so.6(raise+0x1e) [0x7f9d85a51dce]
#4 /usr/lib/x86_64-linux-gnu/libc.so.6(abort+0xdf) [0x7f9d85a3983f]
#5 /usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x7d53) [0x7f9d86519d53]
#6 /usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x7fb9) [0x7f9d86519fb9]
#7 /usr/lib/x86_64-linux-gnu/libwayland-client.so.0(+0x8753) [0x7f9d8651a753]
#8 /usr/lib/x86_64-linux-gnu/libwayland-client.so.0(wl_display_dispatch_queue_pending+0x7c) [0x7f9d8651a9fc]
#9 /app/bin/mcpelauncher-client(+0x5d93b0) [0x556a2ce3c3b0]
#10 /app/bin/mcpelauncher-client(_glfwPollEventsWayland+0x2a) [0x556a2ce3c2ca]
#11 /app/bin/mcpelauncher-client(_ZN14GLFWGameWindow10pollEventsEv+0x279) [0x556a2ccf84c9]
#12 /app/bin/mcpelauncher-client(_ZN10FakeLooper7pollAllEiPiS0_PPv+0xfd) [0x556a2cbc3c2d]
#13 LINKER (null)+0x7f9d29f90f12 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x0xc590f12 [0x0x7f9d29f90f12]
Dumping stack...
#14 LINKER (null)+0x7f9d29f90f12 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xc590f12 [0x7f9d29f90f12]
#161 LINKER (null)+0x7f9d2bbd8558 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xe1d8558 [0x7f9d2bbd8558]
#163 LINKER vtable for std::__ndk1::ios_base+0x10 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libc++_shared.so+0xf7ba8 [0x7f9d782f7ba8]
#404 LINKER (null)+0x7f9d2affb9b8 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xd5fb9b8 [0x7f9d2affb9b8]
#408 LINKER (null)+0x7f9d23aae08a in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x60ae08a [0x7f9d23aae08a]
#424 LINKER (null)+0x7f9d29f90f12 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xc590f12 [0x7f9d29f90f12]
#428 LINKER (null)+0x7f9d2affb3f9 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xd5fb3f9 [0x7f9d2affb3f9]
#436 LINKER (null)+0x7f9d29f91767 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xc591767 [0x7f9d29f91767]
#454 LINKER (null)+0x7f9d2bd1f6b0 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xe31f6b0 [0x7f9d2bd1f6b0]
#475 LINKER (null)+0x7f9d2bb62638 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xe162638 [0x7f9d2bb62638]
#481 LINKER (null)+0x7f9d2bb625b8 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0xe1625b8 [0x7f9d2bb625b8]
#494 LINKER (null)+0x7f9d2711722c in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x971722c [0x7f9d2711722c]
#498 LINKER (null)+0x7f9d27117130 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9717130 [0x7f9d27117130]
#834 LINKER (null)+0x7f9d27116d80 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716d80 [0x7f9d27116d80]
#835 LINKER (null)+0x7f9d27116c70 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716c70 [0x7f9d27116c70]
#836 LINKER (null)+0x7f9d27116c80 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716c80 [0x7f9d27116c80]
#837 LINKER (null)+0x7f9d27116c60 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716c60 [0x7f9d27116c60]
#838 LINKER (null)+0x7f9d27116d90 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716d90 [0x7f9d27116d90]
#839 LINKER (null)+0x7f9d27116970 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716970 [0x7f9d27116970]
#840 LINKER (null)+0x7f9d27116da0 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716da0 [0x7f9d27116da0]
#841 LINKER (null)+0x7f9d27116b20 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716b20 [0x7f9d27116b20]
#842 LINKER (null)+0x7f9d27116bd0 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716bd0 [0x7f9d27116bd0]
#843 LINKER (null)+0x7f9d27116b40 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716b40 [0x7f9d27116b40]
#844 LINKER (null)+0x7f9d27116b30 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716b30 [0x7f9d27116b30]
#845 LINKER (null)+0x7f9d27116a70 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716a70 [0x7f9d27116a70]
#846 LINKER (null)+0x7f9d27116a80 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716a80 [0x7f9d27116a80]
#847 LINKER (null)+0x7f9d271168c0 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x97168c0 [0x7f9d271168c0]
#848 LINKER (null)+0x7f9d27116830 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716830 [0x7f9d27116830]
#849 LINKER (null)+0x7f9d27116a90 in /home/noah/.var/app/io.mrarm.mcpelauncher/data/mcpelauncher/versions/1.20.51.01/lib/x86_64/libminecraftpe.so+0x9716a90 [0x7f9d27116a90]
program failed with unix signal number: 6

Process exited with unexpected exit code: 6
@nonetrix nonetrix added the bug Something isn't working label May 19, 2024
@nonetrix
Copy link
Author

Might be related: #955 #983

@nonetrix
Copy link
Author

Issue seems to be related to Hyprland, works fine in Gamescope

@nonetrix
Copy link
Author

Fixed now seemingly on hyprland-git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant