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
possiblemeatball has joined #asahi-alt
ncopa has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
clandmeter has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
clandmeter has joined #asahi-alt
ncopa has joined #asahi-alt
clandmeter has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
ncopa has quit []
clandmeter has joined #asahi-alt
clandmeter has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
chadmed has joined #asahi-alt
clandmeter has joined #asahi-alt
possiblemeatball has quit [Quit: Quit]
cylm has joined #asahi-alt
cylm_ has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
psykose has quit [Remote host closed the connection]
psykose has joined #asahi-alt
Ry_Darcy has joined #asahi-alt
<Ry_Darcy> Here is a little (big) puzzle for some or all of you. Running Debian 6.3.x on an M1 Mini. I can compile the abovementioned kernel using rust (installed version 1.66) with no problems, do the dpkg magic and the machine reboots with no problems. I prefer a .config very much trimmed-down to avoid running with top-heavy and unnecessary drivers/debug options etc. All very well, if however, I try to compile a 6.4-rcx kernel using the .config file mentioned
<Ry_Darcy> the option to enable rust using "make LLVM=${CLANG_VERSION} menuconfig" is not appearing at all. make LLVM=${CLANG_VERSION} rustavailable - returning "Rust is available" is displayed, which is initially reassuring. To regress somewhat, in scripts/min-tool-version.sh, echo 1.62.0 is hard-coded. With my current version of Rust (1.69), I have adjusted scripts/min-tool-version.sh accordingly, but still no options for rust in make menuconfig... Anyone an
<Ry_Darcy> Anyone any bright ideas/pointers..?
mkurz_ has quit [Remote host closed the connection]
<mps> Ry_Darcy: I can confirm your observation. last night superficially looked at 6.4-rc2 and found same as you
<Ry_Darcy> Strange.. I wonder what is missing/incorrect..
<mps> I don't have much free time last days to look what is needed for 6.4
chadmed has quit [Quit: Konversation terminated!]
<Ry_Darcy> Further information, I even downgraded rust to 1.62 (rustup override set 1.62) to see if it would make any difference, same result - no rust options in menuconfig.
stipa has quit [Remote host closed the connection]
<mps> HAVE_RUST=n
<mps> result of `make LLVM=1 rustavailable` is https://tpaste.us/xyjw
<Ry_Darcy> The bindgen error can be corrected with "cargo install --locked --version 0.56.0 bindgen" methinks.
<mps> arch/Kconfig have config HAVE_RUST
<Ry_Darcy> The first error 1.62<-> 1.66 is another matter...
<mps> could be missconfig in 6.4-rc2 upstream
<Ry_Darcy> No idea. Perhaps.
chadmed has joined #asahi-alt
<Ry_Darcy> Frustrating, because all of this rust stuff is not working/failing silently so I do not know where to look.
<jannau> try until `make rustavailable` doesn't fail
<jannau> is there anything interesting in v6.4-rc which requires rust?
<mps> I don't see anything
<jannau> upstream hasn't yet bumped to rustc/bindgen versions, so you need 1.62 / 0.56. asahi kernel has patches to bump the required versions
<mps> I'm playing with 6.4 for riscv SBC, not for m1
<Ry_Darcy> As mentioned already, downgrading to rust 1.62 will still not work.
<Ry_Darcy> The 6.4-rc2 kernel I downloaded from Asahi (tags).
<mps> Ry_Darcy: does it have asahi patches or it is clean copy of mainline
<jannau> mps: I'm not sure if rust support is there for all architectures. I'm not even sure if the arm64 rust support was already merged
<mps> also I'm not sure, I build with rust only asahi-wip kernels
<mps> (imo, rust is not yet good idea to use for kernel)
<jannau> Ry_Darcy: no arm64 rust support in v6.4-rc2, v6.4-rc2 is the upstream tag from Linus without asahi GPU driver
<Ry_Darcy> That would explain things. Thank you. As stated already, kernel 6.3 (with GPU etc.) compiles flawlessly with rust.
nsklaus has joined #asahi-alt
dylanchapell has quit [Ping timeout: 480 seconds]
<Ry_Darcy> @Jannau any new on the M2 Mini installer, even a test installer, despite DCP issues? This has been lying on my desk now for five months - unused :(
<Ry_Darcy> new = news
<ChaosPrincess> if you dont need a display and ok with operating it over serial, its not hard to hack together an installer that supports it yourself
<ChaosPrincess> probably won
<ChaosPrincess> 't even need to make changes, just run the installer from git
<jannau> x = x ** y
<jannau> if you get apple devices early you could send them to marcan which might speed things up
<Ry_Darcy> @ChaosPrincess Thanks for the information. I would need a display in my case.
<ChaosPrincess> in that case, well, wait until we get dcp support
<ChaosPrincess> or, y'know, start hacking on it yourself
<Ry_Darcy> Quite..
* jannau is annoyed by inflated times an unsupported device is sitting "useless" when bought on release day
<ChaosPrincess> well, yea, it has macos, so...
<ChaosPrincess> and its not a console/iphone where you want to stay at a lower official firmware if you want to run your own stuff
<Ry_Darcy> Not quite on release day. macos, no thanks. Let it sit further then.
<ChaosPrincess> so why buy early and leave on shelf
<marcan> release was 4 months ago, for a start
<marcan> not even, a bit less
<Ry_Darcy> Masochism, eagerness, perhaps.
<marcan> if you purchase an unsupported device that's on *you*, and every time you annoy the developers you are making us even less likely to prioritize supporting your device
<Ry_Darcy> Ordered in Jan. Came at the start of Feb. One of those exotic 24GB models.
<Ry_Darcy> Don't be so bloody snotty. I asked this question about two months ago. That is hardly annoying anyone.
* psykose checks
<psykose> and 4 months too :-)
<mps> psykose: you have apple silicon machine?
<psykose> nope
<mps> ah ok. I had a hope
<chadmed> macos isnt *that* useless, you can definitely use the machine
<chadmed> honestly the very worst thing about it for me in daily use is how shit the default terminal app keybinds are
<chadmed> im so used to konsole i just instinctively go to use konsole shortcuts and end up on a new virtual desktop or something
<psykose> it's also not that outlandish to just put a whole vm fullscreen and forget it half the time, i've seen people do that
<psykose> not free of course in performance :p
<mps> also, when I got first m1 I used qemu on macos to have linux (alpine ofc). I have no idea how to use macos for my work
<psykose> i think you type brew install a bunch of times and you get a compiler
<psykose> easy
<mps> rihgt
<mps> even used qemu when it had to be patched for HVF to work. Happily my son communicated with upstream to get these patches working
<chadmed> i have a terrible thinkpad for work so my machines are just for having fun + playing
<mps> even now I think that the qemu on macos could be very useful
<mps> with linux in qemu, meant to say
Ry_Darcy has quit [Remote host closed the connection]
possiblemeatball has joined #asahi-alt
nela has quit [Ping timeout: 480 seconds]
nela has joined #asahi-alt
cylm_ has quit [Quit: WeeChat 3.6]
cylm has joined #asahi-alt
cylm has quit [Quit: WeeChat 3.6]
cylm has joined #asahi-alt
cylm_ has joined #asahi-alt
cylm has quit [Ping timeout: 480 seconds]
cylm has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
<TellowKrinkle> Ry_Darcy: Okay, now imagine that 60 other people do the same thing. Now you've gone from one every two months to one a day. See how that might get annoying?
mkurz has joined #asahi-alt
Deroy2112 has joined #asahi-alt
Deroy2112 has quit [Remote host closed the connection]
Deroy2112 has joined #asahi-alt
Deroy2112 has quit [Remote host closed the connection]
Deroy2112 has joined #asahi-alt
Deroy2112 has quit [Remote host closed the connection]
possiblemeatball has quit [Quit: Quit]
nsklaus has quit [Ping timeout: 480 seconds]