4K Monitor experiences with the VisionFive 2

Hello all,

when you get Debian to fly (boot), what are your experiences with screen resolution/refresh rate etc.
Any caveats and/or tips?

Regards

Aubrey

I couldn’t get Debian to show anything other than a black screen with the cursor. The monitor I used was a Lenovo “Qreator” 27 which is 4K 60Hz.

Not very promising…
Perhaps the VisionFive people have something to say…

Aubrey

Oh you get a cursor? I get just a solid blank screen (Aorus FI27Q) but I can and am using the board through SSH (and I’m sure serial will work as well). Unfortunately I have no HDMI monitor with a supported resolution.

However, as far as I know, the Aorus FI27Q also supports 1920 x1080.
See also here: Got errors with cursor freezing in Debian image

I tried that lightdm workaround, but I think my situation is different as I get absolutely no activity on the monitor; no cursor, no flashing anything, no sync.

When I kill lightdm (and thus X), it restarts. The kernel log doesn’t reveal a smoking gun:

[68909.454428] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate rate 297000000 tmdsclk 297000000
[68909.563978] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->pixclock = 297000000
[68909.573767] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->tmdsclock = 297000000
[68909.583647] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->prediv = 1
[68909.592568] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->fbdiv = 99
[68909.601481] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->tmds_div_a = 1
[68909.610735] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->tmds_div_b = 0
[68909.619995] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->tmds_div_c = 0
[68909.629262] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->pclk_div_a = 1
[68909.638519] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->pclk_div_b = 2
[68909.647774] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->pclk_div_c = 1
[68909.657031] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->pclk_div_d = 1
[68909.666284] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->vco_div_5_en = 0
[68909.675720] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->pre_cfg->fracdiv = 0
[68909.684688] innohdmi-starfive 29590000.hdmi: *******************************************************
[68909.693853] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->tmdsclock = 297000000
[68909.703819] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->prediv = 4
[68909.712827] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->fbdiv = 20
[68909.721838] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->postdiv = 0
[68909.730929] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->post_div_en = 0
[68909.740367] innohdmi-starfive 29590000.hdmi: inno_hdmi_phy_clk_set_rate hdmi->post_cfg->version = 3
[68909.805566] PVR_K:  502: X disconnected - (devID = 0)
[68910.212315] vs_gem_dumb_create size = 1000
[68910.216475] Allocated coherent memory, vaddr: 0xFFFFFFE1FB4CA388, paddr: 0x104E9F000
[68910.224219] ====> vs_gem_alloc_buf, 162.vs_obj->get_pages = 0
[68910.322483] PVR_K:  52770: X connected - (devID = 0)
[68910.413922] vs_gem_dumb_create size = 7e9000
[68910.418876] Allocated coherent memory, vaddr: 0xFFFFFFE1F97BE0C0, paddr: 0x80200000
[68910.426598] ====> vs_gem_alloc_buf, 162.vs_obj->get_pages = 0
[68910.469402] vs_gem_dumb_create size = 4000
[68910.473784] Allocated coherent memory, vaddr: 0xFFFFFFE1F97B8400, paddr: 0x80058000
[68910.481529] ====> vs_gem_alloc_buf, 162.vs_obj->get_pages = 0
[68910.487405] vs_gem_dumb_create size = 4000
[68910.491692] Allocated coherent memory, vaddr: 0xFFFFFFE1F97B84E0, paddr: 0x8005C000
[68910.499428] ====> vs_gem_alloc_buf, 162.vs_obj->get_pages = 0

A unified reply to a question about the display of debian69 - VisionFive 2 (English Forum) - RVspace Forum

@tommythorn any log after input modetest -M starfive -c

Confirmed. I also getting black screen with cursor if connected to 4k monitors. Works on 1k monitor.