2022-11-01
00:02thelounge7571340 has joined #asahi
00:02thelounge7571340 has quit [Remote host closed the connection]
00:08unicordian has joined #asahi
00:15Etrien__ has joined #asahi
00:19Etrien has quit [Ping timeout: 480 seconds]
00:54Core1050 has joined #asahi
00:58DarkShadow4444 has quit [Remote host closed the connection]
01:01Core9066 has quit [Ping timeout: 480 seconds]
01:04thelounge7571340 has joined #asahi
01:05thelounge7571340 has quit [Remote host closed the connection]
01:47unicordian has quit [Read error: Connection reset by peer]
01:48unicordian has joined #asahi
01:56Dcow_ has quit [Remote host closed the connection]
02:07thelounge7571340 has joined #asahi
02:07thelounge7571340 has quit [Remote host closed the connection]
02:09unicordian has quit [Ping timeout: 480 seconds]
02:09unicordian has joined #asahi
02:10Dcow has joined #asahi
02:19Dcow has quit [Ping timeout: 480 seconds]
02:39riker77 has quit [Ping timeout: 480 seconds]
02:39riker77 has joined #asahi
02:47babble has joined #asahi
02:57babble has quit [Read error: Connection reset by peer]
03:16Stroller has quit [Quit: Stroller]
03:17Stroller has joined #asahi
03:18Stroller has quit []
03:20thelounge7571340 has joined #asahi
03:21thelounge7571340 has quit [Remote host closed the connection]
04:27marvin24_ has joined #asahi
04:28thelounge7571340 has joined #asahi
04:28thelounge7571340 has quit [Remote host closed the connection]
04:30marvin24 has quit [Ping timeout: 480 seconds]
04:33unicordian has quit [Read error: Connection reset by peer]
04:33unicordian has joined #asahi
05:14SSJ_GZ has joined #asahi
05:29kefu has quit [Quit: ciao]
05:30Method_ has quit [Remote host closed the connection]
05:30Method has joined #asahi
05:32kefu_ has joined #asahi
05:34thelounge7571340 has joined #asahi
05:35thelounge7571340 has quit [Remote host closed the connection]
05:51romeoparadis has joined #asahi
05:52romeoparadis has left #asahi [#asahi]
05:54hippo2012 has joined #asahi
05:55hippo2012 has left #asahi [#asahi]
05:55hippo2012 has joined #asahi
05:56hippo2012 has left #asahi [#asahi]
05:57hippo2012 has joined #asahi
05:57hippo2012 has left #asahi [#asahi]
05:58hippo2012 has joined #asahi
05:59marvin24 has joined #asahi
06:03marvin24_ has quit [Ping timeout: 480 seconds]
06:03hippo2012 has quit [Quit: Leaving.]
06:04hippo2012 has joined #asahi
06:09hippo2012 has quit [Quit: Leaving.]
06:19nicolas17 has quit [Quit: Konversation terminated!]
06:21chadmed has quit [Quit: Konversation terminated!]
06:28chadmed has joined #asahi
06:39rvalue has quit [Remote host closed the connection]
06:40rvalue has joined #asahi
06:40thelounge7571340 has joined #asahi
06:41thelounge7571340 has quit [Remote host closed the connection]
06:52VinDuv has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
07:04unicordian has quit [Ping timeout: 480 seconds]
07:04unicordian has joined #asahi
07:23kwilczynski has left #asahi [#asahi]
07:30Etrien__ has quit [Read error: Connection reset by peer]
07:30Etrien has joined #asahi
07:47thelounge7571340 has joined #asahi
07:47thelounge7571340 has quit [Remote host closed the connection]
07:50amarioguy2 has joined #asahi
07:52jjido has joined #asahi
08:49thelounge7571340 has joined #asahi
08:49thelounge7571340 has quit [Remote host closed the connection]
08:55codingkoopa9 has quit []
08:55mrkajetanp has quit [Remote host closed the connection]
08:55codingkoopa9 has joined #asahi
09:14jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
09:46Dcow has joined #asahi
09:48chengsun has joined #asahi
09:48ihaveamac has quit [Quit: fail]
09:50ihaveamac has joined #asahi
09:51thelounge7571340 has joined #asahi
09:52thelounge7571340 has quit [Remote host closed the connection]
09:54Dcow has quit [Ping timeout: 480 seconds]
09:56chengsun has quit [Ping timeout: 480 seconds]
09:56amarioguy2 has quit [Ping timeout: 480 seconds]
10:01duban6 has quit []
10:02duban6 has joined #asahi
10:05WhyNotHugo`wlan0` isn't showing up any more after updating to latest kernel. dmesg shows "brcmfmac 0000:01:00.0: Direct firmware load for brcm/brcmfmac4378b1-pcie.apple... failed with error -2".
10:05chengsun has joined #asahi
10:07j`eyWhyNotHugo: those error messages are normal, do you see any more brcmfmac messages after that?
10:07amarioguy2 has joined #asahi
10:08j`ey(the way the firmware loading works is that it searches from specific to generic, for the fw files, so it 'fails' to find some and prints that error, but it's usually harmless)
10:13chengsun has quit [Ping timeout: 480 seconds]
10:15amarioguy2 has quit [Remote host closed the connection]
10:18chengsun has joined #asahi
10:19rayanamukami34 has joined #asahi
10:25rayanamukami3 has quit [Ping timeout: 480 seconds]
10:25rayanamukami34 is now known as rayanamukami3
10:26Dcow has joined #asahi
10:30WhyNotHugoAfter that hci_bcm4377 prints in red "Unable to load firmware; tried brcm/brcmbt43..." (it shows two paths).
10:30WhyNotHugoprobe of 0000:01:00.1 failed with error -2
10:33WhyNotHugoI have no internet on the device... gimme a few minutes to copy it out
10:34Dcow has quit [Ping timeout: 480 seconds]
10:55thelounge7571340 has joined #asahi
10:55thelounge7571340 has quit [Remote host closed the connection]
11:51grange_c has joined #asahi
11:53jjido has joined #asahi
12:00Core9066 has joined #asahi
12:01thelounge7571340 has joined #asahi
12:02thelounge7571340 has quit [Remote host closed the connection]
12:07Core1050 has quit [Ping timeout: 480 seconds]
12:08Dcow has joined #asahi
12:08Dcow has quit [Remote host closed the connection]
12:08Dcow has joined #asahi
12:09jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
12:11eroux has quit [Read error: Connection reset by peer]
12:11WhyNotHugoj`ey: ^
12:12eroux has joined #asahi
12:19eroc1990 has quit [Quit: The Lounge - https://thelounge.chat]
12:20eroc1990 has joined #asahi
12:25systwi has quit [Read error: Connection reset by peer]
12:25systwi has joined #asahi
12:38WhyNotHugoThese are the files in /lib/firmware/brcm: https://paste.sr.ht/~whynothugo/eb38ce94952110aed4e9ad7c97bb8c55e0102425
12:38WhyNotHugoThere's none that matches brcmfmac4378
12:39rvalue- has joined #asahi
12:40rvalue has quit [Read error: Connection reset by peer]
12:46WhyNotHugoWhich package should provide that? Yeah, I'm using asahi. With another bootloader, but still asahi.
12:47WhyNotHugopacman -Syu
12:47WhyNotHugoWhich package should provide the missing files?
12:48WhyNotHugoCan you do pacman -Qo /lib/firmware/... ?
12:48j`eyhttps://github.com/AsahiLinux/asahi-scripts/commit/6eb13495f71b1a39273ab00ecd2ba026f88cd4a5 for example
12:49Moprius has joined #asahi
12:50WhyNotHugoThe bootloader puts files inside /lib/firmware in the root partition?
12:51WhyNotHugoNo, I'm using systemd-boot (aka: gummyboot).
12:51WhyNotHugomkinitcpio -p linux-asahi
12:53WhyNotHugoThe new initramfs overwrites the previous one.
12:56WhyNotHugoyes, /proc/device-tree/chosen/asahi,efi-system-partitio exists and shows a uuid (ff94...)
12:56WhyNotHugoyes, /boot/vendorfw/firmware.cpio exists
12:56WhyNotHugoIt's a 16mb cpio archive
12:57WhyNotHugozcat prints -> cp -r /vendrfw/* /vendorfw/.vendorfw.manifest /new_root/lib/firmware/vendor
12:57WhyNotHugoYes, it is empty.
12:57WhyNotHugo(and empty directory)
12:58gladiac has joined #asahi
12:58WhyNotHugoefivar on /sys/firmware/efi/... (doesn't seem relevnat)
12:58WhyNotHugoJust that
12:59WhyNotHugoI'm using an encrypted root, could that mess up the copying process somehow?
13:00WhyNotHugoIf I copy /boot/vendorfw/* into /lib/firmware/vendor/, should it work all the same?
13:01balrog has quit [Ping timeout: 480 seconds]
13:01marcanyour setup is broken, don't break it further such that then you'll have problems down the road please
13:01WhyNotHugoI meant as a workaround tho, to at least get network on the device while debugging it
13:01WhyNotHugoOkay
13:02WhyNotHugoI'lll mount a tmpfs there
13:02marcanonce it's fixed you can umount the tmpfs after a regular boot (firmware will already be loaded anyway) and wipe it
13:05bcrumb has joined #asahi
13:06WhyNotHugoThere's no /boot/vendorfw/.vendorfw.manifest tho.
13:06thelounge7571340 has joined #asahi
13:07thelounge7571340 has quit [Remote host closed the connection]
13:07WhyNotHugoThat was my next question :)
13:08balrog has joined #asahi
13:12chengsun has quit [Ping timeout: 480 seconds]
13:12WhyNotHugoDoesn't this mean that the script exits if /boot/vendorfw exists? https://github.com/AsahiLinux/asahi-scripts/blob/c6dce3ddf4af34f72787e6e5a499b888ac9e80b8/initcpio/hooks/asahi#L5-L8
13:13WhyNotHugoOh, it's the run_latehook that matters here.
13:14chengsun has joined #asahi
13:15marcanI'm trying to figure out debugging, but I get the feeling rdlogger is kind of broken, so give me a sec
13:17WhyNotHugoNeither dmesg nor journalctl show any output that matches "Asahi". Pretty sure output from the hook should show up there.
13:17bcrumb_ has joined #asahi
13:18bestouff has quit [Ping timeout: 480 seconds]
13:19bestouff has joined #asahi
13:19amarioguy has quit [Quit: Leaving]
13:23bcrumb_anybody know how I can find out the exact specification of arm hardware on my device e.g. armv8 or something like that?
13:24bcrumb_ has quit [Quit: WeeChat 3.7.1]
13:24bcrumb has quit [Ping timeout: 480 seconds]
13:24bcrumb has joined #asahi
13:24WhyNotHugomarcan: I don't see that output tho. Nor anyting from the initramfs.
13:28Moprius has quit [Quit: bye]
13:34j`eyif it's some generic arm related thing, then yeah i guess it makes sense on the alarm forum
13:38Gaelan has quit [Quit: ZNC 1.8.2 - https://znc.in]
13:39Gaelan has joined #asahi
13:41WhyNotHugoStill nothing logged from the initramfs. Kernel command line: initrd=\initramfs-linux-asahi.img rw rd.log=kmsg printk.devkmsg=on
13:43marcanalso how does the initramfs know what your root device is supposed to be without a root= option?
13:43tired has quit [Quit: /]
13:44tired has joined #asahi
13:44Stroller has joined #asahi
13:47WhyNotHugoJust "Trying to unpack rootfs image as initramfs..."
13:47WhyNotHugocat /proc/cmdline is initrd=\initramfs-linux-asahi.img rw rd.log=kmsg printk.devkmsg=on
13:51WhyNotHugosystemd-boot finds the root partition based on its type UUID. https://systemd.io/DISCOVERABLE_PARTITIONS/
13:52vmeson has quit [Remote host closed the connection]
13:54vmeson has joined #asahi
14:04WhyNotHugoBasically, the partition type has the right UUID, so it's mounted as the rootfs
14:04marcanWhyNotHugo: I just tried systemd-boot (the EFI stub side) and the rd.log stuff works fine
14:06marcanand since the asahi hook should run before any systemd stuff, it not showing up doesn't make any sense to me
14:07marcaneither it's using another initramfs, or you are not using the base mkinitcpio scripts at all, or something
14:08thelounge7571340 has joined #asahi
14:08thelounge7571340 has quit [Remote host closed the connection]
14:10WhyNotHugoThe run_latehook runs _after_ systemd, right? Because systemd does the mounting of the rootfs.
14:12WhyNotHugodmesg says "[ 0.001098] ------------[ cut here ]------------"
14:12WhyNotHugoOh, it's not trimmed, there's an eror there. I think it's unrelated tho
14:13bcrumb has quit [Ping timeout: 480 seconds]
14:16WhyNotHugoNo entries
14:19kloenk has quit [Remote host closed the connection]
14:20kloenk has joined #asahi
14:20marcan"Other hooks with runtime components will need to be ported, and will not work as intended"
14:22yrlf has quit [Quit: The Lounge - https://thelounge.chat]
14:22WhyNotHugoThere's been discussion of deprecating the base hook IIRC
14:23WhyNotHugoBecause it duplicates everything the systemd hook provides.
14:23yrlf has joined #asahi
14:25WhyNotHugoHang on, systemd replace udev+usr+resume. "base" is still there.
14:25WhyNotHugoOh, the unit files needs to just mount the tmpfs and untar the stuff, right?
14:26WhyNotHugoYeah, I fear that's the hard part.
14:45asimpson has joined #asahi
14:53bluetail has joined #asahi
14:53Gaspare has joined #asahi
14:56Method is now known as Method_
15:10thelounge7571340 has joined #asahi
15:10thelounge7571340 has quit [Remote host closed the connection]
15:11nvflash has joined #asahi
15:13nvflashI can't seem to tell if IOMMU is enabled, I do get IOMMU grooups, but I can't bind vfio-pci to any devices, I just get an error type -22.
15:14nvflashIs there a kernel command line to add to GRUB to enable IOMMU for Arm64 like the one's for AMD and Intel?
15:15unicordian has quit [Read error: Connection reset by peer]
15:15unicordian has joined #asahi
15:17nvflashsudo dmesg | grep vfio [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-asahi root=UUID=1977b9ca-42c7-4d1e-b414-abd00f14503b rw loglevel=3 quiet vfio_iommu_type1.allow_unsafe_interrupts=1 [ 0.364284] vfio_pci: add [14e4:4425[ffffffff:ffffffff]] class 0x000000/00000000 [ 0.364287] vfio_pci: add [14e4:5f69[ffffffff:ffffffff]] class 0x000000/00000000 [ 0.651983] vfio-pci 0000:01:00.0: Add
15:18nvflashIOMMU Group 0 lspci: -s: Invalid slot number IOMMU Group 0 lspci: -s: Invalid slot number IOMMU Group 1 lspci: -s: Invalid slot number IOMMU Group 2 lspci: -s: Invalid slot number IOMMU Group 3 01:00.0 Network controller [0280]: Broadcom Inc. and subsidiaries BRCM4378 Wireless Network Adapter [14e4:4425] (rev 05) IOMMU Group 3 01:00.1 Network controller [0280]: Broadcom Inc. and subsidiaries Device [14e4:5f69] (r
15:22nvflash@sven Always enabled in firmware or Arm64 Linux kernels don't need a command line option to enable IOMMU for the kernel?
15:23Core8788 has joined #asahi
15:28Core9066 has quit [Ping timeout: 480 seconds]
15:31Core8788 has quit [Ping timeout: 480 seconds]
15:37nvflashYes, I black listed the drivers for both so they don't load, but I still get: vfio-pci: probe of 0000:01:00.0 failed with error -22
15:40nicolas17 has joined #asahi
15:47cylm has joined #asahi
15:49nvflashWhere is the right place to discuss it, IRC sucks because there is no way to format. How readable are logs without formatting?
15:55nvflashAnyway, back to the topic of PCI Passthough. I'd be interested to see IOMMU groups from AppleSoC Mac's people are using with Asahi. There is a simple shell script for this here:https://gist.github.com/wention/246fa902a93afff153b373cdce8c582d
15:56svenI can pretty much tell you the groups. WiFi/bt will be in one, usb will be another one and Ethernet will be third one for pci
15:59duban6 has quit []
16:03nvflashWell on the 2022 MBP M2 13" really only the wifi/bt get exposed as PCIE devices, but there is some interesting stuff in dmegs for iommu:sudo dmesg | grep iommu [sudo] password for jam: [ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-asahi root=UUID=1977b9ca-42c7-4d1e-b414-abd00f14503b rw loglevel=3 quiet vfio_iommu_type1.allow_unsafe_interrupts=1 [ 0.015862] iommu: Default domain type: Tran
16:06bluetail has quit [Ping timeout: 480 seconds]
16:11nvflashThat's why I'm interested in seeing the groups, to see what Mx Mac's expose what PCIE devices that could be used for PCI Passthrough. I assume the M1 Mini and the Apple Studio expose USB and Ethernet.
16:12Gaspare has quit [Quit: Gaspare]
16:13svenon these devices almost everything is behind an iommu and can theoretically pass through almost everything
16:13nvflashOn my MBP USB seems to get it's own groups but it's somehow part of the SoC "interconnect bus" rather than PCI?
16:13bluetail has joined #asahi
16:13WhyNotHugomarcan: Are you familiar with `bootctl --print-esp-path`?
16:15svenhdmi on some mbp or something is attached via type-c and unrelated to the dwc3 controller which does usb2/3
16:15svenon the mini hdmi is attached to the internal port that’s normally used for the built in display
16:17thelounge7571340 has joined #asahi
16:17thelounge7571340 has quit [Remote host closed the connection]
16:27bcrumb has joined #asahi
16:29bcrumbi posed in an issue that was mentioning encryption too so it would be nice if someone could add to wiki so ppl can see, probably under sw:distros
16:40zjstraus has joined #asahi
16:41nvflash has quit [Quit: Page closed]
16:42VinDuv has joined #asahi
16:46bcrumbanybody also possibly know a solution to this problem? i've redacted out asahi from that not to get booted on the arm forums because it's probably hardware agnostic - but if anyone can take a look would be cool
16:53bcrumb has quit [Quit: WeeChat 3.7.1]
17:06Gaspare has joined #asahi
17:13Graypup_ has quit [Quit: meow]
17:16Graypup_ has joined #asahi
17:19marcanyeah, it only looks for *an* ESP by looking at common mountpoints, so it's the vague equivalent of what I do in mount_boot_esp, but it's not mount_sys_esp (which is the more important one)
17:26eichin__ has quit [Ping timeout: 480 seconds]
17:26eichin__ has joined #asahi
17:27thelounge7571340 has joined #asahi
17:27taowa__ has quit [Ping timeout: 480 seconds]
17:27saintdev_ has quit [Ping timeout: 480 seconds]
17:27saintdev_ has joined #asahi
17:27thelounge7571340 has quit [Remote host closed the connection]
17:29daniels has quit [Ping timeout: 480 seconds]
17:29marcansven: there is an IOMMU but there is no interrupt remapping, or at least we don't expose it I think (maybe APCI could do it?), so all the vfio stuff will fail by default
17:30peac_ has quit [Ping timeout: 480 seconds]
17:30taowa__ has joined #asahi
17:30marcanvfio stuff is complicated, little chance it's going to magically work without someone spending time on it
17:31jbowen has quit [Ping timeout: 480 seconds]
17:31Puto has quit [Ping timeout: 480 seconds]
17:31jkkm has quit [Ping timeout: 480 seconds]
17:31rwxyz has joined #asahi
17:31_alice has quit [Ping timeout: 480 seconds]
17:31austriancoder has quit [Ping timeout: 480 seconds]
17:31mmarchini____ has quit [Ping timeout: 480 seconds]
17:31stblassitude has quit [Ping timeout: 480 seconds]
17:31rann has quit [Ping timeout: 480 seconds]
17:31Gaspare has quit [Quit: Gaspare]
17:32peac_ has joined #asahi
17:32daniels has joined #asahi
17:32Manouchehri has quit [Ping timeout: 480 seconds]
17:32NekomimiScience has quit [Ping timeout: 480 seconds]
17:33eric_engestrom has quit [Ping timeout: 480 seconds]
17:33austriancoder has joined #asahi
17:33rann has joined #asahi
17:33_alice has joined #asahi
17:33jbowen has joined #asahi
17:33jkkm has joined #asahi
17:34Puto has joined #asahi
17:34NekomimiScience has joined #asahi
17:34mmarchini____ has joined #asahi
17:34Manouchehri has joined #asahi
17:34stblassitude has joined #asahi
17:35eric_engestrom has joined #asahi
17:38Gaspare has joined #asahi
17:52calcium has joined #asahi
18:05millenialhacker has joined #asahi
18:07gaususerror: failed retrieving file 'libmm-glib-1.20.0-1-aarch64.pkg.tar.xz' from mirror.archlinuxarm.org : Failed to connect to gr.mirror.archlinuxarm.org port 80 after 76 ms: Connection refused
18:13balrog has quit [Quit: Bye]
18:21balrog has joined #asahi
18:21ChaosPrincessw.r.t nvram tooling - i have something sorta resembling the nvram and bless commands from macos, but it still needs an actual terminal ui and safety features so it is harder to destroy your nvram by accident
18:21mbilker has quit [Quit: Arch Linux Rules]
18:21balrog is now known as Guest175
18:24mbilker has joined #asahi
18:30thelounge7571340 has joined #asahi
18:31thelounge7571340 has quit [Remote host closed the connection]
18:32Gaspare has quit [Quit: Gaspare]
18:37Gaspare has joined #asahi
18:54Gaspare has quit [Quit: Gaspare]
18:54axboe has joined #asahi
19:00Gaspare has joined #asahi
19:00millenialhacker has quit [Quit: Konversation terminated!]
19:01millenialhacker has joined #asahi
19:02jannauaxboe: what's the issue with apple-drm? black screen at boot? did you update m1n1 to v1.1.7?
19:06jjido has joined #asahi
19:07millenialhacker has quit [Quit: Konversation terminated!]
19:08millenialhacker has joined #asahi
19:12unicordian has quit [Ping timeout: 480 seconds]
19:12Glanzmann has joined #asahi
19:14Glanzmannjannau: I used the DRM the last week, I see only one regression: Resizing windows with fvwm2 lags (with simpledrm the border of the window follows the mouse immediately). I work most of the time full screen or use key combinations for resizing windows, so it took a while until I noticed: https://tg.st/u/VID_20221101_201054073.mp4
19:16qyousef has quit [Ping timeout: 480 seconds]
19:16millenialhacker has quit [Quit: Konversation terminated!]
19:16unicordian has joined #asahi
19:16Puto has quit [Ping timeout: 480 seconds]
19:16jonmasters_ has quit [Ping timeout: 480 seconds]
19:16cptcobalt has quit [Ping timeout: 480 seconds]
19:16risk has quit [Ping timeout: 480 seconds]
19:16axboejannau: either boots into the login screen and stalls when I log in, or I just get a black screen once X starts
19:16maennich_ has quit [Ping timeout: 480 seconds]
19:17jlinton has quit [Ping timeout: 480 seconds]
19:17taowa__ has quit [Ping timeout: 480 seconds]
19:17sa1 has quit [Ping timeout: 480 seconds]
19:17snek has quit [Ping timeout: 480 seconds]
19:17aeroraptor has quit [Ping timeout: 480 seconds]
19:17msteffen has quit [Ping timeout: 480 seconds]
19:17esden has quit [Ping timeout: 480 seconds]
19:17sjg1 has quit [Ping timeout: 480 seconds]
19:17tardyp has quit [Ping timeout: 480 seconds]
19:17azenla has quit [Ping timeout: 480 seconds]
19:17jesse-s has quit [Ping timeout: 480 seconds]
19:17robher has quit [Ping timeout: 480 seconds]
19:17maennich_ has joined #asahi
19:18jonmasters_ has joined #asahi
19:18jbowen has quit [Ping timeout: 480 seconds]
19:18eta has quit [Ping timeout: 480 seconds]
19:18cptcobalt has joined #asahi
19:18Puto has joined #asahi
19:19qyousef has joined #asahi
19:19risk has joined #asahi
19:20jesse-s has joined #asahi
19:20msteffen has joined #asahi
19:20tardyp has joined #asahi
19:20snek has joined #asahi
19:20jbowen has joined #asahi
19:20azenla has joined #asahi
19:21jlinton has joined #asahi
19:21sa1 has joined #asahi
19:21aeroraptor has joined #asahi
19:21taowa__ has joined #asahi
19:21sjg1 has joined #asahi
19:21esden has joined #asahi
19:21robher has joined #asahi
19:22millenialhacker has joined #asahi
19:28eta has joined #asahi
19:28axboelet me know if you want dmesg or anything like that - there's a bunch of dcp/drm messages in there, above my pay grade
19:31millenialhacker has quit [Quit: Konversation terminated!]
19:32millenialhacker has joined #asahi
19:32axboeit's quite possible I'm missing something here (in terms of kernel config, or else), I haven't been following too closely... just enabled APPLE_DRM (and disabled SIMPLE_DRM) and ensured that m1n1 was updated
19:32jannauaxboe: yes, dmesg might be helpful. can you check /sys/kernel/debug/dri/[0-9]/state as well
19:36jannauaxboe: dmesg looks good, seems to be an issue between dcp and userspace. can you check if switching to vt results in a pickture?
19:37jannauunrelated, you seem to miss the pasemi i2c driver: that's the best explanation I have for "i2c 0-003f: deferred probe pending"
19:38thelounge7571340 has joined #asahi
19:38thelounge7571340 has quit [Remote host closed the connection]
19:40millenialhacker has quit [Quit: Konversation terminated!]
19:40millenialhacker has joined #asahi
19:42jannauaxboe: if possible post dri/x/state while the black screen is on. it displays the current working vt state
19:48bluetail has quit [Ping timeout: 480 seconds]
19:50axboejannau: dri state while either setting waiting on login or after having input credentials (no change between the tw0
19:54jannauthis seems to be a compatibility problem between userspace and apple drm. probably either a bug in apple drm or untypical behavior of apple drm
19:55axboexfce4 seems to sit in a loop of doing ppoll, timing out, and then attempting a recvmsg twice from the same fd (3, socket)
19:56jannauthe expected config for non-apple silicon specific distros would simpledrm built-in and all supported HW drivers as modules to avoid having very large kernel image
19:59jjido has quit [Quit: My laptop has gone to sleep. ZZZzzz…]
20:00Glanzmannaxboe: Here is my kernel config I'm running right now: https://tg.st/u/3007a82fe2f3ef7d91945e1cb3e5a167f8d6b0550ecb67850d1cd85f3efa112e.config
20:04Glanzmannaxboe: SO your symptoms are, you can see the kernel boot, you see lightdm login prompt and as soon as xfce starts it goes black?
20:05axboeGlanzmann: nope, as soon as X starts I either get a black screen (20%? of the time), or I get the login screen
20:06millenialhackermps, what sensors patch are you referring to?
20:07Glanzmannaxboe: Maybe try, blackbox, it is lightweight, you can open a terminal and go from there simliar to xfce4.
20:07millenialhackerOh, I thought you were referring to another one
20:08Glanzmannaxboe: I'm using fvwm since 1994. I have a lot of shortcuts hardcoded into my brain: https://pbot.rmdir.de/msT1fVlOsYFnx8NGyf239g
20:08millenialhackerI got a really weird behavior on my M1 MbP with Apple DRM, if I use XOrg/XServer, everything works but it's a little slow, however if I try to use Wayland, the desktop looks dark, really dark.
20:08millenialhackerHas anyone experience this problem before?
20:09millenialhackerI'm not sure if describe it as dark is the right way, sorry for my lack of vocabulary here, but I see the colors different like when you play with photoshop / gimp and you get a dark image when you play with brightness
20:09Glanzmannmillenialhacker: I only use x. I noticed that resizing windows with apple_drm is slow, everything else is fast for me including watching videos with mpv.
20:10millenialhackerYes, using KDE
20:10millenialhackerjannau, give me few minutes to try again, I was using RC2 and experienced the issue
20:10millenialhackerlet me try with RC3
20:10Glanzmannaxboe: Btw. If you reboot a lot and want to quickly login using lightdm, you can do the following: https://pbot.rmdir.de/LHXWVi8ri_yE47yoj7bPpQ
20:10millenialhacker has quit [Quit: Konversation terminated!]
20:11millenialhacker has joined #asahi
20:11millenialhacker has quit [Remote host closed the connection]
20:12millenialhacker has joined #asahi
20:12mps(when testing kernels and basic things I set boot to console only, and start xorg from cmdline, not autostart DM)
20:12millenialhackerjannau, you're right is now fixed in asahi-wip rc3
20:13Glanzmannaxboe: So I installed xfce4 and it works for me on the mini. So it is probably something on your platform.
20:13millenialhackerjannau, in general, what do you recommend xorg or wayload for apple drm driver?
20:13millenialhackers/wayload/wayland/g
20:15axboebased on some weak googling that found a guy saying it hangs for him when logging in with his shell set to zsh, but not bash
20:19Glanzmannjannau: So the scrolling with apple_drm is slow with xterm in tmux. With alcaritty it is fast.
20:19WhyNotHugoWhat's makes tsch special?
20:20nicolas17I tried fish and the inability to write horrible shell script one-liners directly in the prompt kept getting in the way
20:20WhyNotHugoYeah, fish is terrible because lots of common, portable one-liners don't work.
20:21WhyNotHugoI tried it but that was a pain. And it's too different from posix shell for scripts too.
20:21mpsanyway, if anyone need kbd backlight daemon I hacked one simple and ugly here https://www.arvanta.net/2x3d1kfg/kbd-bklght.c works with xorg
20:21axboewe're getting way off topic, but I just use bash for scripts if I need to, but I'm pretty used to it by now
20:25Etrien__ has joined #asahi
20:29Etrien has quit [Ping timeout: 480 seconds]
20:32jannauaxboe: xfce4 works for me as well. not all lost though since I've confirmed the assumed issue with the current backlight code on Xorg
20:33axboejannau: guess I need to enable some logging and figure out which parts hangs for me with my usual login
20:34jannaumillenialhacker: shouldn't matter much, I think Xorg might be faster wayland for now. I test mostly with wayland
20:36Etrien has joined #asahi
20:39chengsun has quit [Ping timeout: 480 seconds]
20:44Etrien__ has quit [Ping timeout: 480 seconds]
20:46millenialhacker has quit [Quit: Konversation terminated!]
20:46jluthra has quit [Remote host closed the connection]
20:47jluthra has joined #asahi
20:51Etrien__ has joined #asahi
20:54amarioguy has joined #asahi
20:58Etrien has quit [Ping timeout: 480 seconds]
20:58thelounge7571340 has joined #asahi
20:59thelounge7571340 has quit [Remote host closed the connection]
21:18Glanzmann has quit [Quit: n8]
21:20bcrumb has joined #asahi
21:22cylm has quit [Quit: WeeChat 3.7.1]
21:24Stroller has quit [Ping timeout: 480 seconds]
21:48Stroller has joined #asahi
21:55Dcow has quit [Remote host closed the connection]
21:56WhyNotHugomps: Oh, it's already exposed via sysfs? Nice!
21:56Dcow has joined #asahi
21:57WhyNotHugokeyboard backlight control.
21:58WhyNotHugoReminds me of this tiny thing I made for some pre-T2 intel macbooks https://github.com/WhyNotHugo/kbdlight/blob/master/kbdlight.c
22:06thelounge7571340 has joined #asahi
22:06thelounge7571340 has quit [Remote host closed the connection]
22:10amarioguy has quit [Ping timeout: 480 seconds]
22:13Dcow has quit [Ping timeout: 480 seconds]
22:17bcrumb has quit [Quit: WeeChat 3.7.1]
22:19winter has quit [Quit: The Lounge - https://thelounge.chat]
22:28WhyNotHugomps: Feel free!
22:32Dcow has joined #asahi
22:33IcaroDextris has joined #asahi
22:40Dcow has quit [Ping timeout: 480 seconds]
22:43thelounge7571340 has joined #asahi
22:44thelounge7571340 has quit [Remote host closed the connection]
22:58jess has quit []
22:58Etrien__ has quit [Ping timeout: 480 seconds]
23:02nsklaus_ has joined #asahi
23:06Dcow has joined #asahi
23:07nsklaus has quit [Ping timeout: 480 seconds]
23:12SSJ_GZ has quit [Read error: Connection reset by peer]
23:12amarioguy has joined #asahi
23:12SSJ_GZ has joined #asahi
23:14unicordion has joined #asahi
23:14Dcow has quit [Ping timeout: 480 seconds]
23:23jjido has joined #asahi
23:29rwxyz has quit [Remote host closed the connection]
23:31SSJ_GZ has quit [Ping timeout: 480 seconds]
23:31Gaspare has quit [Quit: Gaspare]
23:45amarioguy has quit [Ping timeout: 480 seconds]
23:51vmeson has quit [Ping timeout: 480 seconds]
23:53thelounge7571340 has joined #asahi
23:53thelounge7571340 has quit [Remote host closed the connection]
23:54unicordion1 has joined #asahi
23:55unicordian has quit [Ping timeout: 480 seconds]
23:56unicordian has joined #asahi
23:57unicordion has quit [Ping timeout: 480 seconds]
23:57unicordion1 is now known as unicordion
23:58unicordian has quit [Read error: Connection reset by peer]
23:58unicordian has joined #asahi