| 21 Jan 2026 |
K900 | Is it some kind of ulimit nonsense | 18:05:40 |
| 22 Jan 2026 |
Sean |  Download image.png | 02:25:35 |
Sean | why is upscaling uneven on wayland but on xwayland it looks fine? | 02:25:37 |
Sean | I'm trying to use 1280x960 but it does this | 02:25:52 |
Atemu | Any HiDPI scaling factors at play? | 04:40:42 |
Sean | what do you mean? | 07:27:43 |
K900 | What "upscaling" | 08:53:19 |
Marie | prlimit --rtprio=95 flatpak run com.hypixel.HytaleLauncher crashes
prlimit --rtprio=0 flatpak run com.hypixel.HytaleLauncher works | 09:13:39 |
K900 | H u h | 09:14:12 |
Marie | I wonder if this is flatpak's fault, since the launcher does work outside of flatpak without changing limits | 09:14:14 |
K900 | Wait | 09:14:16 |
K900 | You're not using a PREEMPT_RT kernel are you | 09:15:09 |
Marie | i'm not | 09:15:20 |
Marie | vanilla nixos latest kernel | 09:15:30 |
K900 | Hmm | 09:15:50 |
K900 | And nothing in dmesg when this happens? | 09:16:24 |
K900 | I think RT kernels may kill processes that eat too much CPU time but I don't think this should ever trip on normal kernels | 09:16:50 |
Marie | nothing in dmesg | 09:18:20 |
Marie | but i just saw this in the journal /nix/store/slfhbw60dvv03rlcmr5r2kzhlnrbaxmv-xdg-desktop-portal-1.20.3/libexec/xdg-desktop-portal[2091]: Realtime error: Could not map tid 23 of pid 2: Process ids could not be found: 23, not sure if thats because it dies | 09:18:52 |
K900 | That shouldn't make it sigkill itself though | 09:19:13 |
K900 | Have you looked at the actual scripts inside at all? | 09:20:22 |
Marie | you mean inside the flatpak? | 09:21:31 |
Marie | it's just this wrapper script which handles self updating
#!/bin/sh
LAUNCHER_DIR="$XDG_DATA_HOME/Hytale"
LAUNCHER_BIN="$LAUNCHER_DIR/hytale-launcher"
BUNDLED_HASH_FILE="$LAUNCHER_DIR/.bundled_hash"
mkdir -p "$LAUNCHER_DIR"
# Compute hash of bundled binary to detect Flatpak package updates
BUNDLED_HASH=$(sha256sum /app/bin/hytale-launcher | cut -d" " -f1)
# Copy bundled binary if: no binary exists, OR the Flatpak package was updated
# This preserves self-updates while still applying Flatpak package updates
if [ ! -x "$LAUNCHER_BIN" ] || [ ! -f "$BUNDLED_HASH_FILE" ] || [ "$(cat "$BUNDLED_HASH_FILE")" != "$BUNDLED_HASH" ]; then
install -m755 /app/bin/hytale-launcher "$LAUNCHER_BIN"
echo "$BUNDLED_HASH" > "$BUNDLED_HASH_FILE"
fi
exec "$LAUNCHER_BIN" "$@"
| 09:23:31 |
K900 | And this is the process that gets sigkilled? | 09:23:54 |
K900 | Hmm I wonder if killsnoop is actually the weird one here and doesn't catch the exec | 09:24:20 |
Marie | the script should work fine, the launcher window pops up for a split second | 09:24:38 |
K900 | Would be nice to maybe get a stack trace from when it actually dies | 09:25:10 |
Marie | i tried that with bpftrace, but it only gave me pointers | 09:25:47 |
Marie | it dies inside the launchers code, so no debug info | 09:25:57 |
K900 | I don't have the game so I can't really do it but you might want to throw it into Binja and see what comes out | 09:27:26 |