#
…

2022-06-15

01:49ptudor has joined #asahi
01:53ptudor_ has quit [Ping timeout: 480 seconds]
02:15eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
02:20eroc1990 has joined #asahi
02:38PhilippvK has quit [Ping timeout: 480 seconds]
04:24Ry_Darcy has quit [Remote host closed the connection]
04:25Ry_Darcy has joined #asahi
05:14jluthra has quit [Remote host closed the connection]
05:15jluthra has joined #asahi
05:29boardwalk4 has joined #asahi
05:29boardwalk has quit [Read error: Connection reset by peer]
05:29boardwalk4 is now known as boardwalk
05:48jeffmiw has quit [Ping timeout: 480 seconds]
06:20MajorBiscuit has joined #asahi
06:41chadmed has quit [Quit: Konversation terminated!]
06:41MajorBiscuit has quit [Ping timeout: 480 seconds]
06:48chadmed has joined #asahi
07:32c10l76 has quit []
07:33c10l76 has joined #asahi
07:42MajorBiscuit has joined #asahi
08:15zx2c4has anybody got netflix (widevine) working on asahai?
08:20Cy8aer[m]IMHO there is now widewine for Linux arm 64 bit around.
08:20Cy8aer[m](looking for that too)
08:26chadmedchromium has the aarch64 CDM
08:27chadmedthe only package i can find with it though is v73 as a deb package for stretch
08:33zx2c4chadmed: v73? sure that's not arm32?
08:34bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:34chadmedno the package in the stretch repo exists for arm64
08:37chadmed73.0.3683.75-1~deb9u1: amd64 arm64 i386
08:38chadmedaahhh it installs but just gives you the doc files
08:38chadmedthats... silly
08:42chadmedthe only other way i can think of "acquiring" the CDM then is to extract the library from chrome os
08:42chadmedsad state of affairs
09:22zx2c4i just extracted some chromeos images and they all seem to have arm32 widevine, not arm64
09:24zx2c4maybe i'll just run x86 chrome under linux rosetta...
09:25Lucy[m]I find it strange that the M1 SoCs don't have any kind of 32 bit support..
09:26zx2c4why? it's not like apple has any arm32 code they need to run
09:27zx2c4i wonder what shape arm64 wine is in...
09:29poviki still find the release of linux rosetta bizarre
09:29povikare there any performance comparisons with macos rosetta, or qemu?
09:29zx2c4def better than TCG, right?
09:29zx2c4prolly worse than macos rosetta because no caching?
09:30poviki seem to remember macos rosetta exploits some m1 specifics, which i reckon are unavailable to the linux one
09:31j`eypovik: rosetta linux assumes TSO is enabled
09:32povik"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."
09:32povikcan we implement enabling TSO for a process?
09:33chadmedwould that not require changes deep in the kernel?
09:33j`eyyes, via prctrl.. if upstream accepts it
09:34chadmedit really just does not seem worth it at all
09:34chadmedand work should be done on improving fex or box64
09:35j`eybut surely you can watch netflix on chromeos currently?
09:35j`eyor is that in a private build only
09:36zx2c4that's arm32 as mentioned above
09:45jnchadmed: i wonder if TSO would also be useful for fex/box64 though
09:48chadmedprobably, but would again require upstream changes to the kernel and fex/box64 to work properly
09:49chadmedunless 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
10:01ciggi has quit [Read error: Connection reset by peer]
10:01eroux has quit [Remote host closed the connection]
10:04bisko has joined #asahi
10:05millenialhacker has quit [Remote host closed the connection]
10:07ciggi has joined #asahi
10:11bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:13millenialhacker has joined #asahi
10:27svenregarding 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
10:54zx2c4Could somebody here with the latest macos beta tar up /Library/Apple/usr/libexec/oah/RosettaLinux and send it to me?
10:57psykose has quit [Remote host closed the connection]
10:58ptrc has quit [Remote host closed the connection]
10:58psykose has joined #asahi
10:59ptrc has joined #asahi
11:06sventhat's liekly copyright infringement and probably also violates the NDA you need to sign to get betas
11:26darkapex has joined #asahi
11:36bisko has joined #asahi
11:51zx2c4oh no, no USB in grub, so i cant edit that?
11:53j`eythere is.. but some keyboards dont work
11:53j`eyflashy / gamer ones
11:53pjakobssonHi 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?
11:53_jannau_also the usb a ports on mac mini/studio don't work
11:54zx2c4_jannau_: they do in linux. do you mean they dont in grub? or something else?
11:55zx2c4whats the best way to mount the ashai linux partition from macos?
11:55_jannau_zx2c4: yes, they don't work in u-boot/grub
11:56zx2c4do usb-c ports work better?
11:56_jannau_the usb-c ports work
11:57zx2c4oh whew, thanks
11:57zx2c4hm, no, no luck in grub
11:58_jannau_u-boot has no PCIe driver, the USB-A ports are on a 3rd-part PCIe USB hostcontroller
12:00_jannau_zx2c4: how is the keyboard connected? can you easily try a different keyboard?
12:03zx2c4okay got it with a different keyboard
12:03zx2c4but now, hah, there's no usb support in linux initramfs...
12:04zx2c4what's generally the best way to mount ashai from macos?
12:05chadmedi dont think there are any good or reliable ways to mount an ext4 partition from macos
12:05zx2c4i guess i could boot linux in qemu and pass it through
12:08zx2c4okay saved it.
12:08mpszx2c4: iirc paragon have commercial ext4 driver for macos
12:09mpsand you can use it free for some 'test' period
12:09chadmedis it any good or reliable though?
12:10chadmedthey used to be called ParaGone for a reason (your data was gone after using their software)
12:10mpschadmed: I didn't tried it
12:10mpschadmed: well, they added ntfs3 to linux
12:11opticronzx2c4, 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
12:11chadmedisnt that now unmaintained?
12:12mpsthough 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
12:12mpschadmed: ?
12:12zx2c4my ethernet card has now disappeared? doesnt show up in `ip a`
12:13chadmedmps: they got it merged and now its orphaned
12:13chadmedthey havent even pushed fixes for bugs that they have in one of their downstream branches
12:13mpschadmed: no, last -rc have some fixes and updates
12:14mpsbut someone else taking maintainership
12:15zx2c4that's weird. where did my ethernet controller go
12:15_jannau_zx2c4: does it show up in lspci?
12:16zx2c4i assume that second broadcom is bluetooth not ethernet
12:16zx2c4so its gone from the bus?
12:17svenyeah, second broadcom is bluetooth
12:17_jannau_yes, it's not there
12:17zx2c4where on earth did it go
12:17svenanything weird in dmesg? :/
12:19zx2c4booting into macos to see if it's there...
12:21zx2c4alright well it worked there
12:21svenit wouldn't surprise me if wifi/bluetooth disappeared from the bus but ethernet is very strange
12:21zx2c4booting back into asahai then...
12:21_jannau_ethernet controller should be on 03:00.0, can you paste dmesg | grep pci if it happens again
12:21zx2c4yea sure, booting now, will see
12:24zx2c4"pci@2.0 link didnt come up" that new?
12:24_jannau_yes, just ethernet gone from PCIe is very strange. I would have had explanations for PCIe completely missing too
12:25zx2c4maybe i should get rid of ashai-dev and go back to using ashai as repo so i get the older kernel?
12:27_jannau_zx2c4: "link didn't come up" new, I haven't seen it before and explains why the ethernet controller is missing
12:27_jannau_you can try that, the asahi-dev kernel is certainly less tested
12:29zx2c4nope,didnt fix it
12:29_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
12:30zx2c4mine _was_ working too
12:31zx2c4not sure what changed. i rebooted a bunch of times
12:31zx2c4lets see if i can force it to rescan the bus
12:34zx2c4that link didnt come up cant be it, because @2 is the usb controller
12:35zx2c4_jannau_: whats your lspci say for reference?
12:37_jannau_zx2c4: device is not on, but it should report either broadcom (1GB) or Aquantia (10GB) network controller as 03:00.0
12:37zx2c4i think ive got the aquantia
12:40zx2c4could booting back into macos have reflashed some firmware somehow?
12:50_jannau_I doubt that would break PCIe link training. which macos version do you use?
12:51_jannau_I don't think there is a mac smc power enable gpio for the ethernet controller
12:52_jannau_zx2c4: did you do anything with the remote management option in mac os?
12:52zx2c4no, didnt touch anything at all
13:16zx2c4what on earth happened
13:46Ry_Darcy_ has joined #asahi
13:48Ry_Darcy_ has quit [Remote host closed the connection]
13:48Ry_Darcy_ has joined #asahi
13:50schuepbs[m] has left #asahi [#asahi]
13:51Ry_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<.
13:52j`eyasahi is the latest branch, based on 5.18
13:52osaka1990 has quit [Quit: No Ping reply in 180 seconds.]
13:56Ry_Darcy_Thanks. Last question, there is no 5.18.1-4 (minor release) yet?
13:57j`eytheres no -3 yet
13:57Ry_Darcy_Fair enough, must wait then...
14:00_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
14:01osaka1990 has joined #asahi
14:02Ry_Darcy_Thanks for the info. Is there an Asahi timetable when the 5.19-rc* will be available?
14:16Ry_Darcy_ has quit [Remote host closed the connection]
14:18zx2c4so im kind of puzzled by this ethernet thing
14:18zx2c4all i can think of is that macos changed some firmware thing
14:23_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
14:23zx2c4_jannau_: there any way to do some sort of firmware reset without wiping everything?
14:24_jannau_I assume you already powered the mac mini down and disconnected the power cable?
14:25_jannau_zx2c4: yes, there is dfu restore via idevicerestore or mac-configurator
14:27zx2c4_jannau_: dfu restore will require me to do something to get ashai loading again after?
14:28_jannau_yes, it's a factory reset
14:31the_lanetly_052__ has joined #asahi
14:37the_lanetly_052 has quit [Ping timeout: 480 seconds]
14:49zx2c4_jannau_: okay i "fixed" it by... booting into macos recovery ("Options"), and then rebooting after that
14:49zx2c4thats pretty weird
14:50svenit sounds like we're doing something slightly wrong when bringing up pcie
14:51svenyou mentioned that you have the 10g ethernet option, didn't you?
14:52zx2c4sven: yea
14:52zx2c403:00.0 Ethernet controller: Aquantia Corp. Device 04c0 (rev 03)
14:52zx2c4[ 1.095633] pcie-apple 690000000.pcie: Link up on /soc/pcie@690000000/pci@2,0
14:52svenyup. most people only have the 1G ethernet so that specific hw isn't tested as well
14:53svenand that link needs more bandwidth than all the others
14:53svenmaybe we're missing some setup somewhere or just need to increase some delays
14:53zx2c4strange that booting from recovery would "fix" it though
14:53svenvery strange, yes.
14:55_jannau_I haven't seen any issues with the same 10GB ethernet adapter on the mac studio
14:56_jannau_only oddity was that "max-link-speed" in Apple's device tree is not describing the maximum link speed
15:00amarioguy has quit [Quit: Leaving]
15:23clayscode[m]What bug fixes/new features have there been since the initial alpha release?
15:42zx2c4looks like qemu-user also has issues with 16k pages
15:45j`eysome people have mentioned issues with an rcu assertion with some qemu commands
15:45j`eysame thing?
15:45zx2c4i see that with the prebuilt debians
15:45zx2c4seeing something a lil different with building master branch
15:46zx2c4er, yea, and then the rcu thing eventually. darn
16:00MajorBiscuit has quit [Ping timeout: 480 seconds]
16:17mpsqemu-user works fine with 4 and 16 K pages on alpine
16:17mpsat least I didn't noticed any problem yet
16:18mpsand no one reported
17:01DarkShadow44 has quit [Remote host closed the connection]
17:02DarkShadow44 has joined #asahi
17:49VasilisTheChu has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
17:53VasilisTheChu has joined #asahi
18:00zx2c4mps: in a chroot?
18:11mpszx2c4: ?
18:11mpsyes, I'm using chroot for some work
18:11mpsif that was the question
18:19the_lanetly_052__ has quit [Ping timeout: 480 seconds]
18:37nsklaus has quit [Ping timeout: 480 seconds]
18:37zx2c4mps: so the alpine executables are statically linked?
18:39mpszx2c4: no
18:40mpsI run grub setup in chroot on alpine with qemu-user for riscv64 emulation
18:41mpszx2c4: here is guide and script about this https://arvanta.net/alpine/alpine-on-visionfivev1/
18:42mpshmm, no. this is for plain extlinux, sorry
18:42nsklaus has joined #asahi
18:43nsklaus_ has joined #asahi
18:44mpsthis is script with chroot and grub-install https://tpaste.us/MkE1
18:51nsklaus has quit [Ping timeout: 480 seconds]
19:13systwi_ has joined #asahi
19:15systwi has quit [Ping timeout: 480 seconds]
19:17systwi_ has quit []
19:17systwi has joined #asahi
19:41Tano70 has joined #asahi
20:22ciggi has quit [Read error: Connection reset by peer]
20:28ciggi has joined #asahi
20:34Tano70 has quit [Quit: Leaving]
21:02yamii_ has joined #asahi
21:02yamii has quit [Read error: Connection reset by peer]
21:07badlydrawnface[m]in macOS 12.4, the installer fails due to an SSL authentication error
21:13guillaume_g has quit [Ping timeout: 480 seconds]
22:14amarioguy has joined #asahi
22:21yamii has joined #asahi
22:21yamii_ has quit [Read error: Connection reset by peer]
22:25mavericks has quit [Quit: The Lounge - https://thelounge.chat]
22:33mavericks has joined #asahi
22:36yamii_ has joined #asahi
22:36yamii has quit [Read error: Connection reset by peer]
22:55yamii has joined #asahi
22:55yamii_ has quit [Read error: Connection reset by peer]
23:00IcaroDextris[m]<zx2c4> "what's generally the best way to..." <- Paragon ext4
23:01IcaroDextris[m]<chadmed> "i dont think there are any..." <- Paragon ext4 works well for me
23:01mavericks has quit [Quit: The Lounge - https://thelounge.chat]
23:02IcaroDextris[m]<mps> "chadmed: well, they added..." <- Yes, also their maintainer disappeared so long that they thinking about removing it
23:03IcaroDextris[m]<mps> "but someone else taking maintain..." <- Oh I missed that news, cool
23:07steevthe new ntfs support? or the older stuff?
23:08mavericks has joined #asahi
23:11mavericks has quit []
23:12mavericks has joined #asahi
23:17wally_ has joined #asahi
23:42WanliLi[m] has joined #asahi
23:48wally_ has quit [Ping timeout: 480 seconds]
23:49wally_ has joined #asahi
…