marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | "Does XXX work yet?": https://alx.sh/fs | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-alt #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
jacksonchen666 has joined #asahi
ellyq has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alyssa has joined #asahi
<alyssa>
jannau: I have a monitor where I need to go through a silly monitor control panel to adjust brightness.. any idea whether that could eventually be controlled from userspace via DDC over DCP or something?
<alyssa>
IIRC when this came up a few years ago the answer was "maybe?", not sure if that's a more solid yes or solid no now that we know more about eg dcpext
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #asahi
thevar1able_ has quit [Remote host closed the connection]
thevar1able_ has joined #asahi
<tpw_rules>
i think if that's supported then macos will do it
<tpw_rules>
if you are asking about your specific monitor
cloudowind has quit [Remote host closed the connection]
<alyssa>
"I managed to get DDC working on Mac Mini as well, but only on the Thunderbolt 3 port. The HDMI port still doesn’t work for DDC, and no one knows why."
<jannau>
apparently it's also possible to get the edid from dcp. possible reason why DDC over hdmi doesn't work is that it's not implemented over the dp2hdmi converter. I'd expect the dcp firmware would need support to drive ddc over mcdp29xx
lena6 has joined #asahi
cylm has joined #asahi
cylm has quit [Quit: WeeChat 4.0.4]
givtrah has joined #asahi
givtrah has quit []
givtrah has joined #asahi
BlueAether has quit [Ping timeout: 480 seconds]
ellyq has joined #asahi
roxfan has joined #asahi
frek has joined #asahi
<tristan2_>
alyssa: I have found a tool that can change my HDMI monitors brightness via ddc/ci on macOS on my m1 mac mini, and I have a m1n1 log of the commands, but when I looked into the kernels dcp code, most of it was missing, so I did not yet try to implement it
bisko has joined #asahi
<_jannau__>
tristan2_: hdmi monitor connected via the hdmi port? I suppose it is one of the afk/epic endpoints. code for that exists and is required for HDMI on M2+ desktops and secondary display outputs
<_jannau__>
I'll try to push a more stable branch during this week
<tristan2_>
okay, cool, I will look into it
<_jannau__>
I'm not sure how ddc based brightness control of external display should work though. as far as I'm aware there is nothing in linux/drm
<_jannau__>
if you have questions feel free to ask in #asahi-de
<_jannau__>
#asahi-dev
frek has quit [Remote host closed the connection]
<leio>
_jannau__: the initial HDMI framebuffer code for M2 should be able to drive a 6K screen as well, right?
<_jannau__>
no idea
leitao has joined #asahi
BlueAether has joined #asahi
luix has quit [Ping timeout: 480 seconds]
<leio>
but as everything, it'll surely work at least eventually :)
cylm_ has quit [Read error: Connection reset by peer]
luix has joined #asahi
luix has quit []
i509vcb has quit [Quit: Connection closed for inactivity]
gladiac has quit [Quit: k thx bye]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alinpanaitiu has joined #asahi
BlueAether has quit [Ping timeout: 480 seconds]
Agua has joined #asahi
<alinpanaitiu>
@alyssa about my blog post https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/ I actually managed to get DDC working on the HDMI port as well, it's not in the article. The trick is to use 0xB7 instead of 0x37 as the I2C address
lena6 has quit [Remote host closed the connection]
lena6 has joined #asahi
leitao has joined #asahi
<marcan>
wait what
<marcan>
0xb7 is not a thing
<marcan>
i2c addresses are 7 bits
<marcan>
that sounds like some kind of horrible flag hack...
<marcan>
like 0x80 means passthrough for the HDMI encoder somehow, or something like that
<waldi>
where is the direction bit stored in that format?
chadmed_ is now known as chadmed
<maz>
or they use 10bit addressing, which is pretty rare...
ourdumbfuture has joined #asahi
<marcan>
waldi: it isn't (these are pure addresses)
<marcan>
but since this is probably not "real" i2c but rather displayport, and either way this whole thing is going through like 3 layers of abstraction, who knows what that bit really means
grange_c68 has quit [Quit: Ping timeout (120 seconds)]
grange_c68 has joined #asahi
<alinpanaitiu>
Yes, it's stupid from a standards point of view, but this is the I2C function signature on Apple Silicon: `IOReturn IOAVServiceWriteI2C(IOAVServiceRef service, uint32_t chipAddress, uint32_t dataAddress, void* inputBuffer, uint32_t inputBufferSize);`
<alinpanaitiu>
So it takes a uint32_t for the chipAddress which can be 0xB7, and it can then be interpreted in whatever way before it's actually sent to the monitor
<alinpanaitiu>
On Mac Mini 2018 HDMI it's even weirder, the address is 0x16E
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ourdumbfuture has joined #asahi
jeisom has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi
<alyssa>
*popcorn:
leitao has joined #asahi
ydalton has joined #asahi
<ydalton>
hi i have a question, will zram be enabled on fedora asahi remix similar to fedora workstation? i am seriously feeling the effects of 8gb ram
<marcan>
alinpanaitiu: 0x16E is just 0xB7 shifted left, so in "shifted" format... WTAF, they can't even settle on a single address format?
<marcan>
j`ey, ydalton: fedora asahi does enable zram as swap by default
dearth has joined #asahi
<j`ey>
good to know, I haven't made the switch yet, will do soon(tm) and looking forward to it
dearth is now known as supernova
ChaosPrincess has quit [Quit: ChaosPrincess]
supernova has quit [Ping timeout: 480 seconds]
ChaosPrincess has joined #asahi
zkrx has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
leitao has joined #asahi
nyx_o has joined #asahi
ourdumbfuture has joined #asahi
possiblemeatball has joined #asahi
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #asahi
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
michaelami has joined #asahi
i509vcb has joined #asahi
leitao has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michaelami has quit []
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jacksonchen666 has joined #asahi
leitao has joined #asahi
ellyq has quit [Ping timeout: 480 seconds]
leitao has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stipa has quit [Read error: Connection reset by peer]
stipa has joined #asahi
ourdumbfuture has joined #asahi
roxfan has quit [Ping timeout: 480 seconds]
crabbedhaloablut has quit []
roxfan has joined #asahi
sawyer has joined #asahi
<sawyer>
Fixed earlier issue, although I had a properly set up rust toolchain CONFIG_RUST wasn't available because I had DEBUG_INFO_BTF enabled and didn't make the connection that that was a dependency until I got pointed at `menuconfig` for teasing apart the knot of dependencies/prereqs
zerdox has quit [Ping timeout: 480 seconds]
<sawyer>
\\o/ things seem to work now
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krishbin has joined #asahi
pounce has quit [Remote host closed the connection]
krishbin has quit []
pounce has joined #asahi
ourdumbfuture has joined #asahi
pounce has quit [Read error: Connection reset by peer]
krishbin has joined #asahi
pounce has joined #asahi
roxfan has quit [Read error: Connection reset by peer]
ellyq has joined #asahi
krishbin has quit []
krishbin has joined #asahi
ydalton has joined #asahi
<ydalton>
marcan: thanks for the clarification!
possiblemeatball has quit [Quit: Quit]
krishbin has quit []
krishbin has joined #asahi
krishbin has quit []
krishbin has joined #asahi
crabbedhaloablut has joined #asahi
crabbedhaloablut has quit []
Bogdan5 has joined #asahi
maximbaz2 has joined #asahi
lucenera3 has joined #asahi
rayanamukami37 has joined #asahi
mohit8153 has joined #asahi
jole_ has joined #asahi
yamchah2_ has joined #asahi
aleasto- has joined #asahi
Fischmiep_ has joined #asahi
larunbe has joined #asahi
le0n_ has joined #asahi
Emantor_ has joined #asahi
shinobi57474858 has quit [Remote host closed the connection]
pldtf has quit [Remote host closed the connection]
alethkit has quit [Remote host closed the connection]
dubiousness_ has quit [Remote host closed the connection]
mrCyborg has quit [Remote host closed the connection]
rosefromthedead has quit [Remote host closed the connection]
patwid_ has quit [Remote host closed the connection]
ella-0 has quit [Remote host closed the connection]
d4ve has quit [Remote host closed the connection]
probie has quit [Remote host closed the connection]
okt has quit [Remote host closed the connection]
johnhamelink has quit [Remote host closed the connection]
signaryk has quit [Remote host closed the connection]
jfy has quit [Remote host closed the connection]
jleightcap has quit [Remote host closed the connection]
Guest1074 has quit [Remote host closed the connection]
toasterking has quit [Remote host closed the connection]
cds has quit [Remote host closed the connection]
gpanders has quit [Remote host closed the connection]
coder_kalyan has quit [Remote host closed the connection]
pitust has quit [Remote host closed the connection]
z812_ has quit [Read error: Connection reset by peer]
dorkbutt_ has quit [Read error: Connection reset by peer]
asimpson has quit [Write error: connection closed]
handlerug has quit [Write error: connection closed]
tsujp has quit [Write error: connection closed]
akspecs has quit [Read error: Connection reset by peer]
Fischmiep has quit [Read error: Connection reset by peer]
Leftas7 has quit [Read error: Connection reset by peer]
aleasto has quit [Read error: Connection reset by peer]
penguwin has quit [Read error: Connection reset by peer]
mohit815 has quit [Read error: Connection reset by peer]
Emantor has quit [Read error: Connection reset by peer]
rayanamukami3 has quit [Write error: connection closed]
Bogdan has quit [Read error: Connection reset by peer]
maximbaz has quit [Read error: Connection reset by peer]
leftas has joined #asahi
ellyq has quit [Read error: Connection reset by peer]
sdomi has quit [Read error: Connection reset by peer]
c10l1 has quit [Remote host closed the connection]
MichaelLong has quit [Remote host closed the connection]
larsjel has quit [Remote host closed the connection]
yamchah2 has quit [Read error: Connection reset by peer]
jole has quit [Read error: No route to host]
alarumbe has quit [Read error: No route to host]
Bogdan5 is now known as Bogdan
maximbaz2 is now known as maximbaz
rayanamukami37 is now known as rayanamukami3
mohit8153 is now known as mohit815
penguwin has joined #asahi
probie has joined #asahi
gpanders has joined #asahi
d4ve has joined #asahi
handlerug has joined #asahi
jleightcap has joined #asahi
coder_kalyan has joined #asahi
cds has joined #asahi
shinobi57474858 has joined #asahi
swapgs has joined #asahi
mrCyborg has joined #asahi
z812 has joined #asahi
ella-0 has joined #asahi
asimpson has joined #asahi
pitust has joined #asahi
signaryk has joined #asahi
alethkit has joined #asahi
dubiousness has joined #asahi
patwid has joined #asahi
pldtf has joined #asahi
johnhamelink has joined #asahi
toasterking has joined #asahi
okt has joined #asahi
tsujp has joined #asahi
akspecs has joined #asahi
rosefromthedead has joined #asahi
dorkbutt has joined #asahi
jfy has joined #asahi
jelly has quit [Read error: Connection reset by peer]
MichaelLong has joined #asahi
c10l1 has joined #asahi
jelly-hme has joined #asahi
sdomi has joined #asahi
ellyq has joined #asahi
larsjel has joined #asahi
lena6 has quit [Ping timeout: 480 seconds]
ydalton has left #asahi [ERC 5.5 (IRC client for GNU Emacs 29.0.90)]
lucenera has quit [Ping timeout: 480 seconds]
le0n has quit [Ping timeout: 480 seconds]
tristan2 has joined #asahi
tristan2_ has quit [Ping timeout: 480 seconds]
jacksonchen666 has quit [Quit: WeeChat 3.8]
sawyer has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jeisom has quit [Ping timeout: 480 seconds]
chadmed has quit [Ping timeout: 480 seconds]
michaelami has joined #asahi
michaelami has quit []
Agua has quit [Remote host closed the connection]
sawyer has joined #asahi
balrog has quit [Quit: Bye]
balrog has joined #asahi
blazra has quit [Quit: Ping timeout (120 seconds)]
blazra has joined #asahi
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dottedmag has quit [Quit: QUIT]
ellyq has quit [Ping timeout: 480 seconds]
dottedmag has joined #asahi
blazra6 has joined #asahi
blazra has quit [Read error: Connection reset by peer]
blazra6 is now known as blazra
ourdumbfuture has joined #asahi
alyssa has quit [Quit: alyssa]
spuos has quit [Remote host closed the connection]
zerdox has joined #asahi
mlq_ has joined #asahi
kdwk has quit [Remote host closed the connection]
mlq has quit [Ping timeout: 480 seconds]
mlq has joined #asahi
mlq_ has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jeisom has joined #asahi
ourdumbfuture has joined #asahi
jjanzic has quit [Ping timeout: 480 seconds]
ourdumbfuture has quit [Quit: My Mac has gone to sleep. ZZZzzz…]