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
hexdump01 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
<anthony25> bryanodonoghue: same thing, I tested and the camera is not listed
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
bibikski has joined #aarch64-laptops
<bibikski> bamse: Apologies for the delay, I took some time to clear my head of the issue. So I installed the packages you told me and was able to finally generate the image. I burnt it to a usb and was able to kinda boot. I got an error on boot stating "../systemd/src/boot/boot.c:2560@image_start: Error loading \archarm\6.14.0-rc6-g426b4193b77\vm-linuz: Unsupported". But this was with the kernel that I compiled without using the
<bibikski> config zefi command. I still can't compile the kernel with those additional configurations.
<zdykstra> I haven't followed too closely, how is support for the OLED display in the T14s?
<steev> abel submitted a patchset to make it its own separate dts
chrisl has joined #aarch64-laptops
<steev> i'm not a huge fan, but i don't think there is a good way to detect it, and someone did attempt to read edid from uefi, but it said it was unimplemented or something
chrisl has quit [Ping timeout: 480 seconds]
patrickm has quit [Ping timeout: 480 seconds]
hexdump0815 has joined #aarch64-laptops
hexdump02 has quit [Ping timeout: 480 seconds]
patrickm has joined #aarch64-laptops
june[m] has joined #aarch64-laptops
<zdykstra> Hmm, so unique dts aside, brightness controls / backlight are good to go? I'm pondering picking one up, so I'm curious how usable as a daily driver it is.
tobhe_ has joined #aarch64-laptops
tobhe has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<steev> that i don't know, our release still hasn't gone out, but my understanding is that the t14s is still a bit... rough
<steev> i have one here (with oled) and in windows (and wsl) at least, the screen is definitely gorgeous
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
jhovold has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<jhovold> steev: still no ath11k corruption?
chrisl has quit [Ping timeout: 480 seconds]
SpieringsAE has joined #aarch64-laptops
<SpieringsAE> bamse: thanks for merging the usb-a and sd-card reader support for the asus vivobook, think I'm going to do a rebase for the bluetooth patch and add that todo comment this week
hexdump0815 has quit [Quit: WeeChat 3.8]
<SpieringsAE> hopefully that can get merged as well then
hexdump0815 has joined #aarch64-laptops
<albsen[m]> steev: I've the same laptop, the screen is amazing. I tried but simply cant use windows anymore... hopefully soon the support for the 64gb version gets better. currently its crashing almost every hour.
<SpieringsAE> then next step is add the ps8830s
chrisl has joined #aarch64-laptops
<smoorgborg[m]> <albsen[m]> "steev: I've the same laptop..." <- Disable 32GB RAM, then it doesn't crash.
<albsen[m]> smoorgborg: disabling the 32gb allows to boot, correct. unfortunately, thats not the only hurdle. at the moment, on ubuntu with the most recent kernel 5g wifi disconnect will crash, if only using 2.5ghz there are still some other full system freeze scenarios I wasn't able to pinpoint.
<albsen[m]> i think the wifi one is soon fixed, saw some chatter here about that.
<smoorgborg[m]> OK, for me the kernel had crashes when copying from/to USB3 flash keys with 64G enabled, that is gone with 32G only enabled
<albsen[m]> smoorgborg: yes, that as well was my observation
<albsen[m]> but I get many more random crashes unfortunately
<albsen[m]> and wasn't able to pinpoint them.
<albsen[m]> there is another crash related to video decoding someone mentioned
chrisl has quit [Ping timeout: 480 seconds]
<smoorgborg[m]> After switching to 32G I've hadn't had any crashes, other than the machine doing reboots when loading the CPU 100% for more than a few minutes.
<smoorgborg[m]> But it's not my daily machine, so it's only used lightly
<albsen[m]> was just about to ask that
<albsen[m]> yes, if I browse a bit and so on its fine
<albsen[m]> I tend to push the CPU/RAM with my work, alot.
<albsen[m]> running containers as well
<albsen[m]> when using it as my daily it keeps crashing after about an hour or so
<smoorgborg[m]> I managed to snag a X1 Carbon G9 a few weeks ago, and sure the OLED screen on the T14s is incomparable to the IPS on the C9, but otherwise they so similar - so I've switched to the Intel machine as a daily driver. Really a pity, I'd love to use the T14s but it just needs that tiny bit of maturity.
<albsen[m]> agreed
<smoorgborg[m]> It's really cool to see how fast stuff is moving though, considering the complexity of things and that everything more or less has to be reverse engineered by volunteers.
ungeskriptet_ has joined #aarch64-laptops
ungeskriptet has quit [Ping timeout: 480 seconds]
laine__ has joined #aarch64-laptops
laine_ has quit [Read error: Connection reset by peer]
<albsen[m]> totally agree, thats why I'm hoping my random crash reports help somehow debug.
sgerhold has joined #aarch64-laptops
Kelsar has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
Kelsar has joined #aarch64-laptops
EdLin has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
EdLin has quit [Quit: WeeChat 4.1.1]
srinik has joined #aarch64-laptops
agraf has quit [Quit: ZNC 1.7.4 - https://znc.in]
agraf has joined #aarch64-laptops
<JensGlathe[m]> For the friends of pre-built ubuntu-ish kernel packages, 6.14-rc7-0 is up: https://drive.google.com/drive/folders/1Lps5o3FXroAJFDiKj18vutJbC1uld49s
<JensGlathe[m]> basically rebased mine and jhovold's tree to v6.14-rc7
pabs is now known as Guest11554
Guest11554 has quit [Read error: No route to host]
pabs has joined #aarch64-laptops
davidinux has joined #aarch64-laptops
creemj has quit [Ping timeout: 480 seconds]
ema has quit [Quit: leaving]
creemj has joined #aarch64-laptops
ema has joined #aarch64-laptops
Caterpillar has joined #aarch64-laptops
sudeepholla has joined #aarch64-laptops
krei-se has quit [Ping timeout: 480 seconds]
krei-se has joined #aarch64-laptops
<steev> jhovold: 2 days 2:28 minutes uptime, no corruption
<jhovold> thanks!
SpieringsAE has quit [Remote host closed the connection]
<anthony25> robclark: I reverted the ACD patch, and no freeze anymore
<anthony25> I tried to remove the higher frequencies but it didn't help
<robclark> anthony25: any chance you could reply to the patch on list? I've not seen any issues, but it could be there is some variance from chip to chip
<anthony25> sure! I'll do that later today
<robclark> thx
davidinux is now known as Guest11564
davidinux has joined #aarch64-laptops
Guest11564 has quit [Ping timeout: 480 seconds]
tudorel has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<jhovold> Here's an updated wip branch for the X13s:
<jhovold> Changes include:
<jhovold> - fix ath11k ring-buffer corruption (differently)
<jhovold> - update pipewire fixes to v5
<jhovold> Note:
<jhovold> - please report any ath11k "unexpected rx length" warnings
<jhovold> Here's an updated wip branch for the T14s and X Elite:
<jhovold> Changes include:
<jhovold> - fix lpg pwm calculations
<jhovold> - fix ath12k ring-buffer corruption
<jhovold> - add t14s backlight support
<jhovold> - add t14s-oled devicetree
<jhovold> - update pipewire fixes to v5
jhugo has joined #aarch64-laptops
cyrinux has joined #aarch64-laptops
<tobhe_> thx! I think I might cherry pick those wifi fixes and see if that fixes the complaints I've seen
chrisl has joined #aarch64-laptops
Caterpillar has quit [Quit: Konversation terminated!]
martiert_work has quit [Ping timeout: 480 seconds]
bibikski has quit [Read error: Connection reset by peer]
martiert_work has joined #aarch64-laptops
exeat has quit [Ping timeout: 480 seconds]
tudorel has quit [Quit: WeeChat 4.3.1]
<JensGlathe[m]> My branch, rebased onto jhovold 's branch is up on github and packages on google drive now
<JensGlathe[m]> brightness settings with pwm-backlight end at 100%now, nice
eirikkar has quit [Quit: The Lounge - https://thelounge.chat]
<albsen[m]> I tried the version 17 Jens Glathe so far I've been able to boot, but it's still crashing when I connect to 5ghz wifi. haven't tested anything else yet. on the t14s
Caterpillar has joined #aarch64-laptops
<JensGlathe[m]> @albsen 6.14-rc7-1?
<albsen[m]> sorry, yes not 17 rc7-1
<JensGlathe[m]> Well I must say I haven’t seen any ath12k fix in the part above v6.14-rc7
bibikski has joined #aarch64-laptops
<bibikski> bamse: So i downloaded jhovold's new kernel and packaged it up. Still got the same vzlinux error. After some googling, I tried building and copying the Image file of the kernel and was able to get it to boot. This was the error I received though, EFI stub: Booting Linux Kernel...
<bibikski> (\n)EFI stub: Loaded initrd from LINUX_EFI_INITRD_MEDIA_GUID device path
<bibikski> (\n)EFI stub: Measured initrd data into PCR 9
<bibikski> (\n)EFI stub: Generating empty DTB
<bibikski> (\n)EFI stub: Exiting boot services...
<bamse> bibikski: did you remember the --devicetree argument to mkosi?
<bamse> bibikski: the "Generating empty DTB" indicates that nothing provided a valid .dtb file
<JensGlathe[m]> it is there
<bibikski> bamse: I began to exclude that due to the fact when I was building the os with mkosi, I was receiving an error about duplicate dtb file specified. I had assumed that this was due to the building the kernel with jhovold's defconfig.
<bibikski> bamse: I failed to attempt to burn the usb with the devicetree param, could that be a likely cause?
bibikski has quit [Read error: Connection reset by peer]
bibikski has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<bamse> bibikski: the kernel package will contain all the dtbs for all the boards, the --devicetree argument to mkosi will cause systemd-boot in the generated image to load one specific .dtb into ram before jumping to linux
srinik has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
eirikkar has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
<bibikski> bamse: This is the output I receive when I try to specify the device tree (https://pastebin.com/vyq1Sn1w)
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
<kuruczgy[m]> HdkR: icecream95: According to htop and `/sys/devices/system/cpu/cpufreq/policy*/cpuinfo_cur_freq` it's 3.417 GHz, according to `perf stat -I 2000` it's more like 2.6 GHz
<kuruczgy[m]> So it seems the FW is definitely lying
<kuruczgy[m]> Thermal equilibrium seems to be 2.4 GHz. I can win 200 MHz by picking it up off the desk :)
srinik has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
hexdump0815 has quit [Quit: WeeChat 3.8]
hexdump0815 has joined #aarch64-laptops
<hexdump0815> kuruczgy: maybe putting it on top of a few ice cubes can push it even a bit higher ... at least for a short time :)
srinik has joined #aarch64-laptops
<kuruczgy[m]> I would be interested in somehow plotting the (perf/power) as a function of frequency curve though. I have heard that it is supposedly more power efficient at lower clock rates. That might also be helpful for setting up Energy Aware Scheduling properly. (Not sure how EAS works, whether the curve parameters need to be set explicitly, or if it just figures them out for itself.)
<HdkR> kuruczgy[m]: Huh. No idea what perf stat would be doing differently
<kuruczgy[m]> AFAIK it uses the cpu perf counters instead of some fw interface. (it literally counts the instructions and divides it by the elapsed time)
<bibikski> bamse: so I tried referencing the dts with both a local copy and the presumed output of installing the linux-upstream. No dice
<kuruczgy[m]> *cycles, not instructions
<HdkR> kuruczgy[m]: How does that account for stalls? :thonk:
<HdkR> X1E slurps icache through a straw, it's really easy to stall the frontend
<HdkR> Only 8-bytes per cycle if it needs to fetch from L2
<kuruczgy[m]> It has metrics like cycles, stalled-cycles-frontend, stalled-cycles-backend, branches, branch-misses, etc.
<kuruczgy[m]> So I am pretty sure it accounts for them
<HdkR> hmmm. Need to put my X1E on a hotplate to confirm :D
<kuruczgy> just remember to update firmware before, with previous fw it probably would overheat
<HdkR> I've never updated the firmware on the device
<HdkR> Yoga 7x stock firmwares. T14s gathering dust on the shelf
akhilpo has joined #aarch64-laptops
icecream95 has joined #aarch64-laptops
<icecream95> kuruczgy[m]: The command you used with perf will include time that the CPU is idle, so note that if not all cores are at 100% usage then the frequency shown will be lower
<icecream95> That's why I suggested measuring a specific command, then it only counts time when it's running
<icecream95> Energy Aware Scheduling is apparently only for big.LITTLE (see Documentation/scheduler/sched-energy.rst ), but better Energy Aware Cpufreq might be useful
<kuruczgy[m]> icecream95: It was at 100% the whole time so I guess in this instance it was fine.
<kuruczgy[m]> But so let me understand: perf stat measures the cpu clock cycles (including stall and idle which will be some sort of wfe instruction) over some time T, and gives the average frequency as f=cycles/T? So why does cpu usage matter?
<JensGlathe[m]> Sound has become useable again with X13s and 6.14-rc7-1 (pipewire)
<icecream95> I guess that during PSCI CPU suspend the core clock stops, so it isn't counted then?
<steev> JensGlathe[m]: that is my experience as well :) hopefully we can get more louder soon too
<icecream95> The firmware already exposes perf/power values, see /sys/kernel/debug/energy_model , though not all workloads will behave the same. Interestingly it differs between clusters, for me cluster 0 is the most efficient
<bamse> bibikski: dtb not dts
<bamse> bibikski: not sure why mkosi-qcom/qcom/x1e...dtb would be the same file as mkosi-qcom/qcom/x1e...dtb... those are supposed to live in different namespaces
<bamse> bibikski: that said, you don't need to put the dtb in the mkosi-qcom, if you "make pacman-pkg" and put the package in mkosi.packages mkosi will isntall the kernel and then go find the dtb there
jhovold has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
srinik has quit [Ping timeout: 480 seconds]
srinik has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
bibikski has quit [Remote host closed the connection]