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
chrisl has joined #aarch64-laptops
patrickm has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ellyq_ has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
alpernebbi has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
krei-se- has joined #aarch64-laptops
krei-se has quit [Ping timeout: 480 seconds]
alpernebbi has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
einar has quit [Remote host closed the connection]
chrisl has joined #aarch64-laptops
tobhe has joined #aarch64-laptops
tobhe_ has quit [Ping timeout: 480 seconds]
hightower2 has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<sibis>
anonymix007[m]: yeah, it was me
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
hexdump01 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
chrisl has quit [Remote host closed the connection]
<JensGlathe[m]>
based on jhovold 's wip/x1e80100 branch, plus Volterra stuff
chrisl has quit [Ping timeout: 480 seconds]
bse[m] has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<steev>
freekurt[m]: sometimes you gotta flip the cable
chrisl has quit [Ping timeout: 480 seconds]
alfredo has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
<jhovold>
freekurt[m]: dp hotplug works pretty reliably here with the X13s and a usb-c dp cable, guess it may depend on the monitor
<jhovold>
steev: I haven't noticed any need to flip the cable for dp, I think that was fixed a long time ago
<jhovold>
that said, there are known issues such as crashes if you disconnect (or turn off) the monitor during suspend, so there's definitely more work needed here
<jhovold>
but this applies to all qualcomm platforms, not x13s specific
chrisl has quit [Ping timeout: 480 seconds]
<anonymix007[m]>
sibis: cool! Do you happen to know if it has hardware secure boot enabled?
<steev>
jhovold: it happens with the "05ac:1460 Apple, Inc. Digital AV Multiport Adapter" - it's not always, but sometimes i have to flip it, or plug it in multiple times
<sibis>
anonymix007[m]: We did try booting linux on the variant of the devkit that gets shipped out externally ... but I'll need to check ^^ and get back
<sibis>
anonymix007[m]: don't think qcom would have that enabled on devices that are meant to be for development ...
<steev>
jhovold: maybe it's not the same issue, but here i tried multiple times plugging it in with the labels on the device facing up/ceiling, as soon as i swap it (device #12/#6) so the labels face down/the floor, it works https://www.irccloud.com/pastebin/COCMKFKp/
chrisl has joined #aarch64-laptops
<jhovold>
steev: ok, just reverified that both orientations work here with a usb-c dp cable
<steev>
this thing is old, very old
<jhovold>
looks like you have some usb hub there as well which may be involved
<steev>
i do wish the usb ports were't EVER SO SLIGHTLY wider than a mac's so it's damn near impossible to find those 2 port adapters that just plug in to the thinkpad
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<DJ_Mulder>
There was a guy busy making the kernel work for a Xiaomi Book S in here, but he seemed to have dissapeared :< anyone know the status of it? And/or if someone else took over?
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
DJ_Mulder has quit [Remote host closed the connection]
DJ_Mulder has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<exeat>
glibc had some logic to use DC ZVA even before that recent change, adding some excitement to simple memory write benchmarks
<exeat>
(i.e. memset(..., 0, ...) is miraculously fast)
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ellyq_ has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
paddymahoney has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
pine_appl3 has joined #aarch64-laptops
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
martiert has quit [Quit: WeeChat 4.4.1]
martiert has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
ellyq_ has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
pine_appl32 has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
pine_appl3 has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
abcdw has quit [Ping timeout: 480 seconds]
kuruczgy has quit [Ping timeout: 480 seconds]
dubiousness has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
dubiousness has joined #aarch64-laptops
kuruczgy has joined #aarch64-laptops
abcdw has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
srinik has quit [Ping timeout: 480 seconds]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
srinik has joined #aarch64-laptops
pine_appl32 has quit [Remote host closed the connection]
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
srinik has quit [Remote host closed the connection]
srinik has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
thevar1able has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
malinco has joined #aarch64-laptops
malinco has quit [Quit: Leaving]
ellyq_ has joined #aarch64-laptops
alfredo has joined #aarch64-laptops
<freekurt[m]>
[@steev](https://matrix.to/#/@_oftc_steev:matrix.org) jhovold: I tried unplugging and replugging and flipping and unflipping my usb-c dp cable. nothing seems to work. maybe I will just buy a new cable and cross my fingers? this cable and monitor worked on my gf's work x86 thinkpad so idk why it wouldn't work on my x13s.
<steev>
anything in dmesg?
<freekurt[m]>
If anyone has a link to a known working cable or non-apple adapter, please let me know!
<freekurt[m]>
If I get a dock with two dp outputs, can two external monitors work at the same time with the x13s? Or just one?
<JensGlathe[m]>
Docks are a bit more complicated. Depends how they route the dp altmode lanes through. Usually you have only one display on the type-c. Otherwise the dock needs to do some conversions, and its not dp altmode.
<JensGlathe[m]>
there are several ways, not all are supported or work
<freekurt[m]>
That is from dmesg when I plug the usbc dp cable in.
<JensGlathe[m]>
yea
chrisl has joined #aarch64-laptops
<freekurt[m]>
[@Jens Glathe](https://matrix.to/#/@jglathe:matrix.org) I am a bit unsure how many lanes I should get. Should I get the two lanes or four lanes?
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
two lanes are sure to work.
<JensGlathe[m]>
This is a complex issue. 4 lanes are required for some resolutions, the type-c ports need to support this, and the mux switchery, too. Type-c switchery is controlled by adsp for dp altmode, so it needs to be up, too.
<JensGlathe[m]>
in the current x13s dts, though, it looks like it's still coded with 2 lanes.
<JensGlathe[m]>
there were patches for 4 lanes, but apparently they're not upstream yet
chrisl has joined #aarch64-laptops
<freekurt[m]>
I am having trouble finding a 2 lane cable.
<freekurt[m]>
Oh, maybe searching for 2k@60 and 4k@30?
cyrinux has quit []
cyrinux has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<JensGlathe[m]>
actually not sure. I did a quick try with both on the x13s. "unknown display", 640x480. You have been warned.
chrisl has joined #aarch64-laptops
chrisl has quit [Ping timeout: 480 seconds]
<jhovold>
freekurt[m]: as jens mentioned, make sure you have pd-mapper and the adsp fw running (e.g. so that is audio working)
<jhovold>
and only two lanes are supported for now, any cable should do
<jhovold>
there are issues with some higher resolutions (artifacts), I've only tested 1920x1200 myself
<steev>
i *thought* the fix for that went in to 6.11
chrisl has joined #aarch64-laptops
<robclark>
looks like gregkh cherry-picked it to some stable branches too
srinik has quit [Ping timeout: 480 seconds]
<steev>
in 6.10 i don't see it (yet)
chrisl has quit [Ping timeout: 480 seconds]
chrisl has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<jhovold>
steev: ah, I see now that it was marked as fixed recently
<jhovold>
the first proposed patch apparently made no difference for dmitry's setup and would have made no difference for sc8280xp either
<jhovold>
I think bryanodonoghue ran into this with his x13s, perhaps he can confirm if the issue is gone now
<jhovold>
in case the later three patches mentioned in in the issue tracker fixed it, I mean
<jhovold>
no, those links do not look relevant, so the issue should still be there on the x13s
chrisl has quit [Ping timeout: 480 seconds]
<jhovold>
or maybe it, let see what bryan says
<jhovold>
it does*
<steev>
jhovold: good point... i don't have a 4K monitor here at all (only a 2K) so i couldn't test even if i wanted to (aside from testing that things don't break 2K :D )
<JensGlathe[m]>
I just tested on a 4k screen. If I try 2k I'm half confident it will work
<spawacz>
Is it possible to plug keyboard, mouse and external display at the same time to x13s? There are only 2 usb slots :(
<HdkR>
USB hub with combined displayport and USB ports
<JensGlathe[m]>
no problem. There's always hubs, and I have a Display with type-c connector with integrated hub (which is odd but works nicely for this - you get ethernet, too). It is quite usable this way.
chrisl has joined #aarch64-laptops
<steev>
is that what you're using hdkr?
<HdkR>
steev: Combination of that and another one yea