Asahi Lina / 朝日リナ // @lina@vt.social Profile picture
Hello everyone, Asahi Lina here! I'm a Linux developer VTuber! EN/日本語|🎨 #AsahiLinArt|Model @NananoNanase|Design @shiranui_illust
Bravyn Profile picture Andrew Martin Profile picture 3 subscribed
Oct 21, 2022 4 tweets 3 min read
🎉🎉🎉 My Linux M1 GPU driver passes >99% of the dEQP-GLES2 compliance tests!!!!! 🎉🎉🎉

Most of this is thanks to @alyssarzg's prior work on macOS, but now I can replicate it on Linux! ^^ Image @alyssarzg Got some hints from Alyssa, now at 99.3%! Image
Oct 14, 2022 4 tweets 1 min read
Hello everyone~! Stream starts in 2 hours!!

I'm honestly not too confident about this one... it feels like every time I look at the problem, it looks like something else! Maybe it's time to investigate some related issues and see if they shed any light on the issue? ^^;; Things that might be worth doing:
- Implement tracepoints for GPU stuff instead of printk
- Hook up GPU stats & ktrace to tracepoints
- Look closer at ASIDs
- Write the firmware heap allocator so we can stop leaking firmware objects as a workaround
Oct 5, 2022 16 tweets 3 min read
There's a lot of weird debate about whether Rust in the kernel is useful or not... in my experience, it's way more useful than I could've ever imagined!

I went from 1st render to a stable desktop that can run run games, browsers, etc. in about two days of work on my driver (!!!) All the concurrency bugs just vanish with Rust! Memory gets freed when it needs to be freed! Once you learn to make Rust work with you, I feel like it guides you into writing correct code, even beyond the language's safety promises. It's seriously magic! ✨
Oct 4, 2022 4 tweets 2 min read
Thank you to everyone who watched my XDC2022 talk with @alyssarzg!! I hoped you liked my new witch hat, drawn by the amazing @nana_nono120!🧙‍♀️🪄

We did the whole talk on an M1 Mac Mini running my Rust kernel driver and Alyssa's Mesa driver, using Firefox and @Inochi2D on GNOME!🚀 I'll be keeping the hat on for at least all of October, so make sure to drop by my dev streams if you want to see more of it!! ✨✨

Coming up next, let's see if we can finally work out that pesky TLB invalidation issue!!!!
Sep 29, 2022 4 tweets 2 min read
🦀🐧🍎🔻🧊🇼👩🔥🦊⚙️

Neverball, Firefox + YouTube, and @Inochi2D, in a GNOME Wayland session!!!

All running at the same time, on an Apple M1 Mac Mini with my Rust Linux kernel driver and @alyssarzg's Mesa driver for the M1 GPU!!!

🦀🐧🍎🔻🧊🇼👩🔥🦊⚙️
▶️ For those who haven't been following, I didn't paste myself on top!! That's Inochi2D running my avatar in real time on the desktop session (with a transparent window background)!
Sep 28, 2022 7 tweets 2 min read
Spending the time before the stream making GitHub CI work and fixing Clippy warnings 😊 I really like these! I knew these floats had garbage digits (caused by a round-trip through Python where they became doubles), but I wasn't expecting Rust to help me fix it!
Sep 14, 2022 11 tweets 3 min read
I had a crazy issue with place!() that had me chasing a NULL pointer dereference for a long time... it was a really, really weird corner case!!!

Read on for a crazy Rust unsoundness story 🦀 place!() is a crazy macro I've been developing over the past few days to work around the lack of placement new in Rust. 🤔

It basically takes a pointer and what looks like a struct initializer (even with nested structs!), and then writes each field and sub-field one by one.