ChanServ changed the topic of #linux-msm to:
marvin24_ has joined #linux-msm
marvin24 has quit [Ping timeout: 480 seconds]
pevik has quit [Ping timeout: 480 seconds]
pevik_ has joined #linux-msm
<narmstrong> bamse: abhinav__: by curiosity, did someone try to enable HDMI audio on the RB3gen2 ? on hdk8450/8550/8650 we get a timeout while playing audio on the Primary MI2S so I was wondering if it's has been tested
<z3ntu> narmstrong: I've tested it on my Fairphone 5 (QCM6490), works fine there
<z3ntu> with some downstream patches but nothing too interesting
<narmstrong> z3ntu: using audioreach ?
<z3ntu> no, my adsp firmware doesn't support that afaik
<z3ntu> APR
<z3ntu> Does rb3gen use audioreach?
<narmstrong> no idea
<narmstrong> it doesn't seem so...
mripard has joined #linux-msm
<z3ntu> I'd be a bit surprised given my QCM6490 LA firmware doesn't, but also for some reason the sc7280 chromebooks have audioreach in their google-y firmware
<narmstrong> I thought chromebooks were using lpass-cpu bypassing the dsp firmware ?
<z3ntu> Some parts are definitely handled by Linux vs by adsp firmware on those but seems some parts of adsp firmware still do things, see https://lore.kernel.org/linux-arm-msm/20230616103534.4031331-6-quic_mohs@quicinc.com/
animist1 has joined #linux-msm
<narmstrong> so bad he didn't continue, the sound card changes are definitely missing
animist1 has quit [Ping timeout: 480 seconds]
<z3ntu> unfortunately a bunch of things are half baked :(
<z3ntu> Also still fighting since probably 2 years with speaker on both sm7225 Fairphone 4. I get audio from the speaker but it's pretty quiet and I can't for my life figure out why. Maybe ADSP is doing weird things. Maybe (i2c-controlled) amplifier is doing weird things. Maybe Linux has some quirks. For sure I know if I play audio in 16-bit format no audio at all comes out the speaker, with 24-bit I can hear the audio undistorted
janek has joined #linux-msm
<DylanVanAssche> I wonder if we can dump the audio along the path in this LPASS ADSP setup? I guess not? Otherwise you can determine where in the path the audio gets messed up
pespin has joined #linux-msm
<z3ntu> Maybe reverse question: Is (M)I2S tested and working on anything upstream SM8250+? I see it configured on (sm8250) RB5 for HDMI audio but otherwise nothing relevant upstream
<z3ntu> By the way, a bit ago I asked a colleague to solder some wires to some tiny test points for the I2S lines between SoC and amplifier, but unfortunately I couldn't get any useful results, maybe also my cheap logic analyzer isn't fast enough to be usable. So I sorta explored that approach already but it's not really doable on the production phones (and I don't have any kind of breakout-board phones)
<strongtz[m]> I don't really think it's working on anything audioreach anyway
<narmstrong> z3ntu: i2s is tested and validated on pre-8450 (pre-audioreach), i2s doesn’t work with all current audioreach supported platform, we’re currently investigating
<z3ntu> I mean it "works" for me also, as in I get undistorted audio out, but I cannot wrap my head around how to get the volume to something reasonable
<z3ntu> Does the ADSP by default limit volume to something low for like speaker protection reasons or something?
<cwabbott> is this a known compile error?
<z3ntu> narmstrong: I know there's these speaker calibration files you can load into the ADSP, so maybe that's missing for me?
<cwabbott> from merging arm64-for-6.11 into msm-next
<cwabbott> (for sm8650-hdk support that recently went in)
<cwabbott> guess I can disable it for now, but how is it that broken?
<cwabbott> aaand my nvme drive doesn't show up :(
<cwabbott> this might be the reason, I have no idea if it's expected or not:
<cwabbott> [ 1.032870] qcom-qmp-pcie-phy 1c0e000.phy: phy: No clock-output-names index 1
<cwabbott> [ 1.032431] qcom_pmic_glink pmic-glink: Failed to create device link (0x180) with 88e8000.phy
<cwabbott> [ 1.032877] qcom-qmp-pcie-phy 1c0e000.phy: probe with driver qcom-qmp-pcie-phy failed with error -61
<cwabbott> z3ntu: git log says I have that series
<cwabbott> ah, maybe I only have the dt part...
<cwabbott> so I guess arm64-for-6.11 is currently broken because only half of that got merged
<cwabbott> yup, reverting "arm64: dts: qcom: sm8650: drop second clock name from clock-output-names" and I get further, now there are nvme-related messages
<narmstrong> cwabbott: you really need the driver part
<cwabbott> narmstrong: is it ok if i just revert the device tree part? that seems to work
<cwabbott> I can boot with reverting that + the patch to fix to fix a7xx enumeration that robclark hasn't picked up yet
<cwabbott> usb doesn't work, before I had to add a hack patch from flto to avoid needing pd-mapper, I was hoping to drop that but even with the new kernel pd-mapper it's still broken
<cwabbott> I get [ 1.532155] qcom_pmic_glink pmic-glink: Failed to create device link (0x180) with a600000.usb
mripard has quit [Quit: mripard]
<robclark> cwabbott: fwiw the a7xx fix is on msm-next-robclark .. just waiting for akhil to re-send the x1-85 series
animist1 has joined #linux-msm
junari has joined #linux-msm
junari has quit [Ping timeout: 480 seconds]
ungeskriptet is now known as Guest11076
ungeskriptet has joined #linux-msm
Guest11076 has quit [Ping timeout: 480 seconds]
<cwabbott> I looked a bit into why pmic-glink isn't coming up... it's not getting any state notifications from PDR at all
<cwabbott> PDR gets the instance to use (74) just fine from pd-mapper, then does qmi_add_lookup(&pdr->notifier_hdl, SERVREG_NOTIFIER_SERVICE, 1, 74 /* from pd-mapper */)
<cwabbott> then... nothing
<cwabbott> pdr_notifier_new_server never gets called
<cwabbott> oh, didn't realise the name server part is also in the kernel... gotta trace that
<cwabbott> yup, no notifier server ever gets created
<cwabbott> actually no servers at all get created except for ones from the host
jhovold has quit [Ping timeout: 480 seconds]
pespin has quit []
<konradybcio> Luca Weiss: i think 7280-nonchrome is actually audioreach..