ChanServ 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
iivanov has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<zdykstra> The HP X14 is a great price on eBay; but dang I can't use a laptop without a track point.
chrisl has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
iivanov has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
ellyq_ has joined #aarch64-laptops
ellyq has quit [Ping timeout: 480 seconds]
<robclark> I guess if this was apple laptops there would be less debate about which one to get :-P
<zdykstra> Honestly though the x13s is still a great little system, awful s2idle power drain aside
<robclark> I'm pretty happy with my yoga 7x (the 3k oled screen is pretty nice), but I wish it had proper pg up/down keys
<robclark> I like the x13s too, but the extra go-fast in the x1e is pretty useful to me
iivanov has joined #aarch64-laptops
<bamse> zdykstra: hoping we can resolve the s2idle situation
<craftyguy> that would be amazing 😁
hipboi has joined #aarch64-laptops
<steev> yes it would
<zdykstra> That'd be neat. In any case, amazing work by everybody here that has contributed to getting it where it is. Thank you all.
iivanov has quit [Remote host closed the connection]
tobhe_ has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
iivanov has quit [Ping timeout: 480 seconds]
hipboi has quit [Quit: hipboi]
ellyq_ has quit []
ellyq has joined #aarch64-laptops
hipboi has joined #aarch64-laptops
hipboi has quit []
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
iivanov has quit [Read error: No route to host]
iivanov has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
telegramgroup_001[m] has quit [autokilled: Spambot. Mail support@oftc.net if you think this is in error. (2024-10-22 04:29:20)]
iivanov has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
hipboi has joined #aarch64-laptops
hipboi has quit []
iivanov_ has joined #aarch64-laptops
iivanov has quit [Read error: No route to host]
<freekurt[m]> bamse: what does the process of resolving the s2idle situation look like?
alfredo has quit [Quit: alfredo]
iivanov_ has quit [Remote host closed the connection]
hipboi has joined #aarch64-laptops
hipboi has quit []
indy has quit [Ping timeout: 480 seconds]
hipboi has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
iivanov has quit [Ping timeout: 480 seconds]
iivanov has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<jhovold> maz: sure, I've added it to the wip branch
<maz> jhovold: thanks
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<macc24> <kuruczgy[m]> "I would actually recommend it if..." <- stick a bit of playdough on delete key and remap it to the lid switch
<macc24> at this point i'd tell people to get a thinkpad t14s but it seems to have either a cursed ec that pretends to be both usual h8 and qcom's it8987, or both of them on the motherboard
alfredo has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<tobhe_> also the 64 GB version is more trouble than good right now
<tobhe_> but that seems to be true for all of the laptops
tobhe_ is now known as tobhe
<macc24> i remember trying to overclock 128gb of ram in my desktop
<macc24> it refused to be stable above 3200mhz
<macc24> took two higher-rated sticks out, and easily got 3800mhz
<macc24> tobhe_: why
<macc24> > <@_oftc_tobhe_:matrix.org> also the 64 GB version is more trouble than good right now
<macc24> * why?
<tobhe> grub crashes unless you arbitrarily limit it to 32GB, kernel too in certain circumstances
<tobhe> there seems to be some firmware bug lurking around
<maz> tobhe: grub crashes even on 32GB machines. the ubuntu version seems slightly more stable (though it explodes if you edit the command-line), but the Debian version is unusable.
<maz> may not be the same problem though.
<tobhe> the kernel also blows up when trying to access usb sometimes
<tobhe> especially when booting from usb
<tobhe> that's the bluescreen issue some have been reporting
<tobhe> the only "solution" that reliably works is cutmem 0x8800000000 0x8fffffffff in grub
<maz> I haven't had that so far.
<maz> I wonder if the EL2 FW misprograms the SMMU, leading to this sort of things.
<macc24> maz: tbh it'd be more surprised if grub *didn't* crash
<tobhe> something like that doesn't seem unlikely
<maz> macc24: for all its sins, grub is pretty reliable anywhere else.
<tobhe> especially the fact that usb access reliably triggers it sounds very much like an iommu issue
<maz> tobhe: it'd be relatively easy to probe by controlling the allocations in the kernel, and see if that breaks.
aradhya7 has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
hipboi has quit [Quit: hipboi]
hipboi has joined #aarch64-laptops
srinik has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<macc24> could it be easier to do a binary search to check which parts of memory are unusable?
weirdtreething has quit [Ping timeout: 480 seconds]
weirdtreething has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
<pstef> port FreeBSD, no grubs there ;-)
<macc24> no swaywm on freebsd :(
<tobhe> pstef: my openbsd works fine too ;)
<tobhe> and there even is sway
<macc24> uhhhhh
<travmurav[m]> macc24: probably not long to do a full scan and would more reliably find unaccounted reserved/rzwi memory xD
<macc24> generic excuse
<travmurav[m]> but I'd really hope uefi knows and knocks out reserved memory properly
<tobhe> I am pretty certain it doesn't
<travmurav[m]> well I mean then linux woudl explode too
<tobhe> it does in some cases
<travmurav[m]> mhm
<tobhe> > the only "solution" that reliably works is cutmem 0x8800000000 0x8fffffffff in grub
<travmurav[m]> was there any memtest.efi? xD
<tobhe> this is for Linux, not for grub
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<maz> macc24: if my hunch is correct, all the memory is good. but the SMMUv2 in front of the USB is controlled by the hypervisor (gunhya), probably trapping and emulating things. If the SMMU emulation has been designed for 32GB and masks the top bits of the PA, we end-up in lalaland.
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
<maz> but that's only a guess.
agl has joined #aarch64-laptops
<tobhe> so force allocations to end up in the upper half, do the same for the lower half and see if it makes a difference is your suggestion?
<maz> something like that. be prepared to lose data... :-/
<\[m]> when would the t14s get cheaper? problably not when the x1 plus thinkbooks release?
<travmurav[m]> maz: smmuv2 is well known to be emulated on qcom afaik
aradhya7 has quit [Quit: Connection closed for inactivity]
<travmurav[m]> it was for pre-gunyah based hyp at least
<travmurav[m]> and I'd assume they just ^C^V that code too
chrisl has joined #aarch64-laptops
<maz> quite possible. and 32G of PA space was pretty large on phones until recently. just less so for modern systems.
<maz> but again, tjat
<maz> that's me speculating.
chrisl has quit [Ping timeout: 480 seconds]
<Jasper[m]> <\[m]> "when would the t14s get cheaper?..." <- Either when people sell em because they figure out they can't use em
<Jasper[m]> Or when companies sell em in bulk to replace with the next
<tobhe> it also seems to depend on where you are. lots of cheap x13s on ebay in the US while the price in Europe seems relatively stable
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> actually, here in the netherlands the x13s dropped by like 50% here in the netherlands, its up for 750 ish on dutch amazon now
<SpieringsAE> the price seems to have fallen of of a cliff from 10 oct onwards, it was 1200 on that datae
<Jasper[m]> I snagged mine off Marktplaats for 650, no webcam shutter and weird panel, but it's 32GB RAM
<maz> soooo last year... :D
<Jasper[m]> Did have to replace the SSD though, dude crammed in a 2280 ssd, almost murdering the m.2 slot
<SpieringsAE> nice lol, yeah this one is a 16 gb model
<Jasper[m]> *128GB 2280 ssd
<SpieringsAE> its not soldered emmc on the x13s?
<Jasper[m]> No, PCIe 3.0 x4
<Jasper[m]> Got a 2230 2TB SN770M, works perfectly
<Jasper[m]> Had to fit a 2230 to 2242 pcb adapter thingy, but that worked fine
<SpieringsAE> for some reason I was convinced it had soldered emmc, guess I very wrong
<SpieringsAE> nice lol, is that not too thick?
<Jasper[m]> Some devices do, 7c(2) devices have eMMC, sc7280 has UFS
<Jasper[m]> samsung x1e/p laptops do UFS though
<SpieringsAE> jeah no idea why
<SpieringsAE> I was hoping to see someone try out lpcamm with these chips
<SpieringsAE> but alas
<Jasper[m]> SN770M fits, I'm assuming the 740 does too, haven't heard if ajyone tried the corsairs
<Jasper[m]> *anyone
<SpieringsAE> nothing like that so far
<Jasper[m]> I'm holding out SOME hope for Framework, but LPCAMM2 is still expensive as hell
hipboi has quit [Quit: hipboi]
<\[m]> SpieringsAE didn't you write you got one on laptopbillinger?
<SpieringsAE> I mean it is a thing by samsung I believe, so if anyone I would've expected them
<SpieringsAE> yeah I got the asus vivobook s15 yesterday
<SpieringsAE> im not really interested in the x13s, just went to check
<\[m]> aha - I was checking the t14s there, alternate.de is way cheaper still - but they are not coming through to give me the offer
<macc24> <Jasper[m]> "samsung x1e/p laptops do UFS..." <- oh no
<SpieringsAE> oh jeaaaah
* macc24 hardcoded sda as "external storage" and nvme0n1 as "internal storage" in install scripts
<SpieringsAE> whoopsie
<Jasper[m]> smart
<travmurav[m]> inb4 sda is the firmware lun and the device is extra destroyed
SpieringsAE has quit [Quit: Leaving]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
iivanov has joined #aarch64-laptops
kettenis has joined #aarch64-laptops
<kettenis> the x1e80100 device tree has "dma-ranges = <0 0 0 0 0x10 0>;"
<kettenis> so if the cutmem posted by tobhe is correct, you can't use the upper 32GB of memory without using the IOMMU
<kettenis> wouldn't surprise me if their UEFI implementation ignores the SMMU and relies on it being in bypass mode
kettenis has quit [Quit: leaving]
kettenis has joined #aarch64-laptops
<robclark> with grub, do you end up dma'ing to/from some memory above 32GB? I wouldn't expect CPU access to be problematic (unless stage 2 mmu hadn't setup access above 32GB)
agl has quit [Ping timeout: 480 seconds]
agl has joined #aarch64-laptops
agl has quit []
agl has joined #aarch64-laptops
<kettenis> I wouldn't rule it out
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<jhovold> Here's an updated wip branch for the X13s:
<jhovold> Changes include:
<jhovold> - fix pmic-glink race that can break adsp services with in-kernel pd-mapper
<jhovold> Here's an updated wip branch for x1e80100:
<jhovold> Changes include:
<jhovold> - fix pmic-glink race that can break adsp services with in-kernel pd-mapper
<jhovold> - fix pcie pipediv2 clk halt check
<jhovold> - fix display pll enabled warning
<jhovold> - add support for alternate t14s trackpad
<jhovold> - add command line override for ID_AA64MMFR0_EL1.ECV
<jhovold> Known issues:
<jhovold> - in-kernel pd-mapper still breaks audio and is left disabled for now
<robclark> is the pmic-glink race the thing that caused in-kernel pd-mapper to be disabled?
<robclark> oh, I guess audio issue still
<jhovold> yeah, I feared it was two separate regressions and the fixes only address the first (e.g. broken battery, usb-c orientation detection and almode notifications)
<jhovold> audio breakage happens more rarely (e.g. one in fifty boots instead of one in two for the fixes issue)
<jhovold> fixed*
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
<robclark> ok.. somehow I never had battery/etc issues.. audio isn't quite working yet (`alsactl info` detects something but gnome does not.. but I had this problem on x13s too)
<jhovold> yeah, the race depends on when the remoteprocs are started so you can be lucky and not hit it
chrisl has quit [Ping timeout: 480 seconds]
<robclark> I have to manually start the remoteprocs, I suspect .ko loads in initrd but fw does not, but haven't really looked closer. I guess that is why I don't see it
<robclark> (two wrongs make a right? Two bugs make a feature?)
<jhovold> :)
agl has joined #aarch64-laptops
agl has quit []
agl has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
<kbingham> robclark, You're giong to produce t-shirts with that quote right ? ;-)
<robclark> :-P
<HdkR> Day one patches for the new Snapdragon going to get pushed today? :P
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
<steev> I want shirts with "You're probably right, but for the sake of my argument, you're wrong" on them
agl has joined #aarch64-laptops
<macc24> <travmurav[m]> "inb4 sda is the firmware lun and..." <- i'll just make install script bail out on ufs devices and tell users to either get it working on their own or get me a device with ufs storage, i don't want to brick anything so it's my only choice
agl has quit []
agl has joined #aarch64-laptops
<JensGlathe[m]> @steev good one
agl has quit []
agl has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
agl has quit []
iivanov has joined #aarch64-laptops
agl has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
alfredo has quit [Quit: alfredo]
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
iivanov has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
agl has joined #aarch64-laptops
agl has quit []
agl has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
agl has quit []
agl has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<zdykstra> huh, system76 has an ampere workstation coming out in a few weeks
<JensGlathe[m]> $5k and quite a power envelope. Nah, I'm restraining myself to the angrybox
srinik has quit [Ping timeout: 480 seconds]
iivanov has quit [Quit: Leaving...]
alfredo has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
alfredo has quit [Remote host closed the connection]
jhovold has quit [Ping timeout: 480 seconds]
<HdkR> It's a shame that the system76 system is just Ampere Altra
<Dylanger[m]> Honestly, I'm thinking of buying an M2 Mac Mini and using that as a daily with AsahiLinux, Ampere is just too expensive
<bamse> freekurt[m]: there's a resource vote in the pcie controller driver, to work around pcie issues...so we need to resolve and remove that during suspend... that seems to take us way down in power consumption...and it doesn't look too bad as we get back up...but at that point we'd have to deal with anything no longer working
srinik has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<JensGlathe[m]> Dylanger: that will set you back at least 2k€
<JensGlathe[m]> serious money
chrisl has quit [Ping timeout: 480 seconds]
srinik has quit [Ping timeout: 480 seconds]
<freekurt[m]> bamse: thanks for the explanation! who all is working on this?
<robclark> is that related to the pcie3 series that has gone thru many revisions?
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
<bamse> freekurt[m]: konradybcio has some work-in-progress patches that are looking quite good...
<bamse> which our pcie team is looking at as well...
chrisl has joined #aarch64-laptops
<bamse> robclark: no, i don't think anything has been posted upstream for this yet
chrisl has quit [Ping timeout: 480 seconds]
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
agl has quit [Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in]
agl has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops