PINE64
Beta Convergence edition external display? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PinePhone (https://forum.pine64.org/forumdisplay.php?fid=120)
+--- Forum: PinePhone Software (https://forum.pine64.org/forumdisplay.php?fid=121)
+--- Thread: Beta Convergence edition external display? (/showthread.php?tid=14514)



Beta Convergence edition external display? - Ferenc - 07-25-2021

Hi

I have a brand new PP Beta Convergence, and I wonder if external display works for somebody.
I have tried all the major OSs, and Megi's latest multi.img, but none of those got me closer to a working external display.
After multiple displays, and docking stations which all work otherwise, I am starting to suspect the hardware.

What I often see in dmesg is "unknown message", and DP state 0x03:
Code:
[ 3281.804404] anx7688 1-0028: received SVID
[ 3281.808389] anx7688 1-0028: recv ocm message cmd=0x27 09 27 03 80 01 ff 05 0c 00 00 3c
[ 3281.808449] anx7688 1-0028: received unknown message 0x27
[ 3281.818932] anx7688 1-0028: recv ocm message cmd=0x19 01 19 e6
[ 3281.818999] anx7688 1-0028: received DP_ALT_ENTER
[ 3283.730685] anx7688 1-0028: DP state changed to 0x03
 

And that wlr-randr can't turn on the HDMI:
Code:
wlr-randr --output card1-HDMI-A-1 --on
unknown output card1-HDMI-A-1


But this directory is present:
Code:
/sys/devices/platform/display-engine/drm/card1/card1-HDMI-A-1/

Any tips on how to debug this further?


RE: Beta Convergence edition external display? - whiteinge - 07-26-2021

Megi has some notes about how to debug this in a semi-recent post:

Quote:There are still some HDMI issues some people keep reporting, that manifest themselves by anx7688 firmware not getting past „DP status = 0×03“ (it should go from 0 all the way to 6 normally). When this happens it's caused by HDMI controller inside the SoC using incorrect clock frequency, and anx7688 fails to acquire the HDMI signal from the SoC. It should be easy to fix, but I have trouble reproducing it with my kernel and userspace, so I can't identify the root of the problem, yet.


https://xnux.eu/log/#033


RE: Beta Convergence edition external display? - Ferenc - 07-26-2021

Thanks @whiteinge!
I guess I should try to get in touch with him, and see if I can give him access to this test subject where it is easily reproducible.

Now I see, that there are others investigating this:
https://gitlab.com/postmarketOS/pmaports/-/issues/1009


RE: Beta Convergence edition external display? - Ferenc - 07-28-2021

In the meantime I have been pointed to the even newer blog entry about the topic: https://xnux.eu/log/#039

DRI state seems OK

Code:
grep -A3 HDMI-A-1  /sys/kernel/debug/dri/1/state
connector[52]: HDMI-A-1
        crtc=(null)
        self_refresh_aware=0

But still the output can't be turned on:
Code:
wlr-randr --output HDMI-A-1 --on
unknown output HDMI-A-1

The 
Code:
received SVID
etc, then suggest that it's not a hardware fault, but perhaps a kernel?