#asahi · 2022-12-08 18:22
bcrumbdoes it constantly monitor or only scan once on boot? it should monitor right?#asahi · 2022-12-08 18:22
svenyes#asahi · 2022-12-08 18:22
svenmy first guess would be something going wrong inside tipd’s probe #asahi · 2022-12-08 18:22
bcrumbyeah, and the plug event should fire on boot even if pre connected?#asahi · 2022-12-08 18:21
svenbut it sounds like tipd doesn’t see a plug event #asahi · 2022-12-08 18:21
bcrumb🫡#asahi · 2022-12-08 18:21
bcrumbi will do my best#asahi · 2022-12-08 18:21
svenbut those three drivers and their interactions are a good start#asahi · 2022-12-08 18:21
sventhat requires a lot of context how usb works in these machines unfortunately #asahi · 2022-12-08 18:20
bcrumbyeah just looking for clues#asahi · 2022-12-08 18:20
svenI’m not gonna stop you if you want to investigate yourself ;)#asahi · 2022-12-08 18:20
bcrumbi suppose that tps thing is that since it interacts, but i am willing to also go inspect this by myself deeply#asahi · 2022-12-08 18:19
bcrumbif i know the device name, is there some way i can trace earliest lookups / interactions?#asahi · 2022-12-08 18:18
bcrumb🤔#asahi · 2022-12-08 18:17
svenbut this sounds like some coordination issue between tipd, dwc3 and atcphy#asahi · 2022-12-08 18:17
svenmaybe that’s what triggers the issue#asahi · 2022-12-08 18:17
bcrumband traces also showed kinda fine I guess#asahi · 2022-12-08 18:16
bcrumbi mean I have everything concatenated properly#asahi · 2022-12-08 18:16
bcrumbnoted: could this be because I'm using m1n1 stage 2 boot instead of GRUB?#asahi · 2022-12-08 18:16
bcrumbi will try to use what jannau posted#asahi · 2022-12-08 18:16
bcrumbbut thanks for looking into it#asahi · 2022-12-08 18:16
bcrumbsven: will try with the kernel args i guess?#asahi · 2022-12-08 18:13
svenwouldn’t surprise me if there’s another race with how it sets up irqs and registers the initial plug #asahi · 2022-12-08 18:13
svenmaybe it’s also enough to just go over the tipd probe again #asahi · 2022-12-08 18:12
svenand hope that it still runs into the same boot issue I guess :/#asahi · 2022-12-08 18:12
jannaujust rebuilding hte kernel with tipd looks simpler#asahi · 2022-12-08 18:12
jannauhttps://politreco.com/2022/03/tracepoints-and-kernel-modules/ suggest disabling probing for the module, load the module, enable the tracepoints and then reenabling probing#asahi · 2022-12-08 18:07
svenbut especially for debugging boot issues it’s helpful to have the trace events ordered with respect to messages in dmesg #asahi · 2022-12-08 18:07
jannauI think the events won't get enabled by the command line argument#asahi · 2022-12-08 18:07
svenhm, good point. I still don’t run a kernel with modules #asahi · 2022-12-08 18:06
jannauI'm not sure that works though if tipd/tps6598x is built as module#asahi · 2022-12-08 18:04
sventhat sounds very familiar #asahi · 2022-12-08 18:04
jannau'tp_printk tps6598x:*' iirc#asahi · 2022-12-08 18:04
svenI blame advent of code and rust for no progress on the typec/atcphy/altmode/tbt stuff :D#asahi · 2022-12-08 18:03
sventhere’s some boot argument to just print them to the normal log buffer #asahi · 2022-12-08 18:03
svenbcrumb: nothing truly suspicious there, can you enable trace events for tps6598x and boot again?#asahi · 2022-12-08 18:02
jannauPuto: yes, it's not yet supported#asahi · 2022-12-08 17:54
Putojust to confirm, external display support over usb-c still isn’t a thing, right?#asahi · 2022-12-08 17:44
axboeseems to work for me, except chromium doesn't like hardware accel being on...#asahi · 2022-12-08 17:44
axboemps: thanks, that was useful!#asahi · 2022-12-08 17:29
aaron465noticed because it had renegotiated down to 100mbps#asahi · 2022-12-08 17:29
aaron465marcan: turns out, my WiFi issues are down to a dodgy cable connecting to one of my APs :D#asahi · 2022-12-08 16:30
bcrumbdon't open the system monitor history tab, i like some of you guys#asahi · 2022-12-08 16:24
bcrumbsven: https://privatebin.net/?049ce9a9209d76a8#AuUjTe5EAfMtypWGEquGtXJwFoi6WqLsR8RsKNoT2ND1 #asahi · 2022-12-08 16:20
bcrumbyep sec#asahi · 2022-12-08 16:16
svenok, then please paste the dmesg somewhere #asahi · 2022-12-08 16:15
bcrumbscripts 1129 1206#asahi · 2022-12-08 16:15
bcrumbwas the upgrade#asahi · 2022-12-08 16:15
bcrumbyeah, so from rc6 5-1 to rc8 3-1#asahi · 2022-12-08 16:13
svenok, and with the latest kernel from a day or two ago? I recently fixed a race