marcan changed the topic of #asahi to: Asahi Linux: porting Linux to Apple Silicon macs | Not ready for end users / self contained install yet. Soon. | General project discussion | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Topics: #asahi-dev #asahi-re #asahi-gpu #asahi-stream #asahi-offtopic | Keep things on topic | Logs: https://alx.sh/l/asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
aleasto has quit [Remote host closed the connection]
vx has quit [Server closed connection]
vx has joined #asahi
KDDLB has quit [Server closed connection]
KDDLB has joined #asahi
leo60228- has quit [Server closed connection]
leo60228 has joined #asahi
user982492 has joined #asahi
tertu2 has quit [Server closed connection]
tertu has joined #asahi
tbodt_ has quit [Server closed connection]
tbodt has joined #asahi
thevar1able has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi
yamii has quit [Quit: WeeChat 3.3]
aead has quit [Server closed connection]
aead has joined #asahi
ihaveamac has quit [Server closed connection]
ihaveamac has joined #asahi
user982492 has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
aa has joined #asahi
aa has quit [Remote host closed the connection]
jbowen has quit [Quit: leaving]
Method has quit [Server closed connection]
Method has joined #asahi
skipwich has quit [Server closed connection]
skipwich has joined #asahi
emptynine has quit [Server closed connection]
emptynine has joined #asahi
nafod has quit [Server closed connection]
nafod has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thevar1able has joined #asahi
user982492 has joined #asahi
krbtgt has quit [Server closed connection]
krbtgt has joined #asahi
tmlind has quit [Server closed connection]
tmlind has joined #asahi
bdju has quit [Server closed connection]
bdju has joined #asahi
opticron has quit [Server closed connection]
opticron has joined #asahi
PhilippvK has joined #asahi
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
kov has joined #asahi
rbenua has quit [Server closed connection]
rbenua has joined #asahi
klange has quit [Server closed connection]
klange has joined #asahi
gruetzkopf has quit [Server closed connection]
gruetzkopf has joined #asahi
balrog has quit [Server closed connection]
balrog has joined #asahi
mps has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
vnogueira has quit [Ping timeout: 480 seconds]
TheFirst has quit [Server closed connection]
TheFirst has joined #asahi
jeffmiw has quit [Remote host closed the connection]
jeffmiw has joined #asahi
linuxgemini has quit [Server closed connection]
linuxgemini has joined #asahi
akemin_dayo has quit [Ping timeout: 480 seconds]
kallsyms has quit [Server closed connection]
kallsyms has joined #asahi
rossy has quit [Server closed connection]
rossy has joined #asahi
mps has joined #asahi
Chinese_soup has quit [Server closed connection]
Chinese_soup has joined #asahi
djsrv has quit [Server closed connection]
djsrv has joined #asahi
mustache_ride___ has quit [Server closed connection]
mustache_ride___ has joined #asahi
enomem has quit [Server closed connection]
enomem has joined #asahi
eichin has quit [Server closed connection]
eichin has joined #asahi
ovf has quit [Server closed connection]
ovf has joined #asahi
thevar1able has joined #asahi
espo has joined #asahi
esden has quit [Server closed connection]
esden has joined #asahi
thevar1able has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<Jamie[m]1>
I converted one of them to sequence-of-pnm with both decoders and diffed them, it is indeed subtly different
<Jamie[m]1>
(and it isn't just a frame-sequence-off-by-one thing, no pairs of frames match up across the hw and sw runs)
<Jamie[m]1>
In the case of brokensps, The filters 'graph 0 input from stream 0:0' and 'Parsed_format_0' do not have a common format and automatic conversion is disabled. Error Reinitializing filters.
<Jamie[m]1>
In the case of all(?) the others that fail to produce frames, it's [h264 @ 0x137e0ebc0] hardware accelerator failed to decode picture
thevar1able has joined #asahi
<jannau>
I would not expect a full bitstream HW decoder to produce bit-exact (or any at all) output with a sample with a broken SPS
<Jamie[m]1>
yeah
<Jamie[m]1>
what about the conformance ones though?
<jannau>
I don't remember what the conformance samples are testing, it's possible that they require features not supported by the HW decoder but the list is longer than what I woud expect
<Jamie[m]1>
hmm
<Jamie[m]1>
in that case, is it a bug that ffmpeg is delegating incompatible videos to hardware?
<jannau>
the samples with pixel differences are unexpected, either something wrong in how ffmpeg uses vtb or vtb does some addtional processing
skoobasteeve_ has quit [Server closed connection]
skoobasteeve has joined #asahi
raiaq_ has quit [Remote host closed the connection]
raiaq has joined #asahi
<Jamie[m]1>
for hevc: 172 fail outright, 96 produce different output, out of a total 383
<Jamie[m]1>
and for vp9, none fail outright, but 158 produce incorrect output, and 1 fails early after only 3 frames
raiaq has quit [Remote host closed the connection]
<Glanzmann>
jannau: Is the dcp driver in a state that I can try it on my mini or should I wait? Does it have hdmi replug support? Does screenblanking work? Have you tried rotation?
malvo has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amarioguy has quit [Ping timeout: 480 seconds]
sjg1 has quit [Server closed connection]
sjg1 has joined #asahi
taowa_ has quit [Server closed connection]
taowa_ has joined #asahi
<jannau>
Glanzmann: now that that m1n1 inits the display there is no reason to use the dcp in itss current state
<jannau>
replugging is still broken, screen blanking is powering the display off? if so it doesn't work. it dims my display thoguh
amarioguy has joined #asahi
arnd_ has quit [Server closed connection]
arnd_ has joined #asahi
<Glanzmann>
jannau: I see. I also used the dcp driver to set the right resolution and to rotate my screen 90 degrees.
<Glanzmann>
But I'll try with m1n1 first.
aleasto has quit [Remote host closed the connection]
<jannau>
Glanzmann: rotation works but won't with m1n1 alone
<jannau>
setting the resolution should work as well if screen is not full HD
<Glanzmann>
jannau: My screen is not full hd but, 2560x1440. Than maybe I try it.
<Glanzmann>
jannau: How does the screen dimming work, is that done automatically or is there some magic userland utility for it?
<Glanzmann>
I assume that this is for the laptops, correct?
aleasto has quit [Remote host closed the connection]
<Glanzmann>
jannau: For me it might be, because I edited the kernel config manually and as a result have no DRM_KMS_CMA_HELPER, rebuilding.
aleasto has joined #asahi
<jannau>
also make sure you're you have f9753ef3e94eb416dbe017c88f8939d2fc3f0f28 in your dts if you don't use the kernel one
<jannau>
in doubt try to build the kernel with apple-drm built-in
<Glanzmann>
jannau: I boot using u-boot.
<Glanzmann>
I'll compile it in.
<Glanzmann>
jannau: I now tried to compile it in, still same error, no /dev/dri and no dcp dmesg output. I'll take u-boot out of the picture and use the device tree from the kernel.
___nick___ has quit [Ping timeout: 480 seconds]
<jannau>
booting via u-boot is fine but the embedded dtbs need to have the additional nodes from the kernel
<Glanzmann>
jannau: I see. If it works with m1n1 I'll try that.
<Glanzmann>
jannau: Hmmm. I tried to boot the same kernel using m1n1, and it kind of works, except that I have no video output.
<Glanzmann>
I see the m1n1 asahi logo with a black background and in the top left three pixels in the first row that look greenish.
<Glanzmann>
I used the following command line to boot: M1N1DEVICE=/dev/ttyACM0 proxyclient/tools/linux.py --bootargs="rw root=/dev/nvme0n1p5 rootwait rootfstype=ext4" Image.gz t8103-j274.dtb
<Glanzmann>
Probably this is the issue: [ 2.530569] apple-dcp 231c00000.dcp: received unknown callback D119
<Glanzmann>
I have two other monitors that I could try.
<Glanzmann>
/dev/dri is empty.
<Glanzmann>
Or to be precise, the directory does not exist.
<jannau>
yes, "received unknown callback D119" explains why it doesn't work, it should be "D119": "bool UnifiedPipeline2::detect_fastsim()", whatever that is
zopieux has quit [Ping timeout: 480 seconds]
<Glanzmann>
jannau: I see, might it be possible that I setup the wrong version of the sub os?
<Glanzmann>
stub*
<Glanzmann>
jannau: Do you have a kernel binary and a dtb or a config that I can try, just to make sure that I did not screw up the build?
<jannau>
it is, dcp needs macos 12.x
zopieux has joined #asahi
<Glanzmann>
jannau: Okay, I do not recall which version I used on the mini, so I'll quickly run the asahi installer and try again. Just to make sure that this is not the issue.
amarioguy has quit [Remote host closed the connection]
<jannau>
it would also explain the unknown callback, apple inserted a callback before D119 and with macos 12 we are expecting D120/read_edt_data
<Glanzmann>
I see.
<jannau>
you could also revert bcc0fa44ebd5ce11c2b1964b0952cf918965f5b1
<jannau>
that should have the same level of support on macOS 11.[4-6] stubs
<Glanzmann>
I see. I already deted the stub partition and booting macos, will only take a second.
<jannau>
sure. please use macOS 12.x, this was just a quick thing to test without going through recovery
<Glanzmann>
I'll.
vmeson has quit [Quit: Konversation terminated!]
<jannau>
is 12.2 out or does Apple ommit release candidate in "software update"? updating from 12.2 beta 2
roxfan2 has quit [Ping timeout: 480 seconds]
<Glanzmann>
jannau: To my knowledge it does not omit.
<Glanzmann>
jannau: I get no software updates offered, but I was not on a beta.
<Glanzmann>
jannau: I updated the stub os, now my system appears to be crashing.
<Glanzmann>
Screen turns off, no ssh login possible.
<Glanzmann>
jannau: Xorg runs, but I don't see anything.
<jannau>
dcp crashes early on "2.771400] apple-dcp 231c00000.dcp: RTKit: co-processor has crashed." nothing will work after that
<Glanzmann>
I see. I think I call it a day and go to bed. Tomorrow I'll try other monitors and report back.
<Glanzmann>
jannau: Thank you for helping me get this far. Maybe it will work with another monitor.
<Glanzmann>
jannau: What resolutions did you try?
tpw_rules has joined #asahi
<jannau>
1920x1080 and 1600x1200
vmeson has joined #asahi
<tpw_rules>
Glanzmann: are you around?
boardwalk has quit [Server closed connection]
boardwalk has joined #asahi
artemist has quit [Server closed connection]
artemist has joined #asahi
jmr2 has joined #asahi
<jmr2>
jannau: 12.2 ReleaseCandidate is available if you're running the beta. Once installed, the about box looks like an official release. If you're not running the beta, it's not available yet.
<jannau>
I was aware that that the release candidate was out just confused that it looked like final release
<jmr2>
Agreed. First time I'm running the beta, so I had the same confusion.