robclark changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
possiblemeatball has quit [Quit: Quit]
possiblemeatball has joined #aarch64-laptops
<akaWolf> I remember building of tdlib, ldd stage
matalama has joined #aarch64-laptops
<matalama> is there any initramfs modules depends for running external display on sc8280xp?
matalama has quit [Remote host closed the connection]
<robclark> not directly but maybe adsp remoteproc.. you can check that if `echo start > /sys/class/remoteproc/remoteproc0/state` fixes things
<robclark> (as root)
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
possiblemeatball has quit [Remote host closed the connection]
alfredo has joined #aarch64-laptops
laine has joined #aarch64-laptops
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
alfredo1 has joined #aarch64-laptops
alfredo has quit [Ping timeout: 480 seconds]
alfredo1 is now known as alfredo
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
pstef_ has quit [Ping timeout: 480 seconds]
alfredo has quit [Ping timeout: 480 seconds]
pstef has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
hightower3 has quit [Remote host closed the connection]
alfredo has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
alfredo has quit [Read error: Connection reset by peer]
alfredo has joined #aarch64-laptops
pstef_ has joined #aarch64-laptops
pstef has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #aarch64-laptops
xroumegue has quit [Ping timeout: 480 seconds]
alfredo has quit [Remote host closed the connection]
xroumegue has joined #aarch64-laptops
pstef has joined #aarch64-laptops
adamcstephens has quit [Remote host closed the connection]
adamcstephens has joined #aarch64-laptops
pstef_ has quit [Ping timeout: 480 seconds]
pstef_ has joined #aarch64-laptops
pstef has quit [Ping timeout: 480 seconds]
hightower2 has joined #aarch64-laptops
<clover[m]> sound levels are super low on x13s still, anything we can do about it?
<Jasper[m]> Implement the speaker protection functionality in the amp driver
<Jasper[m]> And then crank it
<travmurav[m]> <del>or get a fire extinguisher and just crank it</del>
<clover[m]> lol!
<vadikas[m]> asahi has a fancy daemon for that protection functionality written in rust.
<Jasper[m]> Yes, but that's software
<abby> so is the driver
<broonie> Speaker protection is more a userspace thing, the driver component of it is basically just recording a stream of measurements to userspace.
<broonie> The daemon that they've got is not specific to them and does roughly what anyone should do, I did suggest that they should name it something more general and try talking to ChromeOS and people but I'm not sure if anything happened there.
<Jasper[m]> <abby> "so is the driver" <- I'm (poorly) hinting to the fact that the amp itself has this functionality in hardware
<Jasper[m]> jhovold has mentioned before it's not working currently (because there's no driver)
<Jasper[m]> *driver implementation
<broonie> Does the amp actually implement the protection itself (usually with an onboard DSP) or does it stream sense data back to the host for feeding into a speaker protection algorithm?
<Jasper[m]> Haven't seen any info about that (yet), but the talk here has been that it implements it itself
<Jasper[m]> At least that's what I inferred
<broonie> I'd be a bit careful about assuming that given what hardware typically looks like and the tradeoffs with putting digital stuff in analog devices - it is possible but usually when vendors do this they ship some driver/userspace component on the host that plays a critical role.
<Jasper[m]> broonie: If I were working on it, I'd do more research where possible :p
<Jasper[m]> But iirc there were some issues with getting datasheets for the thing
<broonie> Yes, there's typically poor/no documentation and the algorithms are proprietary.
hightower2 has quit [Ping timeout: 480 seconds]
echanude has joined #aarch64-laptops
<flokli> that didn't stop asahi folks from implementing it ;-)
<flokli> https://github.com/AsahiLinux/speakersafetyd has some nice documentation on their approach, all the hardware-specific parameters are config files, it should be possible to add support for other speakers and other hardware too, assuming they work similarly.
<steev> broonie: iirc johan said it's in the DSP
<steev> i believe it's mentioned in the wrapping up arm laptop project talk he gave at linaro connect
<broonie> steev: The CODEC DSP or the AudioReach one?
<steev> that part, i do not nknow
<steev> admittedly, i don't know the difference between the two :)
<broonie> Well, just that if it's in the CODEC that'd be surprising but if it's in the DSP in the SoC that's the more normal design, it's just that instead of using a userspace daemon they use something running in the SoC DSP.
<broonie> So the CODEC would look very standard.
<Segfault[m]> i know qcom help customise the remoteproc firmware per-device and they really like offloading stuff like that to their dsps, it'd make sense that speaker protection was done in the dsp
<broonie> Yeah, it's not super surprising given that they have a DSP.
<broonie> Equally there shouldn't be any issue doing it in userspace if the DSP is hard to work with for some reason so long as you can get the sense stream to userspace.
hightower2 has joined #aarch64-laptops
ungeskriptet has joined #aarch64-laptops
<\[m]> <flokli> "https://github.com/AsahiLinux/..."; <- I read about this on their blog and it was like WHOA, then I am playing music on it and am like, mmmediocre
<\[m]> also didn't know it was in rust, only read their whatever bootloader was written in rust to be memory safe
<\[m]> oh it's seperate from the speaker drivers mm
<flokli> \[m]: speakersafetyd keeps observing the levels, doing it's calculation on temperature, and reports to the kernel it's ok while it is
<flokli> The kernel cuts the volume down drastically if the heartbeats stop
<flokli> Some of the kernel drivers are in rust too, not sure about that specific part
echanude has quit [Quit: WeeChat 4.2.1]
<abby> gpu, i believe
DrewCollier[m] has left #aarch64-laptops [#aarch64-laptops]
<\[m]> does that mean it will play more silently when under stress for a while?
echanude has joined #aarch64-laptops
<\[m]> I'm testing loudness now - I never cranked the speakers up on mac os so don't know but it does seem like 90 95% feels like ohoh almost too loud have to watch out but still fine
<\[m]> oh ok cool
<\[m]> who are these people getting so motivated to write shit from scratch for apple hardware huh haha
<\[m]> where's the thinkpad fanpeople
<abby> whinging about how lenovo is ruining the thinkpad name, probably
<\[m]> tbh the user experience feels crisp
<\[m]> x220 keyboard was the bad 😭 hahaha
<\[m]> not
<\[m]> did the x13s get cheaper over time? I think I bought in after a year of the release
<\[m]> and it wasn't cheap anyway
<HdkR> Probably one of Lenovo's eternal "sales"
<\[m]> 1.7k
<HdkR> I got each of my 32GB ones for around $1.5k
<JensGlathe[m]> I bought July 23, ~1200 for 21BX-001
<\[m]> march 23
<HdkR> When the "sale" isn't going on then they can climb to something like $2.4k
<\[m]> but 400 nits
<HdkR> It's a tactic that Lenovo has done for decades and it's anti-consumer AF
<\[m]> so let's hope WoA fails then haha, the cpu should be good for couple of years
<\[m]> powerBI says it's good hahaha
<steev> if woa fails, they aren't gonna swap to linux, they'll just say it's arm
<HdkR> WoA needs to survive for us to have a thriving Linux ARM ecosystem outside of Apple
<JensGlathe[m]> when the rest of the world is running on it already...
<steev> if you want the big manufacturers to support it....
<robclark> not to diss pinebook... but pinebook is kinda what you get if you are designing hw expecting only to be able to sell to linux users. Or another way to look at it, all the windows users are subsidizing the hw design for us ;-)
<JensGlathe[m]> we should be thankful (or something)
<robclark> well, feel however you want about it.. but economies of scale and dividing the NRE costs across a larger pool of users is how we get nice hw
<JensGlathe[m]> still feels like qcom has a backup plan
<HdkR> Don't need a backup plan when your SoCs are in 90% of the USA's Android sales :P
<pstef_> all I can do with my pinebook is IRC at most. Don't know about pinebook pro
<\[m]> <robclark> "not to diss pinebook... but..." <- hot take
<\[m]> pinebook pro is good just the keyboard and touchpad are shit
<\[m]> to a spoiled user ofc