ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<steev> powered the thinkpad off
<bamse> ahh, yeah that should do the trick :)
<HdkR> Easy enough for it to power off when the battery runs flat :)
<bamse> much better than the battery running fat
<steev> forbidden hawaiian punch
<HdkR> I had a Dell laptop did that one, spooky
<HdkR> Recall on all the Latitude 9540 batteries or something
<bamse> my first macbook pro developed a nice buldge
<steev> bamse: have you tried to compile next? it dies pretty fast at the sa8295p dtsi
<bamse> plain next?
<steev> 9.15-30 syntax error but i don't really understand what it doesn't like
<steev> it's the cpu opp overrides
<bamse> didn't see anything when i synced yesterday...
<steev> hm, then let me poke at our patches, and no, has the sc8280xp stuff on top of next, but none of them, afaik, touch the sa8295 but i guess some might
<steev> it does include sc8280xp, so maybe its something we do
<bamse> right, if your sc8280xp.dtsi is broken that might show up there
<bamse> not ruling out the possibility that i did screw something up...
<steev> i'll check out a vanilla next and then start looking, it's entirely possible i did :D
<steev> okay, looks like something we apply breaks it :(
kettenis has quit [Remote host closed the connection]
kettenis has joined #aarch64-laptops
<steev> but it's not the one i thought it would be, that's interesting
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
laine has quit [Ping timeout: 480 seconds]
SSJ_GZ has joined #aarch64-laptops
<jhovold> steev: bamse: my x13s appears to run cooler than yours. Cluster idling at 32 degrees and ath11k at 46. ath11k going up to 52 degrees when pushed.
<jhovold> that's at 22 degrees ambient
<steev> i'm at 23 ambient here
laine has joined #aarch64-laptops
<leezu_> robclark: KDE KWin now implements Color Transform Matrix support for Night Light. But even though CTM is set both for an laptop display CRTC and external monitor CRTC, the CTM only takes visible effect for the laptop display. Could this be a driver issue? Or do you have any other guess what may be going wrong? I've verified with drm_info that the CTM is being set for both
<leezu_> CRTCs
leezu_ has quit [Quit: WeeChat 3.0]
leezu has joined #aarch64-laptops
<robclark> there is only a single CTM block, and it gets assigned to the internal display.. there are patches floating around to fix that but IIRC there was some objection to the policy aspect of it (ie. what if you don't have an internal display, etc).. I don't remember the latest status on that off the top of my head. But tl;dr: it is the currently expected behavior
<leezu> I see. How does CrOS handle it? Does it use a single CRTC for both displays? If you remember any keywords regarding the patches, please let me know so it will be easier to locate them
<robclark> abhinav or lumag might know the latest status on that.. CrOS has the same problem
<robclark> "drm/msm/disp/dpu1: register crtc color management to first crtc in the list" for ex
<leezu> Thank you for the pointer. So this is a hardware limitation (single CTM block)? Is this common for qcom or only applicable to sc7180?
<robclark> it's a sw bug that CTM is exposed on more CRTCs than supported, but it is a hw limit.. I think other variants of qc chips have more CTM blocks, and/or more features (like gamma/degamma, etc)
<leezu> Then sc7180 can never support CTM for the external display? Or can the single block be applied to both CRTCs?
<robclark> I think it could support CTM on internal and external but not at the same time (but the kms API doesn't support that, so they want to pick the internal display since that is the one connected all the time)
<robclark> CrOS falls back to gpu for nightlight if the CTM property is not exposed, fwiw
<robclark> leezu: side-note, doing CTM on the GPU is basically free from power standpoint.. the only reason CrOS tries to use hw CTM is to avoid powering up the GPU if it is doing overlay composition. If kwin isn't doing overlay composition it should probably not bother with hw CTM (or gamma LUT)
miracolix has joined #aarch64-laptops
jhovold has quit [Ping timeout: 480 seconds]
<leezu> robclark: KWin currently only supports GammaLUT (and with the new PR CMT). There's no GPU shader based night light implementation yet, though given the hardware limitations, it will be necessary to add. With overlay composition, are you referring to a case where for example a video is played full-screen?
<robclark> well that or windowed (which would technically be an underlay) if the gpu rendered layer hadn't changed for the frame
<robclark> but basically if you are using the gpu for composition, the ctm is a few extra instructions in the frag shader, so lost in the noise
<robclark> the main motivation for using kms CTM in CrOS compositor is to avoid powering up the GPU in the first place
<robclark> (and external display scenarios, we are less concerned about the power)
<leezu> Thank you for the explanation. KWin folks are also working on over/underlay support, so eventually the same power savings should become available
<robclark> by then hopefully we come to some solution where we don't expose CTM on more displays than the hw supports ;-)
SSJ_GZ has quit [Ping timeout: 480 seconds]
<leezu> robclark: I noticed CTM breaks after suspending and waking up the laptop. Are you aware of this issue? Looks like KWin is setting the CMT blob correctly before and after suspend (at least it shows as non-0 in drm_info)
<robclark> if I had to take a guess, in the suspend path something triggers switch back to fbcon overwriting the properties? It would be kwin's responsibility to set them again
<robclark> oh, but modetest/drm-info shows non-zero?
<robclark> Hmm, that could be a driver bug..
<robclark> report it to abhinav/lumag ;-)
<leezu> Yes, drm_info shown non-zero. Also changing the CMT / night-light intensity no longer works after the laptop is woken up. It remains disabled until the next boot.
<leezu> Ok, I'll open an issue on the gitlab tracker?
<robclark> yeah, gitlab issue works