ChanServ changed the topic of #linux-msm to:
jacobk has joined #linux-msm
jacobk has quit [Read error: Connection reset by peer]
jacobk has joined #linux-msm
jhovold has joined #linux-msm
zstas has joined #linux-msm
eugenhristev has quit [Remote host closed the connection]
zstas_ has joined #linux-msm
zstas has quit [Ping timeout: 480 seconds]
jacobk_ has joined #linux-msm
jacobk is now known as Guest2228
jacobk_ is now known as jacobk
Guest2228 has quit [Ping timeout: 480 seconds]
srinik has joined #linux-msm
<z3ntu> bryanodonoghue: didn't check much yet but rebasing my camera things on your "arm-laptop/wip/x1e80100-6.13-rc1+camss" branch gives me this error when starting the camera stream: [ 175.502226] qcom-camss acb3000.camss: could not sync v4l2 controls: -95
<z3ntu> bryanodonoghue: definitely getting into the return -EOPNOTSUPP in csid_set_test_pattern. I will try dropping the other commits
<z3ntu> bryanodonoghue: just 3e78a0a6 plus my patches works as expected
<bryanodonoghue> ok thanks I've only really tested that branch on x1e - not across rb3, rb5, rb3-gen2 yet
<bryanodonoghue> i had a few merge conflicts probably broke something in the resolve
<z3ntu> hm one thing I'm noticing now is that media-ctl -p says the cam is linked with msm_csiphy0 even though in DTS I connect the endpoint to port@1 (so csiphy1)
<z3ntu> bryanodonoghue: anyways, it works as expected when dropping just the TPG-optional commit, so I've got debugfs with the imx858 in higher resolution which just hangs. Not sure you can see anything useful there? https://public.lucaweiss.eu/tmp/camss-broken.txt
<z3ntu> bryanodonoghue: actually something else is wrong with that branch, with the sensor driver that should work, I also don't get any picture, it just seems to hang
<bryanodonoghue> CSID_CSI2_RX_TOTAL_PKTS_RCVD 0x00000000
<bryanodonoghue> CSID_CSI2_RX_TOTAL_PKTS_RCVD 0x00000000
<bryanodonoghue> CSID_CSI2_RX_STATS_ECC 0x00000000
<bryanodonoghue> CSID_CSI2_RX_CRC_ERRORS 0x00000000
<bryanodonoghue> no bueno
<bryanodonoghue> nothing is coming from your CSIPHY to your CSI Decoder
<bryanodonoghue> does a lower resolution work ?
<bryanodonoghue> I'd verify that stream_on actually did something
<bryanodonoghue> i.e. that you didn't get a semi-silent failure in the sensor or in the camss setup
<bryanodonoghue> and does your link_freq support the bandwidth you are pushing @ the higher resolution
<bryanodonoghue> probably not if a lower resolution works for you
<z3ntu> I think right now nothing works, not even the same setup as was working on my own branch without your patches
<bryanodonoghue> thats basically 6.13-rcX
<bryanodonoghue> let me know
<z3ntu> bryanodonoghue: so on https://git.codelinaro.org/bryan.odonoghue/kernel/-/commit/3e78a0a6fc80 (the commit you sent + sc7280 commits) it works fine
<z3ntu> shall I try to bisect?
srinik has quit [Ping timeout: 480 seconds]
<bryanodonoghue> up to yourself
srinik has joined #linux-msm
<z3ntu> bryanodonoghue: oh, I think it's just "media: qcom: camss: Add an id property to struct resources" not including sc7280 when adding the IDs so I guess it's always 0
<bryanodonoghue> ah yes that makes sense I haven't been carrying the 7280 patches in my tree until yesterday
<bryanodonoghue> thx
<Tofe_> I wonder, if I want to have a node in /dev for my uart device (a touchscreen), is it necessary to declare a "serial" alias, or is there another way? Currently I get a ttyMSM node, but I get strange data via uart (many more zero bits than expected), so I'm looking for clues
<Tofe_> I mean, I don't really need a tty for this, just a device node
<z3ntu> bryanodonoghue: also can confirm now with .id=0 to .id=4 added to csiphy_res_7280 it works fine, or at least as before without your patches
<z3ntu> bryanodonoghue: for imx858 with higher resolution hanging, now CSID_CSI2_RX_TOTAL_PKTS_RCVD is going up, e.g. 0x00bb4756 but capture is still hanging. And vfe0 debugfs has 0 for all values so that's also not helpful
<z3ntu> did we conclude something with the virtual channel stuff used with this mode, if this second stream of type PDAF might break this
<bryanodonoghue> best place to discuss PDAF is #libcamera
<bryanodonoghue> i.e. I'm not sure if the SoC needs to somehow interact with the autofocus or if its just magic in the sensor
<bryanodonoghue> I'd imagine the SoC needs to be involved somehow more than just a magic write sequence to the sensor
<z3ntu> bryanodonoghue: I'm happy just ignoring this PDAF stream for now and only taking the cam stream but I feel like (without any evidence) that the sensor sending this stream messes up the receiving side on qcom somehow
<bryanodonoghue> I think that is sensible
<z3ntu> actually I could try the 8192*6144@30fps (4:3) mode, that one only has one stream defined in the xml
<bryanodonoghue> that should work
<z3ntu> This virtual channel thing is part of CSI2 standard I imagine?
<z3ntu> there's actually decent text in the CCS spec, reading now...
<z3ntu> "17.4.2 Data Type PDAF Interleaving" based on the xml I'm guessing the init sequence is doing this
<z3ntu> "17.4.1 Virtual Channel PDAF Interleaving" I'm guessing would be if the xml had vc=0 for 10-bit raw and vc=1 for PDAF
<Pan[m]> <flamingradian[m]> "looking at your dmesg again..." <- im still struggling with this, i've checked every bit on the kernel, and every node seems okay, my guess is that i could be missing firmware files that are required on xiaomi devices but not on others (?, beryllium has these acdb and dsp folders that i don't have
<z3ntu> bryanodonoghue: I'm also seeing there's some clamps to 8191 for height & width, is this some old limitation that's not applicable to the newer HW because this sensor mode is 8192x6144 and Android can also capture a 50MP photo?
<z3ntu> [0:06:48.780467647] [4281] DEBUG SimplePipeline simple.cpp:764 Source 'imx858 17-0029':0 produces 8192x6144-SRGGB10_1X10, sink 'msm_csiphy1':0 requires 8191x6144-SRGGB10_1X10
mripard has quit [Quit: WeeChat 4.4.3]
<bryanodonoghue> z3ntu I forgot about that series
<bryanodonoghue> if jordan doesn't reup it would appreciate it if you could
<bryanodonoghue> since you have hw to test
<z3ntu> bryanodonoghue: I don't have 8250 but at least for the higher resolution patch, while it doesn't fail anymore during pipeline setup, it's also not actually capturing a frame, not sure what the problem is now again
<z3ntu> hopefully I figure this out at some point soon, would be nice... :)
<Pan[m]> <Pan[m]> "im still struggling with this, i..." <- oh okay, systemctl is more useful, that status=4/NOPERMISSION is interestting, but i don't think it is the problem ```Dec 06 16:18:42 xiaomi-nabu systemd[1]: Started Qualcomm... (full message at <https://matrix.org/oftc/media/v1/media/download/AYbCfJ6LDdclexyNF5P7_QA5bkma1lqYHZTXksjnpB7NUx2yq9_S7V1Oqsg7gk5uDV0EhaltyXqGO4TZw6PQ2WFCeT5OD0cgAG1hdHJpeC5vcmcvbGZYa1lkbFpCbnhvU1RoRkJ6SWRibW11>)
<Pan[m]> > <@kypanteru:beeper.com> im still struggling with this, i've checked every bit on the kernel, and every node seems okay, my guess is that i could be missing firmware files that are required on xiaomi devices but not on others (?, beryllium has these acdb and dsp folders that i don't have https://gitlab.com/sdm845-mainline/firmware-xiaomi-beryllium/-/tree/master/usr/share/qcom/sdm845/Xiaomi/beryllium?ref_type=heads
<Pan[m]> * oh okay, systemctl is more useful, that status=4/NOPERMISSION is interestting, but i don't think it is the problem
<Pan[m]> oh wait, i should try first with openrc again, i think there were issues even with op6
<Pan[m]> * with op6 (on systemd)
zstas_ has quit [Ping timeout: 480 seconds]
<Pan[m]> ig ```iov_base=NULL``` could also be part of the problem, where is this value grabbed from?
srinik has quit [Ping timeout: 480 seconds]
irungentoo has quit [Ping timeout: 480 seconds]
jhovold has quit [Ping timeout: 480 seconds]