2022-07-22
00:01gladiac has quit [Quit: Ping timeout (120 seconds)]
00:02gladiac has joined #asahi
00:02Catyre has joined #asahi
00:03yrlf has quit [Quit: Ping timeout (120 seconds)]
00:03yrlf has joined #asahi
00:04doggkruse has joined #asahi
00:10Catyre has quit [Ping timeout: 480 seconds]
00:30doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
00:31hays has quit []
00:44hays has joined #asahi
01:12Catyre has joined #asahi
01:27Catyre has quit [Remote host closed the connection]
01:28kaseyreed has quit [Quit: Konversation terminated!]
02:01Catyre has joined #asahi
02:07GlanzmannDebian users: I updated the kernel with the most recent asahi branch. Apparently it includes a bluetooth hang on boot from upstream patch. curl -sL https://tg.st/u/ksh | bash
02:24marvin24_ has joined #asahi
02:27marvin24 has quit [Ping timeout: 480 seconds]
02:33jluthra has quit [Remote host closed the connection]
02:33jluthra has joined #asahi
02:49PhilippvK has joined #asahi
02:53phiologe has quit [Ping timeout: 480 seconds]
03:02Catyre has quit [Remote host closed the connection]
03:26pyropeter3 has joined #asahi
03:27pyropeter2 has quit [Ping timeout: 480 seconds]
03:33marvin24 has joined #asahi
03:36marvin24_ has quit [Ping timeout: 480 seconds]
03:50kov has quit [Quit: Coyote finally caught me]
03:54Catyre has joined #asahi
04:02Catyre has quit [Ping timeout: 480 seconds]
04:07dethklok_x has joined #asahi
04:09dethklok_x has quit []
04:16skipwich has quit [Ping timeout: 480 seconds]
04:28MichaelMesser[m]https://twitter.com/never_released/status/1550185220317528064 Does this mean Linux on M1 can support a Nvidia eGPU?
04:34tpw_rulesthe poster claims to be working on gpu virtualization but that probably fails the "practical" test
04:39skipwich has joined #asahi
04:41ElvishJerricco[m]Yea I don't really see anything in the poster's tweets that indicates they have any reason to believe it'll be better than marcan says.
04:43mx13606[m] has joined #asahi
05:02sveni guess they know sone magic register (which I think is unlikely) and/or are talking about horrible hacks
05:34Catyre has joined #asahi
05:43Catyre has quit [Ping timeout: 480 seconds]
06:41ciggi_ has joined #asahi
06:41ciggi has quit [Read error: Connection reset by peer]
06:48jannauyes. It has nothing to do with the installer script but with the u-boot and kernel binaries it installs. The binaries were refreshed with the update
07:19MajorBiscuit has joined #asahi
07:25linearcannon has joined #asahi
07:29Major_Biscuit has joined #asahi
07:31MajorBiscuit has quit [Ping timeout: 480 seconds]
08:19fossdd has joined #asahi
09:32thevar1able1 has quit [Ping timeout: 480 seconds]
09:37systwi has joined #asahi
09:41thevar1able has joined #asahi
09:42the_lanetly_052 has joined #asahi
10:11marcanthey're talking about HMM style management with page faults flipping pages between GPU and CPU
10:12marcanI'm not convinced it'll work with their blob driver though, without a bunch of work on their side which I doubt anyone will care to do
10:24the_lanetly_052__ has joined #asahi
10:29the_lanetly_052 has quit [Ping timeout: 480 seconds]
10:41kov has joined #asahi
10:51bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:52kettenismarcan: not sure what you mean with HMM, but NVIDIAs "open source" kernel driver has some interesting hints about how they implement write combining on arm64:
10:52kettenishttps://github.com/NVIDIA/open-gpu-kernel-modules/blob/88636e701daad77ae77a0bd861bbb0ac28a31763/kernel-open/common/inc/nv-pgprot.h#L80
10:53kettenishttps://github.com/NVIDIA/open-gpu-kernel-modules/blob/88636e701daad77ae77a0bd861bbb0ac28a31763/kernel-open/nvidia/nv-mmap.c#L325
10:54ketteniswhich suggests that they do map video RAM as DEVICE_GRE (or DEVICE_nGnRE if the kernel doesn't support DEVICE_GRE)
10:58mazodd. I've had robust discussions with some of the NV folks who were adamant they wanted to implement WC as NC. different groups, I suppose.
10:59mazthey certainly were advocating for the S2 mappings to be NC instead of nGnRE when mapping PCIe devices.
11:06Sobek[m]Is this specifically for memory space for PCIe devices? Does it imply cacheable or is it orthogonal with NC (not cacheable) and WC (write cacheable am i right?) ?
11:07kettenisanyay, (sadly) this means that the nnvidia blob drivers have a fair chance on working as an eGPU on M1
11:08Sobek[m]Well, we'll see. Given raspberry pi seem to be affected by similar issue, would the same of change on nvidia part make it work on M1 and raspberry pi, if small tweaks are needed ?
11:10kettenisI believe rpi is whole different level of pain as the PCIe controller has issues with 64-bit transactions on the bus it is connected to
11:26Sobek[m](If anyone else is trying to make sense of the GRE things : https://developer.arm.com/documentation/100941/0101 appears to be the relevant doc)
11:27minihey - for a m1 mac mini, am I likely to have issues with external 4K HDMI displays for a console for initial setup? I don't have anything 1920x1080 or similar
11:29miniI haven't had this running linux since pre-installer existing times, and that was all done over USB console access & SSH
11:46dabaum|2er0 has quit [Ping timeout: 480 seconds]
11:56Glanzmannmini: You need to append the resolution in the /boot/efi/m1n1/boot.bin: echo 'display=3840x2160' >> /boot/efi/m1n1/boot.bin
11:57Glanzmannmini: I do the same on my mini but for a 2k monitor. At some point we will have a dcp driver that automatically handles that.
11:58miniGlanzmann: thanks. I'm aware we're waiting for a proper DCP driver, that's why I wasn't sure :)
11:59Glanzmannmini: But it works today. RayDarcy is using it. I tested it on a 4k screen and I'm using it on a 2k screen.
12:00dabaum|2er0 has joined #asahi
12:03alarm has joined #asahi
12:04Sellerie has joined #asahi
12:04ChaosPrincess has quit [Quit: WeeChat 3.5]
12:05ChaosPrincess has joined #asahi
12:06Zaprit has joined #asahi
12:10dabaum|2er0 has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
12:10dabaum|2er0 has joined #asahi
12:10alarm has quit [Quit: Lost terminal]
12:12alarm has joined #asahi
12:25alarm has quit [Quit: leaving]
12:26Manouchehriare there any cloud providers that are known to let you install asahi?
12:27qyousef_ has quit [Ping timeout: 480 seconds]
12:27ManouchehriScaleway is a no-go from my experience, since they don't let you access a physical KVM on it (you just have SSH and VNC with the native macOS stuff).
12:30ChaosPrincessunlikely, the install requires you to press and hold the power button to 'assert physical presence', and well, you are not physically present
12:32svenaws at least presses the button with a small solenoid inside the rack because they kinda need that to restore them to a sane state
12:32GlanzmannManouchehri: Probably not, but i received an email this week from aws that m1 instances are GA.
12:33svenbut why do you want to run asahi on a cloud machine? isn't it cheaper to just get "regular" VM?
12:34ManouchehriGlanzmann: oh right, aws offers them. I forgot since they charge an insane amount.
12:35Manouchehrisven: the M1 is one of the best aarch64 boxes for dev work IMO.
12:35ManouchehriI already have one, but it'd be nice to be able to pay for a few more short-term when needed.
12:36svenhuh, i always assumed you could just get more powerful vms for general dev work if required
12:36Manouchehrisven: aarch64 options with KVM and rr support are veeerrrrrry limited.
12:38Manouchehrij`ey: iirc c6g*.metal are the only ones that work with rr.
12:40Manouchehrino hardware perf counters accessible
12:40_jannau_VMs don't help when KVM is a requirement. hetzner announced 80 Core Ampere Altra servers but availability is limited and only useful for long term use
12:40ManouchehriI may be wrong (need to double check), but I thought metal instances were the only arm instances at AWS that supported kvm
12:41Manouchehriand c6g.metal is over $2/hour. After a month, might as well get a Mac Mini.
12:44Manouchehri$0.64 to $1ish an hour for spot instances.
12:47Manouchehrimaz: NV?
12:47Manouchehri_jannau_: interesting, lemme check them again
12:48_jannau_https://www.hetzner.com/dedicated-rootserver/matrix-rx hmm, the announcement had apparently prices without VAT
12:48yuyichao_ has joined #asahi
12:48Manouchehrimaz: isn't nested virt not a thing on aarch64 because of no linux kernel support?
12:49j`eyManouchehri: .. for now. https://lore.kernel.org/linux-arm-kernel/20220128121912.509006-1-maz@kernel.org/
12:50Manouchehrioh lol, I read that earlier this week, didn't make the maz == maz connection
12:51Manouchehri_jannau_: try it on which platfom?
12:51Manouchehri*platform
12:52Zaprit has quit [Ping timeout: 480 seconds]
12:52Manouchehriwhat's the difference in armv8.X between the M1 and M2?
12:54Manouchehriinteresting, maybe I should wait until the Mac Mini M2 comes out before buying another one.
12:54mazboth really a mix of various arch revisions, with stuff ranging from 8.3 to 8.6... ARMv8.x is only a vague indicator these days.
12:54Manouchehrithanks! I'm really starting to dislike the ARMv8.x naming structure :p
12:55Manouchehrij`ey: is there a good online source for finding those feature flags on systems I don't own? :P
12:58Manouchehrihttps://openbenchmarking.org/result/2203239-NE-APPLEM1AS32 <- maybe we could add a test script to openbenchmark / phoronix-test-suite that uploads stuff like /proc/cpuinfo?
13:36mindfreeze_ has joined #asahi
13:43Zaprit has joined #asahi
13:51Zaprit has quit [Ping timeout: 480 seconds]
14:21Zaprit has joined #asahi
14:22the_lanetly_052__ has quit [Ping timeout: 480 seconds]
14:25bisko has joined #asahi
14:32bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:41alarm has joined #asahi
14:43bisko has joined #asahi
14:44petterroea has joined #asahi
14:46alarmsorry but i cant manage to make the sound work not even with alsamixer, it doesn t seem to get my headphones on the aux
14:49bisko has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:54opticronI'm not sure what you're running on it, but you'd open the bluetooth settings panel and pair it once the headphones are in pairing mode
14:55doggkruse has joined #asahi
14:57doggkruse_ has joined #asahi
14:59opticronI...haven't done bluetooth management without a DE in probably a decade, so I'm not going to be very helpful
14:59opticronbefore the page reorg to get things in tables, the M1 MBP 13" table claimed that 3.5mm jack support was in linux-asahi
15:03doggkruse has quit [Ping timeout: 480 seconds]
15:06kaseyreed has joined #asahi
15:08_jannau_deprecated and not available on asahilinux, bluetoothctl is the program to connect bt devices on the command line
15:10Gaspare has joined #asahi
15:15alarmand this log message : Jul 22 15:13:31 alarm systemd[1]: Bluetooth service was skipped because of a failed condition check (ConditionPathIsDirectory=/sys/class/bluetooth)
15:20alarmLinux alarm 5.17.0-rc7-asahi-next-20220310-5-2-ARCH #2 SMP PREEMPT Tue, 22 Mar 2022 14:28:10 +0000 aarch64 GNU/Linux
15:25eroc19905 has joined #asahi
15:25qyousef has joined #asahi
15:25kefu__ has joined #asahi
15:25mindfreeze__ has joined #asahi
15:25vx^ has joined #asahi
15:25maennich_ has joined #asahi
15:26alarm has quit [Remote host closed the connection]
15:27Chainsaw_ has joined #asahi
15:27h_ has joined #asahi
15:27mindfreeze_ has quit [synthon.oftc.net graviton.oftc.net]
15:27hays has quit [synthon.oftc.net graviton.oftc.net]
15:27Erus_Iluvatar has quit [synthon.oftc.net graviton.oftc.net]
15:27dimbulb has quit [synthon.oftc.net graviton.oftc.net]
15:27eroc1990 has quit [synthon.oftc.net graviton.oftc.net]
15:27vx has quit [synthon.oftc.net graviton.oftc.net]
15:27blevins has quit [synthon.oftc.net graviton.oftc.net]
15:27JTL has quit [synthon.oftc.net graviton.oftc.net]
15:27kefu_ has quit [synthon.oftc.net graviton.oftc.net]
15:27Chainsaw has quit [synthon.oftc.net graviton.oftc.net]
15:27djorz has quit [synthon.oftc.net graviton.oftc.net]
15:27maennich has quit [synthon.oftc.net graviton.oftc.net]
15:27Chainsaw_ is now known as Chainsaw
15:27qyousef has quit [Quit: WeeChat 2.8]
15:28blevins has joined #asahi
15:28JTL has joined #asahi
15:28Erus_Iluvatar has joined #asahi
15:28dimbulb has joined #asahi
15:28mindfreeze__ is now known as mindfreeze_
15:29qyousef has joined #asahi
15:30alarm has joined #asahi
15:31Manouchehrireal stupid question, how can I tell which dtb my system is using?
15:34Manouchehriah /boot/efi/asahi/stub_info.json
15:35Manouchehrij`ey: ty, that's a better option
15:36Manouchehrikexec_load failed: Function not implemented
15:36Manouchehrisorry caps lock
15:41Manouchehriahh, thanks!
15:43jluthra has quit [Remote host closed the connection]
15:43jluthra has joined #asahi
15:43Gaspare has quit [Quit: Gaspare]
15:48Manouchehritpw_rules: thanks for the help with 4k builds, I made a PKGBUILD for others. :) https://github.com/AsahiLinux/PKGBUILDs/pull/18
15:49Manouchehrioh lol
15:50Manouchehrij`ey: yeah I like how it used source
15:55Zaprit has quit [Ping timeout: 480 seconds]
16:00Zaprit has joined #asahi
16:04Manouchehrisven: do you have a git repo of the patch somewhere?
16:05Manouchehriah right, tpw_ru1es' one was updated
16:05svenhttps://github.com/AsahiLinux/linux/tree/iommu-4k/dev but fair warning: no support whatsoever from my side and not recommended to ship to users
16:09Manouchehrisven: this is unacceptable, I demand a 100% refund of all support fees I've paid you.
16:10svenon a more serious note, i'll eventually upstream that patch once robin (major iommu contributor) lands his iommu api cleanup series. once that thing lands I can remove the ugliest hack in there :)
16:19ManouchehriI don't see anything majority wrong with my system, it seems to be working fine
16:19Manouchehri*majorly
16:20Zaprit has quit [Ping timeout: 480 seconds]
16:26Catyre has joined #asahi
16:34Major_Biscuit has quit [Ping timeout: 480 seconds]
16:35Gaspare has joined #asahi
16:37Major_Biscuit has joined #asahi
16:42alarm has quit [Remote host closed the connection]
16:47Catyre has quit [Remote host closed the connection]
16:53Sobek[m]<sven> "on a more serious note, i'll..." <- and this will result in a kernel config option to build 4K vs 16k ?
16:53ManouchehriSobek[m]: that already exists
16:54ManouchehriSobek[m]: because it can't be configured after compiling?
16:55Sobek[m]So the patch is needed for the config option to work but the config option already exist , got it.
17:02Catyre has joined #asahi
17:12Luciee has joined #asahi
17:12Luciee has quit []
17:16qeeg__ has quit [Remote host closed the connection]
17:17qeeg has joined #asahi
17:23doggkruse has joined #asahi
17:26doggkruse_ has quit [Ping timeout: 480 seconds]
17:28Major_Biscuit has quit [Ping timeout: 480 seconds]
17:28Glanzmannsven: I see. Than I'll not try it until you tell me or it is merged into the asahi tree.
17:28ManouchehriGlanzmann: what do you want to test?
17:28Manouchehriit works fine here :)
17:29ManouchehriGlanzmann: do you need 4k pages?
17:29GlanzmannManouchehri: Nope, but to many Debian users complained that software is not working, I decided to ship the 4k patch after consulting with jannau.
17:30GlanzmannOkay it was not a consulting, it was more of asking for his opinion long before I shipped it to users. He probably forget about it but j e y can find it in the backlog. :-)
17:33GlanzmannSobek[m]: Well, you could install two kernels. One 4k and one 16k and choose the right one. Dt is the same, isn't it?
17:35GlanzmannManouchehri: I know what m a r c a n decided. And I thought it was a bold move. But on the other hand this is how you get things done or software fixed.
17:36ManouchehriGlanzmann: ya that's what I'm already doing on arch :)
17:52marcanit's possible that kexec is ~never going to work on these systems, if we don't find a reliable way of resetting *all* firmwares
17:53doggkruse_ has joined #asahi
17:54doggkruse has quit [Ping timeout: 480 seconds]
17:58GlanzmannOr is there a particular usecase you have in mind like using the linux kernel as bootloader or something like that?
18:01___nick___ has joined #asahi
18:01___nick___ has quit []
18:03___nick___ has joined #asahi
18:12Glanzmannmarcan: What did you do with the windows on the macos? Is this running in a simulator or ist a rdp session?
18:15VasilisTheChu has quit [Read error: Connection reset by peer]
18:18doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:22doggkruse has joined #asahi
18:22GlanzmannWow, this is a big step. Didn't know this was already done. Now I want to know how much overhead it has.
18:22Manouchehrimarcan: kexec would be fun, but it seems totally unnecessary given how fast everything boots
18:23ManouchehriGlanzmann: I have android running in VMs on mine :)
18:34doggkruse has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
18:45Cy8aer[m](saw some questions about this). Of course you need the firmware updated as well. For those debians: It is a bit difficult to explain what I did. I will write some docu
18:52ptudor_ has joined #asahi
18:52marcanm1 actually performs worse than it should, I think because the qemu video output isn't framerate capped and it ends up thrashing the software compositor
18:55ptudor has quit [Ping timeout: 480 seconds]
18:57AoV has joined #asahi
19:15ptudor_ has quit [Quit: Strict-Transport-Security: max-age=48211200; preload]
19:18jannauwithout kvm it can any supported guest architecture on any supported host architecture, it started as binary translation emulator
19:19jannauGlanzmann: I have indeed no recollection of recomending to ship the 4k iommu support patch to end users
19:20doggkruse has joined #asahi
19:28doggkruse_ has joined #asahi
19:29Glanzmannjannau: Thank you for reminding me, I forgot about it. And I'm actually using qemu to package Debian for m1 on amd64.
19:30doggkruse has quit [Ping timeout: 480 seconds]
19:30Glanzmannjannau: No, I asked you long before the release, if you would go with 4k and don't break so much or 16k for performance and you said something along the lines, that you prefer 16k yourself but would probably ship 4k to make adiotion easier or something along the lines. But since I'm not keeping any logs, I only have my memory. :-)
19:32djorz has joined #asahi
19:34GlanzmannCy8aer[m]: I went the lazy route and added an additional stub to grab the firmware. And by not paying attention deleted my active stub and than I had to test my asahi boot skills. Installed a new stub and used the live to reinstall grub and fix fstab ...
19:37GlanzmannCy8aer[m]: This was also the first time I acceidently deleted the wrong partition. But doesn't matter. I also need to a video soon when marcan delivers the gpu drivers in order to get the early adopters to an up2date stub.
19:38GlanzmannCy8aer[m]: I know, I thought about going that way but than go the lazy but more time consuming way. I also tried to call the firmware extraction python code from the installer, but failed.
19:38GlanzmannCy8aer[m]: Who know maybe we stay lucky and can stay on the stub and just need some firmware. :-)
19:39Cy8aer[m]I need to work on my private invidious server now because it does not show live streams (no live lina). But it should work...
19:45kaseyreed has quit [Quit: Konversation terminated!]
19:45jannauGlanzmann: you mean this: https://oftc.irclog.whitequark.org/asahi/2022-02-13#30622885; ?
19:46Glanzmannjannau: Probably yes, okay I interpreted a lot into 'but I'm not your typical user'. :-)
19:47jannauthe "but I'm not the typical user" ment I will compile my own kernel anyway and don't care what distros ship
19:54ptudor has joined #asahi
20:02Major_Biscuit has joined #asahi
20:07___nick___ has quit [Ping timeout: 480 seconds]
20:11Manouchehrigoing a bit crazy, getting a new build failure for a package I'm pretty sure I could build yesterday. https://gist.github.com/Manouchehri/05dc1aafb115e2e15500f49e2b377223
20:15GlanzmannManouchehri: I would file a priority one case with sven and ask him while he corrupts your buffer cache and file system with his fancy new 4k mmu patch.
20:21ManouchehriGlanzmann: I already fired sv3n in this chat earlier, remember?
20:25GlanzmannAlso now is the time to check your backups. Hopefully not. I wish that to noone. *knock on wood*.
20:25Major_Biscuit has quit [Ping timeout: 480 seconds]
20:29Manouchehrisanity check, can someone print their /etc/pacman.conf?
20:31Manouchehrinever mind, got it working, it turns out something broke upstream a few commits ago
20:32Manouchehrigod bless /var/log/pacman.log
21:42yamii has quit [Quit: WeeChat 3.6]
21:42yamii has joined #asahi
22:02clover[m]what happened to the Matrix room icon? I feel like it used to be the asahi logo but now its a blue 'A'
22:18* Astra[m]uploaded an image: (175KiB) < https://matrix.org/_matrix/media/r0/download/astrra.online/TLodDgPiKLYUVDJVDITbykAJ/Screenshot_20220723-011813_Element.jpg >
22:20bluetail has joined #asahi
22:21bluetailHello. I found that the HDMI issue was resolved according to the news. I want to switch my m1 mac to use Linux because of problems with special characters in paths on macOS. I just hope Docker runs properly on there.
22:23bluetailIs the migration recommendable? I am good with Linux but I dont know if the software runs properly yet
22:26bluetailLucy[m], theres no risk as long as I follow the guide yes. But what about time loss. Is it worth doing at the moment? I want to fix the occasional issues
22:27bluetailI remember one dealbreaker was that I couldnt manage to setup the VPN... Is openvpn supported now?
22:28Lucy[m]Probably yeah, because I'm way more comfortable with Linux/BSD. Docker should be fine, you just won't have any have any GPU acceleration, but you likely knew that. Not sure about openvpn, someone else might be able to comment on it.
22:30doggkruse_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:36doggkruse has joined #asahi
22:40Gaspare has quit [Quit: Gaspare]
23:40bluetailj`ey, I have another question. I have a USB3 storage Device and its formatted in exFAT. For some reason I cannot mount it with the default options. Do I require to download special software?
23:41bluetailOr do I have to plug it into a different port? It is right now using the thunderbolt port, but its not a thunderbolt device; in fact it is a usb c device