<povik>
"When the Rosetta directory is mapped to the virtual machine, all of the VM runs in Total Store Ordering mode. This provides the guarantees needed by Rosetta to provide x86-compatible memory model semantics."
<povik>
aha!
<povik>
can we implement enabling TSO for a process?
<chadmed>
would that not require changes deep in the kernel?
<j`ey>
yes, via prctrl.. if upstream accepts it
<chadmed>
it really just does not seem worth it at all
<chadmed>
and work should be done on improving fex or box64
<j`ey>
but surely you can watch netflix on chromeos currently?
<j`ey>
or is that in a private build only
<zx2c4>
that's arm32 as mentioned above
<jn>
chadmed: i wonder if TSO would also be useful for fex/box64 though
<chadmed>
probably, but would again require upstream changes to the kernel and fex/box64 to work properly
<chadmed>
unless we start getting a glut of arm maachines that can do this, i dont think anyone upstreaam is going to be willing to make those changes just for slightly better support for apple stuff, especially once apple drop support for running x86 code from macos altogether and then likely drop the architectural features that are there solely to support it
ciggi has quit [Read error: Connection reset by peer]
eroux has quit [Remote host closed the connection]
bisko has joined #asahi
millenialhacker has quit [Remote host closed the connection]
ciggi has joined #asahi
bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
millenialhacker has joined #asahi
<sven>
regarding TSO: easiest start is to add a flag to m1n1 to enable it for the entire machine during boot and see what happens and if it helps box64/fex. if performance for non-x86 code drops too much we could then carry a downstream patch with a prctl
<zx2c4>
Could somebody here with the latest macos beta tar up /Library/Apple/usr/libexec/oah/RosettaLinux and send it to me?
psykose has quit [Remote host closed the connection]
ptrc has quit [Remote host closed the connection]
psykose has joined #asahi
ptrc has joined #asahi
<sven>
that's liekly copyright infringement and probably also violates the NDA you need to sign to get betas
<zx2c4>
ffs
darkapex has joined #asahi
bisko has joined #asahi
<zx2c4>
oh no, no USB in grub, so i cant edit that?
<j`ey>
there is.. but some keyboards dont work
<j`ey>
flashy / gamer ones
<pjakobsson>
Hi all, I just installed opensuse tumbleweed on my M1. Is there a list of tweaks that are done in Asahi so I can start fixing things up in TW as well?
<_jannau_>
also the usb a ports on mac mini/studio don't work
<zx2c4>
_jannau_: they do in linux. do you mean they dont in grub? or something else?
<zx2c4>
whats the best way to mount the ashai linux partition from macos?
<_jannau_>
zx2c4: yes, they don't work in u-boot/grub
<zx2c4>
do usb-c ports work better?
<_jannau_>
the usb-c ports work
<zx2c4>
oh whew, thanks
<zx2c4>
hm, no, no luck in grub
<_jannau_>
u-boot has no PCIe driver, the USB-A ports are on a 3rd-part PCIe USB hostcontroller
<_jannau_>
zx2c4: how is the keyboard connected? can you easily try a different keyboard?
<zx2c4>
okay got it with a different keyboard
<zx2c4>
but now, hah, there's no usb support in linux initramfs...
<zx2c4>
what's generally the best way to mount ashai from macos?
<chadmed>
i dont think there are any good or reliable ways to mount an ext4 partition from macos
<zx2c4>
i guess i could boot linux in qemu and pass it through
<zx2c4>
okay saved it.
<mps>
zx2c4: iirc paragon have commercial ext4 driver for macos
<zx2c4>
oh yea
<mps>
and you can use it free for some 'test' period
<chadmed>
is it any good or reliable though?
<chadmed>
they used to be called ParaGone for a reason (your data was gone after using their software)
<mps>
chadmed: I didn't tried it
<mps>
chadmed: well, they added ntfs3 to linux
<opticron>
zx2c4, there's a complicated dance you can do to get ext4 read support from macos, but it's not fun and requires disabling security because you have to add a kext and it takes at least a couple reboots to accomplish along with some scary confirmation prompts
<chadmed>
isnt that now unmaintained?
<mps>
though I don't use it, it is good to have it in linux in case of need to copy something from people who uses ntfs
<mps>
chadmed: ?
<zx2c4>
my ethernet card has now disappeared? doesnt show up in `ip a`
<chadmed>
mps: they got it merged and now its orphaned
<chadmed>
they havent even pushed fixes for bugs that they have in one of their downstream branches
<mps>
chadmed: no, last -rc have some fixes and updates
<mps>
but someone else taking maintainership
<zx2c4>
that's weird. where did my ethernet controller go
<_jannau_>
yes, just ethernet gone from PCIe is very strange. I would have had explanations for PCIe completely missing too
<zx2c4>
maybe i should get rid of ashai-dev and go back to using ashai as repo so i get the older kernel?
<_jannau_>
zx2c4: "link didn't come up" new, I haven't seen it before and explains why the ethernet controller is missing
<_jannau_>
you can try that, the asahi-dev kernel is certainly less tested
<zx2c4>
nope,didnt fix it
<_jannau_>
I don't use the kernel from the package but my self compiled kernel based on the same branch has working ehternet on mac mini
<zx2c4>
mine _was_ working too
<zx2c4>
not sure what changed. i rebooted a bunch of times
<zx2c4>
lets see if i can force it to rescan the bus
<zx2c4>
that link didnt come up cant be it, because @2 is the usb controller
<zx2c4>
_jannau_: whats your lspci say for reference?
<_jannau_>
zx2c4: device is not on, but it should report either broadcom (1GB) or Aquantia (10GB) network controller as 03:00.0
<zx2c4>
i think ive got the aquantia
<zx2c4>
could booting back into macos have reflashed some firmware somehow?
<_jannau_>
I doubt that would break PCIe link training. which macos version do you use?
<_jannau_>
I don't think there is a mac smc power enable gpio for the ethernet controller
<_jannau_>
zx2c4: did you do anything with the remote management option in mac os?
<zx2c4>
no, didnt touch anything at all
<zx2c4>
hmmm
<zx2c4>
what on earth happened
Ry_Darcy_ has joined #asahi
Ry_Darcy_ has quit [Remote host closed the connection]
Ry_Darcy_ has joined #asahi
schuepbs[m] has left #asahi [#asahi]
<Ry_Darcy_>
Hello all, I am currently running debian 5.18.0-asahi on an M1 Mini. Is there any updates to this here? I am currently using this >git clone --depth 1 https://github.com/AsahiLinux/linux -b asahi<.
<j`ey>
asahi is the latest branch, based on 5.18
osaka1990 has quit [Quit: No Ping reply in 180 seconds.]
<Ry_Darcy_>
Thanks. Last question, there is no 5.18.1-4 (minor release) yet?
<j`ey>
theres no -3 yet
<Ry_Darcy_>
Fair enough, must wait then...
<_jannau_>
I don't think anyone plans to track 5.18.x stable releases in asahi. the next rebase will probably be 5.19-rcX
osaka1990 has joined #asahi
<Ry_Darcy_>
Thanks for the info. Is there an Asahi timetable when the 5.19-rc* will be available?
<_jannau_>
no
Ry_Darcy_ has quit [Remote host closed the connection]
<zx2c4>
so im kind of puzzled by this ethernet thing
<zx2c4>
all i can think of is that macos changed some firmware thing
<_jannau_>
zx2c4: it looks a little like the pwren-gpio for the wlan/bt controller but I'm not aware that there is one for the ethernet chip and I can't explain why the default would have changed
<zx2c4>
_jannau_: there any way to do some sort of firmware reset without wiping everything?
<_jannau_>
I assume you already powered the mac mini down and disconnected the power cable?
<_jannau_>
zx2c4: yes, there is dfu restore via idevicerestore or mac-configurator
<zx2c4>
_jannau_: dfu restore will require me to do something to get ashai loading again after?
<_jannau_>
yes, it's a factory reset
the_lanetly_052__ has joined #asahi
the_lanetly_052 has quit [Ping timeout: 480 seconds]
<zx2c4>
_jannau_: okay i "fixed" it by... booting into macos recovery ("Options"), and then rebooting after that
<zx2c4>
thats pretty weird
<sven>
it sounds like we're doing something slightly wrong when bringing up pcie
<sven>
you mentioned that you have the 10g ethernet option, didn't you?