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
Mathew has joined #aarch64-laptops
mcbridematt has quit [Ping timeout: 480 seconds]
Mathew has quit [Quit: Leaving]
mcbridematt has joined #aarch64-laptops
KREYREN_ has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
martiert has quit [Remote host closed the connection]
martiert has joined #aarch64-laptops
KREYREN_ has quit [Remote host closed the connection]
KREYREN_ has joined #aarch64-laptops
mcbridematt has quit [Ping timeout: 480 seconds]
KREYREN_ has quit []
KREYREN_oftc has joined #aarch64-laptops
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
mcbridematt has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
strongtz[m] has joined #aarch64-laptops
<strongtz[m]> robclark: Hi, I wonder if the new X1 chip and the rest a7xx series gpu will be supported by freedreno(gallium) in the future?
<HdkR> Just need someone to backport all the a7xx patches to Freedreno from Turnip :)
<jglathe_x13s> altacus can you boot from USB on these? Windows Dev Kit 2023 is 8cx3, Surface Pro 9 5G (same M/B) is making progress. It's a question of the dtb mostly as it seems
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #aarch64-laptops
jhovold has joined #aarch64-laptops
<konradybcio> jenneron: regarding these swr errors, can you point me to your tree?
shoragan_ has quit []
shoragan has joined #aarch64-laptops
iivanov has quit [Remote host closed the connection]
iivanov has joined #aarch64-laptops
<krzk> konradybcio: jenneron[m]: that's not x13s but flex-5g which does not have sound.
<krzk> what's more, that's sc8180x where the sound was not brought up
<konradybcio> I know
<jenneron[m]> flex 5g dts and sm8150 ASoC driver
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
<konradybcio> jenneron: looks like you're not setting the soundwire pin states
<konradybcio> (no pinctrl-0/names under the swr master)
KREYREN_oftc has quit [Remote host closed the connection]
<jenneron[m]> ok
<jenneron[m]> I will take a look
KREYREN_oftc has joined #aarch64-laptops
<konradybcio> same for the speaker pins, though this is probably not fatal
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
KREYREN_oftc has joined #aarch64-laptops
jglathe_sdbox2 has joined #aarch64-laptops
<jenneron[m]> konradybcio: i'm not sure what pin you want me to configure
<jenneron[m]> do you mean soundwire interrupt?
<jenneron[m]> this pin is from wcd9340, not from tlmm
<konradybcio> is there no swr rx/tx pins on wcd?
jglathe_sdbox2 has quit [Remote host closed the connection]
<jenneron[m]> konradybcio: i don't see them
jglathe_sdbox2 has joined #aarch64-laptops
echanude has quit [Ping timeout: 480 seconds]
<robclark> strongtz[m], HdkR: yeah, it'll get a7xx at some point.. like whenever I get my hands on a7xx device (which will probably be the x1)
<HdkR> Just need more DEs that are full Vulkan :P
<strongtz[m]> yeah, currently I have to use zink+turnip, which has serious performance issues and graphical artifacts
<strongtz[m]> and plasma 6 is very unstable with such combination
echanude has joined #aarch64-laptops
<konradybcio> zink+tu is mostly fine, but it also sometimes has issues with seemingly very simple renders
<konradybcio> e.g. glmark2 has graphical artifacts
<steev> jenneron[m]: they may also be missing from sdm845 (and this could be why audio doesn't work there anymore either)
jglathe_sdbox2 has quit [Remote host closed the connection]
jglathe_sdbox2 has joined #aarch64-laptops
<krzk> jenneron[m]: open existing code for upstreamed board, like x13s and sc8280xp and look there. Whatever you missed, needs to be fixed.
<krzk> jenneron[m]: another way is to look at audio bringup patches for recent socs, like for sm8650 or x1e80100 and compare as well. You need on SoC sides GPR/APR, soundwire, macro codecs and LPASS LPI. Easy to find all this from commits.
<krzk> jenneron[m]: then on the board you need sound node and soundwire devices, plus any pinctrl which is not set by DTSI.
<krzk> although I see that you use wse wcd934x with soundwire interface itself... oh, that's some old kernel 6.7?
<konradybcio> krzk 8180 seems to be based on an older design, before all the macros
<konradybcio> wcd934x/936x
<krzk> konradybcio: yeah, I see now...
<krzk> so it even predates RB5, more like RB3
<konradybcio> y
<bamse> 8180 is based on 8150
<krzk> so speakers are on soundwire bus coming from wcd934x, not from the SoC
<travmurav[m]> konradybcio: re thermal-zones not probing: https://github.com/TravMurav/linux/commit/39f857f937dc58e2da280d2a2cd605a09ab88ca1 still don't understand how it works for you, especially for things without cooling-devices
KREYREN_ has joined #aarch64-laptops
KREYREN_oftc has quit [Remote host closed the connection]
<konradybcio> power allocator is not the default governor
<konradybcio> i need to manually select it through sysfs
<travmurav[m]> duh
<travmurav[m]> well that explains it lmao
KREYREN_ has quit [Remote host closed the connection]
KREYREN_ has joined #aarch64-laptops
<travmurav[m]> as in, it is in my config xD
<konradybcio> welp
<krzk> konradybcio: jenneron[m]: are you sure of your GPIOs for speakers? first, you put two different ones. second, you made them active low, so double check that it is actually supported.
<jenneron[m]> <krzk> "jenneron: open existing code for..." <- x13s is different, its soundwire is on SoC, not in codec afaik
<jenneron[m]> but i don't remember for sure
<krzk> also double check the address (thus also compatible)
<jenneron[m]> thus i used c630 as reference
<krzk> yeah, that's right
<jenneron[m]> <krzk> "jenneron: then on the board..." <- you probably missed that audio overall works, it is just broken soundwire & speakers
<jenneron[m]> <krzk> "although I see that you use..." <- yep i will need to rebase it
<krzk> oh my, this matrix quoting does not make it readable.
<jenneron[m]> ah
<krzk> double check if the speakers go out of reset - so the GPIOs and their low/high.
<krzk> also maybe you will have something in grep . /sys/bus/soundwire/devices/*/status
KREYREN_ has quit [Remote host closed the connection]
jglathe_ has joined #aarch64-laptops
jglathe_sdbox2 has quit [Ping timeout: 480 seconds]
exeat has joined #aarch64-laptops
mjeanson has quit [Ping timeout: 480 seconds]
mjeanson has joined #aarch64-laptops
KREYREN_oftc has joined #aarch64-laptops
cyrinux3 has quit []
cyrinux3 has joined #aarch64-laptops
iivanov has quit [Quit: Leaving...]
<alx__> anyone ever used the neural rpc proc on the x13s before?
alexeymin has quit [Ping timeout: 480 seconds]
jhovold has quit [Ping timeout: 480 seconds]
<altacus> jglathe_x13s: I don't have these devices. I was curious about them and wondered if anyone knew anything about them. Would they share the same firmware?
<jglathe_x13s> altacus: Sort of, partially. the *8280.mbn files are signed in a way that they only load on the designated hardware (my observation) so you need to obtain it from Windows. The fun part is, it boots good enough (most of the time) without them. So you can iterate and debug then
<jglathe_x13s> If they allow boot from USB and with secure boot off, you could at least try. But they are a bet, still.
<jglathe_x13s> sc8280xp is quite a treatment performance wise, tho. even Windows runs quite nice on it.
<altacus> jglathe_x13s: Thank you for the info. I think I will hold off. I have enough devices with only partial linux support as is. The developments for the x13s are very encouraging, it looks like with a bit more patience, most, if not all of the functionality will be there, so I'm very excited!
<altacus> I'm also extremely curious about the X elite laptops, which according to news article should be released with Linux support baked in.
altacus_ has joined #aarch64-laptops
altacus has quit [Ping timeout: 480 seconds]