#
✕ nick:tsujp
#asahi · 2024-05-26 10:19
tsujpin a microVM with wayland composit forwarding from said microVM to the host, and with GPU acceleration
#asahi · 2024-05-26 10:15
tsujpjust trying to tell this libkrun Makefile where my compiled virglrenderer.so files are now, it doesn't seem to care about LD_LIBRARY_PATH so i might just... symlink them to /usr/include from where they are currently at /usr/local/include
#asahi · 2024-05-26 10:14
tsujpplus i want to somewhat understand what is going on
#asahi · 2024-05-26 10:14
tsujpim using no guide because i dont care about playing games on this so the 4k vs 16k and the x86_64 or x86 translation i do not need or want
#asahi · 2024-05-26 10:01
tsujpand need to use the Makefile instead
#asahi · 2024-05-26 09:59
tsujpls
#asahi · 2024-05-26 09:55
tsujpinclude_bytes macro, is the `glibc-static` package not correct anymore?
#asahi · 2024-05-26 09:54
tsujphmm im getting a compile error for something completely unrelated, it looks like rutabaga_gfx compiles, as does libkrun (when doing `cargo build --workspace --features gpu`) but it failes to compile `devices`
#asahi · 2024-05-26 09:14
tsujplibkrunfw built from HEAD with virtio support, now for libkrun
#asahi · 2024-05-26 09:08
tsujpoh vram derp x2
#asahi · 2024-05-26 09:01
tsujpresident - shared = 1.5gb real (estimate) and not 10 gb virtual
#asahi · 2024-05-26 09:00
tsujpoh derp, been a while since ive been on linux forgot about that
#asahi · 2024-05-26 08:53
tsujpon a seperate note firefox is using an INCREDIBLE amount of memory holy smokes
#asahi · 2024-05-26 08:45
tsujpi tried LDFLAGS="-static" when invoking configure but it broke finding gcc when i did so
#asahi · 2024-05-26 08:45
tsujpit'd be nice if one could statically build emacs (although this would be cool for other non-game GUI applications also) but AFAIK static emacs builds don't work
#asahi · 2024-05-26 08:45
tsujpinstalling the libs after compilation is fine, it's the whole toolchain to compile in the first place i want to avoid
#asahi · 2024-05-26 08:37
tsujpalthough one thing i am trying to avoid is toolchain bloat on the host machine (from many different projects and programming languages) so im going to compile libkrun and libkrunfw in a working container with buildah and just copy the resulting libraries into the host machine?
#asahi · 2024-05-26 08:35
tsujpincrementally doing this so i know if/where/when i mess up and what worked/didn't
#asahi · 2024-05-26 08:34
tsujpokay back at it, looks to run with krun from `dnf` so now to compile the more up to date krun and try run with that, and then try with virtio stuff
#asahi · 2024-05-25 19:36
tsujpit's 3:35 am so im going to go to bed now and maybe get this working tomorrow since I kinda-sorta-a-little-bit understand what is going on (yet to get to mesa though, oh boy)
#asahi · 2024-05-25 19:35
tsujpAFAIK also this can be used without virglrenderer but at that point you'd only have software rendering in the microVM, so virglrenderer _is_ the hardware accelerated component here
#asahi · 2024-05-25 19:34
tsujp`dnf info virglrenderer` shows version 1.0.1 and I don't see a merge request from slp's implementation (of virglrenderer) on their fork to the main repo
#asahi · 2024-05-25 19:33
tsujpthis does require a change in virglrenderer which slp has made but which is not yet in Asahi Linux, is that right?
#asahi · 2024-05-25 19:33
tsujpokay so slp added support for virtio-gpu to libkrun which means a virglrenderer backend can be used (for virtio-gpu) and that virtual device in the guest is what sommelier transports the API calls over in order to proxy calls from the guest microVM to the host (as far as I understand)
#asahi · 2024-05-25 18:51
tsujpAh okay it is sommelier, a wayland compositor that delegates compositing to a host compositor
#asahi · 2024-05-25 18:50
tsujpah maybe not virtio, virgl
#asahi · 2024-05-25 18:37
tsujpsome _stuff_ with virtio but I don't know what
#asahi · 2024-05-25 18:36
tsujphmm, I got no idea what to do next honestly
#asahi · 2024-05-25 18:06
tsujpI don't know how to do that though... do I start a wayland session in the microVM or expose the hosts wayland session to the microVM?
#asahi · 2024-05-25 18:06
tsujpokay so I have a container with emacs compiled, everything works with buildah and podman (running emacs in terminal mode)... now to try the main event: running it as a GUI from within that microVM
#asahi · 2024-05-25 13:00
tsujpoh lawdy we compilin
#asahi · 2024-05-25 11:20
tsujpnot sure what graphics _stuff_ is required though, all the custom mesa driver compiles and copr stuff like `asahi-krun` probably not required (16k vs 4k) so just default packages?
#asahi · 2024-05-25 11:19
tsujpFor something I am compiling myself I could likely just use crun in krun mode and do graphics _stuff_ and I have an emacs window which is executing in the microvm but which i can use in my KDE desktop environment?
#asahi · 2024-05-25 11:18
tsujpcuriously i see a bunch of articles about krunvm and what not for gaming with Steam and FEX. I don't care about playing games, and I _assume_ that the complex workarounds here (from my understanding thus far) are accomodations for the 16k page size Asahi uses versus the 4k page size games expect
#asahi · 2024-05-25 11:17
tsujpmight try what i've always wanted to: using a headless microVM and having that somehow display a graphical window such that the host can interact
#asahi · 2024-05-25 11:17
tsujpyeah nix looks ugly asf
#asahi · 2024-05-25 10:44
tsujpversus just git clone, ./configure.ac --flags, done
#asahi · 2024-05-25 10:44
tsujpi also don't know how well installing nix onto fedora would play
#asahi · 2024-05-25 10:44
tsujpi may have a look and see if nix has a packaged devel build because I _might_ try experiment with doing emacs' package management via nix (so things like ripgrep replacing grep etc.) can be more declarative but every time I touch nix it's a massive headache
#asahi · 2024-05-25 10:43
tsujpj`ey: i dont expect there to be a problem with a manual compile but wanted to ask just in-case
#asahi · 2024-05-25 10:36
tsujpalso coming from macOS it is time to once again deal with unified CTRL that Microsoft started, damn them, instead of having a nice seperate super key (command) and CTRL
#asahi · 2024-05-25 10:34
tsujpIf I can compile master as-is (just passing configure.ac flags) and it _should_ work then I'll do that
#asahi · 2024-05-25 10:33
tsujphow can I install emacs devel (i.e. HEAD of master branch) on Asahi Remix? It doesn't look like there's a package for it via `dns search emacs` and I'm not familiar with any required patches for Fedora or Asahi Remix.
#asahi · 2024-03-31 07:22
tsujp(and given I want to use Asahi I am not sure what my options are)
#asahi · 2024-03-31 07:22
tsujpWould NAS software kknow to address those drives through USB etc? I'm new to this
#asahi · 2024-03-31 07:22
tsujpIf I had two CM3588 boards (for 8 NVME SSDs total) would I have 1 USB-C cable from the M1 mac mini to a usb hub and then connected to the hub the two CM3588 boards with their 4 drives each?
#asahi · 2024-03-31 07:21
tsujpHow would I architect a bunch of FriendlyELEC CM3588 boards though?
#asahi · 2024-03-31 07:21
tsujpI'm spitballing using my M1 mac mini with Asahi on it as a home server, almost entirely for storage. I don't want to use the built-in SSD but rather a bunch of NVME SSDs external to the machine. The M1 mac mini has thunderbolt on it (does that downgrade to USB-C 3.1?) so it should be good for 10 Gb/s data transfer
#asahi · 2023-08-29 02:50
tsujpeagerly awaiting the official fedora release!
#asahi · 2023-08-29 02:50
tsujpthat's probably the main one yeah

plus ›