ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
matteo has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
KxCORP58940003455 has quit [Quit: Bye!]
KxCORP58940003455 has joined #asahi-alt
chrisl has joined #asahi-alt
mbeavitt has quit [Quit: mbeavitt]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
ncopa has quit [Remote host closed the connection]
clandmeter has quit [Read error: Connection reset by peer]
clandmeter has joined #asahi-alt
ncopa has joined #asahi-alt
tobhe_ has joined #asahi-alt
matteo has quit [Remote host closed the connection]
tobhe has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
kujeger has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
kujeger- has quit [Ping timeout: 480 seconds]
tobhe_ is now known as tobhe
matteo has joined #asahi-alt
chrisl has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
chrisl has joined #asahi-alt
matteo has joined #asahi-alt
n3ph has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
matteo has quit [Ping timeout: 480 seconds]
MichaelLong has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
m3thos has quit [Remote host closed the connection]
matteo has quit [Ping timeout: 480 seconds]
chrisl has joined #asahi-alt
veloek has joined #asahi-alt
matteo has joined #asahi-alt
matteo has quit [Ping timeout: 480 seconds]
flokli has quit [Ping timeout: 480 seconds]
zerdox has quit [Ping timeout: 480 seconds]
matteo has joined #asahi-alt
zerdox has joined #asahi-alt
flokli has joined #asahi-alt
allmazz has joined #asahi-alt
n3ph has quit [Quit: WeeChat 4.4.2]
n3ph has joined #asahi-alt
matteo has quit [Remote host closed the connection]
<n3ph> chadmed, chaos_princess: `app-emulation/muvm-0.1.2-r1` works well so far!
matteo has joined #asahi-alt
zerdox has quit [Ping timeout: 480 seconds]
n3ph_ has joined #asahi-alt
n3ph has quit [Read error: No route to host]
n3ph has joined #asahi-alt
n3ph_ has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
zerdox has quit [Remote host closed the connection]
n3ph_ has joined #asahi-alt
<n3ph_> So the rootfs is fixed. But I am experiencing network issues again.
<n3ph_> I have a Stub listener for resolved on 127.0.0.1:53. But from within muvm, I get connection refused on 127.0.0.1:53 (UDP)
<chaos_princess> echo 'nameserver 8.8.8.8' >/etc/resolv.conf from inside muvm before doing whatever you wanted to do
<chaos_princess> you have your router as the dns server on host, right?
<n3ph_> yes, i thought passt would take over hijacking dns requests? did this change?
n3ph has quit [Ping timeout: 480 seconds]
<chaos_princess> networking is just a mess, i may or may not look at it one day
<n3ph_> Is there some place to put startup stuff for muvm (a.k.a. rc.local)?
<chaos_princess> no, but lina has a pr up to add that feature
<chaos_princess> can you override your host dns to 8.8.8.8 or sth and check again
<n3ph_> how do I do this without root perms?
<chaos_princess> on host
<n3ph_> Ah, I see, you want me short-circuit systemd-resolved
<chaos_princess> no, not neccessary, just point it to 8.8.8.8 instead of your router
<chaos_princess> oh, and yea, it makes sense that from iside the vm you get connection refused to 127/8, that is loopback to vm, not loopback to host
<n3ph_> I think too that'a vm lo. Becasue setting nameserver to 8.8.8.8 on host does not change anything
<chaos_princess> what is the resolver inside the vm set to?
<n3ph_> `/etc/resolv.conf` is non-existent
<chaos_princess> that would be the issue.
<n3ph_> so that must go into the fex root.
<chaos_princess> no
<n3ph_> I was already setting up kvm to somehow get fex root fs built locally, did not finish yet
<n3ph_> no? is this supposed to be reflected from host?
<n3ph_> I still don't get how microVM works
<chaos_princess> it is supposed to be set up as a private thingy inside the vm
<n3ph_> Is there some schematic to look at?
<chaos_princess> this should fix it, but i haven't rebased that on latest version
<n3ph_> ATM, I wonder why my workaround fails now...
gadmt has joined #asahi-alt
john-cabaj has joined #asahi-alt
<gadmt> "This package depends on systemd being the init system for correct operation. On non-systemd systems assembling all the mount points correctly is left as an excercise for the user." for fex-rootfs-gentoo. for gentoo systems without openRC, what would I mount and where?
matteo has quit [Remote host closed the connection]
n3ph_ has quit [Read error: No route to host]
n3ph has joined #asahi-alt
matteo has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
<n3ph> gadmt: https://bpa.st/VNPA
<gadmt> thank you
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
MichaelLong has joined #asahi-alt
allmazz_ has joined #asahi-alt
allmazz_ has quit [Remote host closed the connection]
allmazz has quit [Read error: Connection reset by peer]
przem has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
runxiyu has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
allmazz has joined #asahi-alt
ellyq has quit [Ping timeout: 480 seconds]
chrisl has quit [Remote host closed the connection]
chrisl has joined #asahi-alt
przem has quit [Read error: Connection reset by peer]
kdb424 has quit [Ping timeout: 480 seconds]
kdb424 has joined #asahi-alt
runxiyu has joined #asahi-alt
matteo has quit [Remote host closed the connection]
<mps> I had to downgrade lsp-plugins-lv2 from 1.2.19 to 1.2.17 on alpine, though maybe 1.2.18 could work (will try later or tomorrow)
<waltmckel> Is there a way to easily get the Fedora steam packaging (muvm/fex etc) on a non-fedora distro?
<waltmckel> I am running fedora in distrobox and tried dnf install steam, but the package is not found
matteo has joined #asahi-alt
<waltmckel> I am running the latest kernel with vulkan, but on NixOS
<chaos_princess> you need to add the copr https://copr.fedorainfracloud.org/coprs/g/asahi/steam/
<jannau> steam is not a fedora package but a copr. you'll need at least the steam, i386 mesa and x86_64 mesa coprs
<jannau> ideally as shipped by asahi-repos
<waltmckel> Thanks! 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?
<waltmckel> nvm I got it
<waltmckel> I've added the copr https://copr.fedorainfracloud.org/coprs/g/asahi/steam/, how do I dnf install asahi-repos?
<waltmckel> okay, `sudo dnf copr enable @asahi/steam` and `sudo dnf copr enable @asahi/mesa` seemed to work
<waltmckel> ah you need X11 for this?
<waltmckel> My WM does not have X11 support enabled, is there a way to run this with just wayland or is X11 necessary?
<opticron> I think you had to run with Wayland and XWayland
<opticron> last I read X11 was not supported
<waltmckel> ah 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
<waltmckel> the latter error is easily fixable by just enabling xwayland
<waltmckel> apparently a fix (from the reddit post) is to `dnf remove dhcpd`. However, I don't have dhcpd in fedora
<waltmckel> is the problem that my host OS is using systemd-resolved?
mbeavitt has joined #asahi-alt
mbeavitt has quit []
mbeavitt has joined #asahi-alt
<waltmckel> okay, I tried again (with XWayland enabled) and I hit the following persistent error: https://pastebin.com/wAfi7FC7
<waltmckel> I 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
<waltmckel> Does the microvm have its own ulimit -n that could be causing this?
<waltmckel> also 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."
mbeavitt has quit [Quit: mbeavitt]
mbeavitt has joined #asahi-alt
mbeavitt has quit []
JayBeeFOSS has quit [Ping timeout: 480 seconds]
JayBeeFOSS has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<waltmckel> https://pastebin.com/t7GhrqqG this means Steam is running, right?
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
<waltmckel> okay this is incredibly cool, it ran but the menu is about 5fps
<waltmckel> I'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
<waltmckel> Is there a way to make it switch to use honeykrisp instead?
chrisl has joined #asahi-alt
<waltmckel> ah 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
<waltmckel> it is looking at /usr/lib64/dir/apple_dir.so but it is installed to the nix store
<waltmckel> s/dir/dri/
chrisl has quit [Ping timeout: 480 seconds]
<waltmckel> I tried symlinking in apple_dri.so but I get the following error: MESA-LOADER: driver exports no extensions ((null))
<waltmckel> what exactly are the drivers which need to be visible inside of the container in order for vulkan to work?
<j`ey> mesa
cyrinux has quit []
cyrinux has joined #asahi-alt
<waltmckel> There are quite a few files that need to be in my /usr/lib64 and /usr/share it seems
<waltmckel> Is there a way to change the path used to find graphics drivers?
<waltmckel> By 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
<waltmckel> (really /run/opengl-driver is a symlink to a place in the nix store which is accessible inside the distrobox)
n3ph_ has quit [Quit: WeeChat 4.4.2]
chrisl has joined #asahi-alt
n3ph has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
<waltmckel> I tried manually symlinking in the following files:
<waltmckel> /usr/lib64/dri/apple_dri.so
<waltmckel> /usr/lib64/libvulkan_lvp.so
<waltmckel> /usr/lib64/libvulkan_asahi.so
<waltmckel> /usr/lib64/libVkLayer_MESA_overlay.so
<waltmckel> /usr/lib64/d3d
<waltmckel> /usr/share/vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
<waltmckel> all of them didn't exist in the distrobox before I symlinked them. However I'm still getting "driver exports no extensions"
matteo has quit [Remote host closed the connection]
<waltmckel> interesting, 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))
<waltmckel> with a symlink*
<waltmckel> However glxinfo -B still says "failed to load driver apple"
<waltmckel> If I attempt to launch steam under this config I hang on
<waltmckel> did not find extension DRI_Mesa version 2
<waltmckel> did not find extension DRI_IMAGE_DRIVER version 2
<waltmckel> failed to bind extensions
<waltmckel> and then time out after a while
matteo has joined #asahi-alt
allmazz has quit [Quit: allmazz]
minecrell has quit [Quit: Ping timeout (120 seconds)]
allmazz has joined #asahi-alt
minecrell has joined #asahi-alt
matteo has quit [Remote host closed the connection]
matteo has joined #asahi-alt
allmazz has quit [Read error: No route to host]
allmazz has joined #asahi-alt
chrisl has joined #asahi-alt
chrisl has quit [Ping timeout: 480 seconds]
n3ph has quit [Read error: No route to host]
n3ph has joined #asahi-alt
n3ph_ has joined #asahi-alt
n3ph has quit [Ping timeout: 480 seconds]
n3ph has joined #asahi-alt
n3ph_ has quit [Ping timeout: 480 seconds]