Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Admin message
The migration is almost done, at least the rest should happen in the background. There are still a few technical difference between the old cluster and the new ones, and they are summarized in this issue. Please pay attention to the TL:DR at the end of the comment.
When running SM8350-HDK, USBC-HDMI dongle, 3840x2160-30 mode, I got the following screen corruption (note the stripe at the right side of the screen).
display mode for the referene:
#0 3840x2160 30.00 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver
I recall getting very similar diagonal line corruption on DSI devices when playing with planes of differing size with modetest, but only on the first (few?) frames.
Will try to repro and note if it looks the same (right line and all).
Even though likely unrelated, I do want to follow up on my "promise to repro". First up, are the diagonal colored lines a valid test pattern? If yes, then there is no corruption and this is probably expected.
Second, if I use atomic modesetting, the SMPTE color bars appear as expected:
modetest -M msm -P33@81:1440x2880 -s 32:#0-60 -a
However, if using the same command without atomic modeset, the SMPTE color bars appear very briefly before switching to the diagonal lines:
modetest -M msm -P33@81:1440x2880 -s 32:#0-60
Again, this is probably completely unrelated to the corruption you're seeing (which is specifically about the bar on the right-hand side of the screen on DP), so this little thread should just be collapsed and ignored.
One more thing to note: when I reported DSC-like corruption in #42, there is also this strange bar on the right, where colors remain identical horizontally.
Using modetest with custom modes I was able to find that the issue is caused by the vtotal part of the mode. Consider the following images which capture the rightmost part of modetest with vtotal set to 2225, 2230, 2232 an finally 2235:
@lumag Yeah I thought so too but hes not getting HPD with type C at all with your tree.
I am doubting if pmic glink is working right on sm8350HDK. Did you have any changes on top of defconfig to make this work?
Also, I am assuming that you did not change the on-device DIP switches and are using HDMI out along with type C out?
So far, we had DSI panel switch settings as we were mostly using it to validate DSI cmd mode.
@lumag , in that case please attach your config as kuogee requested.
Thanks for confirming the DIP switches.
I do understand that developers can work with different configs but while reporting bugs I will probably request and make it mandatory to share the config which was tested otherwise QC spends a lot of time actually making the setup rather than the issue itself.
My setup is chroem book <--> apple typec dongle (can support 8,1G link rate) <--> hdmi cable <--> dell 4k monitor
I attached a path which support 8.1Gbit link rate.
Would you apply this patch to see it can fix your problem or not (sorry, dp is not work at my sm8350-hdk with linux-next branc0001-kuogee-add-8.1Gbits-link-rate-support.patch.
I will try this patch later today. Meanwhile, could you please try the modes that I posted earlier with HBR3 being disabled? The latest modetest supports specifying custom mode timings.
Also, what kind of issue do you have with the 8350-hdk? Could you please send me a dmesg and/or issue description?
Thanks for help. I've tried booting with the .config you shared earlier, but am still not seeing the DP hotplug. Here's the full boot log: sm8350-dp-rpm.txt
I'm using the following command line arguments: root=PARTLABEL=super console=tty0 console=ttyMSM0,115200n8 fw_devlink=off ignore_loglevel clk_ignore_unused pd_ignore_unused copy_modules --
I used your test-dp-rpm tree and cherry-picked the parked RCG series on top of that.
I've also set the HDK to use HDMI and connected it to both HDMI and DP over USBC simultaneously (which is why the above log has modetest outputting HDMI as connected).
Can you let me know if there are any deltas between our setups that might be causing the DP hotplug to not send?
@jesszhan ,
How do you expect for the PMIC glink to function if there is no adsp firmware? Please start the remoteproc properly and you are going to have all the DP HPD events.
For the reference, you can use meta-qcom to build the initramfs-firmware-sm8350-hdk-image, then you can just concat both cpio.gz files to form the final ramdisk to be passed to mkbootimg.
Thanks for the pointers. I tried loading the adsp firmware but I'm still seeing nothing from the DP hotplug. Here are the updated logs: sm8350-dp-with-fw
I was able to obtain the *.mbn files for adsp, cdsp, slpi, and modem so I loaded them using CONFIG_EXTRA_FIRMWARE. Not sure if that could've caused some issue with DP hotplug. I also tried booting with HDMI plugged in to address the Cannot find any crtc or sizes errors, but got the same results.
Maybe you have a missing jsn file. Could you please use the existing and tested way of providing firmware instead of hacking it through CONFIG_EXTRA_FIRMWARE?
Do you have a initramfs you use for sm8350 which has the adsp firmware?
If so, can you pls share yours and we will use that to get us unblocked on this issue.
We have not used OE environment so far as it was not part of our workflow. We need to have a sync up on this with you and the linaro team as half the time its mostly a question of using the correct initramfs as different members are using a different initramfs while we are mostly relying what has been provided on the snapshots. So we have to align somewhere based on our common needs.
I understand the problems. However please note, that unlike dragonboards and RB[1235] boards we do not have a firmware set licensed for redistribution. So unlike e.g. RB5 we can not put the initramfs anywhere.
Of course this also causes issues on our side too. Historically we have tried different approaches. Mounting modem_a and system_a. Manually creating zip files with the firmware files. I ended up with the OE recipes which repack NON-HLOS.bin (for DSP firmware) and proprietary.tar.gz (as that seems to be the only way to get Adreno ZAP shader and SQE, where required) into initramfs-firmware-board-image.cpio.gz. Then this image can be concatenated with your typical initramfs-test-image.cpio.gz or any other firmware image.
The management on both sides is aware of this issue, but your vote to get Lantronix to follow Thundercomm Robotics boards might also help.
@lumag , I checked more. sm8250 and sm8350 use the same DP compatible. I didnt notice sm8250 in the list in dp_display.c so mistakenly thought DP is not enabled yet on RB5.
Hmm, it uses sc7180 config. Let me really check that tomorrow. Unfortunately at this point I don't have a working DP on the sdm845, I will try getting that to work during the weekend.
Sure. On my sm8350 HDK, I no longer see this vertical bar issue with the patch. Will wait for your result because the pictures on this issue slightly differ from the vertical bar I see but that could also be a monitor to monitor difference. Thats why I didnt mark the "Closes" tag yet.
@lumag , I ran some more tests on my setup. I do still see the issue on some modes with widebus, on some issue does get fixed with it:
3840x2160 30.00 3840 4016 4104 4400 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver (issue is seen without widebus but not with it)
3840x2160 29.97 3840 4016 4104 4400 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver (issue is seen even with widebus)
3840x2160 25.00 3840 4896 4984 5280 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver (issue is seen without widebus but not with it)
3840x2160 24.00 3840 5116 5204 5500 2160 2168 2178 2250 297000 flags: phsync, pvsync; type: driver (issue is seen without widebus but not with it)
3840x2160 23.98 3840 5116 5204 5500 2160 2168 2178 2250 296703 flags: phsync, pvsync; type: driver (issue is seen even with widebus)
So it seems like with fractional fps, issue is still not resolved with widebus. Are you seeing the same behavior OR for you it still happens even with any of the above modes?
@lumag if you are seeing the issue even for non-fractional fps, can you pls share me one more devcoredump with widebus enabled on the resolution you are testing?