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)
jenneron__ has quit [Read error: Connection reset by peer]
jenneron__ has joined #aarch64-laptops
<Dylanger> Hey all, does anyone know what I should do to try and boot Cherry (Acer Chromebook Spin 513), I'm guessing the first step is to cherry-pick the DTBs from Chromium's kernel?
<steev> that's lazor no?
<bamse> Dylanger: upstream should be pretty much up to date, except that display apparently broke in v5.19-rc1
<robclark> no, cherry is a different spin-513
<robclark> confusingly enough
<bamse> oh my
<robclark> it is mtk.. not quite sure what the upstream state is.. apparently they eventually got some things working upstream, but somewhat ever the first mt8192 (?) things shipped
<robclark> s/ever/after/
<robclark> (and for those following along at home w/ lazor/homestar, there is a patch to make things work on -rc1.. `arm64: dts: qcom: Remove duplicate sc7180-trogdor include on lazor/homestar`)
<bamse> robclark: installed sway to do some more testing on my sc8280xp...seems to work ok...but i don't have any cursor...
<bamse> robclark: did i screw up my dpu catalog? or how does the cursor come into play?
<bamse> i don't have gpu support yet...
<Dylanger> <robclark> "no, cherry is a different spin-5..." <- It's MTK Kompanio 1380
<Dylanger> Brand new baseboard iirc
<robclark> gpu shouldn't (in theory) matter for cursor.. pastebin output of modetest w/out sway running when you get a chance?
<bamse> "modetest -s 32:1920x1080 -C" does show a somewhat transparent square bouncing over the screen
<robclark> (modetest w/ no args, where it just prints everything out)
<bamse> sway complains about "Failed to pick cursor format" and "Failed to render cursor buffer"...
<bamse> right after complaining about me not having EGL
<robclark> hmm, you have the right # of primary and cursor planes, so that looks ok (assuming only internal display supported at this point, otherwise I guess I'd expect more primary adn cursor planes
<robclark> try weston, perhaps? I guess this is a sway bug, or at least I'd have to look at how it is failing to pick a plane for cursor.. there seems to be plenty of overlay and cursor planes to pick from
<bamse> found an open bug report, and a suggestion to disable hardware cursor...so now i can see the cursor at least :)
<bamse> on sway that is
<bamse> robclark: but do you know if i'm supposed to expect anything beyond a semi-transparent square bouncing around in modetest when running with -C (test hw cursor)?
<robclark> hmm, that sounds plausibly right
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
<Dylanger> It's Tomato!
<Dylanger> Not Cherry
<Dylanger> Or actually cherry might be the baseboard codename
<Dylanger> And tomato is the overlay?
jhovold has joined #aarch64-laptops
matthias_bgg_ has joined #aarch64-laptops
matthias_bgg_ has quit []
matthias_bgg has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
flowriser has quit [Remote host closed the connection]
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #aarch64-laptops
<HdkR> I see that msm hangcheck timeout is set to a constant 500ms. Anyway that can be changed to a debugfs for easier changing for debugging? I had a game today that was heavier than A660 could handle in 500ms and needed a timeout increase
<HdkR> robclark: ^
<HdkR> https://gist.github.com/Sonicadvance1/671d35e46c785af507b92e960aad4010 Although I don't know if AHB bus errors mean anything
<xnox> was ThinkPad X13s ever available for sale?
<xnox> cause for me it is always out of stock / unavailable
<Dylanger> <xnox> "was ThinkPad X13s ever available..." <- It doesn't actually exist
<Dylanger> I think we all had collective hallucinations
<HdkR> If it is anything like the last generation, it's going to take 6-9 months before it ends up being available
<Dylanger> AMD 6000 is also vaporware
flowriser has joined #aarch64-laptops
<qzed> steev, bamse: does the Flex need clk_ignore_unused to boot?
<qzed> on the Pro X I currently need either that or I have to build gcc-sc8180x as module...
<bamse> qzed: yes, all platforms with kernel modules need clk_ignore_unused
<qzed> bamse: what do you mean "with kernel modules"?
<bamse> okay, that's too generic
<qzed> if I build gcc-sc8180x as module I don't seem to need that
<bamse> all platforms where the clock state set up by the bootloader somehow relates to clients built as modules, needs clk_ignore_unused...because "unused" is determined before any kernel modules have had a chance to probe
<bamse> in the event that you make gcc a module then disabling unused clocks will be a nop, because there are no clocks at late_initcall()
<qzed> ahhh okay
<bamse> and if you build gcc as a module you don't have a working debug uart in most cases
<qzed> yeah
<bamse> and initcalls_done in drivers/base/dd.c will be true, so probe deferral of a few different resource types stops working
<qzed> shouldn't it still be possible to somehow determine which clocks need to be kept on and tell the controller about it via the DT?
<bamse> yes
<qzed> or something along those lines?
<qzed> okay
<bamse> there's a "new" mechanism called "sync_state", in which a provider is informed when all devices referencing it in dt has been probed
<bamse> so we should be able to implement a sync_state callback in each provider and when that happens disable any then unused clocks
<qzed> yeah, that'd make sense
<bamse> problem with that is that traditionally clocks wasn't probed by dt references, so you still have the possibility of some clocks just being resolved based on their global name
<qzed> hmm, right
<bamse> we still have a few of those left...but it's getting there
<qzed> okay, so the commonly accepted thing to do is just using clk_ignore_unused for now?
<steev> bamse answered but yet
<steev> s
<steev> yes*
<bamse> qzed: for now, yes
<qzed> thanks!
<qzed> unfortunately I didn't find any follow-up discussion and I don't think this or something similar has been merged
<bamse> yes
<qzed> anyway, I'll keep an eye out for this, thanks again!
<steev> robclark: actually that msm_gem_vma_inuse thing... it's not from the display turning off - i just ran into it again when simply launching vscode
<robclark> hmm.. well I haven't had a chance to try and figure out what is going on there, but some semi-reliable way to reproduce would certainly be helpful when I do get to it
<steev> i wouldn't say it's "reliable" - it doesn't occur every time i launch vscode, i just happened to notice it because i launched vscode and it didn't finish loading in what i was working on (and now i have to switch to a different kernel to get some work done)
<steev> but the basic gist is, gnome+wayland+vscode
flowriser has quit [Remote host closed the connection]
matthias_bgg has quit [Ping timeout: 480 seconds]
SallyAhaj_ has joined #aarch64-laptops
SallyAhaj has quit [Ping timeout: 480 seconds]
jenneron___ has joined #aarch64-laptops
jenneron__ has quit [Ping timeout: 480 seconds]
derzahl has joined #aarch64-laptops
derzahl has quit [Remote host closed the connection]
jhovold has quit [Ping timeout: 480 seconds]