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
hightower3 has joined #asahi
hightower4 has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
possiblemeatball has quit [Quit: Quit]
ellyq has quit []
possiblemeatball has joined #asahi
Brainium has joined #asahi
roxfan has joined #asahi
roxfan2 has quit [Ping timeout: 480 seconds]
bpye has quit [Quit: Ping timeout (120 seconds)]
bpye has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gabuscus has quit []
jeisom has quit [Ping timeout: 480 seconds]
ourdumbfuture has joined #asahi
gabuscus has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
Brainium has quit [Quit: Konversation terminated!]
ciara has quit [Read error: No route to host]
ciara has joined #asahi
Guest9168 has quit []
vx has joined #asahi
vx is now known as Guest9238
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
melonai3 has quit [Ping timeout: 480 seconds]
marvin24 has joined #asahi
marvin24_ has quit [Ping timeout: 480 seconds]
crabbedhaloablut has joined #asahi
melonai3 has joined #asahi
possiblemeatball has quit [Quit: Quit]
arbo has quit [Ping timeout: 480 seconds]
bisko has joined #asahi
nzzz has joined #asahi
compassion1785 has quit [Read error: Connection reset by peer]
compassion1785 has joined #asahi
deadpanmuesli has joined #asahi
baozich has joined #asahi
deadpanmuesli has quit [Quit: Page closed]
bisko has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pounce> im curious if anybody is running with full disk encryption
<pounce> I usually do so on my installs
chadmed has quit [Remote host closed the connection]
cylm_ has joined #asahi
baozich has quit [Ping timeout: 480 seconds]
ATiltedTree has quit [Remote host closed the connection]
ATiltedTree has joined #asahi
flom84 has joined #asahi
flom84 has quit [Quit: Leaving]
lucenera has quit [Quit: The Lounge - https://thelounge.chat]
lucenera has joined #asahi
flom84 has joined #asahi
chadmed has joined #asahi
ourdumbfuture has joined #asahi
ourdumbfuture has quit []
ourdumbfuture has joined #asahi
ourdumbfuture has quit []
ourdumbfuture has joined #asahi
chadmed has quit [Remote host closed the connection]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
compassion1785 has quit [Quit: lounge quit]
flom84 has quit [Ping timeout: 480 seconds]
jeisom has joined #asahi
compassion1785 has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chadmed has joined #asahi
ourdumbfuture has joined #asahi
ten1572377432 has quit [Quit: The Lounge - https://thelounge.chat]
ten1572377432 has joined #asahi
ten1572377432 has quit []
bcrumb has joined #asahi
ten1572377432 has joined #asahi
bcrumb has quit []
bcrumb has joined #asahi
bcrumb has quit []
bcrumb has joined #asahi
delsol has joined #asahi
arbo has joined #asahi
possiblemeatball has joined #asahi
bcrumb has quit [Quit: WeeChat 4.0.3]
jeisom has quit [Quit: Leaving]
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
jeisom has joined #asahi
flom84 has joined #asahi
mrhh has joined #asahi
flom84 has quit [Ping timeout: 480 seconds]
kdb424 has quit [Quit: Ping timeout (120 seconds)]
kdb424 has joined #asahi
flom84 has joined #asahi
mrhh has quit [Quit: mrhh]
possiblemeatball has quit [Quit: Quit]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axboe has quit [Remote host closed the connection]
axboe has joined #asahi
ourdumbfuture has joined #asahi
Guest9188 has quit [Quit: Bridge terminating on SIGTERM]
rhysmdnz has quit [Quit: Bridge terminating on SIGTERM]
systwi_ has joined #asahi
rhysmdnz has joined #asahi
Guest9295 has joined #asahi
systwi has quit [Ping timeout: 480 seconds]
flom84 has quit [Quit: Leaving]
emigre has joined #asahi
bisko has joined #asahi
bowad has joined #asahi
bisko has quit [Read error: Connection reset by peer]
possiblemeatball has quit [Quit: Quit]
ciara has quit [Read error: Connection reset by peer]
ciara has joined #asahi
derzahl has quit [Remote host closed the connection]
bowad has quit [Ping timeout: 480 seconds]
rvalue has quit [Remote host closed the connection]
rvalue has joined #asahi
ShalokShalom has joined #asahi
delsol has quit [Remote host closed the connection]
<ShalokShalom> I am about to buy a Mac Mini and I see, that the M2 support seems not quite ready for prime time yet, is this correct?
<nicolas17> that depends on your definition of "prime time"
<ShalokShalom> I got a really nice deal on one, just 400 € basicially new with warranty
<ShalokShalom> Well, I guess coding and stuff will work, but I am a bit frightened by the WIP for the installer and primary screen
<ShalokShalom> I am computer literate, but I like to have a stable system.
<ShalokShalom> And I am interested to run emulators, and generally stuff with some x86 layer
<ShalokShalom> idk, I guess the graphics drivers are still a way to go
nela has quit [Quit: bye!]
nela has joined #asahi
flom84 has joined #asahi
flom84 has quit [Ping timeout: 480 seconds]
<opticron> ShalokShalom, there's a bit of disconnect between how the M-series hardware operate vs how we expect historical desktop systems to operate. In the case of the M2 Mac Mini, lack of display support is a hindrance for the typical user since you'd need to access it over the network, but the GPU itself works relatively well on M2 chips and should be usable. These are not directly connected things on M-series
<opticron> machines as they are on more traditional systems.
<ShalokShalom> Ah, I see
<ShalokShalom> how comes the lack of display support?
<stintel> I am running Gentoo w/ asahi-wip kernel on an M2 MBA 15 since a week and I'm extremely impressed
<ShalokShalom> Nice
<ShalokShalom> This sheet says main display support since 5.17
<stintel> stability, battery life, usability, it works as good as my 8 year old XPS 13, only much faster and much better battery life
<nicolas17> ShalokShalom: that's for the Mac Mini 2020
<ShalokShalom> I feel I could stumble over the installation
<ShalokShalom> True
<stintel> no external display, but that's not a problem for short travels - at home I have a proper linux workstation with 49" ultra wide
<ShalokShalom> But M2 has "linux-asahi" so still usable
<ShalokShalom> But the installer being WIP worries me, I am probably not competent enought to so a very fine grained manual installation.
<nicolas17> M2 has "linux-asahi" for all laptops
<stintel> installation was tricky - I rolled my own Gentoo UEFI install medium with a cross-compiled asahi-wip kernel
<ShalokShalom> Yeah. I was mostly asking for the mac mini
<ShalokShalom> yeah, I guess so
<ShalokShalom> that sounds quite hard
<ShalokShalom> I havent installed a Gentoo, or even an Arch by hand
<ShalokShalom> I most use graphical based installers until now.
<stintel> depends on your experience. I didn't even look at a gentoo install manual because I've been doing Gentoo installs for 15+ years
<ShalokShalom> yeah
<stintel> but if you expect graphical installers, you should probably wait
<ShalokShalom> I would be interested to dive into it
<ShalokShalom> How is the ARM support over there, package wise?
<opticron> ShalokShalom, the M2 mac mini lacks display support because they changed how things work for the "primary" display on the M2-series chips. IIRC, for M1 chips the primary display had a dedicated output port and for M2 chips it's run through the display crossbar and that display crossbar needs a driver to make everything work and connect the display controller to the right port
<ShalokShalom> I assume the packaging strategy of Gentoo allows to access more than Arch without lots of additional work?
<opticron> also, my comments are not authoritative and may not get all the nuance correct
<ShalokShalom> And you see that the sheet says, it has support?
<ShalokShalom> Display crossbar?
<ShalokShalom> thanks
<opticron> it maps display controllers to output ports
<ShalokShalom> ah. so it has dedicated hardware to switch between outputs?
<ShalokShalom> and thats what you targeting
<ShalokShalom> interesting
<ShalokShalom> Ah yeah, right. I did not look correct, its also WIP for the M2 Mini: https://github.com/AsahiLinux/docs/wiki/Feature-Support#m2-device-specific-support
<ShalokShalom> Sad. The deal is very tempting. I wonder how long I can survive on macOS, till I get a freak out.
<stintel> it took me less than a day ;)
<nicolas17> yes you linked to M1 :P
<stintel> (I mean the freak out on macOS)
<ShalokShalom> You could formulate this as a mathematical function:
<ShalokShalom> how long till the freak out = how long till I happen to be capable to get Linux running
<stintel> ah :)
<ShalokShalom> I fear that equitation is not gonna be resolved satisfactory :D
<stintel> I spent probably 24h on it
<stintel> (non-stop)
<ShalokShalom> I see
<nicolas17> stintel: asahi supports the screen on your machine
<nicolas17> so that's a different case
<ShalokShalom> I estimate a week
<ShalokShalom> yeah, and that too
<ShalokShalom> Its sad, since the alternative that I am interested in, a 16 GB M1 is 600
<ShalokShalom> Literally 200 more in this case ^
<ShalokShalom> Who works on the direct display output? :)
<stintel> nicolas17: right, missed the M2 mac mini bit
<PaulFertser> But you can probably use a USB video card while waiting for the support?
* stintel is intrigued, I don't seem to be the only one who finds macOS absolutely unusable
<ShalokShalom> No, I tried
<nicolas17> PaulFertser: there are USB video cards?
<ShalokShalom> I remember it be a decent operating system at the times of PPC
<ShalokShalom> OneDock is one that I can recommend
<ShalokShalom> It can do both Thunderbolt and Oculink
<nicolas17> thunderbolt eGPUs don't work on M1/M2 hardware, either on macOS or Linux
delsol has joined #asahi
<PaulFertser> nicolas17: I think yes, and I mean real USB, not TB or any DP pass through or anything. https://unix.stackexchange.com/a/169537
<nicolas17> ah displaylink
<PaulFertser> No idea why they call them "adapters".
<ShalokShalom> Ah, I wasnt meaning on Mac
<ShalokShalom> sorry, missed that
<PaulFertser> git grep "depends on USB" tells me displaylink is the only currently supported protocol, but it should be good enough for the purpose?
<ShalokShalom> I heard you can unlock "professional" features of macOS with some commands
<ShalokShalom> So that its not so dumbed down anymore
<ShalokShalom> idk if thats the right place to ask, but is there something like MacPilot, just open source?
jeisom has quit [Ping timeout: 480 seconds]
<ShalokShalom> Or does anyone run a Linux on top of some VM on the M2?
delsol has quit [Remote host closed the connection]
<ShalokShalom> stinel: Can you say something about the software support on Gentoo?
<ShalokShalom> Is it fine to say, that you have the entire Gentoo software collection at your disposal? Does everything compile from the main repos?
<ChaosPrincess> i dont think anyone compiled the entire portage tree, but most stuff should work
jurplel has joined #asahi
<ChaosPrincess> in fact, it at one point was better than say, arch, because jemalloc had compile-time hardcoded page size and gentoo just didnt have that problem due to being gentoo
<ShalokShalom> thats what I would have expected
<ShalokShalom> Arch ARM seems to be quite limited
<ShalokShalom> Heck, I will probably just run a Garuda x86 on some virtual machine, till the M2 implementation becomes mature
<ShalokShalom> I am only a bit hesitant, due to the bad repairability since the RAM etc is all soldered on.
maximbaz has quit [Quit: bye]
maximbaz has joined #asahi
jeisom has joined #asahi
<ShalokShalom> well, this is quite something
flom84 has joined #asahi
flom_84 has joined #asahi
flom84 has quit [Ping timeout: 480 seconds]
flom_84 has quit []
flom84 has joined #asahi
crabbedhaloablut has quit []
<Nefsen402> ShalokShalom: My worry is not about soldered on RAM, that's normal now adays on x86 laptops unfortunately. My worry is the completely proprietary soldered on SSD which is inherently a consumable part
<Nefsen402> If that internal SSD goes bad, you can't even boot externally from a hard drive. Apple decided low level firmware lives on the SSD
<ShalokShalom> hnn
<ShalokShalom> well, SSDs break to write, not to read
<ShalokShalom> usually
leahcl has quit [Remote host closed the connection]
leahcl has joined #asahi
flatz has joined #asahi
<Nefsen402> for cow filesystems I find that my write is much larger than my read especially if you have lots of ram for disk caching
<Nefsen402> browsers love writing garbage to the disk for unexplainably reasons
<ShalokShalom> I think we can find solutions to this
leahcl has quit [Remote host closed the connection]
leahcl has joined #asahi
<ShalokShalom> It would also be just that part of the SSD that would be un-writeable that is used all the time
<ShalokShalom> (if its not spread)
<ShalokShalom> And SSDs are usually very long lasting in studies
<ShalokShalom> I would just like to have the opportinity to upgrade
<mps> on chromebooks I used ram FS for browser
<ShalokShalom> Get past that 8GB shared RAM is more likely than being faced with a broken unit, imho
<ShalokShalom> Particulary since I love to tip my toes into VR
<ChaosPrincess> i think you are picking a wrong platform for vr
<Nefsen402> there's also other asinine design decisions coming out of coupertino like how apparently there is a high voltage trace for the backlight going perpendicuar to an ssd line and the ssds can just kind of blow up when things are too humid.
<nicolas17> ShalokShalom: even if you could unsolder the RAM and solder a new one, nothing guarantees you'll be able to replace it with a *larger* one
<ShalokShalom> nice
<ChaosPrincess> nothing against those machines, but for vr you are probably better off with the latest room heater from the green company
<Nefsen402> And once your SSD has a literal hole in it, your $5000 is ewaste
<ShalokShalom> Heard about such designs already
<ShalokShalom> also by other manufactors
<ShalokShalom> this seems like a common way to implement planned obsolence
<ChaosPrincess> eh, thats more engineers not realizing places other than california exist
<ShalokShalom> ChaosPrincess: I am actually considering the PSVR 2 as one of the more appealing choices
<ShalokShalom> I dont think I can be convinced to buy Nvidia
<ShalokShalom> but who knows
<ChaosPrincess> red room heater then :P
<ShalokShalom> haha
<ShalokShalom> yeah :D
<ShalokShalom> anyway, I want away from x86
<ShalokShalom> I think its time for that
<ShalokShalom> And Apple seems to implement that change the most appealing to me
<ShalokShalom> Horrific
<Nefsen402> apple is the only manufacturer that can give you an arm laptop despite the SSD shinanigans. So that's why I have it waiting for asahi to support M2 MAX
<ChaosPrincess> we pretending that thinkpad something-or-whatever does not exist? :P
<ChaosPrincess> and there is also pinebook
<ChaosPrincess> and probably some weird chinese thing with hopefully a rk3588
<Nefsen402> lol pinebook
<ShalokShalom> Apple Silicon is also more than ARM
<ChaosPrincess> right, i just looked up whats inside, allwinner a64 is a yikes
<ShalokShalom> There is the Pro
<PaulFertser> Pinebook Pro has RK3399 but still lol
<ChaosPrincess> yea, 3399 is not great
<ChaosPrincess> if it was 3588, that could at least be passable
<PaulFertser> Engineering there is so not great that the relatively slow SoC is not an issue at all.
<mps> rk3399 chromebook was fine for me few years
alyssa has joined #asahi
<mps> till I didn't got m1
<alyssa> i like rk3399
<ShalokShalom> hi there
<alyssa> it's nostalgic for me~
* alyssa still uses an rk3399 machine
<ShalokShalom> The handheld scene is also pretty sick about devices with ARM chips being underpowered
<alyssa> (and also an m1 machine. i have 2 many computers)
<mps> I still use this gru-kevin rk3399 chromebook when I travel
<ShalokShalom> It seems like there is no market for strong ARM
<alyssa> * M2 Ultra has entered the chat
<ChaosPrincess> m2 ultra, ampere workstations
<ShalokShalom> yeah, I mean casuals dont care its an ARM
<ShalokShalom> Apple is special :D
<ChaosPrincess> tho ampere did a dumb and had broken pcie
<mps> also I used mediatek mt8173 based chromebook - acer R13
<alyssa> powervr?
<mps> and also arm32, samsung peach-pi - exynos5800 based, worked fine and still is usable
<alyssa> i see you upgraded to much faster powervr hardware than the mt8173 has :P
<mps> alyssa: yes, powervr, but I used it without GPU driver, drm is acceptable
flom84 has quit [Quit: Leaving]
<mps> actually video playing with mps on it is better than on gru-kevin with panfrost
<mps> s/mps/on it/
<ShalokShalom> I would rather switch to a RISC-V
<ShalokShalom> Apple Silicon is kinda like a sane compromise
<ShalokShalom> Particulary due to its x86 emu
<mps> ah, I have on my desk starfive jh7110 riscv board
no227 has joined #asahi
<ChaosPrincess> i dont get riscv hype
<ShalokShalom> why?
<mps> but it is slow
<ShalokShalom> how could you not xD
<ChaosPrincess> read/skimmed the reference, looks like reheated mips
<ShalokShalom> the arch itself is not slow
<PaulFertser> mps: RK3399 has working hw acceleration for video decoding.
<mps> PaulFertser: I didn't had luck with panfrost on both, gru-kevin and peach-pi
<PaulFertser> mps: smooth 1080p
<PaulFertser> mps: decoding is not related to panfrost
<no227> Is asahi designed to be generalist or has it a specialization ?
<ShalokShalom> wow, Apple developer has really good docs
<ShalokShalom> I wish I would have that in the Linux ecosystem
<mps> yes yes, I mean not fast interactive work
<mps> PaulFertser: maybe I become biased now because I'm using m1 for nearly 2 years now
<mps> but again, I still use rk3399 gru-kevin
no227 has left #asahi [#asahi]
<PaulFertser> mps: what surprises me with panfrost is that es2gears under Xorg (without compositor) are like 5 times slower than under Wayland. I can not understand how that can be possible with direct rendering.
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mps> afaik panfrost is mostly developed on wayland
<PaulFertser> Sure but direct rendering is direct. And "perf" shows pretty similar CPU workload profile for both cases.
<mps> author is here and can explain better
TanoDebian12 has joined #asahi
<alyssa> asahi is my second driver
<alyssa> the second's always better ;P
ourdumbfuture has joined #asahi
<mps> ;)
<mps> s/;/:/
<alyssa> mps: anyway, es2gears under Xorg is not direct rendering afaik
<alyssa> IIRC there's a copy somewhere in the display path
<alyssa> and because Xorg wasn't modifier aware, it'd be a linear image
<mps> have to add, panfrost is/was a big bonus on my two chromebooks, so thank you alyssa
<alyssa> and linear images are slooow (due to cache efficiency)
<alyssa> :>
<alyssa> by contrast, the Wayland side is also (exactly) one copy, but the wayland compositors all(?) have modifiers plumbed through
<alyssa> so we'll get a compressed framebuffer and the compressed copy is fast
<alyssa> and since simple stuff on mobile socs is going to be memory bandwidth bound ... yeah, eliminating the slow copy means big wins
<alyssa> there may be more issues. trying to optimize x11 on mobile hw was a lost cause
<alyssa> i run sway on both the m1 and the rk3399 now and have no regrets about that
<alyssa> and emersion is fantastic
<psykose> sway++
<alyssa> as for the driver itself... panfrost has grown a lot of cruft, idk
<alyssa> part of the problem is that it supports a massive range of hardware
<alyssa> mali-t628 and mali-g57 have almost nothing in common, but it's all one driver
<psykose> blessing too
<alyssa> and there's no natural point in between to fork off the driver since it was incremental
<mps> yes, sway works fine but I can't change from awesome wm easily because I'm using it for long time and still can't accomodate self to sway
<alyssa> I never got into awesomewm
<Nefsen402> alyssa: More sway/wlroots contributors than just emersion :P
<alyssa> Nefsen402: that was a tangent comment im just an emersion fan :)
<rosefromthedead> good opinion
<psykose> frame schedule when
<rosefromthedead> ask the event loop :)
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
flatz has quit []
emigre has quit [Read error: Connection reset by peer]
<Nefsen402> rosefromthedead: Thank you for working on trying to decouple frame scheduling from wlr_backend. Very excited to review that once done
<Nefsen402> s/wlr_backend/wlr_output
<rosefromthedead> glad to help, it's fun :D
TanoDebian12 has quit [Quit: Leaving]
ghostmars919 has joined #asahi
<ghostmars919> Hi all :)
ourdumbfuture has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
possiblemeatball has joined #asahi
ourdumbfuture has joined #asahi
stipa is now known as Guest9319
stipa has joined #asahi
Guest9319 has quit [Ping timeout: 480 seconds]
jurplel has quit [Ping timeout: 480 seconds]
baozich has joined #asahi
jjanzic1 has joined #asahi
jjanzic has quit [Read error: Connection reset by peer]
alyssa has left #asahi [#asahi]
baozich has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
jurplel has joined #asahi
jurplel has quit [Ping timeout: 480 seconds]
ghostmars919 has left #asahi [#asahi]
darkapex has quit [Remote host closed the connection]
darkapex has joined #asahi
jurplel has joined #asahi
jeisom has quit [Ping timeout: 480 seconds]
StupidYui has joined #asahi
StupidYui has quit [Remote host closed the connection]
chadmed has quit [Remote host closed the connection]
emigre has joined #asahi