#
…

2021-08-30

00:51skipwich has joined #asahi
01:02citizen1[m]<MTecknology> "I assumed so, since I'm currentl..." <- 🤣🤣
01:05citizen1[m]but not all ARM apps are equal. Say an ARM Android game , will it just play on ARM M1 ? doesnt it need to be recorded or ported to the other platform?
01:16linearcannonwell, if that M1 is running android, then yes, it will just ply
01:18quarkyalice has quit [Ping timeout: 480 seconds]
01:21alyssalinearcannon: stuff of nightmares
01:43chadmed has joined #asahi
01:47chadmed has quit [Remote host closed the connection]
02:09ZLSA has quit [Read error: Connection reset by peer]
02:09rann has quit [Remote host closed the connection]
02:10arnd has quit [Remote host closed the connection]
02:12ZLSA has joined #asahi
02:12arnd has joined #asahi
02:13rann has joined #asahi
02:28marcanMTecknology: that game does not have a Linux ARM build (almost no games do)
02:29marcanyou'll have to use something like https://github.com/FEX-Emu/FEX but I've never tried it, so I have no idea how well that works
02:30marcanI'm interested in contributing to FEX once things get to a good point hardware-wise, since it's important to people to have a good x86 emulator, but strictly speaking it's outside the primary scope of the project (which is hardware compat)
02:30marcanandroid aside that is; in principle you could run android versions of games if you have some kind of android container thing
02:31marcanseems that game requires steam to download too; I have no idea how well steam runs on emulators like that, if at all. steam is kind of a mess.
02:31alyssamarcan: the annoying interaction with FEX is that it strongly assumes 4K pages
02:31alyssaso will need sven's patches at least
02:31marcanalyssa: that's unsurprising, since x86 apps kind of do
02:32marcanthis is why macos supports 4k pages
02:32marcanto make that kind of thing work with 16k pages needs some hacks, that should work *most* of the time
02:32marcanif sven's 4K patches fix all the IOMMU problems we should go with that by default, since it also enables android compat and more things
02:33alyssaI expect those to be a while to merge but it's probably for the best as a default long term
02:34marcanif they work with thunderbolt devices and such, yeah
02:34marcanthough given that gem thing I'm now expecting a big explosion with eGPUs... which might put us in the same boat as macos, but for presumably another reason :p
02:34alyssagem thing?
02:35marcansven pointed out that GEM function using that dodgy IOMMU API that he didn't even implement
02:52ZLSA has quit [Read error: Connection reset by peer]
02:52rann has quit [Read error: Connection reset by peer]
02:52phiologe has joined #asahi
02:52WhyNotHugo has quit [Read error: Connection reset by peer]
02:52esden has quit [Read error: Connection reset by peer]
02:54austriancoder has quit [Read error: Connection reset by peer]
02:55arnd has quit [Read error: Connection reset by peer]
02:55ovf has quit [Read error: Connection reset by peer]
02:55ZLSA has joined #asahi
02:55WhyNotHugo has joined #asahi
02:55rann has joined #asahi
02:55ovf has joined #asahi
02:55arnd has joined #asahi
02:55austriancoder has joined #asahi
02:56PhilippvK has quit [Ping timeout: 480 seconds]
02:56esden has joined #asahi
03:50marvin24_ has joined #asahi
03:54marvin24 has quit [Ping timeout: 480 seconds]
04:31thunfisch has quit [Quit: frrrp!]
04:36analoq_ has joined #asahi
04:39thunfisch has joined #asahi
04:43analoq has quit [Ping timeout: 480 seconds]
06:04svendidn't someone mention that the thunderbolt pcie controller has issues with unaligned reads/writes or something which makes egpu support tricky? (possibly corellium). i guess we'll see once thunderbolt comes up
06:37gladiac has joined #asahi
07:53gladiac is now known as Guest5799
07:53gladiac has joined #asahi
07:59Guest5799 has quit [Ping timeout: 480 seconds]
08:16kettenis_hmm, I can't get the serial console to work with m1n1 on a macbook pro connected to a mini using macvdmtool
08:16kettenis_rebooting works, but I don't see any serial output
08:17svendo you use /dev/cu.debug-console as the tty dev? i think there's another one that won't work
08:18kettenis_yup, using /dev/cu.debug-console
08:18svenwhat kind of cable do you use? iirc i had a cable where rebooting worked but the serial console didn't because it hadn't connected those lines
08:20kettenis_fairly confident that the cable is ok since it is the same type of cable that I use with the serial console I use with another m1n1 at home
08:20kettenis_tried another cable as well
08:20svenhm, no idea then. those were the only two issues i had
08:29bps has joined #asahi
08:32aleasto has joined #asahi
09:04kettenis_at least the usb gadget thing works with OpenBSD ;)
09:24arkettenis_: this might sound stupid, but have you tried reversing the cable (as in, switch which end connects to which machine) or turning one of the ends upside-down?
09:24arusb-c cables are sometimes weird like that…
09:25kettenis_yup, tried all permutations
10:52kettenis_hmm, does m1n1 put the apple logo back on the framebuffer before loading a kernel/u-boot?
11:19jthom[m] has joined #asahi
11:36marcankettenis_: yes
11:36marcanwhen chainloading, yes
11:37marcanah, and when loading a kernel too, yeah
11:37marcanwe should make it not do that for kernel boots, only for chainloads and such
11:38kettenis_dunno, it just confused me a bit
11:38kettenis_(trying to get u-boot working on the macbook pro)
11:45kettenis_is there anybody here with a usb keyboard that I could borrow for a moment?
11:46kettenis_oops, sorry
11:46kettenis_wrong window ;)
12:07Emantor has quit [Quit: ZNC - http://znc.in]
12:08Emantor has joined #asahi
12:41AnushervonTabarov[m] has joined #asahi
12:43AnushervonTabarov[m] has left #asahi [#asahi]
12:43AnushervonTabarov[m] has joined #asahi
12:52aleasto has quit [Remote host closed the connection]
13:05aleasto has joined #asahi
13:23alyssakettenis_: Sure! How far are you to Toronto? 😋
13:30jbowen has joined #asahi
13:39kettenis_a bit too far ;)
13:49analoq has joined #asahi
13:56analoq_ has quit [Ping timeout: 480 seconds]
14:02kettenis_slacker! ;)
14:05yuyichao has quit [Ping timeout: 480 seconds]
14:05kettenis_just booted OpenBSD on the M1 macbook pro
14:05kettenis_although I'm cheating with an external usb keyboard
14:06pipcet[m](I'm watching a 4k video on an m1 running linux right now, though I guess it's cheating because I'm using corellium code ;-) )
14:09jthom[m]<jbowen> "Jared McNeill has NetBSD booting..." <- TempleOS when?
14:14marcanpipcet[m]: pretty sure corellium didn't write any modesetting, display controller, or video decoding code :p
14:14marcanjthom[m]: ToaruOS when? (cc klange)
14:18pipcet[m]marcan: if we're being picky they did write one of the three lines of display controller code I'm actually using :P
14:19marcanthen you aren't watching a 4K video in 4K, since you need alyssa's actual display controller code for that
14:19pipcet[m]marcan: it's still absolutely amazing what you guys are doing, and I wish I could give you money
14:20pipcet[m]marcan: that's lines two and three.
14:21marcanpretty sure it takes more than three lines to modeset 4K output on these machines
14:22kettenis_marcan: any thoughts on how we're going to handle different device tree for different models in m1n1?
14:23marcankettenis_: just bundle them all in and pick the right one
14:24marcanI'm thinking we could change the payload code to check a fdt's model string and reject it if does not match the adt
14:24marcanthe we can just cat them all together
14:24kettenis_yeah, that makes sense
14:25kettenis_the macbookpro has only a single pcie port and probing all three makes the machine unhappy
14:25marcanyeah, we definitely need separate DTs of course
14:25marcanthe usual include/enable/disable patterns apply, this would be organized much like other linux dt platforms
14:26kettenis_yup, t8103-j293.dts for the pro
14:26kettenis_wonder if we need a shared .dtsi for the air and the pro
14:27marcanmight make sense
14:27marcanand we should probably disable all the blocks by default
14:27marcanand only enable what gets used in the downstream ones
14:27marcanI mean, all the optional stuff like specific pcie controllers
14:28marcanwhat *is* the difference between the air and the pro? just the touch bar and maybe some thermal stuff?
14:29pipcet[m]er, that specific commit I mean.
14:29pipcet[m]which adds a device tree
14:30j_eyis there someone using picocom and vuart, and can test if exiting picocom causes the m1n1 shell to stop responding?
14:30marcanI use picocom
14:30marcanwith the hV?
14:31j_eyone shell running run_guest, the other picocom, if I close picocom.. I cant ctrl+c in the m1n1 shell to stop the guest
14:32marcanj_ey: works for me
14:32j_eyexiting picocom with ^A^Q works, but not ^A^X, ^Q 'skips tty reset'
14:32j_ey(so I'll just use ^A^Q from now on!)
14:36marcanyou're right, ^A^X breaks it completely
14:37marcanI'll need to pull serial up again to debug that
14:37PhilippvK has joined #asahi
14:40phiologe has quit [Ping timeout: 480 seconds]
14:41j_eymarcan: oh good you can repro that, thought it was something in my setup
14:41j_eynow I have to re-learn muscle memory for ^A^Q :)
14:45marcanj_ey: oh it's dumb
14:45marcanthe ready thing is global
14:45marcanwe never split it when we added the secondary iface
14:49j_eyI guess I'll wait for the fix, but I see `bool ready` in dwc3_dev_t, and I guess that should be in the pipe or endpoint struct instead
14:53marcanj_ey: should be fixed
14:55j_eymarcan: confirmed, thanks!
14:56marcanj_ey: the distinction still matters, by the way
14:56marcanif you use ^A^Q, vuart is still active and after the (huge) buffer gets filled, will stall there
14:56marcanif you use ^A^X, vuart will be disabled and serial output dropped
14:57j_eyoh, good to know, thanks
14:57marcanthis also means previously not opening vuart would stall the HV after the buffer gets filled, it shouldn't do that any more if you never open it, since it should default to closed
15:15bps has quit [Ping timeout: 480 seconds]
15:21alyssaHmm I guess today is 4k day
15:22alyssaAside-- if someone is looking for low hanging asahi fruit, getting HDMI hotplug to work in m1n1 dcp.py might be waiting
15:23alyssaI started but got distracted with kernel :-p
15:23alyssahttps://rosenzweig.io/hotplug.patch <-- this at least gets to not crashing
15:26alyssaEssential for feature bring-up:
15:26alyssaalyssa@sunset:~/Music$ mpv --no-video Legally\ Blonde\ The\ Musical\ \(Original\ Broadway\ Cast/
15:38pipcet[m]alyssa: is it really the unix epoch that's used for get_calendar_time_ms?
15:40alyssaor within a day of it anyway
15:41alyssaunix epoch is used as the macos epoch so..
15:46bps has joined #asahi
15:58dsrt^ has joined #asahi
16:16Erus_Iluvatar has quit [Remote host closed the connection]
16:17Erus_Iluvatar has joined #asahi
16:23Erus_Iluvatar_ has joined #asahi
16:24Erus_Iluvatar has quit [Remote host closed the connection]
16:27Erus_Iluvatar_ has quit []
16:27Erus_Iluvatar has joined #asahi
16:36X-Scale has joined #asahi
16:46skoobasteeve_ has joined #asahi
16:51skoobasteeve has quit [Ping timeout: 480 seconds]
17:02phiologe has joined #asahi
17:05PhilippvK has quit [Ping timeout: 480 seconds]
17:12PhilippvK has joined #asahi
17:15phiologe has quit [Ping timeout: 480 seconds]
19:02aleasto has quit [Quit: Konversation terminated!]
19:03aleasto has joined #asahi
19:13analoq_ has joined #asahi
19:15erincandescent has quit [Remote host closed the connection]
19:16erincandescent has joined #asahi
19:20analoq has quit [Ping timeout: 480 seconds]
19:30aleasto has quit [Ping timeout: 480 seconds]
21:24analoq has joined #asahi
21:31analoq_ has quit [Ping timeout: 480 seconds]
22:11analoq_ has joined #asahi
22:18analoq has quit [Ping timeout: 480 seconds]
22:44analoq has joined #asahi
22:51analoq_ has quit [Ping timeout: 480 seconds]
23:35riker77_ has joined #asahi
23:37riker77 has quit [Ping timeout: 480 seconds]
23:37riker77_ is now known as riker77
…