#
✕ nick:janneg
#asahi-dev · 2023-11-18 18:48
jannegfun, j314c has dp-audio0 to dp-audio4 for dcpext0 to dcpext3
#asahi-dev · 2023-11-18 18:22
jannegshould be in released kernels since a while
#asahi-dev · 2023-11-18 18:16
jannegsio boot is reliable, I didn't really test since your dart runtime pm fix
#asahi-dev · 2023-11-18 18:15
jannegpovik: https://github.com/jannau/linux/tree/dcp/dptx-fixes-audio should work on m1 with both 12.3 and 13.5 fw, on m2 with 13.5. I started with some cleanup
#asahi-dev · 2023-11-18 18:08
janneghave you already rebased on asahi-wip or dcp/dptx-fixes? I can push my tree somewhere
#asahi-dev · 2023-11-18 18:05
jannegah, I didn't realize that was in regard to the dpa mmio. so it might already work
#asahi-dev · 2023-11-18 18:04
jannegis it expected that the beginning of the audio is cut-off? for `speaker-test -t wav -c 2` the "front" is mostly inaudible except for the first "Front left"
#asahi-dev · 2023-11-18 18:01
jannegpovik: t60xx, for no change between m1 and m2 and the latter works
#asahi-dev · 2023-11-18 08:16
jannegNefsen402: that's not a log. did you take dcp/dptx-fixes from my or from the AsahiLinux tree. The later has a fix for an issue seen on j414/j416. not sure if there is anything in the devicetree which triggers this or if it depends on other factors. I've never seen that on j314 or while experimenting with dp-altmode
#asahi-dev · 2023-11-18 08:10
janneglog looks like if the display hpd is missing. either I made a mistake when lifting the hpd gpio from ADT. the hpd needs powered dp2hdmi converter but that shouldn't be a problem on the studio
#asahi-dev · 2023-11-18 08:07
jannegleio: that looks ok. yes it's a little annoying that we need context to identify device nodes due to ranges
#asahi-dev · 2023-11-17 19:30
jannegplease paste the output of `dtc -I fs /proc/device-tree -O dts -o - | | grep -A26 'dcp@289c00000 '`
#asahi-dev · 2023-11-17 19:26
janneg" messages, at least one
#asahi-dev · 2023-11-17 19:26
jannegleio: are you using the device tree from the kernel build? there should be "DP2HDMI HPD connected
#asahi-dev · 2023-11-16 22:30
jannegleio: https://github.com/jannau/linux/tree/dcp/dptx-fixes fixes things, could fix m2 ultra
#asahi-dev · 2023-11-13 23:18
jannegpovik: current state is here https://github.com/jannau/linux/tree/asahi-6.5-26-dcpext_dp_t602x_audio
#asahi-dev · 2023-11-13 23:17
jannegpovik: where did you find the dp-audio mmio? I started to make hdmi audio usable on devices with hdmi out. m1 mini works with 12.3 and 13.5 fw, m2 mini only first playback session. haven't looked at anything else yet
#asahi-dev · 2023-11-12 17:31
janneg22 == DPTX_APCALL_DEVICE_NOT_RESPONDING, I should print those legible and probably all of them
#asahi-dev · 2023-11-12 17:30
jannegit should display something. how does the display behave? does it goes black without signal?
#asahi-dev · 2023-11-12 17:28
jannegmissing "DP2HDMI HPD connected" lines in there. does anything interesting happens when you unplug/plug the cable?
#asahi-dev · 2023-11-12 17:24
jannegleio: is the log without a connected display? have you tried with the 4k display? If something goes wrong disconnecting the cable might bring things back along.
#asahi-dev · 2023-11-12 14:12
janneg4k@60 is good enough as fallback for testing
#asahi-dev · 2023-11-12 12:32
jannegI still have no clue how the hdmi 2.1 support is implemented. I would hope it's more than dp 1.4 with dsc but if it is I'd be surprised if your 6k monitor works
#asahi-dev · 2023-11-12 12:29
jannegleio: do you have a second monitor with a resolution <= 4k@60 for testing?
#asahi-dev · 2023-11-12 12:28
jannegleio: yes, that's safer since it's mostly untested and 4k needs to reallocate the frame buffer so there's at least potential for breaking things
#asahi-dev · 2023-11-12 12:05
jannegrequires https://github.com/AsahiLinux/m1n1/pull/351 on m2 ultra and probably everywhere else as well
#asahi-dev · 2023-11-12 12:03
jannegmarcan: macOS doesn't manage to re-init the quiesced dcp*. early 'return 0;' in display_configure() and display_init() avoids that
#asahi-dev · 2023-11-12 12:00
jannegit's still a little janky, especially it's more reliable without dcp tracing but I can even break macOS hdmi out with verbose=3
#asahi-dev · 2023-11-12 11:58
jannegmarcan, leio: https://github.com/jannau/linux/tree/asahi-6.5-26-dcpext_dp_t602x might work on m2 ultra mac pro/studio and 14/16 inch macbook pros. tested on m2/m2 pro mac mini and j314
#asahi-dev · 2023-11-09 14:28
jannegPiR: I think that was already recently fixed by a change by marcan to the wifi driver. So try not too hard to reproduce the issue
#asahi-dev · 2023-11-07 15:58
janneggood night. testable branch with HDMI out for the 14/16 inch Macbook Pros and M2/M2 Pro/Max Mac mini/studio will be ready later today CET
#asahi-dev · 2023-11-07 15:51
jannegmarcan: first a bunch of unrelated minor fixes I have in my dcpext/dptx branch: https://github.com/AsahiLinux/linux/pull/231
#asahi-dev · 2023-11-07 00:05
jannegthe M2 Ultra will almost certainly not work. It needs the PMGR MMIO on die0 but our multi die handling makes it impossible to use a reg entry
#asahi-dev · 2023-11-06 18:18
jannegpr for required m1n1 changes created
#asahi-dev · 2023-11-06 17:15
jannegand dcpext0 works on the m2 pro as well -> likely that m2 ultra just works then when I'm finished
#asahi-dev · 2023-11-05 23:01
jannegnot yet there. I still have ~600 lines to either commit or clean up and that doesn't include porting over the suspected fix
#asahi-dev · 2023-11-05 22:05
jannegM1 Pro/Max macbook pro HDMI out working and I have slight suspicion what's with dcpext0 on m2 pro (and hopefully by extension on m2 ultra)
#asahi-dev · 2023-11-05 15:34
jannegHDMI out on the 14-inch M1* macbook pro logically working but the modeset times out. probably some signal issue with the mux or phy. let's see what macos does
#asahi-dev · 2023-11-03 17:47
jannegthere is an issue that actual brightness never changes
#asahi-dev · 2023-11-03 17:46
jannegiomfb_cb_pr_publish gets called at startup and after brightness changes. this is all not well thought out since my expectation was that it'll be short lived and replaced backlight handling using drm/kms properties
#asahi-dev · 2023-11-02 23:15
jannegI don't know, amarioguy added them. if I had to guess I would use a different mapping
#asahi-dev · 2023-11-02 23:02
jannegI haven't looked at it yet
#asahi-dev · 2023-11-02 21:55
janneghttps://github.com/AsahiLinux/docs/wiki/Codenames
#asahi-dev · 2023-11-02 21:55
janneglooks like there might be a 3 M3 Pro/Max/... macOS kernel builds. apparently there will be H15G, H15J and H15S. could mean that the two M3 Max variants are different chips
#asahi-dev · 2023-11-02 21:31
jannegno, it's using raw frames
#asahi-dev · 2023-11-02 21:28
jannegnicolas17: alreeady done proxyclient/experiments/touchbar_bad_apple.py
#asahi-dev · 2023-11-01 13:40
jannegChaosPrincess: thanks
#asahi-dev · 2023-10-31 21:13
jannegthe adt has at least T8130 which makes a non pro A17 unlikely
#asahi-dev · 2023-10-31 21:09
janneghuh, according to the iPhone16,1 (D83AP, iPhone 15 Pro) device tree, the cpu cores are still sawtooth and everest
#asahi-dev · 2023-10-31 20:47
jannegnicolas17: thanks

plus ›