2022-07-27
00:07Brainium has quit [Quit: bye]
00:29bisko has quit [Read error: Connection reset by peer]
00:30bisko has joined #asahi
01:58probieNot yet. Given that there's a chance to break the speakers I'm trying to get a clear idea of what's involved before attempting anything
02:15chadmed_ive done the procedure myself quite a few times and ive never busted anything but you must make absolutely certain that your machine will play no audio until youve had a chance to turn the levels down in alsamixer
02:29bisko has quit [Read error: Connection reset by peer]
02:29ciggi has quit [Read error: Connection reset by peer]
02:30ciggi has joined #asahi
02:30bisko has joined #asahi
02:45phiologe has joined #asahi
02:48PhilippvK has quit [Ping timeout: 480 seconds]
02:48jx0 has joined #asahi
02:49jx0 has quit []
02:50jx0 has joined #asahi
02:53zzywysm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:53zzywysm has joined #asahi
03:21pyropeter3 has joined #asahi
03:22jx0 has quit [Quit: poof!]
03:23pyropeter2 has quit [Ping timeout: 480 seconds]
03:27marvin24_ has joined #asahi
03:31marvin24 has quit [Ping timeout: 480 seconds]
03:44krirogn[m] has quit [Quit: Client limit exceeded: 20000]
03:46kov has quit [Quit: Coyote finally caught me]
04:10gladiac has quit [Ping timeout: 480 seconds]
04:12falconhash[m]Never depend on a single income to get financial freedom. I can teach you how you can earn from $5,000 to $6,000 weekly,without sending money to me or anyone, but you will pay me 10% commission when you receive your profit. if you are interested, ask me how via Whatsapp
04:12falconhash[m]+1 (570) 801-0862
04:24bisko has quit [Read error: Connection reset by peer]
04:25bisko has joined #asahi
04:32falconhash[m] has quit [autokilled: Spambot. Mail support@oftc.net if you think this is in error. (2022-07-27 04:32:45)]
04:52nesnass has joined #asahi
04:58nesnass has quit [Remote host closed the connection]
04:59gladiac has joined #asahi
05:28ciggi_ has joined #asahi
05:28ciggi has quit [Read error: Connection reset by peer]
05:53the_lanetly_052__ has joined #asahi
06:13gladiac is now known as Guest6166
06:13gladiac has joined #asahi
06:19Guest6166 has quit [Ping timeout: 480 seconds]
06:24bisko has quit [Read error: Connection reset by peer]
06:25bisko has joined #asahi
06:30thevar1a- has quit [Ping timeout: 480 seconds]
06:33thevar1able1 has joined #asahi
06:34doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:42Lizard[m] has quit [Quit: Client limit exceeded: 20000]
06:44circularsprojects[m] has joined #asahi
06:45thevar1able1 has quit [Ping timeout: 480 seconds]
06:45ptudor has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
06:45thevar1able1 has joined #asahi
06:51ptudor has joined #asahi
06:52lucifer178[m] has quit [Quit: Client limit exceeded: 20000]
07:03thevar1a- has joined #asahi
07:05thevar1able1 has quit [Read error: Connection reset by peer]
07:35bngs[m] has quit [Quit: Client limit exceeded: 20000]
08:04MajorBiscuit has joined #asahi
08:19bisko has quit [Read error: Connection reset by peer]
08:21bisko has joined #asahi
08:22GlanzmannFedora users: I updaed Fedora build with a Fresh kernel, u-boot, m1n1. Testers on m2 welcome. https://thomas.glanzmann.de/fedora/
08:23mazmps: highmem=off was a workaround to deal with some internal qemu nonsense. I fixed it for both KVM and hvf. shout if it doesn't work with 7.0, and ping agraf in the process.
08:27Glanzmannjannau / kettenis: Here my u-boot issue: no hang: https://tg.st/u/IMG_20220727_102340245_HDR.jpg usb-c connected keyboard / stick / hangs: https://tg.st/u/IMG_20220727_102327034_HDR.jpg https://tg.st/u/VID_20220727_102358521.mp4 https://tg.st/u/VID_20220727_102243640.mp4
08:27mazfunnily, someone is shouting about the same thing on #qemu. I guess some package must have been updated for macos...
08:32mpsbut I don't boot to macos often, about three weeks ago I tested qemu with disk partition and noticed this problem but didn't looked further because it is not so important to me
08:49leitao has joined #asahi
08:51neatsquirrel has quit [Ping timeout: 480 seconds]
09:00KonradHoh has joined #asahi
09:02MajorBiscuit has quit [Quit: WeeChat 3.5]
09:03KonradHohHi, I was wondering if anyone with an M2 could help me identify which ARM PAC/Memory Tagging Features are enabled?
09:03KonradHohShould be relatively easy by running inline assembly that prints out the configuration registers
09:08MajorBiscuit has joined #asahi
09:12neatsquirrel has joined #asahi
09:13neatsquirrel has quit []
09:14mpsI'm trying to select new machine to buy, what is better M1pro or M2 for linux (I don't use macos). I don't need much GPU or neural engine
09:16ptudor_ has joined #asahi
09:21ptudor has quit [Ping timeout: 480 seconds]
09:22_jannau_mps: depends on what you want do do with it. 8/2 high perf/efficiency m1 cores are faster than 4/4 m2 cores
09:30leitao has quit [Ping timeout: 480 seconds]
09:34Glanzmannmps: You can see the performance / efficency cores when you go to apple.com, select the product and click on 'technical specification' and scroll down to the cpu.
09:34mps_jannau_: I'm not in hurry and you don't need to waste precious time on this for me (anyway thanks)
10:09fetsorn[m] has quit [Quit: Client limit exceeded: 20000]
10:20bisko has quit [Read error: Connection reset by peer]
10:21bisko has joined #asahi
10:22the_lanetly_052___ has joined #asahi
10:29the_lanetly_052__ has quit [Ping timeout: 480 seconds]
10:32thevar1a- has quit []
10:32thevar1able1 has joined #asahi
10:51Brainium has joined #asahi
11:50kov has joined #asahi
11:51janrinze has joined #asahi
12:00KonradHoh has quit [Quit: Connection closed]
12:00lockna has quit [Quit: Client limit exceeded: 20000]
12:01janrinzemarcan: the USB3 firmware for the Mac Studio Ultra, is it a lot of work to get that extracted and working with the Asahi Linux kernel?
12:05janrinzeGlanzmann: grub attaches the 'quiet' parameter on the kernel command line i.i.r.c. so you don't see what's happening during boot, right?
12:09Glanzmannjanrinze: Yes, but of course can you change the grub config to remove the parameter. I do it most of the time.
12:10chadmed_janrinze: usb3 isnt working at all on any machine yet. the problem isnt the firmware it's reversing apple's PHY IP block
12:15bisko has quit [Read error: Connection reset by peer]
12:17bisko has joined #asahi
12:33Brainium has quit [Quit: bye]
12:38janrinzespecifically for the mac mini i got a USBC to USBA converter so that the dock can be used with USB3. This allows me to use the SSD in the dock at full speed.
12:49qyousef has joined #asahi
12:57mazI've been using sven's patches on the Ultra (together with a bunch of u-boot and DT changes) for about 2 months now, and USB3 on the USBC connectors is doing fine. I wish these patches made it upstream.
12:58svenI wish so as well, but the entire ATC thing is too entangled with the thunderbolt mess and I'm not confident enough the DT can stay this way :(
13:01mazI guess that this makes the FW loader for the PCIe USB slightly more urgent that we'd like it.
13:02sventhere's one fix to the phy subsystem I submitted which got un-fixed during a merge conflict
13:05pyropeter3but those commits are not trivial to rebase on top of the current asahi kernel
13:11qyousef has quit [Ping timeout: 480 seconds]
13:13svenyeah. i've just had a few people without kernel development experience trying to use WIP branches
13:15janrinzesven: there are very few people with an Ultra so it's probably going to generate useful info on the state of affairs on the Ultra (whatever the outcome may be)
13:16svennot really. that branch isn't ready to be used so any information will become obsolete once I start changing it again
13:18_jannau_janrinze: no, pushed that branch just last weekend, not really compatible with using it for 2 months, also that branch works only on m1 (non pro/max/ultra) devices
13:20_jannau_sigh, why didn't use more distinct marketing names for their tablet and laptop/desktop chips
13:20qyousef has joined #asahi
13:22janrinze_jannau_: the atc-WIP-5.19 branch looks like a set of patches atop ahasi. Are you worried that it won't work with the Ultra?
13:25_jannau_no, that PR is not compatible with with the way the t600x devicetree looks after adding m1 ultra support
13:43Brainium has joined #asahi
13:43Brainium has quit []
13:51janrinzeSpagetti :-) thanks for the pointers and info. The biggest step for most of us will be when GPU support arrives.
13:58janrinzemarcan surely doesn't have the time to do everything himself. Is there some basic overview of who works on what?
14:02qyousef has quit [Ping timeout: 480 seconds]
14:06Moprius has joined #asahi
14:06neatsquirrel has joined #asahi
14:11bisko has quit [Read error: Connection reset by peer]
14:13bisko has joined #asahi
14:22MajorBiscuit has quit [Ping timeout: 480 seconds]
14:24janrinzesven: how about small incremental changes that will be acceptable upstream to prepare for the USB3 changes?
14:26_jannau_janrinze: from earlier: "the entire ATC thing is too entangled with the thunderbolt mess and I'm not confident enough the DT can stay this way"
14:33janrinzeto be honest, compared to a huge amount of SBCs from the past asahi linux is doing a great job. I have far too many paperweights on the shelves that were promised to be useable by their respective manufacturers.. So no complaints here! I'm very grateful for all the work done already by you people!
14:34the_lanetly_052___ has quit [Ping timeout: 480 seconds]
14:45mini0n has joined #asahi
14:52Glanzmann has quit [Quit: leaving]
15:16bocekcombatbow[m]<opticron> "and I fixed the wiki feature..." <- Thank you! I mentioned this and got no reponse
15:21jasper0 has joined #asahi
15:21jasper0 has left #asahi [#asahi]
15:32kettenisGlanzmann: I suspect this is a particular issue with the u-boot usb code not playing well with one of your usb devices
15:33Moprius has quit [Quit: bye]
15:45jluthra has quit [Remote host closed the connection]
15:45jluthra has joined #asahi
15:46qyousef has joined #asahi
15:58doggkruse has joined #asahi
16:08qyousef has quit [Ping timeout: 480 seconds]
16:08bisko has quit [Read error: Connection reset by peer]
16:10MajorBiscuit has joined #asahi
16:12bisko has joined #asahi
16:14doggkruse has quit [Read error: Connection reset by peer]
16:14doggkruse_ has joined #asahi
16:15MajorBiscuit has quit []
16:18zv has quit [Ping timeout: 480 seconds]
16:31qyousef has joined #asahi
16:35bocekcombatbow[m]Honestly, I am very suprised with what is working already. So many things already work! And they work well.
16:35bocekcombatbow[m]*Cries in changable screenbrightness though*
16:36bocekcombatbow[m]Might be daily driving this soon
16:46zv has joined #asahi
16:49ptudor_ is now known as ptudor
17:04MrGigio has joined #asahi
17:14MrGigio91 has joined #asahi
17:15thevar1able1 has quit [Ping timeout: 480 seconds]
17:16MrGigiuz has joined #asahi
17:17MrGigio has quit [Ping timeout: 480 seconds]
17:20bluetail has joined #asahi
17:22thevar1able1 has joined #asahi
17:22pimeys[m]is it already good enough to get a macbook air, wipe the macos completely and start working with your favorite distro?
17:23MrGigio91 has quit [Ping timeout: 480 seconds]
17:23bluetailpimeys[m], depends on what you mean with that. It is certainly not as user friendly as macos. Without Docker I wouldnt love it
17:27pimeys[m]what would also be really awesome is linux base and macos virtual machines, then we could virtualize much more easily some CI builds
17:28bluetailpimeys[m], theres ONE dealbreaker as of why I wouldnt want to use a m1 device as main rig
17:28pimeys[m]we have a pile of mac studios in the office, we'd like to use them to speed up some github actions, but making them to act as servers with macos is just so much pain
17:28thevar1a- has joined #asahi
17:29bluetailIt seems that if a certain bandwidth is taken, the display is altered. I know that occams razor stuff...
17:30MrGigiuz has quit [Ping timeout: 480 seconds]
17:30thevar1able1 has quit [Ping timeout: 480 seconds]
17:30bluetailI didnt solve it for m1 -> monitor. Perhaps its just one peripheral of mine causing it to look different.
17:30pimeys[m]it's not that I miss some CPU power currently, having a 3950x and 5950x and they are fast, the 5950x in the office uses exactly the same amount of time to compile our big rust project than the mac studio with 20 cores
17:34bisko has quit [Ping timeout: 480 seconds]
17:37MrGigio has joined #asahi
17:37thevar1a- has quit [Ping timeout: 480 seconds]
17:37ptudor_ has joined #asahi
17:39thevar1able1 has joined #asahi
17:39artemist has quit [Read error: Connection reset by peer]
17:42ptudor has quit [Ping timeout: 480 seconds]
17:45MrGigio91 has joined #asahi
17:48Glanzmann has joined #asahi
17:49MrGigio has quit [Ping timeout: 480 seconds]
17:50thevar1able1 has quit [Ping timeout: 480 seconds]
17:52bluetail has quit [Quit: Leaving]
17:56thevar1able1 has joined #asahi
17:57MrGigio has joined #asahi
18:03MrGigio91 has quit [Ping timeout: 480 seconds]
18:10thevar1able1 has quit []
18:10thevar1able1 has joined #asahi
18:19artemist has joined #asahi
18:27chir4gm has quit []
18:27chir4gm has joined #asahi
18:39___nick___ has joined #asahi
18:39___nick___ has quit []
18:39GlanzmannLeif, Linus and I try to get Fedora running on m2 air. What is strange is, on a m1 the software does not crash (asahi branch), but on the m2 xorg does not start. Any idea what the issue is? I'm currently reproducing the issue on a friends m2 air laptop who has installed fedora and I'm remotely logged in using ssh.
18:39GlanzmannSo kernel boots, wifi works. xorg does not start (on m1 it does with the very same binary).
18:41___nick___ has joined #asahi
18:43GlanzmannSo I have updated my fedora build with asahi upstream tree and u-boot/m1n1 and it is currently runnong m2 air of a friend. I'm logged on to that system using a reverse ssh tunnel.
18:44Glanzmannj`ey: Can I upgrade Fedora 35 to Fedora 36 without reinstalling or do I have to reinstall?
18:44j`ey36 is when simpledrm was introduced https://blog.dowhile0.org/2022/04/22/fedora-36-a-brave-new-drm-kms-only-world/
18:52GlanzmannMight be the issue, that on the m2 it loads efifb instead of simplefb? https://tg.st/u/bla2.txt
19:01GlanzmannNope, I had this issue before, I don't remeber the details, but x was not working for me. I spent several days finding out why ...
19:04m6wiq has quit [Quit: ZNC - https://znc.in]
19:05GlanzmannOkay, than we might have multiple issues. I used my kernel config, but Linus installed Lifes Fedora which used the asahi kernel config and he has also issues.
19:06m6wiq has joined #asahi
19:11riker77 has quit [Quit: Quitting IRC - gone for good...]
19:12Glanzmannmps: [ 0.456691] efi-framebuffer efi-framebuffer.0: efifb: a framebuffer is already registered
19:15___nick___ has quit [Ping timeout: 480 seconds]
19:22jannauGlanzmann: reproduced, Xorg dies with SIGILL. maybe an issue with a new CPU instruction extension
19:23riker77 has joined #asahi
19:26Glanzmannjannau: I tried blackilisting efifb, did not help, than I tried to force fbdev that starts x but not cpu output.
19:31thevar1a- has joined #asahi
19:33thevar1able1 has quit [Ping timeout: 480 seconds]
19:40fny[m] has left #asahi [#asahi]
19:49Glanzmannm2 xorg and dmesg output from debian: https://tg.st/u/dmesg.txt https://tg.st/u/Xorg.0.log
19:51LaurentiuCosma[m] has quit [Quit: Client limit exceeded: 20000]
19:58GlanzmannI try the 4k patch and let you know the results. Takes a lot of time, because I need to compile it.
20:02thevar1able1 has joined #asahi
20:02thevar1a- has quit []
20:04joske has joined #asahi
20:04joske has quit []
20:05MrGigio has quit [Read error: Connection reset by peer]
20:21mini0n has quit [Read error: Connection reset by peer]
20:25jannauwith glamor disabled (https://wiki.raptorcs.com/wiki/Troubleshooting/GPU#Xorg_crashes_or_is_laggy_with_the_AST_VGA_GPU) Xorg starts but I get a "oh no! something has gone wrong" screen
20:31jannaume, only thing which looked fishy to me is that prvious frame made the call via 'blr x1' but x1 was not anywhere near pc
20:36svenmaybe this is finally a good excuse to actually understand how this pointer authentication business works
20:39qyousef has quit [Quit: WeeChat 2.8]
20:41GlanzmannDebian users: m2 work out of the box. Fedora users: grubby --update-kernel=ALL 'arm64.nobti arm64.nopauth'
20:43sveni just don’t like calling something a fix when we don’t even truly understand the root cause yet
20:44kettenisso fedora is shipping xorg compiled with bti/pauth enabled but mesa with bti/pauth disabled?
20:47Lucy[m]1 has quit [Quit: Client limit exceeded: 20000]
20:53akira128 has joined #asahi
20:54akira128 has quit []
20:54GlanzmannNo more upstreaming issues, upstream will upstream itself or shame that it is not already upstreamed will upstream it.
20:54leif has joined #asahi
21:02jannaushouldn't bti be reported in cpuinfo's flags on a BTI enabled kernel. it doesn't on m1 or m2
21:04lemonsus[m] has quit [Quit: Client limit exceeded: 20000]
21:06j`eyit was in Glanzman's dmesg "[ 0.000000] CPU features: detected: Branch Target Identification
21:08jannauwith arm64.nobti it's of course missing. if m1 doesn't has it that would at least explain why m1 machines where working
21:11Glanzmannjannau: So BTI must be compiled in the binary. But xorg jumps somewhere it should branch, doesn't it?
21:13GlanzmannThere is another feature which only m2 has: +CPU features: detected: Enhanced Counter Virtualization
21:14j`eybecause https://kojipkgs.fedoraproject.org//packages/mesa-libGLU/9.0.1/5.fc35/data/logs/aarch64/build.log seems to have -mbranch-protection=standard
21:20jannauhttps://kojipkgs.fedoraproject.org/packages/mesa/22.1.4/2.fc36/data/logs/aarch64/build.log should be correct package which has -mbranch-protection=standard as well
21:21j`eyok thanks, I used https://packages.fedoraproject.org/search?query=mesa but it didnt show that one
21:42GlanzmannThat is true, but enough to onboard upstream. And now that we know what triggers it, easier to isolate and fix. I'm eager to hear the end of the story.
21:48jannauare there already other CPU cores with bti? should be every armv8.5 or armv9 core, I guess nobody is running fedora on cortex-x2/a710/a510 phones
21:49Glanzmannjannau: One last question, before I go sleeping. My friend with the m2 air tried to do a right click but was unable to do so. Have you managed on a m2 device to do a right-click (two fingers) or middle-click (three fingers). We connected an external usb mouse as workaround.
21:53qyousef has joined #asahi
21:53Glanzmannjannau: This was on Debian testing with m2 air and a 4k-iommu kernel. x worked. We used a minimal environment: apt-get install lightdm blackbox xterm firefox-esr big-cursor; startx
21:54leif has quit [Quit: Leaving]
21:54Glanzmannjannau: I see, let me check on m1 air using the same setup if right click works for me, but I already know the answer because I use all the time, but will double check.
21:56GlanzmannWe tried two and three finders. and shift-click no dice. But that was on Debian, not fedora.
22:02Glanzmannjannau: Just tested with the exact same config on the m1, there the right-click works. On the m2 it did not. Will verify myself once I'm in front of the machine on Saturday.
22:02GlanzmannMy friends lives in Stuttgart, I'm in Nuremberg. So we did a phone and reverse tunnel ssh session ...
22:16qyousef has quit [Quit: Updating details, brb]
22:16qyousef has joined #asahi