#
…

2022-01-15

00:01yuyichao has joined #asahi
00:04yuyichao_ has quit [Ping timeout: 480 seconds]
00:38Zaprit has joined #asahi
00:42Glanzmannjannau: Nice.
01:30cth451_desktop has quit [Quit: Quitting]
01:33yuyichao has quit [Ping timeout: 480 seconds]
01:43user982492 has joined #asahi
01:57Zaprit has quit [Quit: Leaving.]
02:02h_ is now known as hays
02:03hays is now known as h_
02:03h_ is now known as hays
02:20Emantor has quit [Quit: ZNC - http://znc.in]
02:20Emantor has joined #asahi
02:56m42uko has quit [Quit: Leaving.]
02:56m42uko has joined #asahi
02:57marvin24_ has quit [Remote host closed the connection]
02:57phiologe has quit [Quit: No Ping reply in 180 seconds.]
02:58phiologe has joined #asahi
02:58marvin24 has joined #asahi
03:13yuyichao has joined #asahi
03:23kov has quit [Quit: Coyote finally caught me]
03:23kov has joined #asahi
03:32PhilippvK has joined #asahi
03:35phiologe has quit [Ping timeout: 480 seconds]
03:48Dcow has joined #asahi
03:58user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
04:43darkapex2 has joined #asahi
04:47darkapex1 has quit [Ping timeout: 480 seconds]
04:56marvin24_ has joined #asahi
04:59marvin24 has quit [Ping timeout: 480 seconds]
05:03darkapex3 has joined #asahi
05:08darkapex2 has quit [Ping timeout: 480 seconds]
05:23user982492 has joined #asahi
06:44Techcable has quit [Ping timeout: 480 seconds]
07:01yamii has quit [Quit: WeeChat 3.3]
07:08yamii has joined #asahi
07:55user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:59user982492 has joined #asahi
08:08Techcable has joined #asahi
08:24Techcable has quit [Remote host closed the connection]
08:29Techcable has joined #asahi
10:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:46aleasto has joined #asahi
10:54Zaprit has joined #asahi
11:06Dcow has quit [Remote host closed the connection]
11:06Dcow_ has joined #asahi
11:22kaprests has quit [Remote host closed the connection]
11:23Zaprit has quit [Quit: Leaving.]
11:24off^ has joined #asahi
11:29darkapex4 has joined #asahi
11:34darkapex3 has quit [Ping timeout: 480 seconds]
11:35MajorBiscuit has joined #asahi
11:36qeeg_ has joined #asahi
11:39MajorBiscuit has quit []
11:43qeeg has quit [Ping timeout: 480 seconds]
12:01Zaprit has joined #asahi
12:09Zaprit has quit [Quit: Leaving.]
12:09Zaprit has joined #asahi
12:09Zaprit has quit []
12:09Zaprit has joined #asahi
12:09Zaprit has quit []
12:32dianshiis there possible just boot asashi on air m1 without overwriting main os or bootloader? It kind of feels from this doc its possible https://github.com/AsahiLinux/docs/wiki/SW:Linux:USB-drive
12:33dianshiand what state of usb support in asahi ? I found the table that USB is kind of working but is there anything else left to poke around USB?
12:35dianshido apple m1 use DWC usb controller?
12:36svenyes, but usb3 requires to bring up apple’s phy (called ATC)
12:36dianshiis that ATC apple IP?
12:37dianshican you point to any link about it?
12:37jannaudianshi: only usb2 and charging works on the internal usb-c/thunderbolt ports
12:37sventhere’s no link about it, it’s entirely undocumented
12:37dianshiis that enought to just boot stuff and try to run linux from memory?
12:37dianshiah I see
13:10j`eydianshi: you still need to make a 3GB partition for m1n1
13:13dianshifrom the manual its seems that i need to start installation of macos from begining? and then I need to add one Linux APFS partition
13:13j`eydianshi: thats old, theres a pre-alpha installer that avoids a full macos install
13:14dianshiany link to it?
13:14dianshiim looking at this https://github.com/AsahiLinux/docs/wiki and search there
13:18dianshithx will check that
13:29raiaq has joined #asahi
14:07gladiac has quit [Ping timeout: 480 seconds]
14:11gladiac has joined #asahi
18:06Glanzmannjannau: Nice. What is the oops about before x is starting?
18:07Glanzmannjannau: So the dcp driver now advertises the best mode?
18:08jannauthe warning was a timeout in drm_atomic_helper_wait_for_vblanks
18:08Glanzmannjannau: Have you tested the dcp driver also on the air/pro 2020 or just on the mini?
18:09Glanzmannjannau: I see.
18:09jannauthe best mode according to the dcp, it reports a score for each mode
18:09Glanzmannjannau: On Friday I worked in xfreerdp the whole day without the dcp driver but with modesetting and sometimes the screen was not updating and one time I had a big artefact. I only had that with xfreerdp, did you notice somthing like that as well?
18:10Glanzmannjannau: Nice.
18:10j`eyjannau: even with the timeout increase in drm_atomic_helper_wait_for_vblanks?
18:11jannaujust tested on the mini, I have no m1 laptop, the call to enable the output on the mac mini might break it on the laptops
18:13Glanzmannjannau: I'm currently in Switzerland and left my mini at home, otherwise I would give it a test. So I have to wait for 1 or 2 weeks.
18:13Glanzmannjannau: Have you tried xrandr? I often rotate my monitor my 90 degress and run it with xrandr -o 1. With the old dcp driver it works.
18:14Glanzmannjannau: Btw. does screen blanking and hdmi hotplug (remove and plug in again) already work?
18:15jannauj`ey: yes, this is a rebase of https://github.com/mu-one/linux/commits/20211209 with everything not related to dcp dropped in favor linux-asahi
18:16jannaudisplay rotation still works
18:17jannauhotplug crashes the dcp
18:21Glanzmannjannau: Allysa had the hotplug working at some point. And I think I tested it succesfully.
18:21jannauit crashes on unplug
18:21GlanzmannAnd IIRC I think screen blanking (putting the monitor to sleep) and wake up later.
18:22Glanzmannjannau: I see.
18:39joske has joined #asahi
18:42joskejannau: make modules fails on asahi-dcp: https://pastebin.com/pJ6mmx3W
18:43joskecompiling on m1 linux
19:08joskejannau: apparently on x86_64 linux it does compile (gcc11 vs gcc10 on m1)
19:10joske has quit [Remote host closed the connection]
19:28jannaujonnymac[m]: I suspect it "builds" on x86_64 since it depends on ARCH_APPLE, i.e. it doesn't get build
19:29jannauI'll fix the module build
19:55Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:19akemin_dayo has joined #asahi
21:10Gaspare has joined #asahi
21:13user982492 has joined #asahi
21:14jannaumodule build fixed
21:30joske has joined #asahi
21:31aleasto has quit [Quit: Konversation terminated!]
21:37joske has quit [Quit: Leaving]
21:49jmr2 has joined #asahi
21:50jmr2jannau: asahi-dcp successfully starts on my Air. Nice work! For reference, dmesg|grep dcp: http://paste.debian.net/plainh/7feebc0a
22:15jmr2jannau: regarding your keyboard driver, that I haven't tried yet:
22:15jmr2I see two references to SPI_HID_APPLE (first in the rules for HID_APPLE in drivers/hid/Kconfig, second in the comments for SPI_HID_APPLE_OF in drivers/hid/spi-hid
22:15jmr2Kconfig) but no definition. If you search for it in menuconfig, you get "type unknown". Should those refer to SPI_HID_APPLE_CORE instead?
22:15jmr2And shouldn't SPI_HID_APPLE_OF depend on SPI_APPLE instead of SPI? Found the hard way...
22:17jannaujmr2: SPI_HID_APPLE was the previous config symbol before I started splitting it into devicetree and acpi variant. the second one is supposed to replace applespi
22:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:19jannauand no, it should not depend on a specific SPI controller driver
22:22aleasto has joined #asahi
22:27jannauSPI_APPLE should probably be in defconfig though or it/s default value should depend on ARCH_APPLE
22:54jmr2Thanks. Looks like I'm better at finding issues than suggesting solutions :-)
23:00jmr2 has quit [Quit: Page closed]
23:19Gaspare has quit [Ping timeout: 480 seconds]
23:32user982492 has joined #asahi
23:56aleasto has quit [Quit: Konversation terminated!]
…