#asahi-alt · 2026-03-20 21:34
smnThe only thing making me surprised now is that hello world does work when ran under muvm+fex, which to me suggests that the muvm+fex thing is working#asahi-alt · 2026-03-20 21:31
neobrain[m]Not sure why I had the null emulator patch locally then, maybe to force skipping binfmt_misc setup in case FEX is in path?#asahi-alt · 2026-03-20 21:30
chaos_princesswell, the manual set up is a bit annoying since you don't have root, but doable#asahi-alt · 2026-03-20 21:29
chaos_princessyou can in theory do it manually later#asahi-alt · 2026-03-20 21:29
neobrain[m]chaos_princess: That's not how `--emu` works. It only takes "fex" or "box" (or "null" with my patch)!#asahi-alt · 2026-03-20 21:29
chaos_princessneobrain[m]: if there is no emulator set up, muvm will just skip setting up binfmt#asahi-alt · 2026-03-20 21:28
neobrain[m]hold up#asahi-alt · 2026-03-20 21:28
smnError: couldn't parse ``: Invalid or unsupported emulator#asahi-alt · 2026-03-20 21:28
smnmuvm --emu= -- $(realpath $(which bash))#asahi-alt · 2026-03-20 21:27
neobrain[m]Did they test that FEX at least works at all with a null emulator set though?#asahi-alt · 2026-03-20 21:27
chaos_princessneobrain[m]: null emulator isn't useful, muvm will start up fine with no emulator#asahi-alt · 2026-03-20 21:26
neobrain[m]chaos_princess: maybe, not sure I ever tested that far with this setup#asahi-alt · 2026-03-20 21:26
neobrain[m]posted a file: 0001-add-null-emulator.patch (1KiB) < https://matrix.org/oftc/media/v1/media/download/AQzVEMOfPPy1gbso3mZrggni1NpqkLogoIEJmC_tscIMNCH5Jw9Mu_UvS46cYAKcIRJoYp5Kkqofz5F7nAL5oThCedVT18nQAG1hdHJpeC5vcmcveFdnbXZLRFVPVUFFVEZxZld0ZnBrc2JY >#asahi-alt · 2026-03-20 21:26
chaos_princesssince it calls helpers#asahi-alt · 2026-03-20 21:26
chaos_princesswill that get steam working?#asahi-alt · 2026-03-20 21:26
neobrain[m]yeah, or run FEXBash and then your command inside of that#asahi-alt · 2026-03-20 21:25
smnSo i would have to pass FEX manually as part of the command, right?#asahi-alt · 2026-03-20 21:24
neobrain[m]Would it help you to have muvm running without binfmt_misc at least?#asahi-alt · 2026-03-20 21:22
smnI do have all the FEX binaries in my path as a user#asahi-alt · 2026-03-20 21:19
neobrain[m]It does seem to put FEXInterpreter into PATH at least (via wrapProgram)#asahi-alt · 2026-03-20 21:16
chaos_princesssince that is what sets up binfmt_misc#asahi-alt · 2026-03-20 21:16
chaos_princessnot seeing a patch to fex.rs#asahi-alt · 2026-03-20 21:15
FlameFlagthey're patched to point to nix store#asahi-alt · 2026-03-20 21:14
chaos_princesssince as-is, they expect a normal system#asahi-alt · 2026-03-20 21:14
FlameFlagstable: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/mu/muvm/package.nix#L47 and unstable: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/by-name/mu/muvm/package.nix#L100 both "expose" fex to muvm #asahi-alt · 2026-03-20 21:14
chaos_princessor just builds what is there#asahi-alt · 2026-03-20 21:14
chaos_princessis nix patching them#asahi-alt · 2026-03-20 21:14
smnBy that i mean fex and muvm#asahi-alt · 2026-03-20 21:14
smnAnd i did make sure to run those two packages from unstable so there's no way i'm just running an old version of the build process#asahi-alt · 2026-03-20 21:13
smnchaos_princess: It's weird that even though it is included in the build process, it fails on my end #asahi-alt · 2026-03-20 21:12
smnneobrain[m]: Same issue unfortunatelly#asahi-alt · 2026-03-20 21:09
chaos_princessnot what i am suggesting. you need to either somehow ensure FEXInterpreter is in PATH when in muvm guest, or teach muvm to look in the nix store#asahi-alt · 2026-03-20 21:08
smnFEXInterpreter as the argument also fails as an unsupported emulator#asahi-alt · 2026-03-20 21:07
chaos_princessit is set up here#asahi-alt · 2026-03-20 21:07
chaos_princesshttps://github.com/AsahiLinux/muvm/blob/main/crates/muvm/src/guest/fex.rs#L18#asahi-alt · 2026-03-20 21:07
neobrain[m]smn: Try doing what you do now, but do it from a nix shell?#asahi-alt · 2026-03-20 21:07
chaos_princessdon't you people patch everything to be able to use your weird path layout?#asahi-alt · 2026-03-20 21:07
smnI know that nix can be confusing#asahi-alt · 2026-03-20 21:07
neobrain[m]Oh, apologies#asahi-alt · 2026-03-20 21:07
smnI can handle the nix weirdness, i just need to know what goes where lol#asahi-alt · 2026-03-20 21:06
chaos_princessi am just not sure how to make nix's weirdness and muvm work together#asahi-alt · 2026-03-20 21:06
chaos_princessthat is what is happening#asahi-alt · 2026-03-20 21:06
neobrain[m]I vaguely recall fex binfmt not setting up properly in muvm if fex is not in PATH when launching muvm#asahi-alt · 2026-03-20 21:05
smnThe command i'm running is `$ muvm --emu=$(realpath $(which FEX)) -- $(realpath $(which bash))`#asahi-alt · 2026-03-20 21:05
smnError: couldn't parse `/nix/store/bx3ngi9ma1r6m5k5ih40h337s0c3nxdd-fex-2601/bin/FEX`: Invalid or unsupported emulator#asahi-alt · 2026-03-20 21:05
chaos_princessyes#asahi-alt · 2026-03-20 21:04
smnThe FEX executable, right?#asahi-alt · 2026-03-20 21:02
chaos_princess--emu=path-to-fex-goes-here i guess#asahi-alt · 2026-03-20 21:02
smnHow do i pass in fex as a forced argument?#asahi-alt · 2026-03-20 21:02
chaos_princessso it is probably not finding it