#
#asahi-alt · 2024-10-18 10:17
chaos_princesshttps://pastebin.com/9b1kScd3 - the thing i use to get root inside the vm
#asahi-alt · 2024-10-18 10:16
chaos_princessa bit busy with other stuff, but if you want to debug it - make a fake-sudo (simple c program that is setuid root, and just calls setuid() and then runs whatever you passed on command line), use it to run dhcpcd inside the vm with various flags, and see what goes wrong in your case
#asahi-alt · 2024-10-18 10:14
n3phcherry-picked https://github.com/WhatAmISupposedToPutHere/krun/tree/bff63b45061dc89a7d732e278fe4987190cd06b3
#asahi-alt · 2024-10-18 10:14
n3phchaos_princess: I've cherry-picked https://github.com/AsahiLinux/muvm/pull/53/commits on main HEAD (https://github.com/n3ph/muvm/tree/resolvconf-rebase) and tested quickly. Same, /etc/resolv.conf keeps being empty
#asahi-alt · 2024-10-17 22:53
waltmckeland then time out after a while
#asahi-alt · 2024-10-17 22:53
waltmckelfailed to bind extensions
#asahi-alt · 2024-10-17 22:53
waltmckeldid not find extension DRI_IMAGE_DRIVER version 2
#asahi-alt · 2024-10-17 22:53
waltmckeldid not find extension DRI_Mesa version 2
#asahi-alt · 2024-10-17 22:53
waltmckelIf I attempt to launch steam under this config I hang on
#asahi-alt · 2024-10-17 22:50
waltmckelHowever glxinfo -B still says "failed to load driver apple"
#asahi-alt · 2024-10-17 22:49
waltmckelwith a symlink*
#asahi-alt · 2024-10-17 22:49
waltmckelinteresting, when I entirely overwrite /usr/share/vulkan with a vulkan I get a vulkan driver with device name zink Vulkan 1.3(Apple M2 (G14G B0) (MESA_AGXV))
#asahi-alt · 2024-10-17 22:34
waltmckelall of them didn't exist in the distrobox before I symlinked them. However I'm still getting "driver exports no extensions"
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/lib64/d3d
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/lib64/libVkLayer_MESA_overlay.so
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/lib64/libvulkan_asahi.so
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/lib64/libvulkan_lvp.so
#asahi-alt · 2024-10-17 22:33
waltmckel/usr/lib64/dri/apple_dri.so
#asahi-alt · 2024-10-17 22:33
waltmckelI tried manually symlinking in the following files:
#asahi-alt · 2024-10-17 22:16
waltmckel(really /run/opengl-driver is a symlink to a place in the nix store which is accessible inside the distrobox)
#asahi-alt · 2024-10-17 22:15
waltmckelBy default it seems it is looking in /usr/lib64 and /usr/share for different things, but my drivers are all accessible to the distrobox /run/opengl-driver/lib and /run/opengl-driver/share
#asahi-alt · 2024-10-17 22:14
waltmckelIs there a way to change the path used to find graphics drivers?
#asahi-alt · 2024-10-17 22:12
waltmckelThere are quite a few files that need to be in my /usr/lib64 and /usr/share it seems
#asahi-alt · 2024-10-17 22:01
j`eymesa
#asahi-alt · 2024-10-17 21:52
waltmckelwhat exactly are the drivers which need to be visible inside of the container in order for vulkan to work?
#asahi-alt · 2024-10-17 21:52
waltmckelI tried symlinking in apple_dri.so but I get the following error: MESA-LOADER: driver exports no extensions ((null))
#asahi-alt · 2024-10-17 21:33
waltmckels/dir/dri/
#asahi-alt · 2024-10-17 21:32
waltmckelit is looking at /usr/lib64/dir/apple_dir.so but it is installed to the nix store
#asahi-alt · 2024-10-17 21:32
waltmckelah I think I see the problem. glxinfo -B shows that the Honeykrisp driver is working on the host distro, but inside of the distrobox it cannot find it
#asahi-alt · 2024-10-17 21:18
waltmckelIs there a way to make it switch to use honeykrisp instead?
#asahi-alt · 2024-10-17 21:17
waltmckelI'm pretty sure it is using CPU rendering. The output of `vulkaninfo --summary` lists two gpus (Honeykrisp and llvmpipe), and in the Steam settings it looks like it is using llvmpipe
#asahi-alt · 2024-10-17 21:16
waltmckelokay this is incredibly cool, it ran but the menu is about 5fps
#asahi-alt · 2024-10-17 21:09
waltmckelhttps://pastebin.com/t7GhrqqG this means Steam is running, right?
#asahi-alt · 2024-10-17 20:04
waltmckelalso I'm not sure if there is one or two distinct issues here. A package fails to unzip with `Failed to process client request: Too many open files (os error 24)`, and also theere is an "Error: Steam needs to be online to update.Please confirm your network connection and try again."
#asahi-alt · 2024-10-17 20:01
waltmckelDoes the microvm have its own ulimit -n that could be causing this?
#asahi-alt · 2024-10-17 20:01
waltmckelI deleted the distrobox image and all of the data and this replicates after the third install attempt. Increasing the ulimit for the number of files does not seem to help
#asahi-alt · 2024-10-17 19:57
waltmckelokay, I tried again (with XWayland enabled) and I hit the following persistent error: https://pastebin.com/wAfi7FC7
#asahi-alt · 2024-10-17 19:33
waltmckelis the problem that my host OS is using systemd-resolved?
#asahi-alt · 2024-10-17 19:33
waltmckelapparently a fix (from the reddit post) is to `dnf remove dhcpd`. However, I don't have dhcpd in fedora
#asahi-alt · 2024-10-17 19:30
waltmckelthe latter error is easily fixable by just enabling xwayland
#asahi-alt · 2024-10-17 19:30
waltmckelah it looks like I am getting a no internet error (https://old.reddit.com/r/AsahiLinux/comments/1g2cp21/steam_on_asahi_no_internet_error/) about 4/5 of the time and a "can't connect to Xwayland fd" error 1/5 of the time
#asahi-alt · 2024-10-17 19:25
opticronlast I read X11 was not supported
#asahi-alt · 2024-10-17 19:25
opticronI think you had to run with Wayland and XWayland
#asahi-alt · 2024-10-17 19:20
waltmckelMy WM does not have X11 support enabled, is there a way to run this with just wayland or is X11 necessary?
#asahi-alt · 2024-10-17 19:19
waltmckelah you need X11 for this?
#asahi-alt · 2024-10-17 19:10
waltmckelokay, `sudo dnf copr enable @asahi/steam` and `sudo dnf copr enable @asahi/mesa` seemed to work
#asahi-alt · 2024-10-17 19:07
waltmckelI've added the copr https://copr.fedorainfracloud.org/coprs/g/asahi/steam/, how do I dnf install asahi-repos?
#asahi-alt · 2024-10-17 19:06
waltmckelnvm I got it
#asahi-alt · 2024-10-17 19:05
waltmckelThanks! Sorry for the silly question but I am trying to run the commands from those links and copr is not a known dnf command. How do I install it?

plus ›