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)
<cenunix[m]> ah, main reason i'm asking is because im trying to use qrtr and pd-mapper for the battery status on the thinkpad x13s
<cenunix[m]> pd-mapper relies on qrtr-ns ? at least in the .service file provided in the pd-mapper repo, so i'm unsure how I should proceed to get pd-mapper working as intended
<bamse> cenunix[m]: should be sufficient to just start the pd-mapper service (or just run pd-mapper in the console)...if you have the relevant firmware files
<bamse> cenunix[m]: pd-mapper depends on the ns functionality...which these days lives in the kernel
<cenunix[m]> pd-mapper gives me : no pd maps available
<cenunix[m]> for reference, im running it on nixos, which does not keep its firmware in /lib/firmware, so I forked pd-mapper and changed the default firmware path from /lib/firmware to /run/current-system/firmware
<cenunix[m]> it seems as though that part is working, as i'm not getting any errors now regarding not finding the firmware
<agl7> steev: Ok, I will wait ...
<bamse> cenunix[m]: the file you need is /lib/firmware/qcom/sc8280xp/LENOVO/21BX/battmgr.jsn
<bamse> cenunix[m]: pd-mapper typically searches for *.jsn in the directories describes in /sys/class/remoteproc/*/firmware
<bamse> cenunix[m]: ohh "seems as though ...working"...then you should be fine then :) but make sure that it actually finds the battmgr.jsn and not just one of the other *.jsn
<bamse> cenunix[m]: also note though that the remoteproc for the adsp must be running, in case you messed around with the firmware paths
<cenunix[m]> I have battmgr.jsn.xz file in the directory /run/current-system/firmware/qcom/sc8280xp/LENOVO/21BX/
<bamse> cenunix[m]: have you taught pd-mapper how to read .xz files?
<cenunix[m]> no, im assuming thats whats causing the issue lol
<bamse> it sounds like a good lead ;)
<cenunix[m]> thanks for pointing me in the right direction, i'll get on that :)
<bamse> perhaps just leave it uncompressed?
<bamse> cenunix[m]: x13s have been highlighting how annoying the pd-mapper and jsn scheme is...so we've talked about just moving the service into the kernel - just as we did with qrtr-ns
<steev> what in the world
<steev> why the hell does the firmware get shoved into /run on nixos?
<bamse> steev: because it's blazingly fast!
<steev> apparently so
<steev> the more i hear about nixos the more i wonder if these people even know what they're doing
<steev> it's just dumb shit after dumb shit
<bamse> ugh, looks like this old crap works now
<steev> Ay, rc6 is out and that means a few more of our patches are in :) and by our, I mean the developers of msm stuffs
<bamse> been spelunking old trees all afternoon, trying to puzzle together the last pieces to get external display properly up and running on flex 5g
<steev> 9 or 10 patches that we were carrying
<steev> Oh spiffy
<steev> I haven’t revisited mine yet :(
<bamse> don't bother, yet
<bamse> linux-next doesn't boot reliably
<steev> Well the c630 and the x13s are both mostly working so I haven’t needed to
<bamse> got some fixes coming for that
<bamse> it's sad how bad the keyboard on the flex5g is though :(
<steev> I mostly use the flex for its wsl2 testing
<bamse> i used flex to develop all the external display stuff...
<bamse> but haven't really touched it since i got the x13s
<bamse> felt the urge to test it now that i merged the base dts though...and flush out any delta i had laying around
<steev> makes sense
<bamse> would be nice to get the prox onboard as well...
systwi_ has joined #aarch64-laptops
systwi has quit [Ping timeout: 480 seconds]
<cenunix[m]> What’s wrong with it being in /run, just deviating from the standard? Genuine question I have no clue lol
<steev> well, /run is temporary, and firmware doesn't change so often that it needs to be replaced every boot
<cenunix[m]> Ah, firmware isn’t stored there, it’s technically in /nix/store, it’s symlinked
<steev> that's a little bit better
baozich has joined #aarch64-laptops
<steev> there is one weird thing i notice between 6.3 and 6.4... for some reason... in 6.4, gdm seems to be at 150%
<clover[m]> its a feature not a bug
<steev> seems odd to be at 100% on 6.3 and 150% on 6.4
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
<robclark> steev: 100% vs 150% is.. cpu usage? Are things running at same freq in both cases? If so, break out perf?
<HdkR> I assumed scaling
<steev> robclark: scaling, not cpu usage, sorry; basically the login screen looks ginormous on 6.4 and normal on 6.3
<steev> it's looking like it's just a case of gnome devs thinking they know best, again though
<robclark> ahh.. paste output from running modetest on both kernels? Could be some change in properties reported?
iivanov has joined #aarch64-laptops
xroumegue has joined #aarch64-laptops
rmsilva_ is now known as rmsilva
srinik has quit [Killed (NickServ (Too many failed password attempts.))]
srinik has joined #aarch64-laptops
hightower3 has joined #aarch64-laptops
hightower2 has quit [Ping timeout: 480 seconds]
hightower3 has quit [Remote host closed the connection]
agl7-Galaxy has joined #aarch64-laptops
<clover[m]> is it annoyingly big?
<steev> yeah, apparently the workaround is to cp ~/.config/monitor.xml /var/lib/gdm3/.config/
baozich has quit [Ping timeout: 480 seconds]
baozich has joined #aarch64-laptops
baozich has quit [Ping timeout: 480 seconds]
baozich has joined #aarch64-laptops
baozich has quit [Ping timeout: 480 seconds]
agl7-Galaxy has quit [Remote host closed the connection]
<stirl_> clover[m] -- I didn't get a chance over the weekend to test any of this out but I will try to get the bootloader installed on my lunch break today. The walkthrough looks pretty complete at this point!
agl7-Galaxy has joined #aarch64-laptops
<clover[m]> you'd probably be the first to use it so let us know how it goes
janrinze has joined #aarch64-laptops
svarbanov has quit [Ping timeout: 480 seconds]
svarbanov has joined #aarch64-laptops
stirl has joined #aarch64-laptops
svarbanov has quit [Remote host closed the connection]
svarbanov has joined #aarch64-laptops
tobhe_ has joined #aarch64-laptops
<stirl_> forgot my live usb at home so I couldn't get it done
stirl has quit [Ping timeout: 480 seconds]
iivanov has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
agl7-Galaxy has quit [Quit: Leaving]
agl7-Galaxy has joined #aarch64-laptops
stirl has joined #aarch64-laptops
stirl_ has quit [Ping timeout: 480 seconds]
<cenunix[m]> might be the hackiest solution to date, however, battery status is working lol
stirl has quit [Ping timeout: 480 seconds]
stirl has joined #aarch64-laptops
agl7-Galaxy has quit [Quit: Leaving]
<steev> if it works... it works
<cenunix[m]> Is there a kernel module for sound stuff on the x13s?
<exeat> Just out of curiosity, where does the kernel normally look for fw on that system?
<cenunix[m]> I think /run/current-system/firmware
stirl has quit [Remote host closed the connection]
stirl has joined #aarch64-laptops
<exeat> Is that a tmpfs filesystem? If so, how is it populated?
stirl_ has joined #aarch64-laptops
agl7-Galaxy has joined #aarch64-laptops
<cenunix[m]> System is built, everything including fw stored in /nix/store, fw symlinked to /run/current-system/firmware
<cenunix[m]> I think, honestly haven’t been using NixOS for THAT long and certainly haven’t been messing with fw besides the past week or so
stirl has quit [Ping timeout: 480 seconds]
pbsds7 has joined #aarch64-laptops
Libre___ has joined #aarch64-laptops
exeat_ has joined #aarch64-laptops
calebccff_ has joined #aarch64-laptops
JoshuaAs- has joined #aarch64-laptops
exeat_ has quit []
macc24_ has joined #aarch64-laptops
krzk_ has joined #aarch64-laptops
xroumegue has quit [charon.oftc.net helix.oftc.net]
exeat has quit [charon.oftc.net helix.oftc.net]
pbsds has quit [charon.oftc.net helix.oftc.net]
krzk has quit [charon.oftc.net helix.oftc.net]
jelly has quit [charon.oftc.net helix.oftc.net]
calebccff has quit [charon.oftc.net helix.oftc.net]
Nao[m] has quit [charon.oftc.net helix.oftc.net]
wiizzard has quit [charon.oftc.net helix.oftc.net]
Prawn[m] has quit [charon.oftc.net helix.oftc.net]
juergh has quit [charon.oftc.net helix.oftc.net]
Leandro[m] has quit [charon.oftc.net helix.oftc.net]
harvestz[m] has quit [charon.oftc.net helix.oftc.net]
go4godvin has quit [charon.oftc.net helix.oftc.net]
mahmoudajawad[m] has quit [charon.oftc.net helix.oftc.net]
lun[m] has quit [charon.oftc.net helix.oftc.net]
luxio_39[m] has quit [charon.oftc.net helix.oftc.net]
AlexMarty[m] has quit [charon.oftc.net helix.oftc.net]
owc[m] has quit [charon.oftc.net helix.oftc.net]
Lucy[m] has quit [charon.oftc.net helix.oftc.net]
shoragan has quit [charon.oftc.net helix.oftc.net]
akaWolf0 has quit [charon.oftc.net helix.oftc.net]
macc24 has quit [charon.oftc.net helix.oftc.net]
flokli has quit [charon.oftc.net helix.oftc.net]
Libre____ has quit [charon.oftc.net helix.oftc.net]
JoshuaAshton has quit [charon.oftc.net helix.oftc.net]
exeat has joined #aarch64-laptops
jelly-hme has joined #aarch64-laptops
flokli has joined #aarch64-laptops
xroumegue has joined #aarch64-laptops
akaWolf0 has joined #aarch64-laptops
<exeat> If that's how NixOS does things, it seems to me that the fw-like pd-mapper files should live in /nix/store with the other fw (but be uncompressed)
go4godvin has joined #aarch64-laptops
go4godvin is now known as Guest2915
wiizzard has joined #aarch64-laptops
calebccff_ is now known as calebccff
<cenunix[m]> Yeah idk the proper way to do it, that’s the reason it’s a hacky workaround. Pd-mapper technically does live in nix/store, but the binary is symlinked to /usr/bin or something like that
Lucy[m] has joined #aarch64-laptops
stirl has joined #aarch64-laptops
stirl has quit [Ping timeout: 480 seconds]
<clover[m]> I did a thing
luxio_39[m] has joined #aarch64-laptops
<cenunix[m]> wooo
<clover[m]> robclark: how did you get sound working? I have SC8280XP-LENOVO-X13S-tplg.bin in /usr/lib/firmware/qcom/sc8280xp and I have alsa-ucm installed with dnf
<robclark> I didn't get sound working yet (or really try to yet)
<clover[m]> Oh ok
<clover[m]> ajhalaney: any thoughts on this?
<ajhalaney[m]> Sound works for me but I'm not really sure _why_ that is I haven't looked into sound much. I thought all that was packaged up proper now but I've polluted my system with various local modifications since purchase so idk. I got a USB stick I was gonna start playing with as a clean install but haven't done much besides verify I could boot once
AlexMarty[m] has joined #aarch64-laptops