ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | Non-development talk: #asahi | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
jeisom has joined #asahi-dev
Nefsen402 has quit [Remote host closed the connection]
Nefsen402 has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
john-cabaj has quit [Ping timeout: 480 seconds]
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
mini_ has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
jeisom has quit [Remote host closed the connection]
jeisom has joined #asahi-dev
ciara has quit [Remote host closed the connection]
jeisom has quit [Remote host closed the connection]
ciara has joined #asahi-dev
jeisom has joined #asahi-dev
fugi8 has joined #asahi-dev
fugi has quit [Ping timeout: 480 seconds]
fugi8 is now known as fugi
eiln has joined #asahi-dev
jeisom has quit [Quit: Leaving]
betashell has joined #asahi-dev
betashell has quit [Remote host closed the connection]
tristan2_ has joined #asahi-dev
tristan2 has quit [Ping timeout: 480 seconds]
kidplayer666 has joined #asahi-dev
crabbedhaloablut has joined #asahi-dev
<janneg>
leio: can you upload your kernel config and binaries? the error doesn't feel like it is m2 ultra specific. I want to try to reproduce it on the m2 pro mac mini
i509vcb has quit [Quit: Connection closed for inactivity]
kidplayer666 has quit [Quit: Connection closed for inactivity]
millenialhacker has joined #asahi-dev
millenialhacker_ has quit [Ping timeout: 480 seconds]
<leio>
janneg: I can't upload the binaries, they contain firmware, kernel config: http://dpaste.com/7EJU4CST3
<leio>
if need be, I can see about taking out the firmware if the config is not enough for that, let me know
<leio>
(in a couple hours after I'm properly caffeniated)
<leio>
for the binaries I just cat m1n1 stage2, t6022-j475d.dtb and Image.gz together and append "chosen.bootargs=root=/dev/nvme0n1p7 snd_soc_macaudio.please_blow_up_my_speakers=1" string to it
<leio>
due to the u-boot crash that existed before and I heard might be fixed now
<leio>
but it's convenient and I haven't gotten around to setting up u-boot/grub stuff yet, but that's why the firmware is in the kernel
<leio>
if it somehow oddly matters for the reproducing
<leio>
(the way it boots, skipping u-boot maybe touching the display; not meaning the firmware part of it)
kit_ty_kate has quit [Quit: WeeChat 3.8]
<leio>
not having looked at the rpms properly yet, but I think they don't have a Imager.gz, but a UKI thing and I had trouble in the past getting something out of it to use as a direct payload without u-boot EFI, so might need to get that going for this test already
millenialhacker has quit [Quit: Konversation terminated!]
<janneg>
leio: maybe fixed by building drm_Apple as module
<janneg>
confirmed. dcp works with changing just DRM_APPLE to m (and removing the asmedia firmware and enabling initramfs compression)
chadmed has quit [Quit: Konversation terminated!]
chadmed has joined #asahi-dev
<leio>
janneg: yup, the picture goes away for a few seconds and then comes back with it as module; it also changed CONFIG_DRM_GEM_DMA_HELPER, CONFIG_MULTIPLEXER and CONFIG_MUX_APPLE_DPXBAR to a module
<leio>
I assume this is now something still to fix, considering it sort of a workaround, but then it should give a good clue and I can proceed with my rust and other setup and working HDMI, yay :)
<leio>
and I guess maybe some pondering about using dcpext5 afterall too, etc?
<leio>
backing out the 1080 limit now
<janneg>
no need for dcpext5. making dcp work as built-in is not a priority but I'll keep thinking (and testing) why that breaks
<janneg>
feel free to teast if backing out the 4k limit works. DSC seems to work transparently
<janneg>
-a
<leio>
janneg: I can go up to 6K@29.99Hz, but not 60Hz like on macOS
<leio>
display info says it's 12Gps, no DSC
<leio>
but it's 30-bit
<leio>
and I can't select 24-bit from gnome settings
<leio>
anyhow, I switched monitor live from the 4K to 6K, didn't work; wrestled with monitor itself going nuts and not letting me open a menu with that non-working signal and eventually replugged the HDMI again to fix that, but a gdm picture appeared instead
<leio>
logged in - picture gone again; another re-plug and back
<leio>
I guess as there's really no 10-bit support anyways, I'll add back that hack to disable 10-bit modes and see if it can achieve 60Hz then@6K
<leio>
and I'll need to check what display info says on macOS with HDMI 6K, maybe it only tells DSC in case of thunderbolt there too (more of a monitor info thing then)
* leio
was wondering why the software rendering feels slower now, but duh, it's 6K now instead of 4K :)
<leio>
janneg: how can I list all the modes that the firmware enumerates? e.g. with the colors limit, I'm not getting anything now from gdm
<leio>
http://dpaste.com/2A2SHQZMH (USB disconnects are me switching monitor back to other computer, USB KVM with it)
<janneg>
leio: none of the kernel source patches are necessay anymore (never were)
<leio>
I was trying to get 6K@60 by having it output 8-bit per color instead of 10-bit per color
<janneg>
color mode "selection" is not implemented. you can list timing and color modes with `trace-cmd stream -e dcp:iomfb_color_mode -e dcp:iomfb_timing_mode`
<leio>
odd, now gdm can't find any suitable modesetting backend, leaving me with just a cursor line at top left corner with no picture, despite having worked that first time
<janneg>
6k@60 requires DSC even for 8-bit
<leio>
restart of gdm over ssh made it work; some sort of a race condition (gdm being too early to start); feels like CanGraphical non-honoring issue all over again
<leio>
but that one is fixed in gdm, unless appledrm claims CanGraphical on the seat too early somehow
<leio>
in macOS HDMI monitor display info does indeed say "12Gps DSC" instead, though macOS doesn't offer HDR over it
baozich has joined #asahi-dev
<ChaosPrincess>
tried to enable speakers on j314, getting kernel errors instead. Headphones broke too https://pastebin.com/56gSxMsb
<j`ey>
ChaosPrincess: sounds like the missing FIXED_VOLTAGE_REGULATOR config
<j`ey>
REGULATOR_FIXED_VOLTAGE
<ChaosPrincess>
yep, thats the thing
millenialhacker has joined #asahi-dev
<ChaosPrincess>
is it just me, or are headphones much louder now?
<leio>
my bad on the HDR; had it disabled in monitor instead from before when trying to get it to do 24-bit
millenialhacker has quit [Remote host closed the connection]
kit_ty_kate has joined #asahi-dev
millenialhacker has joined #asahi-dev
thasti has quit [Remote host closed the connection]
thasti has joined #asahi-dev
millenialhacker has quit [Remote host closed the connection]
qyliss has quit [Quit: bye]
eiln has quit [Quit: WeeChat 4.1.2]
qyliss has joined #asahi-dev
baozich has quit [Ping timeout: 480 seconds]
john-cabaj has joined #asahi-dev
Wubbzy04 has joined #asahi-dev
baozich has joined #asahi-dev
darkapex1 has quit []
darkapex has joined #asahi-dev
<kidplayer666>
aaah
<kidplayer666>
leio: how would you even use hdr on linux anyhow?
<leio>
I was trying to get rid of 10-bit per color, not HDR to begin with; but bandwidth won't work out anyways. HDR works in linux in specific scenarios, I'm not sure if on asahi
<kidplayer666>
leio: wasn't KDE working on enabling it on fullscreen applications (games)?
<kidplayer666>
for version 6 ofc
<leio>
I don't know, I don't do KDE; kind of off-topic here
<leio>
janneg: fwiw, here's the trace-cmd from the 6K: https://dpaste.com/EMQQB2J7P (might be twice, I had to replug it twice to get picture back)
baozich has quit [Ping timeout: 480 seconds]
kaazoo has joined #asahi-dev
AnuthaDev has quit []
Wubbzy04 has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
Wubbzy04 has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
Wubbzy04 has quit [Ping timeout: 480 seconds]
Wubbzy04 has joined #asahi-dev
ciara has quit [Remote host closed the connection]
ciara has joined #asahi-dev
midou has quit [Ping timeout: 480 seconds]
john-cabaj has quit [Ping timeout: 480 seconds]
millenialhacker has joined #asahi-dev
midou has joined #asahi-dev
millenialhacker has quit [Ping timeout: 480 seconds]
midou has quit [Ping timeout: 480 seconds]
midou has joined #asahi-dev
jacksonchen666 is now known as Guest10764
jacksonchen666 has joined #asahi-dev
Guest10764 has quit [Remote host closed the connection]
jacksonchen666 has quit [Quit: WeeChat 4.1.2]
jeisom has joined #asahi-dev
millenialhacker has joined #asahi-dev
ciara has quit [Remote host closed the connection]
millenialhacker has quit [Ping timeout: 480 seconds]