marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
yuyichao has joined #asahi
yuyichao_ has quit [Ping timeout: 480 seconds]
Zaprit has joined #asahi
<Glanzmann> jannau: Nice.
cth451_desktop has quit [Quit: Quitting]
yuyichao has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
Zaprit has quit [Quit: Leaving.]
h_ is now known as hays
hays is now known as h_
h_ is now known as hays
Emantor has quit [Quit: ZNC - http://znc.in]
Emantor has joined #asahi
m42uko has quit [Quit: Leaving.]
m42uko has joined #asahi
marvin24_ has quit [Remote host closed the connection]
phiologe has quit [Quit: No Ping reply in 180 seconds.]
phiologe has joined #asahi
marvin24 has joined #asahi
yuyichao has joined #asahi
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
Dcow has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
darkapex2 has joined #asahi
darkapex1 has quit [Ping timeout: 480 seconds]
marvin24_ has joined #asahi
marvin24 has quit [Ping timeout: 480 seconds]
darkapex3 has joined #asahi
darkapex2 has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
Techcable has quit [Ping timeout: 480 seconds]
yamii has quit [Quit: WeeChat 3.3]
yamii has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi
Techcable has joined #asahi
Techcable has quit [Remote host closed the connection]
Techcable has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aleasto has joined #asahi
Zaprit has joined #asahi
Dcow has quit [Remote host closed the connection]
Dcow_ has joined #asahi
kaprests has quit [Remote host closed the connection]
Zaprit has quit [Quit: Leaving.]
off^ has joined #asahi
darkapex4 has joined #asahi
darkapex3 has quit [Ping timeout: 480 seconds]
MajorBiscuit has joined #asahi
qeeg_ has joined #asahi
MajorBiscuit has quit []
qeeg has quit [Ping timeout: 480 seconds]
Zaprit has joined #asahi
Zaprit has quit [Quit: Leaving.]
Zaprit has joined #asahi
Zaprit has quit []
Zaprit has joined #asahi
Zaprit has quit []
<dianshi> is 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
<dianshi> and 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?
<dianshi> from this page its seems that https://asahilinux.org/2021/12/progress-report-oct-nov-2021/ USB3 isn't there
<dianshi> do apple m1 use DWC usb controller?
<sven> yes, but usb3 requires to bring up apple’s phy (called ATC)
<dianshi> is that ATC apple IP?
<sven> yes
<dianshi> can you point to any link about it?
<jannau> dianshi: only usb2 and charging works on the internal usb-c/thunderbolt ports
<sven> there’s no link about it, it’s entirely undocumented
<dianshi> is that enought to just boot stuff and try to run linux from memory?
<dianshi> ah I see
<j`ey> dianshi: you still need to make a 3GB partition for m1n1
<dianshi> from the manual its seems that i need to start installation of macos from begining? and then I need to add one Linux APFS partition
<j`ey> dianshi: thats old, theres a pre-alpha installer that avoids a full macos install
<dianshi> any link to it?
<dianshi> im looking at this https://github.com/AsahiLinux/docs/wiki and search there
<dianshi> thx will check that
raiaq has joined #asahi
gladiac has quit [Ping timeout: 480 seconds]
gladiac has joined #asahi
<Glanzmann> jannau: Nice. What is the oops about before x is starting?
<Glanzmann> jannau: So the dcp driver now advertises the best mode?
<jannau> the warning was a timeout in drm_atomic_helper_wait_for_vblanks
<Glanzmann> jannau: Have you tested the dcp driver also on the air/pro 2020 or just on the mini?
<Glanzmann> jannau: I see.
<jannau> the best mode according to the dcp, it reports a score for each mode
<Glanzmann> jannau: 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?
<Glanzmann> jannau: Nice.
<j`ey> jannau: even with the timeout increase in drm_atomic_helper_wait_for_vblanks?
<jannau> just 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
<Glanzmann> I see.
<Glanzmann> jannau: 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.
<Glanzmann> jannau: 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.
<Glanzmann> jannau: Btw. does screen blanking and hdmi hotplug (remove and plug in again) already work?
<jannau> j`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
<jannau> display rotation still works
<jannau> hotplug crashes the dcp
<Glanzmann> I see.
<Glanzmann> jannau: Allysa had the hotplug working at some point. And I think I tested it succesfully.
<jannau> it crashes on unplug
<Glanzmann> And IIRC I think screen blanking (putting the monitor to sleep) and wake up later.
<Glanzmann> jannau: I see.
joske has joined #asahi
<joske> jannau: make modules fails on asahi-dcp: https://pastebin.com/pJ6mmx3W
<joske> compiling on m1 linux
<joske> jannau: apparently on x86_64 linux it does compile (gcc11 vs gcc10 on m1)
joske has quit [Remote host closed the connection]
<jannau> jonnymac[m]: I suspect it "builds" on x86_64 since it depends on ARCH_APPLE, i.e. it doesn't get build
<jannau> I'll fix the module build
Dcow_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akemin_dayo has joined #asahi
Gaspare has joined #asahi
user982492 has joined #asahi
<jannau> module build fixed
joske has joined #asahi
aleasto has quit [Quit: Konversation terminated!]
<joske> thx
joske has quit [Quit: Leaving]
jmr2 has joined #asahi
<jmr2> jannau: asahi-dcp successfully starts on my Air. Nice work! For reference, dmesg|grep dcp: http://paste.debian.net/plainh/7feebc0a
<jmr2> jannau: regarding your keyboard driver, that I haven't tried yet:
<jmr2> I 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
<jmr2> Kconfig) but no definition. If you search for it in menuconfig, you get "type unknown". Should those refer to SPI_HID_APPLE_CORE instead?
<jmr2> And shouldn't SPI_HID_APPLE_OF depend on SPI_APPLE instead of SPI? Found the hard way...
<jannau> jmr2: 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
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jannau> and no, it should not depend on a specific SPI controller driver
aleasto has joined #asahi
<jannau> SPI_APPLE should probably be in defconfig though or it/s default value should depend on ARCH_APPLE
<jmr2> Thanks. Looks like I'm better at finding issues than suggesting solutions :-)
jmr2 has quit [Quit: Page closed]
Gaspare has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi
aleasto has quit [Quit: Konversation terminated!]