2021-12-10
00:03yuyichao has quit [Ping timeout: 480 seconds]
00:05bps has quit [Ping timeout: 480 seconds]
00:09Glanzmannj`ey: With that option, it boots. However I'm unable to start X: https://ab34.de/u/Xorg.0.log
00:09rwhitby has joined #asahi
00:09bps has joined #asahi
00:39aidenfoxivey has joined #asahi
00:41GlanzmannNo, it was _not_ the kernel config it was this one: curl https://ab34.de/u/device.conf > /etc/X11/xorg.conf.d/device.conf
00:48GlanzmannSo in order to get firefox to work, you need to use the fbdev driver and not the modesetting driver.
01:09darkapex2 has joined #asahi
01:14darkapex1 has quit [Ping timeout: 480 seconds]
01:17StupidYui has quit [Read error: Connection reset by peer]
01:30yuyichao has joined #asahi
01:39rwhitby has quit [Quit: rwhitby]
02:14Leidenfrost has joined #asahi
02:15LeidenfrostHello guys. Is Asahi usable enough for dual bot mac/linux and basic desktop usage? The most demanding usecase will be Youtube and some compiling
02:36i509vcb[m]I recall discussion here in the past that if you are using a mac mini it is usable enough (can't recall audio situation).
02:36i509vcb[m]Although don't expect a flawless experience
02:36i509vcb[m]I think the mini is still on software rendering?
03:12phiologe has joined #asahi
03:16PhilippvK has quit [Ping timeout: 480 seconds]
03:34Leidenfrost has quit [Ping timeout: 480 seconds]
03:52darkapex3 has joined #asahi
03:56darkapex2 has quit [Ping timeout: 480 seconds]
04:05darkapex4 has joined #asahi
04:10darkapex3 has quit [Ping timeout: 480 seconds]
04:30marvin24_ has joined #asahi
04:33marvin24 has quit [Ping timeout: 480 seconds]
06:03asmopve has joined #asahi
06:04kijdshfgg has joined #asahi
06:04kijdshfgg has quit []
06:04kijdshfgg has joined #asahi
06:05kijdshfgg.. 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 p l a n f o r m i d d l e -e a s t D i d u s a t r a i n &
06:05kijdshfgg 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 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 i f a l q a e d a d i d i t
06:05kijdshfgg 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 a l
06:05kijdshfgg 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
06:05kijdshfggu s- s 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
06:08asmopve has quit [Quit: Leaving]
06:11kijdshfgg has quit [Quit: Leaving]
06:25Techcable has quit [Ping timeout: 480 seconds]
06:27amwCan anyone tell me what these nvme driver messages mean on latest asahi kernel - https://github.com/amworsley/asahi-wiki/blob/main/images/nvme2.png
06:45Narking has joined #asahi
06:46Narking has left #asahi [#asahi]
07:16allegorie[m] has joined #asahi
07:34dottedmagthat's an error message sent by NVMe controller, so the code references are pointing to controller code.
07:36Glanzmannmps: This makes firefox work: curl https://ab34.de/u/device.conf > /etc/X11/xorg.conf.d/device.conf
07:45Glanzmannamw: I'm getting the same error messages on mini with jannau patchset: https://pbot.rmdir.de/bbtU_pLiGMJhifLc8uV3Zw
07:45amwI also found out that I need to compile the kernel with CONFIG_TYPEC as builtin now to get my USB keyboard working... dts has changed quite a bit!
08:12mpsGlanzmann: about month ago I tried with fbdev driver but it segfaults when starting xorg so I switched to simpledrm
08:15mpssome people reported that FF works on systems with glibc so I think it is related to (yet unknown to me) xorg problem with musl
08:17mpswhen I finish my $day_job today I will try with older alpine release and old xorg to see if there are any changes
08:19Glanzmannmps: I see, I checked, I don't have it installed. https://pbot.rmdir.de/u/eS_7J7eu0R_ot_imvZBAwQ
08:20Glanzmannmps: I also tried to compile the kernel with 4KB page size, that broke USB-a however USB-C was still working with a USB-C to USB-A HUB.
08:20GlanzmannFirefox did not start. But with the fbdev it does. But you notice that everything is slower for example fullterm xterm scrolling and even moving the mouse.
08:21Glanzmannmps: I see, strange, maybe I screwed something else up. Are you on macbook air or mini
08:23Glanzmannmps: I see, perfect. I also have a macbook air, but run macos at the moment. However now that the keyboard is working and firefox, maybe I'll switch to linux. I see. I do all the testing on the mini.
08:24Techcable has joined #asahi
08:24Glanzmannmps: I see. So FF should work now. I noticed that if you disable smooth scrolling, scrolling is actually more smooth. However if you watch a video in youtube or mpv fullscreen you have a lot of tiering.
08:26mpsGlanzmann: in current state it is expected that not everything is smooth, so not big problem for me
08:29Glanzmannsven: But the mini works fine. I mean once we have GPU driver that would be really great. And also nvme random write performance needs to be improved. At the moment I use 'eatmydata apt-get install -y <packages>'. That speeds up things because apt runs a 'sync' after each packet, so if you install many, it slows you down.
08:32Glanzmannmps: I see. On mini I noticed what sven said (USB-A and network stopped working). Wifi I don't use.
08:34mpsalso I'm busy with $day_job now, will have more time on the evening to 'play' again with macbook
09:33zimsneexhIs there any way to list CPU freq in linux? cat /proc/cpuinfo doesn't give Frequency and I assume they run at quite a low clockspeed?
09:36zimsneexhHm, that would be surprising. I tried to compile the kernel on baremetal asahi and it was quite a lot slower than even in parallels. Or is it scheduler related?
09:38Glanzmannzimsneexh: I'm running the Linus Torvalds benchmark right now for you: make allmodconfig; time eatmydata make -j 16 V=0 &> /dev/null
10:00zimsneexhj`ey: In parallels the build took around 4 minutes (parallels only uses the 4 performance cores) and baremetal i killed it 10 or 11 minutes in, I think.
10:00_jannau_Glanzmann: should be faster after running proxyclient/experiments/cpu_pstates.py, m1n1 initializes the performance cores just at 2GHz
10:01_jannau_zimsneexh: external SSD might be partly limited by USB 2 speeds if connected to a USB-C port
10:05Glanzmannjannau: I see. I thought the cpufreq driver takes care of that, but I think it is not enabled on my mini. Btw. this is with your kernel config + usb sound: https://pbot.rmdir.de/JiI5c5Gh611h9xjytaPwLw
10:12aleasto has joined #asahi
10:33aidenfoxivey has quit [Quit: aidenfoxivey]
10:33aidenfoxivey has joined #asahi
11:02gladiac is now known as Guest8136
11:02gladiac has joined #asahi
11:03bps has quit [Ping timeout: 480 seconds]
11:08Guest8136 has quit [Ping timeout: 480 seconds]
11:40darkapex has joined #asahi
11:45darkapex4 has quit [Ping timeout: 480 seconds]
11:52bps2 has joined #asahi
12:40the_lanetly_052__ has joined #asahi
13:05aleasto has quit [Remote host closed the connection]
13:19Gaspare has joined #asahi
14:05yuyichao has quit [Ping timeout: 480 seconds]
14:24aleasto has joined #asahi
14:25yuyichao has joined #asahi
14:39kgarrington has joined #asahi
14:40kgarrington has quit [Remote host closed the connection]
14:41yuyichao has quit [Ping timeout: 480 seconds]
14:45mini_ has joined #asahi
14:49the_lanetly_052___ has joined #asahi
14:52mini_ has quit [Quit: ZNC closing...]
14:55the_lanetly_052__ has quit [Ping timeout: 480 seconds]
15:17Gaspare has quit [Quit: Gaspare]
15:44Gaspare has joined #asahi
15:53balrog has quit [Quit: Bye]
15:59balrog has joined #asahi
16:08Dcow has quit [Remote host closed the connection]
16:08Dcow_ has joined #asahi
16:08Gaspare has quit [Quit: Gaspare]
16:31aidenfoxivey has quit [Quit: aidenfoxivey]
16:31aidenfoxivey has joined #asahi
17:08Gaspare has joined #asahi
17:13bps2 has quit [Ping timeout: 480 seconds]
18:10Glanzmann has quit [Quit: leaving]
18:34bpye has quit [Quit: The Lounge - https://thelounge.chat]
18:39Gaspare has quit [Quit: Gaspare]
18:42landscape15[m]I missed the latest stream. Does the touchpad fully works with the SPI driver?
18:51the_lanetly_052___ has quit [Ping timeout: 480 seconds]
19:00mpswayland-client-protocol.h:5983: more undefined references to `wl_proxy_marshal_flags' follow
19:22zimsneexhlandscape15: I don't think so. The keyboard / touchpad driver needs to be patched, apparantly. Not sure if someone already did that
19:24j`eyi havent tried touchpad, but keyboard is working for me, and i think markan said touchpad was fine
19:24zimsneexhoh, really? is there a tree with that work somewhere? I assume it's not in the asahi branch yet?
19:26zimsneexhoh, is it? I've been watching for commits to that branch, but didn't see anything related to keyboard
19:50NightRaven[m]Hi if i run the main.py from the asahi linux installer would i still need the external device to run linux on it
19:51jannauj`ey: I still need to increase SPI_END_CS_DELAY_US for the touchpad to work, I still can kill the touchpad with caps lock
19:53mpsj`ey: https://gitlab.arm.com/linux-arm/jg-open/-/commit/64874508e9c31d361332b4c5b84b5ce038f11002 doesn't apply
19:56j`eymine is just mismatched hacked stuff. Im looking forward to 5.17, hope it has a lot more stuff!
19:59malvo has quit [Ping timeout: 480 seconds]
20:02Glanzmann has joined #asahi
20:03GlanzmannNightRaven[m]: https://ab34.de/u/asahi.txt - Which Distribution on which device do you want to install?
20:03Glanzmannjannau: Are you going to include the keyboard/spi patches in your AsahiLinux-PKGBUILD repository?
20:07NightRaven[m]Glanzmann: The problem is I can't use another device
20:07NightRaven[m]* The problem is I can't use another device I only have my MacBook
20:09NightRaven[m]j`ey: I do but like I cannot use it for my mac since I cannot it to my mac
20:10NightRaven[m]* I do but like I cannot use it for my mac since I cannot connect it to my mac
20:10zimsneexhNightRaven[m]: You could build m1n1, kernel image and a device tree and just install that macho as a boot object, I'm guessing
20:11NightRaven[m]But how it only shows how to do it using a second device
20:11jannautree refreshed, I can't break it anymore with caps lock, waiting 'Inter Transaction Us' between the key event and toggling the led seems to fix that
20:11NightRaven[m]But when I I boot into the macho it says waiting for proxy
20:12GlanzmannNightRaven[m]: Than you need to put the m1n1, kernel, initrd (if you use one) and kernel command line in one file.
20:14GlanzmannNightRaven[m]: 10:36 <mps> as400: I have this script "cat m1n1.macho <(echo 'boot-args=root=PARTUUID=3d20affd-c082-421b-a111-f5d6b1587fe4 rootwait') nk.gz nk-t8103-j293.dtb > ../nk.macho"
20:16Glanzmannjannau: Has your tree (https://github.com/jannau/linux/tree/exp/spi-keyboard) all the other stuff in (nvme, usb2, usb3, wifi, etc)?
20:16NightRaven[m]One question what do I put into the partuuid I will compile the linux kernel and then run that but do I have to change the partuuid
20:17GlanzmannNightRaven[m]: root=/dev/sda1 and later root=/dev/nvme0n1 or the uuid which you get with blkdev-id or so.
20:17NightRaven[m]* Glanzmann : One question
20:18jannauGlanzmann: I'm not sure if I want to update the package to a linux-next based tree. I'll see if I can rebase it onto v5.16-rc4. I think the simpledrm fixes are the only incompatible changes with 5.16-rc
20:18NightRaven[m]Oh ok I will run blkdev-id let me see if I can find it
20:20GlanzmannNightRaven[m]: It is called 'blkid'. See: https://pbot.rmdir.de/gJJ4PIzspVa9O_3FI9faSA
20:20NightRaven[m]Glanzmann: when i type blkid on my terminal it says not found
20:21NightRaven[m]Glanzmann: ooh but how would i find then if i want to compile it on mac
20:21GlanzmannNightRaven[m]: Don't even try to. Spawn a cloud instance on aws, gcloud, hetzner, and compile it there.
20:23NightRaven[m]Glanzmann: I have a raspberry pi but like i thought i have to find the uuid of my mac how can i find that on my rpi
20:24GlanzmannFirst thing you have to do is, make space, than use the asahi installer. Than you need a linux root filesystem on a usb stick. YOu can do that with your raspberry pie.
20:25jannauGlanzmann: supporting the 10-bit color format apple uses for the frame buffer. There are conflicting already in drm for linux 5.17
20:25NightRaven[m]Glanzmann: i mean i have manjaro installed on my rpi but as i have said i cannot use the rpi since i cannot connect it to my mac
20:26NightRaven[m]i will try to get the linux rootfs system on a usb
20:26Glanzmannjannau: I see. I was wondering yesterday who made that work becasue marcan mentioned it is non standard. I see.
20:27NightRaven[m]Glanzmann: I have a MacBook pro 13 inch 2020
20:31Glanzmannj`ey: You have todays keyboard patches running on the macbook air without xorg, right?
20:34malvo has joined #asahi
20:37GlanzmannI see. Than I'll try with jannaus rebase. But mps seems to have no luck, and IIRC he also has a macbook air.
20:38Glanzmannmps: I see, but jannau has to and for him it seems to work and IIRC he has it working with wayland.
20:39mpspractically same as mainline with jannau patch but keyboard doesn't work and it is shown in evtest
20:40NightRaven[m]<NightRaven[m]> "I have a MacBook pro 13 inch 202..." <- Does it affect it
20:41mpsjannau: I reverted it to mainline with your patch, and have to visit someone now, will try tomorrow again
20:54NightRaven[m]<Glanzmann> "NightRaven: 10:36 <mps> as400: I..." <- Is there a way I can find my device ssd uuid like this so I can boot without a second device
20:54Gues__________________________ has joined #asahi
20:55NightRaven[m]But like I need to find it on my mac terminal
20:56NightRaven[m]blkid is a Linux command it does not work on Mac
20:57NightRaven[m]But I need to find it on my mac os
20:57NightRaven[m]Any way ?
20:57Gues__________________________ has quit []
20:58mpsI first made rootFS on usb ssd disk, then booted it and installed on internal nvme and looked for partuuid, then recreated macho and reinstalled in 1TR
20:59NightRaven[m]Any tutorial how to make a rootFS on USB and boot from it
21:00NightRaven[m]mps: How did you do it
21:03GlanzmannNightRaven[m]: On you raspberry pie: mkfs.ext4 /dev/sdX (replace X with the usb stick device)
21:04NightRaven[m]For now I want arch Linux but on my raspberry pi I have Manjaro on it
21:06mpsI have somewhere script to completelly install alpine on olimex a64 SBC, maybe I could adapt it for M1 and post somewhere
21:09NightRaven[m]<Glanzmann> "NightRaven: Which Distribution..." <- But can I just boot into the rootFS on my mac using my USB and do blkid to find the. Uuid
21:56jannauGlanzmann: https://github.com/jannau/AsahiLinux-PKGBUILD https://github.com/jannau/linux/tree/apple-m1-exp_v5.16-rc4_1-keyboard
22:01jannau1080p youtube video works without issues in kde/wayland, compositor is busy with framebuffer updates though
22:07jannauzimsneexh: no, at which time did you fetch? I pushed fixes which made it more reliable (on M1 Max, I can't test on M1)
22:08jannaudo you have https://github.com/jannau/linux/commit/20dba706ab720bc957c52880be851b5ccf69aec0 as top commit?
22:11zimsneexhYes, this one. Keyboard seemed fine, touchpad did nothing. Rebooted and it seems fine for now, although the touchpad seems somewhat "laggy" compared to rc3_1-keyboard
22:26kumoko has joined #asahi
22:29kumoko has quit []
22:48NightRaven[m]ok so i am quite confused for PARTUUID is this my ssd uuid and i just input it there but i am confused how i can find it do i boot into a linux system on my mac if i have to then how can i do it using a usb i have tried the ubuntu one by corellium and it did not work so any ideas ?
22:56zimsneexhBuild a m1n1 macho, build a .macho image with m1n1, your kernel and your device tree. Set that m1n1-payload as the boot object then bootstrap some rootfs to a USB drive. Should work.
23:04NightRaven[m]Oh ok thx
23:04slicey has joined #asahi
23:35ted[m] has left #asahi [#asahi]