marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
elvishjerricco has quit [Remote host closed the connection]
<tpw_rules>
"If DFU mode was started correctly, the unbootable Mac will show up on your second computer as an Apple, Inc. Mobile Device (DFU Mode) in lsusb on Linux or System Information on macOS. If you see Apple, Inc. Apple Mobile Device [Recovery Mode] instead (or nothing), the procedure was not followed correctly and you need to try again."
<tpw_rules>
that was in an M1 machine for reference
<bluetail>
idevicerestore is tricky
<bluetail>
I had found somewhere on github that you need baseline idevicerestore, but with git version on some libs
<bluetail>
that made restore working again
<bluetail>
that was in 2024
<bluetail>
the comment on github was on 2022 or so
pb17 has quit [Ping timeout: 480 seconds]
fliife has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
fliife has joined #asahi
pb17 has joined #asahi
shiggitay_ has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
jeisom has quit [Ping timeout: 480 seconds]
TellowKrinkle has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
TellowKrinkle has joined #asahi
KDDLB8 has joined #asahi
KDDLB has quit [Read error: No route to host]
kode54 has quit [Write error: connection closed]
kode54 has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
TellowKrinkle has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
TellowKrinkle has joined #asahi
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
Brainium has quit [Quit: Konversation terminated!]
TellowKrinkle has quit [Remote host closed the connection]
KDDLB8 has joined #asahi
TellowKrinkle has joined #asahi
pb17 has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
kode54 has joined #asahi
TellowKrinkle has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
<fooxi>
chadmed: Do you know if the Kwin team are actively working on fixing the jitter/stutter bug? I'm guessing it proved more complex than they initially thought since it hasn't been fixed yet.
TellowKrinkle has joined #asahi
<dontdieych>
The new ' audio_effect.j415-convolver' is so far so good. But I wanna more 'Clear Voice Focused' effect. When I'm watching movie voices are lower and bg music is little bit high.
<dontdieych>
Any advice would much appreciated.
possiblemeatball1 has quit [Quit: Quit]
<chadmed>
fooxi: theres been one packaged release since it was brought up and doesnt really affect any other desktop hardware so i dont think its particularly high on the to do list considering all the other issues in the drm backend currently being worked through
<chadmed>
dontdieych: that's not really something we can/want to do sorry. your media player should have a centre channel boost for when its downmixing stuff
<chadmed>
unfortunately the other cause of quiet vocals is an almost cultiral refusal on the part of americans to mix any sort of television audio correctly outside of tentpole series (which are staffed by movie crews anyway)
<dontdieych>
chadmed: Thanks. Better be looking for adjust EQ or something in my player.
<chadmed>
you could also try easyeffects
<fooxi>
chadmed: Ah, I see. Ok. I will just keep running it on the performance cores then. It's not much of a hassle.
<fooxi>
chadmed: Thanks for the info! Do you know if F39 is still installable, or could be made installable?
TellowKrinkle has quit [Remote host closed the connection]
<chadmed>
fooxi: f39 is still available in the installer
TellowKrinkle has joined #asahi
TellowKrinkle has quit [Remote host closed the connection]
<fooxi>
ooh, didnt know. Thanks!
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
<vveapon>
hi folks, I am getting pink flashes in Firefox periodically, it doesn't seem like there's "memory pressure" going on, but how much free RAM is required to avoid the pink flashes?
<LarstiQ>
vveapon: I have those too although it has gotten better lately (on NixOS), don't think it's memory related
<j`ey>
the pink is uninitialised GPU memory
pb17 has quit [Ping timeout: 480 seconds]
pb17 has joined #asahi
marcusr has quit [Remote host closed the connection]
marcusr has joined #asahi
gladiac has quit [Quit: bye]
gladiac has joined #asahi
gladiac has quit []
gladiac has joined #asahi
<tsujp>
okay 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
<tsujp>
incrementally doing this so i know if/where/when i mess up and what worked/didn't
<tsujp>
although 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?
<j`ey>
that often works, for krun I imagine it should, but often you still at least need to insall some libs on the host
shiggitay_ has quit [Ping timeout: 480 seconds]
<tsujp>
installing the libs after compilation is fine, it's the whole toolchain to compile in the first place i want to avoid
<tsujp>
it'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
<tsujp>
i tried LDFLAGS="-static" when invoking configure but it broke finding gcc when i did so
<j`ey>
that's a weird consequence!
<tsujp>
on a seperate note firefox is using an INCREDIBLE amount of memory holy smokes
<alice>
it includes vram
<tsujp>
oh derp, been a while since ive been on linux forgot about that
<tsujp>
resident - shared = 1.5gb real (estimate) and not 10 gb virtual
kit_ty_kate has quit [Quit: WeeChat 4.0.4]
<j`ey>
not a linux thing overall, but the fact that GPU/CPU share RAM on these machines
<alice>
i mean vram like.. also actual gpu memory in that too
<alice>
not virt
<alice>
since it's unified
<tsujp>
oh vram derp x2
<tsujp>
libkrunfw built from HEAD with virtio support, now for libkrun
hightower2 has joined #asahi
hightower4 has quit [Ping timeout: 480 seconds]
hightower2 has quit [Ping timeout: 480 seconds]
<tsujp>
hmm 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`
<tsujp>
include_bytes macro, is the `glibc-static` package not correct anymore?
<tsujp>
im 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
<tsujp>
plus i want to somewhat understand what is going on
<tsujp>
just 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
<LarstiQ>
the end goal is.. running emacs from git?
<tsujp>
in a microVM with wayland composit forwarding from said microVM to the host, and with GPU acceleration
<LarstiQ>
just for fun? I don't quite understand why you need the microvm
<tsujp>
hermetic emacs build which can be installed without polluting the host with the dependencies to build it, and in a reproducable way that doesnt involve using Nix (i find Nix to be unuseable as a language)
<LarstiQ>
mkay
<LarstiQ>
`nix run nixpkgs\#emacs29-pgtk` is hermetic enough for me, but maybe need a little bit of Nix for git
<tsujp>
im building from emacs HEAD as it has some nice changes, and then there's the issue of installing emacs packages. It looks like there's no good way to do it via Nix that doesn't require restarting emacs every time so i'll stick with straight.el
<tsujp>
plus then I replace things like emacs calling grep with say ripgrep so then it expands to installing that stuff too
<tsujp>
when Nix works it works really well, but the errors are unreadable and the documentation is unreadable (far too verbose without explaining how to actually do stuff). Over I think 4 years ive tried to use Nix and it often goes like this:
<LarstiQ>
what do you mean with having to restart emacs?
<tsujp>
1. use it for something simple and it works, nice. 2. eventually need to change a thing and it breaks; try read docs and what not to understand 3. information not found, smash head into wall for 1 week 4. give up because of time wasted
<tsujp>
cheers, but i am still afraid of Nix and the time sink when doing _stuff_; at least with this endeavour now i learn more transferable skills and the like
<tsujp>
man this makefile for libkrun really doesn't want to recognise virglrenderer's presence
<j`ey>
tsujp: you want -L right?
<tsujp>
it looks like `pkg-config` wont resolve virglrenderer's location
<j`ey>
ohh
<tsujp>
im guessing because i have not installed it via a dnf package but my own compiled one (since it needs to include patches that aren't upstream yet)
<j`ey>
check if there is a .pc file in your virgl build
<tsujp>
there is, i've symlinked them to the default PKG_CONFIG_PATHs
<tsujp>
hmm okay, I was typing that I also tried `PKG_CONFIG_PATH=$(pkg-config --variable pc_path pkg-config) ...` which also fails, but I'll try the direct path to the .pc
<j`ey>
the folder of the .pc I meant
<tsujp>
yeah okay thought so because the help text says the folder
<tsujp>
yeah no dice, it's in the expected location
<tsujp>
the symlinks are from the paths printed by `dnf repoquery -l virglrenderer-devel` to the compiled ones which are the same but `/usr/local` instead of `/usr` so i dont understand why it refuses to find them
<j`ey>
check the .pc file
<tsujp>
does it care about symbolic vs hardlink?
<j`ey>
I meant the path to the build folder btw
<tsujp>
oh ok lemme try the build folder
<tsujp>
okay it finds it with `libs` but not `cflags` now
<tsujp>
holdup, this `.pc` is just a text file... i can probably edit the paths in that
<j`ey>
yes, but teh paths should be right already
<j`ey>
but maybe theyre relative?
<j`ey>
(so dont work when you symlinked it)
<tsujp>
looks like it
<tsujp>
absolute path symlinks it is
pb17 has joined #asahi
<tsujp>
the error from the makefile also cannot be trusted it seems. it looks like it templates to always saying it cannot find the system library, but running the actual command that the makefile invokes shows that now it fails because virglrenderer depends on a package `gbm` which is missing
<tsujp>
`gbm >= 0.0.0`... `dnf provides gbm` what is this package
<j`ey>
graphics buffer management
<j`ey>
*generic
<tsujp>
hmm, mesa stuff perhaps?
<jannau>
mesa-libgbm, rpm dependencies are not limited to packages
<j`ey>
tsujp: yes mesa stuff
<j`ey>
(oh I thought 'what is this package' was asking what it was, not the pkg name)
___nick___ has joined #asahi
<tsujp>
mmkk looks like i gotta build mesa from slp's fork too since it's not merged into asahi/mesa yet
<j`ey>
tsujp: why not just install it from the copr?
<chadmed>
if youre just trying to get a siloed emacs env why isnt something like distrobox sufficient?
<tsujp>
neat copr fu
<tsujp>
isnt distrobox only nvidia and amd gpus
<tsujp>
i imagine its not an option (im guessing here) for the same reason slp has a patched mesa et al in the first place
<j`ey>
no, distrobox works
<j`ey>
(others are using distrobox for the container for the microvm to run in)
<chadmed>
distrobox works fine and uses the host gpu
<chadmed>
its not actually an isolated vm, it just uses the container image as a root namespace
<chadmed>
its kinda like a spicy chroot
<tsujp>
hmm
<tsujp>
may give it a shot, wanna conclude this at least though
<tsujp>
going to try building mesa still because the patch commits line up with the patch commits to virglrenderer (20240430), if problems ill try drop in the devel stuff from your link j`ey
schroes has joined #asahi
<j`ey>
the main thing that still confuses me is user namespaces in VMs
<asahiwannabeusr>
hi, i am m1ni user and interested in asahi fedora now that it's at version 40. just wondering as it's not mentioned in the link on topic, if connected to wi-fi can i do internet sharing to ethernet? i have a ps4 connected to ethernet port of the m1ni which uses its wifi since it's on 5g
possiblemeatball has quit [Remote host closed the connection]
possiblemeatball has joined #asahi
germanuser has joined #asahi
<germanuser>
hi, i just installed asahi on my mac mini m2, but the keyboard layout selection does not seem to work with the installer - in the preview input field it still acts like i selected a english keyboard layout
<germanuser>
it is the same within KDE. (fedora 40)