#
…

2021-12-09

00:27yuyichao_ has quit [Ping timeout: 480 seconds]
01:39darkapex4 has joined #asahi
01:44marcanwell that's a chromium bug if it can't handle 16K pages then
01:44darkapex3 has quit [Ping timeout: 480 seconds]
01:46i509vcb[m]Not sure if it's the JIT magic the JS engine might be doing or something else?
01:47i509vcb[m]Does running with `--js-flags="--jitless"` do anything?
01:47i509vcb[m]I might be slashing at air
02:32zimsneexh has quit [Ping timeout: 480 seconds]
02:51zimsneexh has joined #asahi
02:54yuyichao_ has joined #asahi
03:13PhilippvK has joined #asahi
03:16phiologe has quit [Ping timeout: 480 seconds]
04:28tomtastic_ has quit [Ping timeout: 480 seconds]
04:30tomtastic has joined #asahi
04:31marvin24 has joined #asahi
04:35marvin24_ has quit [Ping timeout: 480 seconds]
05:19squags has joined #asahi
05:30yrlf5 has quit []
05:30yrlf has joined #asahi
05:55Dcow_ has joined #asahi
05:59hendry1 has quit [Remote host closed the connection]
05:59hendry1 has joined #asahi
06:00Dcow has quit [Ping timeout: 480 seconds]
06:48linearcannon has joined #asahi
07:18sailorek1234 has joined #asahi
08:01darkapex has joined #asahi
08:01landscape15[m]Is the NVMe driver from Corellium?
08:04j_ey_landscape15[m]: no
08:05j_ey_from sven
08:05darkapex4 has quit [Ping timeout: 480 seconds]
08:05aleasto has joined #asahi
08:07landscape15[m]j_ey_: thanks. Corellium drivers are quite bad.
08:10sven*shrug*
08:10sventhe first revisions of my drivers usually aren't much better
08:10j_ey_they're for a different purpose
08:13aleasto has quit [Remote host closed the connection]
08:30landscape15[m]sven: well, I think they are in a pre-alpha version, for now.
08:52zimsneexh has left #asahi [#asahi]
08:57darkapex1 has joined #asahi
09:03darkapex has quit [Ping timeout: 480 seconds]
09:45aleasto has joined #asahi
09:58kettenis_ is now known as kettenis
10:09zimsneexh has joined #asahi
10:16gruetzkopf has joined #asahi
10:19gruetze_ has quit [Ping timeout: 480 seconds]
10:35kettenis_ has joined #asahi
10:35kettenis has quit [Read error: Connection reset by peer]
10:40Techcable has quit [Ping timeout: 480 seconds]
10:49kettenis_ is now known as kettenis
11:00Dcow has joined #asahi
11:05Dcow_ has quit [Ping timeout: 480 seconds]
11:07Dcow_ has joined #asahi
11:10Dcow has quit [Ping timeout: 480 seconds]
11:55minecrell has quit [Read error: Connection reset by peer]
11:57minecrell has joined #asahi
12:15babagurrgurr has joined #asahi
12:18N3ros[m] has joined #asahi
12:37Techcable has joined #asahi
12:52Mrmaxmeier has quit [Quit: The Lounge - https://thelounge.chat]
12:53Mrmaxmeier has joined #asahi
13:19aleasto has quit [Remote host closed the connection]
13:37conected has joined #asahi
14:33babagurrgurr has quit [Quit: Connection closed for inactivity]
14:37kgarrington has joined #asahi
14:37kgarrington has quit [Remote host closed the connection]
14:47kgarrington has joined #asahi
14:48kgarrington has quit [Remote host closed the connection]
14:48akemin_dayo has quit [Ping timeout: 480 seconds]
14:56akemin_dayo has joined #asahi
14:58yuyichao_ has quit [Ping timeout: 480 seconds]
15:33conected has quit []
15:41sailorek1234 has quit []
15:48yuyichao_ has joined #asahi
15:59sirn has quit [Quit: ZNC 1.8.2 - https://znc.in]
16:00sirn has joined #asahi
16:19j_ey_ is now known as j`ey
16:21bps has quit [Ping timeout: 480 seconds]
16:32NightRaven[m]is there a way you can run asahi without the proxy
16:35j`eyNightRaven[m]: by installing a combined m1n1+uboot
16:53yuyichao has joined #asahi
16:54akemin_dayo has quit [Ping timeout: 480 seconds]
16:57yuyichao_ has quit [Ping timeout: 480 seconds]
17:44akemin_dayo has joined #asahi
17:44bps has joined #asahi
18:21Gaspare has joined #asahi
19:06zimsneexhIs there any quirks to getting USB to work on MBA? I've been trying for a whilebut i seriously can't figure out whats wrong. If anyone can help me out, I'd appreciate it alot
19:09roxfan has joined #asahi
19:10roxfan2 has quit [Ping timeout: 480 seconds]
19:28Glanzmann has joined #asahi
19:46jannauzimsneexh: usb should work with kernel and dtb from the kernel build in https://github.com/AsahiLinux/linux branch asahi (current default)
19:48Gaspare has quit [Ping timeout: 480 seconds]
19:50mpsyes, it works
19:53jiowevnb has joined #asahi
19:53mipmeb has joined #asahi
19:53mipmeb------------ c / e r t a i n l y , z a m e r i c a n s n e e d e d s o m e t h i n g l i k e 9 / 11 t o J u s t i f y i n v a d i n g - i r - a q w h i c h h a s b e e n a l r e a d y p la n n e d a s a p a r t o f c r e a t i v e c -h a o s D i d u s a t r a i n & s u p p l y i s i s w i
19:53mipmebt h w e a p o n s l i k e i t d i d w i t h a l - q a- e d a t o j u s t i f y c r e a t i n g w a r .s C R E - A T - I V E C H A - O S d i d c i a - d i d 9 / 11 o r i t j u s t l e t i t h a p p e n p l a n f o r m i d d l e -e a s t i f a l q a e d a d i d i t
19:53mipmeb W H Y t o k - i - l - l 9 m i l l i o n i r -a q i - s a b o u t 9 m i l l i o n i r a q i - d i -e d E i t h e r - b e c a u s e - o f d i r e c t a m e r ic a n v i o l e n c e a n d b e c a u s e o f s i e g e u s a m a d e a g a i n s t i r - a q t h a t p r e v e n t e d i -r a -q i f r o m e s s e n t i
19:54mipmeba l l i v i n g m a t e r i a l s , f o o d , m e d i c i n e a n d e v e n p e n c i l s f o r z c h i l d e r n - i s i s a n d a l q- a e d a - o n l y a p p e a r e d i n i r - a q a f t e r u s a i n v a s i o n , D i d u s a p a v e t h e w a y for i s- i s t o i r a -q ? s a d -d -a m h u s-
19:54mipmebs i n who l o s t m o s t of his p o -w e r in 1 st , 2 nd g u l f w a r s a n d d u r i n g 1 0 y e a r s of s i e g e , d i d n o t a l l o w i s ` i s or a l , q a , e d e a t o e n t e r i r -a q , e v e n t o ` h e l p h i m a g a i n s t u s a c / e r t a i n l y
19:54povikuff, can you condense your spam? it's hard to read this way
19:54mipmeb, z a m e r i c a n s n e e d e d s o m e t h i n g l i k e 9 / 11 t o J u s t i f y i n v a d i n g - i r - a q w h i c h h a s b e e n a l r e a d y p la n n e d a s a p a r t o f c r e a t i v e c -h a o s D i d u s a t r a i n & s u p p l y i s i s w i t h w e a p o n s l i k e i
19:54mipmebt d i d w i t h a l - q a- e d a t o j u s t i f y c r e a t i n g w a r .s C R E - A T - I V E C H A - O S d i d c i a - d i d 9 / 11 o r i t j u s t l e t i t h a p p e n p l a n f o r m i d d l e -e a s t i f a l q a e d a d i d i t W H Y t o k - i - l - l
19:54mipmeb 9 m i l l i o n i r -a q i - s a b o u t 9 m i l l i o n i r a q i - d i -e d E i t h e r - b e c a u s e - o f d i r e c t a m e r ic a n v i o l e n c e a n d b e c a u s e o f s i e g e u s a m a d e a g a i n s t i r - a q t h a t p r e v e n t e d i -r a -q i f r o m e s s e n t i a l l i v i n g m a t e r i a l s ,
19:54psykoseright, can i get a zstd on this
19:54mipmeb f o o d , m e d i c i n e a n d e v e n p e n c i l s f o r z c h i l d e r n - i s i s a n d a l q- a e d a - o n l y a p p e a r e d i n i r - a q a f t e r u s a i n v a s i o n , D i d u s a p a v e t h e w a y for i s- i s t o i r a -q ? s a d -d -a m h u s- s i n who l o s t m o s t of
19:55mipmeb his p o -w e r in 1 st , 2 nd g u l f w a r s a n d d u r i n g 1 0 y e a r s of s i e g e , d i d n o t a l l o w i s ` i s or a l , q a , e d e a t o e n t e r i r -a q , e v e n t o ` h e l p h i m a g a i n s t u s a c / e r t a i n l y , z a m e r i c a n s n e e d e d
19:55mipmeb s o m e t h i n g l i k e 9 / 11 t o J u s t i f y i n v a d i n g - i r - a q w h i c h h a s b e e n a l r e a d y p la n n e d a s a p a r t o f c r e a t i v e c -h a o s D i d u s a t r a i n & s u p p l y i s i s w i t h w e a p o n s l i k e i t d i d w i t h a l - q a- e
19:55mipmeb d a t o j u s t i f y c r e a t i n g w a r .s C R E - A T - I V E C H A - O S d i d c i a - d i d 9 / 11 o r i t j u s t l e t i t h a p p e n p l a n f o r m i d d l e -e a s t i f a l q a e d a d i d i t W H Y t o k - i - l - l 9 m i l l i o n i r -a q i - s a
19:55mipmebb o u t 9 m i l l i o n i r a q i - d i -e d E i t h e r - b e c a u s e - o f d i r e c t a m e r ic a n v i o l e n c e a n d b e c a u s e o f s i e g e u s a m a d e a g a i n s t i r - a q t h a t p r e v e n t e d i -r a -q i f r o m e s s e n t i a l l i v i n g m a t e r i a l s , f o o d , m e d i c i n e a n d e
19:55mipmebv e n p e n c i l s f o r z c h i l d e r n - i s i s a n d a l q- a e d a - o n l y a p p e a r e d i n i r - a q a f t e r u s a i n v a s i o n , D i d u s a p a v e t h e w a y for i s- i s t o i r a -q ? s a d -d -a m h u s- s i n who l o s t m o s t of his p o -w e r in 1 st , 2
19:55mipmebnd g u l f w a r s a n d d u r i n g 1 0 y e a r s of s i e g e , d i d n o t a l l o w i s ` i s or a l , q a , e d e a t o e n t e r i r -a q , e v e n t o ` h e l p h i m a g a i n s t u s a
19:55ardhewg, marcan: around? ^?
19:55i509vcb[m]What in tarnation
20:02zimsneexhjannau: I tried the default branch but it just doesn't want to work. Tried different typ-c to a adapters, different keyboards, anything I can think of. They don't even seem to be powered
20:02Ganneff has joined #asahi
20:02j`eyjannau: the device trees on your branch have all the usb/dart nodes right?
20:03zimsneexhAlso tried a few of your branches, specifically the one with working SPI keyboard, where the keyboard works but USB also does not.
20:03jiowevnb has quit [Remote host closed the connection]
20:03mipmeb has quit [Remote host closed the connection]
20:04Glanzmannj`ey: At least for me the following works: USB-A Keyboard and Mouse. USB-C Hub with Tesira Forte Echo Cancler and Network Card.
20:04jannauj`ey: yes, as has the asahi branch
20:04Glanzmannjannau: Firefox does not start with your kernel / config. However with alyssas config it worked. However the framebuffer seems to be much faster than the dcp.
20:05mpsfor me works everything I plugged in usb port (though not much devices)
20:05jannauzimsneexh: how do you load the kernel? with linux.py? can you post the whole command
20:06zimsneexhjannau: I'm using the command from the wiki: python3 ~/m1n1/proxyclient/tools/linux.py -b 'earlycon console=ttySAC0,1500000 console=tty0' Image.gz t8103-j313.dtb initrd.gz
20:07___nick___ has joined #asahi
20:07___nick___ has quit []
20:09jannauzimsneexh: does `dmesg | grep dwc3` report anything after boot
20:09___nick___ has joined #asahi
20:09zimsneexhjannau: It does not.
20:11zimsneexhThis is on your kernel with branch apple-m1-exp_v5.16-rc3_1-keyboard
20:11j`eyzimsneexh: and youre definitely using the dtb from the linux folder?
20:11zimsneexhdefinitely.
20:18svenstrings t8103-j313.dtb should also show dwc3
20:19j`eyzimsneexh: ^
20:21zimsneexh$ strings t8103-j313.dtb | grep dwc3 shows : "apple,t8103-dwc3 apple,dwc3 snps,dwc3 apple,t8103-dwc3 apple,dwc3 snps,dwc3"
20:22svenmaybe dwc3 isn’t enabled in the kernel config then
20:23kettenismaybe somebody should add a usable default config to the asahi branch?
20:24zimsneexhUSB_DWC3 is set to "y"
20:24kettenis(says they guy who has no clue how this Linux Kconfig stuff works)
20:24j`eykettenis: :D
20:26zimsneexhalso set to y is CONFIG_USB_DWC3_DUAL_ROLE, CONFIG_USB_DWC3_PCI, CONFIG_USB_DWC3_HAPS and CONFIG_USB_DWC3_OF_SIMPLE
20:27zimsneexhis CONFIG_USB_DWC3_HOST supposed to be enabled?
20:28kettenisalmost certainly
20:28j`eykettenis: how big is theOpenBSD kernel in mb?
20:28zimsneexhLet me try to enable that then
20:28kettenis$ ls -lh /bsd
20:29kettenis-rwx------ 1 root wheel 13.5M Dec 9 20:34 /bsd
20:30j`eykettenis: defconfig is like 30M :|
20:31os has quit [Ping timeout: 480 seconds]
20:31kettenisyeah, we don't support all hardware on the planet ;)
20:31as400 has joined #asahi
20:31jannauCONFIG_USB_DWC3_HOST is not needed, that sets it to host only mode instead of CONFIG_USB_DWC3_DUAL_ROLE
20:33zimsneexhOkay, hm. Any other ideas?
20:33jannaudefconfig is also not what we want since it uses 4k pages
20:34j`eyyeah sorry, defconfig was just about the size, wasnt suggesting it
20:34zimsneexhOh, i am generating the config with defconfig, as suggested on the wiki
20:34jannauzimsneexh: `dmesg | grep dart`
20:35j`eydart has default ARCH_APPLE, so that should be on
20:36jannauI guess dart in asahi linux will just not work with 4k pages and thus dwc can't be initialized
20:36zimsneexhapple-dart ...iommu: DART (pagesize=4000, bypass support: 1, bypass forced: 1) initialized
20:36os has joined #asahi
20:37svendwc3 works fine in bypass mode
20:39zimsneexhSo should I rebuild the kernel with a different page size?
20:39jannauzimsneexh: there should be more than one line, also there should be a hex number printed
20:40zimsneexhjannau: There is more, didn't realize the number was relevant. Have to type these from the machine itself
20:40zimsneexhOkay, I'll try that.
20:41jannauok, not sure what in defconfig is breaking it. is it maybe built as module
20:41zimsneexhjannau: That config with the branch i mentioned ? apple-m1-exp_v5.16-rc3_1-keyboard?
20:43DarkShadow44 has quit [Quit: ZNC - https://znc.in]
20:43DarkShadow44 has joined #asahi
20:44TheLink has quit [Quit: ZNC 1.8.2 - https://znc.in]
20:44TheLink has joined #asahi
20:45zimsneexhlots of (NEW) stuff apparantly
20:46jannauit is simplified config like defconfig, run 'make olddefconfig' to set everything to the default value
20:49zimsneexhjannau: I must be doing it wrong - I'm saving the file and running "make olddefconfig" and it seems to just overwrite the saved .config
20:51jannaucopy the config as .config and run make olddefconfig. it is expected to replace the config with just the necessary options with a full config
20:51ar has quit [Ping timeout: 480 seconds]
20:52ar has joined #asahi
20:53Glanzmannzimsneexh: When you're crosscompiling, you need to specify the arch. See here: https://ab34.de/u/asahi.txt
20:53GlanzmannAlso on the olddefconfig, otherwise the config is screwed.
20:55zimsneexhoh, i need to specify the crosscompiler on olddefconfig too? It seemed to be fine as it is, since it's building now
20:55zimsneexhThanks for the link, that's helpful
20:55Glanzmannzimsneexh: Start from scratch, what you get is probably not what you want.
20:57zimsneexhGlanzmann: Okay, let me do that.
20:58Glanzmannzimsneexh: If you want I can also upload you the kernel and the dtb. I'm trying jannau branch on the mini. It works well, however firefox does not start. With alyssas tree, firefox starts. No idea why at the moment, I already tried compiling with 4 KB page size, that was not it. I can also run firefox in safemode using ssh X forwarding. So it has something todo with the xorg on framebuffer driver.
20:58GlanzmannHowever it is much faster than the dcp.
21:00zimsneexhGlanzmann: Hm, I'm trying on a MBA, but I'd be happy to try your kernel build if yours has device trees for the MBA
21:03as400Guys - so the keyboard is working on t6000 with todays marcan work ? Had no time to watch stream.
21:04Glanzmannas400: I think in the backlog someone mentioned that it does not yet work.
21:04Glanzmannin asahi-dev
21:04as400so what's missing ?
21:04j`eyas400: it just doesnt work
21:04j`eyneeds debugging
21:05Glanzmannzimsneexh:
21:05as400ok - thx for the info
21:06j`eyas400: likely some mismatch of expectations between the new SPI driver and corelliums changes in the kb driver
21:07zimsneexhGlanzmann: Thanks alot, I'll try those while the other kernel builds
21:08___nick___ has quit [Ping timeout: 480 seconds]
21:09Glanzmannzimsneexh: Let me know, if it works.
21:09jannauthe first TX transfer never completes
21:10zimsneexhGlanzmann: Just tried and it does work! Thank you!
21:10kettenisI fear marcan will need to rewrite the keyboard driver to verify that the spi driver works properly
21:11j`eyjannau: do you get the first corrupted packet message at all?
21:11as400Is kb driver from corellium upstreamed ?
21:11j`eyas400: no
21:11Glanzmannzimsneexh: I update my instructions to incorporate jannau tree, so that you can follow along easily.
21:11j`eyand it probably wont be
21:12j`eykettenis: at least it works with the flash/nor (if you missed that bit of the stream)
21:12zimsneexhoh, wow, even Hotplug works
21:13zimsneexhThanks alot, I really appreciate it. I've been trying to get it to work for days
21:13jochum has quit [Quit: No Ping reply in 180 seconds.]
21:13Glanzmannzimsneexh: What Distribution do you use?
21:14jannauj`ey: the first spi transfer (a write) from applespi never completes. I suspect it's entirely applespi's fault
21:14zimsneexhGlanzmann: Right now, I'm just trying with the debian arm64 installer Image
21:14kettenisyeah; but the keyboard has some funky delays and it wouldn't surprise me if it depends on some quirks in their spi driver
21:15jochum has joined #asahi
21:15j`eyjannau: hm, I actually got a packet
21:16Glanzmannzimsneexh: Follow the instructions in the txt and you will end up having one.
21:16Glanzmannzimsneexh: I'm currently building a debian package for the kernel, I'll upload it for you.
21:17mpsGlanzmann: I also guessing that firefox start problem is related to xorg or simpledrm
21:17GlanzmannYes, it is. For sure.
21:18mpsI'm lazy to build xorg from git, waiting for new release
21:18Glanzmannmps: And it is not only firefox, I also tried konqueror and surf.
21:18mpsGlanzmann: netsurf works fine for me
21:21Glanzmannmps: Will try it now. This is my Xorg.log: https://ab34.de/u/Xorg.0.log
21:21jannauGlanzmann: firefox works for me, arch linux arm package and this config https://gist.github.com/jannau/66bcdf6ce633a093d89f691927b7cc6f
21:22jannaukde/wayland
21:22zimsneexhGlanzmann: Oh, thank you. That would be great!
21:22Glanzmannjannau: I see. I'm using Xorg.
21:22Glanzmannjannau: Does 'wayland' work with fvwm2?
21:23mpsjannau: I found free ssd and will make clean install on it tomorrow to check again
21:23Glanzmannmps: Thanks for the tip. netsurf also works for me.
21:24mpsGlanzmann: all graphic program I tested works fine except firefox 'stuck' and chromium segfaults on start but that is expected on musl and aarch64
21:24as400for me FF on kde/wayland also works
21:24jannauGlanzmann: FF doesn't start in kde/x11
21:25jannaujust switched the session
21:25Glanzmannjannau: yes, same for me.
21:25mpsas400: I was tempted to start something on wayland but I don't have any experience with it so ceased
21:25as400mps: no experience needed actually
21:26as400if you want ff to work natively on wayland just do: MOZ_ENABLE_WAYLAND=1 firefox
21:26as400that's all
21:27mpsI tried about year or two ago on samsung chromebook (rk3399) when tested panfrost driver and never again :)
21:29mpswill see tomorrow with clean install because I just copied FS from acer r13 aarch64 chromebook with a lot of tweaks
21:29Glanzmannjannau: How is video playback with wayland.
21:29Ganneff has left #asahi [#asahi]
21:32Glanzmannzimsneexh: I updated the build instructions for the kernel https://ab34.de/u/asahi.txt (Tested on Debian bullseye/amd64)
21:35GlanzmannHas someone figured out how to change the default resolution for the framebuffer? Kernel command line? Mine is stuck at 1920x1080 but I could do 2560x1440.
21:36j`eyGlanzmann: no, thats part of dcp
21:38Glanzmannj`ey: I see, so I need dcp in order to use it? Maybe I should try to put dcp into jannau branch, but the framebuffer is much faster at the moment than alyssas dcp.
21:39j`eyI dont know if the resolution changing is in alyssa code or not, but the dcp is what will change it
21:40zimsneexhGlanzmann: Too kind, thanks for the help. I'll try to get debian installed.
21:40Glanzmannj`ey: Yes, it is, I used xrandr to change the resolution and even the orientation.
21:42GlanzmannBtw. regarding firefox and X. I tried to ssh -X to an Debian/11/amd64 box and start firefox using x forwarding, it does _not_ work.
21:59as400Why these apple keyboards are so special that they need a special drivers ?
21:59j`eyas400: they dont, theyre actually HID
21:59j`eybut there's no SPI-HID driver in the kernel
22:00j`eyand the original authors of the kb driver for the intel macs didnt realise it was HID
22:00as400oh, ok. So how did they make it work ?
22:03j`eythey wrote a custom driver
23:05as400 has quit [Quit: Page closed]
23:11Dcow_ has quit [Read error: Connection reset by peer]
23:11Dcow has joined #asahi
23:31StupidYui has joined #asahi
23:42GlanzmannDoes someone know which framebuffer corellium used? Because there firefox was working. simplefb got introduced after corellium.
23:43j`ey compatible = "simple-framebuffer";
23:46j`eymaybe you mean simpledrm, that was introduced afterwards
23:47GlanzmannI see. Maybe that is the secret. Let me try. CONFIG_SYSFB_SIMPLEFB
23:55GlanzmannHmm. When I enable the CONFIG_SYSFB_SIMPLEFB I do not get a console but only the asahi logo, however the system boots.
23:58j`eyCONFIG_FB_SIMPLE
…