#
#asahi · 2023-01-22 09:23
svenunless apple disabled that ofc, never tested it
#asahi · 2023-01-22 09:23
svenit’s negotiated automatically but at least ij apple Silicon you should be able to change it with the typec thing
#asahi · 2023-01-22 09:23
dsharshakovAh, might be so as well
#asahi · 2023-01-22 09:22
svenI’m reasonably sure that if you e.g. connect two MacBooks which are not connected to power to each other the charging order will be mostly random
#asahi · 2023-01-22 09:22
dsharshakovcan it control the direction using sysfs, or does everything in its firmware?
#asahi · 2023-01-22 09:22
svenit’s literally an earlier version of the exact same chip present in apple Silicon macs
#asahi · 2023-01-22 09:21
dsharshakovofc it's obvious PD spec specifies the negotiation, the software support question is different
#asahi · 2023-01-22 09:21
svenno, even Intel macs have that tipd chip
#asahi · 2023-01-22 09:20
dsharshakovSince I don't recall it being software-controlled on Intel Macs, they chose based on connection order or something like this (at least when connecting 2 macbooks)
#asahi · 2023-01-22 09:20
svenchadmed: that unlimited power source is an almost verbatim quote from the usb pd spec :D
#asahi · 2023-01-22 09:20
dsharshakovI wanted to ask which machines have this support and whether it's software controlled
#asahi · 2023-01-22 09:19
svenThere’s no such thing as “one who plugs cable first becomes power out”
#asahi · 2023-01-22 09:19
chadmedyou can charge your mac with emperor palpatine lightning?
#asahi · 2023-01-22 09:19
dsharshakov* user's point of view
#asahi · 2023-01-22 09:19
sventhat protocol is quite hilarious but there’s e.g. a “connected to unlimited power source flag”
#asahi · 2023-01-22 09:19
dsharshakovthat was from the user
#asahi · 2023-01-22 09:19
dsharshakovik
#asahi · 2023-01-22 09:19
svenno, that’s not how it works. there’s a protocol spoken over the CC channel which negotiates which machine is charged
#asahi · 2023-01-22 09:18
dsharshakovIIRC on T2s macOS was not able to control these DRP (dual-role power) ports and could even be tricked into charging the laptop itself
#asahi · 2023-01-22 09:17
dsharshakovjust the same as earlier, one who plugs cable first becomes power out while the second takes power (or vice-verse, I don't remember)
#asahi · 2023-01-22 09:16
dsharshakovI've seen some API in typec subsystem to control such behaviour. Apparently irrelevant, yes
#asahi · 2023-01-22 09:16
dsharshakovalright, thanks
#asahi · 2023-01-22 09:16
dsharshakovdo they switch automagically using tipd?
#asahi · 2023-01-22 09:15
svenit’s all handled by that tipd chip
#asahi · 2023-01-22 09:15
chadmed^
#asahi · 2023-01-22 09:15
chadmedits all handled by the mux chip i dont think we have to actually do anything
#asahi · 2023-01-22 09:15
svenit works automatically
#asahi · 2023-01-22 09:15
dsharshakovnice
#asahi · 2023-01-22 09:15
dsharshakovIf some AS machines do have this capability (at least if used by macOS), it might be worth supporting
#asahi · 2023-01-22 09:15
chadmedyeah they are, my mac ended up charging my dev machine while i was in m1n1 at one point
#asahi · 2023-01-22 09:15
svenyes, my Mac mini e.g. charges my air through the cable I also use for development
#asahi · 2023-01-22 09:14
dsharshakovI remember T2 pros being able to charge other laptops. Airs didn't do so iirc
#asahi · 2023-01-22 09:14
dsharshakovAre AS Macs capable of USB-C power output?
#asahi · 2023-01-22 05:04
Hotswapthanks
#asahi · 2023-01-22 04:59
marcanHotswap: https://github.com/AsahiLinux/asahi-scripts/blob/main/initcpio/hooks/asahi
#asahi · 2023-01-22 04:49
Hotswaphey anyone know where in the boot process vendorfw gets mounted to /usr/lib/firmware/vendor?
#asahi · 2023-01-22 02:48
marcanso chromium is presumably also broken on everything else that isn't amd/intel/nvidia
#asahi · 2023-01-22 02:48
marcanI'm assuming the "funny" behavior there is just standard kmsro behavior (i.e. the same issue affects ~every embedded GPU)
#asahi · 2023-01-22 02:47
marcantpw_rules: they are hardlinks, it's just the way mesa works (all the dri drivers are hardlinks to the same file)
#asahi · 2023-01-22 02:46
marcanI don't understand why they even whitelist individual dri drivers? Just whitelist the whole directory?
#asahi · 2023-01-22 00:15
tpw_rulesthe commit message does not match the code. why does just the asahi driver need an extra .so?
#asahi · 2023-01-22 00:15
tpw_rulesmmm, looks broken on nixos
#asahi · 2023-01-22 00:11
mkurzNot sure if that is related, but it seems with Chromium 111 things will improve: https://chromium.googlesource.com/chromium/src/+/6a6589dffb747a083e19e9d021f3adccfbbb7c13
#asahi · 2023-01-21 22:43
mkurzHmm... also all those check in https://stackoverflow.com/questions/54401577/check-if-webgl2-is-supported-and-enabled-in-clients-browser say it is unsupported
#asahi · 2023-01-21 22:41
mkurzIn chromium chrome://gpu/ says "WebGL2: Hardware accelerated" but this page says itis disabled: https://summer-afternoon.vlucendo.com When accessing the page with "MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 MESA_GLES_VERSION_OVERRIDE=3.1 firefox" it works
#asahi · 2023-01-21 16:32
jannauthe touchbar is driven by a separate mipi-dsim controller. I ment the driver development for that should be financed by ads on it wikipedia style *g*
#asahi · 2023-01-21 16:28
ChaosPrincessgood thing it is not connected to the touchbar (i think so) :P
#asahi · 2023-01-21 16:23
jannauor a donation drive on the touchbar display to finance its driver
#asahi · 2023-01-21 16:21
jannaudcp could display ads left and right of the notch
#asahi · 2023-01-21 15:47
eilngonna embed a 5sec sponsor countdown in the submission ioctl, genius

plus ›