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
Caterpillar has quit [Quit: Konversation terminated!]
gwolf has quit [Ping timeout: 480 seconds]
gwolf has joined #aarch64-laptops
gwolf has quit [Ping timeout: 480 seconds]
gwolf has joined #aarch64-laptops
gwolf has quit [Ping timeout: 480 seconds]
gwolf has joined #aarch64-laptops
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
gwolf has quit [Ping timeout: 480 seconds]
gwolf has joined #aarch64-laptops
<albsen[m]> morning, just an update for my x13s: I figured out that I was on debian testing (trixie). now I set it up so that I can pull in "sid/unstable" packages and upgrade to 6.6.9 so far no issues on 6.6.9; today I'll try to build 6.7 mainline and set it up. on 6.6.9 I removed all the iommu params but kept aspm as recommended here: https://github.com/jhovold/linux/wiki/X13s
gwolf has quit [Ping timeout: 480 seconds]
<steev> are you including the config change that ema pointed to a few days back
gwolf has joined #aarch64-laptops
jglathe_ has joined #aarch64-laptops
jglathe_ has quit [Remote host closed the connection]
<albsen[m]> <steev> "are you including the config..." <- no, let me check what he said in the log
jglathe_ has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<albsen[m]> <steev> "are you including the config..." <- I setup the firmware and linked it as suggested here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057040 I also made a custom hook to include the correct firmware files in initramfs (similar to this one https://drive.google.com/file/d/1cOktGsw4TMQ1_Z-6Z-NbINQnYPJPuOOH/view) and it looks like they're being loaded I can see that when booting; I've already started looking at the config
<albsen[m]> change ema is proposing in this changeset: https://salsa.debian.org/kernel-team/linux/-/merge_requests/995/diffs?commit_id=0708910e2e64da1a806f23ac993c144361478cbd to build 6.7 with (but haven't done that) once I'm on 6.7 I'll see why audio is still dodgy but thats likely due to the alsa-ucm-conf from sid not yet installed and configured.
<steev> alsa-ucm-conf does not have a release with the patches yet, afaik
<albsen[m]> steev: where do I get the patches from?
<albsen[m]> i think they moved to gitlab, this one looks old
<steev> wut?
<steev> it's literally 2 days ago for latest commit?
<albsen[m]> 5 years ago, last change
<albsen[m]> hm
<steev> literally 2 days ago
<albsen[m]> sry, I only looked at the folders o0
<albsen[m]> nvrmind :/
<steev> though it also looks like jhovold got some commits in recently as well
<steev> that should fix some of the quietness maybe?
<steev> clover[m]:
<steev> clover[m]: https://github.com/alsa-project/alsa-ucm-conf/pull/382 silly me, hit enter too soon
<steev> maybe i'll update my fork and submit a merge request
<steev> https://salsa.debian.org/steev/alsa-ucm-conf (it's out of date, so don't use debian users)
martiert has quit [Quit: WeeChat 4.1.2]
martiert has joined #aarch64-laptops
<craftyguy> maybe we'll get an alsa-ucm release soon :P
<steev> twould be nice
<jhovold> steev: please don't try the fixed ucm files wihout this series in place to limit the speaker gain:
<jhovold> I'm still sorting out some details and was gonna announce it here when it's ready
<jhovold> But yes, hardware volume control is currently broken, but with that fixed you should watch out so you don't toast your speakers at the highest gain setting
<jhovold> I'm limiting it in the machine driver for now
<jhovold> I'll post some more details later today.
<Jasper[m]> <steev> "clover: https://github.com/alsa..."; <- Ooohh
<Jasper[m]> <jhovold> "steev: please don't try the..." <- Oh
<Jasper[m]> I kinda hope that fix gets merged before the alsa-ucm-conf changes
<Jasper[m]> Would not be fun to accidentally fry the speakers
<steev> jhovold: oh, good to know, i wasn't planning to test it just yet, but was pointing it out, good to know - the good news is... they don't seem to release alsa-ucm-conf very often ;)
<Jasper[m]> Does this also fix the gain on the jaco?
<jhovold> too late for that, but hopefully before the release
<Jasper[m]> s/jaco/jack/
<jhovold> Jasper[m]: correct, I started looking at that issue and went down a alsa rabit hole
<jhovold> turns out everone has been using software volume control so far due to a bug in the UCM files
<Jasper[m]> jhovold: Yes, sorry, that's what I meant
<jhovold> so the line out level has definitely been too high for line-level as you reported
<jhovold> same thing with the speakers
<craftyguy> would this do anything to help pops and such?
<jhovold> everyone has been using the lowest amplification, unless you changes the mixer control manually
<Jasper[m]> jhovold: Awesome, thank you for checking it out
<jhovold> nothing so far has prevented you from drivng the speakers at max power if you did so through alsamixer
<steev> modern audio :)
<jhovold> i want to limit that in the machine driver for everyone, until srinik has been able to run some more tests at higher gains to determine which levels are safe
<jhovold> craftyguy: there are still some pops on suspend/reboot and such, so not directly related
<craftyguy> how do they determine which levels are safe? just curious
<Jasper[m]> jhovold: Sounds like something for speakersafetyd no?
<jhovold> someone needs to be willing to sacrifice their speakers and send square waves at different gain settings
<steev> sounds like a job for not me
<jhovold> i don't recommend anyone to try that at home (excpect srinik) ;)
<Jasper[m]> Ah yes, the company provided test device
<Jasper[m]> :D
<jhovold> Jasper[m]: Qualcomm has a speaker protection feature that can be enabled in the DSP so we won't be using speakerprotd
<Jasper[m]> jhovold: I may be conflating the name of Marcan's testing method with the name for the daemon
<jhovold> it's probably going to take quite a while before we can enable that feature, so we need some limits in place until then
<steev> nah, you have the right name Jasper[m]
<jhovold> Jasper[m]: ah, yeah
<jhovold> steev: speakerprotd is the asahi user-space implementation for speaker protection, I think they test their speeakers manually
<steev> i thought they named it speakersafetyd
<steev> or maybe that's just the repo name
<jhovold> maybe that was it
<jhovold> i don't really know
<steev> git@github.com:asahilinux/speakersafetyd.git
<steev> dunno which the dameon is, but i glanced it over when i saw them talking about it
<steev> though it looks like they lock it down to only mac devices using snd-soc-macaudio
<steev> via udev rule
<steev> i do wish there was an easier way to track patch sets
<steev> since it looks like you'll have a v4
<jhovold> don't worry, i'll include in my wip branches shortly
<steev> i'm in no rush, i figure rc1 will have the goodies :D
<steev> if those changes need the patches, i need them to be in -next before debian will consider them for inclusion in kernels anyway
<jhovold> i've tagged the asoc fixes adding the limits for stable, so they should be backported soon enough too
<_[m]1> waw it's never easy huh 😲 thanks for all the work 🙂
abcdw has quit [Ping timeout: 480 seconds]
adamcstephens has quit [Ping timeout: 480 seconds]
<Jasper[m]> <steev> "though it looks like they lock..." <- Well yeah, I think they want people to port it to their devices first
<Jasper[m]> In a world where hardware control of the amp in the x13s was already present in the driver, you wouldn't need speakersafetyd
adamcstephens has joined #aarch64-laptops
abcdw has joined #aarch64-laptops
<Jasper[m]> The Macs don't have a possibility for that from what I've read. It's purely in software
<Jasper[m]> <steev> "if those changes need the..." <- I think it's the same for Fedora
gwolf has quit [Ping timeout: 480 seconds]
gwolf has joined #aarch64-laptops
matthias_bgg has joined #aarch64-laptops
<clover[m]> steev: it definitely fixes the quietness
<jhovold> clover[m]: i hope you applied my limiting patches?
<jhovold> otherwise it sure it loud, and I would not recommend using it for long periods
<jhovold> the ucm and volume fixes gives a louder sound generally too, but I recommend using the limiting patches
<jhovold> for now
<clover[m]> looks like there is 5 patches? any way i can get them in one big patch file?
<jhovold> Here's an updated wip branch for the X13s:
<jhovold> Changes include
<jhovold> - fix speaker PA volume control
<jhovold> - add speaker playback volume limits (needed with new UCM files)
<jhovold> - fix digital gain bug that can result in distorted (or too quiet) speaker playback
<jhovold> There was a bug in the UCM files that prevented hardware volume control and, for example, resulted in over-driven line-out (jack) and lower speaker volume than intended. This is fixed here:
<jhovold> WARNING: Make sure you apply the kernel fixes before switching.
<jhovold> clover[m]: you can use my lasest wip branch, or I'm sure steev will pick the fixes up soonish
<clover[m]> i grabbed the raw version of each patch and catted them together. seems like it worked... (full message at <https://matrix.org/_matrix/media/v3/download/matrix.org/YYYglcsVHZPikeFYsfDgZVZE>)
<clover[m]> maybe i should just roll back alsa and wait
<clover[m]> it is a work day after all :)
<jhovold> may be wise, i've been accidentally pushing my speakers (and ears) a bit more than intended a few times these past couple of weeks
<jhovold> at least we know that the laptop
<jhovold> *can* get really loud now...
iivanov has quit [Quit: Leaving...]
<clover[m]> yeah, its pretty awesome :)
<Jasper[m]> <jhovold> " - https://github.com/jhovold/..."; <- Thanks! Can't wait for it to land upstream
<steev> yep, i'll be picking them up shortly :D was in work meetings
<jhovold> steev: I sent a v4 of the asoc fixes today that I included in my wip branch
adamcstephens has quit [Remote host closed the connection]
Guest14407 has quit [Remote host closed the connection]
adamcstephens has joined #aarch64-laptops
<steev> jhovold: your wip branch only has 3 of the 4?
<jhovold> right, the last one is just a cleanup
<steev> ah okay
<jhovold> I'll include them all in my coming rc1 branch, but i just cherry picked the three for the 6.7 branch
<steev> works for me :)
<steev> exciting to have audio i can hear
<steev> clover[m]: pushed updated 6.7 branch, also includes some venus clk changes that increase the delay for venus clock resets, a couple minor fixes, v1 of bamse's gpu thermal sensor addition, and of course, the v4 of the audio fixes johan mentioned above
<_[m]1> it's this one right lenovo-x13s-linux-6.7.y
jhovold has quit [Ping timeout: 480 seconds]
<steev> si
<_[m]1> damn it builds fast
<jglathe> Update on ath11k sleep issue: Volterra and X13s now running on 6.7 for a week now, Volterra non-stop with (whatever) sleep - no issues with this.
<jglathe> removed the aspm kernel parameter from the cmdline
<jglathe> on the X13s these are left: pd_ignore_unused clk_ignore_unused efi=noruntime
paddymahoney has quit [Remote host closed the connection]
<_[m]1> seems my vpn doesn't reconnect after sleep mm
paddymahoney has joined #aarch64-laptops
<claydoh[m]> For the Flex 5G, are there any preferred/up-to-date docs regarding a basic OS install, or is the github page still the go-to?
jglathe_ has quit [Remote host closed the connection]
jglathe__ has quit [Remote host closed the connection]
janrinze has quit [Ping timeout: 480 seconds]
<clover[m]> Linux 6.7 and latest alsa-ucm-conf pushed to arch repo