Reboot hdmi的屏幕显示失败, 断电重启则没问题

请教下:
装的是 VIM3_Ubuntu-gnome-focal_Linux-4.9_arm64_EMMC_V1.0.9-211217.img,

用root用户执行reboot指令进行不断电重启,重启过程会界面有所显示,但是后面黑屏。

通过断电重启,则直接通过hdmi显示的屏幕是没问题的。

具体是什么原因引起,有没有解决方案?

@prince0071 这是偶然现象还是可复现的。你使用外部供电器供电了么?黑屏前屏幕显示的是什么界面?khadas Logo界面,还是已经进到了Ubuntu界面。

必然现象。 每次必重现。 已经是使用外部供电器了。 黑屏前好像闪了几个图标之类的,dell的显示器好像提示了一下英文什么分辨率是auto之类的(太快了,看不清)。 其实这时候显示器应该不是出于没信号的状态(如果显示器没信号的话,显示器的电源灯颜色是不一样的)。
感觉是视频图像出不来。会不会跟分辨率自适配那些有关系,当前设置的是自适配的。

@prince0071 你是什么分辨率的显示器

dell的显示器。 比较老的设备,只看外设不知道什么分辨率。 分辨率应该是没问题,hdmi接到我笔记本(我win10系统1920*1080)都很正常,然后vim3 开启的也都是正常显示的。

@prince0071 我这边一直未能复现你的问题,是否能换个显示器试一下呢?我们日常开发也会大量使用到reboot,没有碰见过这个问题。

需要我发个录制视频给你么?应该跟显示器没关系的。因为这个显示器拿去外面怎么使用都没问题的。或者系统有什么日志的,我可以发出来你们分析下?

@prince0071 我们这边好几种型号的显示器都没有发现这个问题。你那边找一个其他显示屏测试呢?

换了显示器,还是一样、 你能留个邮箱么,我录了那重启的那30秒的时间的显示器的显示的情况,可能有助你们分析。reboot后,网口ssh连接进去是没问题的。

我刚才特意观察多一阵子,他黑屏以后,偶尔一段时间好像屏幕会闪一下的。

就是中间有过闪屏以后,最后dmesg 打印的最后信息如下:
[ 196.377293] hdmitx: audio: Audio Type: PCM
[ 196.377296] hdmitx: hw: set audio
[ 196.377299] hdmitx: hw: hdmitx tx_aud_src = 0
[ 196.377310] hdmitx: fs = 2, cd = 4, tmds_clk = 108000
[ 196.377313] hdmitx: hw: aud_n_para = 6272
[ 196.377321] hdmitx: hw: set channel status
[ 196.377351] hdmitx: audio: Audio Type: PCM
[ 493.330149] hdmitx: system: irq 4 0
[ 493.351416] hdmitx: system: plugout
[ 493.351453] hdmitx: system: update physcial size: 16 9
[ 494.041202] hdmitx: system: irq 2 0
[ 494.543406] hdmitx: system: plugin
[ 494.675654] hdmitx: edid: EDID Parser:
[ 494.675661] hdmitx: hdmitx: reach vesa idx MAX
[ 494.675664] hdmitx: hdmitx: reach vesa idx MAX
[ 494.675667] hdmitx: hdmitx: reach vesa idx MAX
[ 494.675683] hdmitx: edid: get dtd0 vic: 3
[ 494.675690] hdmitx: hdmitx: reach vesa idx MAX
[ 494.675694] hdmitx: edid: find IEEEOUT
[ 494.675711] hdmitx: edid: check sum valid
[ 494.675713] hdmitx: edid: check sum valid
[ 494.675718] hdmitx: edid: update rx hdr info 0 at edid parsing
[ 494.675722] hdmitx: edid: check sum valid
[ 494.675725] hdmitx: edid: check sum valid
[ 494.675729] hdmitx: edid: blk0 raw data
[ 494.675750] hdmitx: edid:
00ffffffffffff0010ac3ef0534330382815010380291778eaa545a457509e27
0f5054a54b0001010101010101010101010101010101662156aa51001e30468f
33009ae61000001e000000ff00524d523033314139383043530a000000fc0044
454c4c204531393132480a20000000fd00384b1e5309000a20202020202001a6

[ 494.675754] hdmitx: edid: blk1 raw data
[ 494.675774] hdmitx: edid:
02031b61230907078301000067030c002000802d43908402e2000f8c0ad08a20
e02d10103e9600a05a0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000029

[ 494.675778] hdmitx: system: update physcial size: 410 230
[ 494.675786] hdmitx: system: get current mode: 1360x768p60hz
[ 494.675789] hdmitx: system: update rx hdr info 0
[ 494.675792] hdmitx: system: update physcial size: 410 230
[ 494.675831] hdmitx: video: already init VIC = 0 Now VIC = 783
[ 494.675835] hdmitx: hdmitx: VESA only support RGB format
[ 494.675838] hdmitx: hw: div40: 0
[ 494.703618] hdmitx: system: irq 80000001 0
[ 494.705402] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 494.705414] hdmitx: frac_rate = 1
[ 494.705420] hdmitx: config HPLL = 855000 frac_rate = 1
[ 494.705476] hdmitx: HPLL: 0xdb00048e
[ 494.705479] hdmitx: config HPLL done
[ 494.705484] hdmitx: set_hpll_od3_clk_div[610] div = 6
[ 494.705490] hdmitx: j = 23 vid_clk_div = 2
[ 494.705497] hdmitx: set enc for VIC: 783
[ 494.705508] hdmitx: system: irq 80000001 0
[ 494.807424] hdmitx: [0x10000104]: 0x00000001
[ 494.807433] hdmitx: [0x10000180]: 0x000000ff
[ 494.807436] hdmitx: [0x10000181]: 0x000000ff
[ 494.807439] hdmitx: [0x10000182]: 0x00000003
[ 494.807442] hdmitx: [0x10000183]: 0x00000007
[ 494.807446] hdmitx: [0x10000184]: 0x0000003f
[ 494.807449] hdmitx: [0x10000185]: 0x00000002
[ 494.807452] hdmitx: [0x10000187]: 0x000000ff
[ 494.807456] hdmitx: [0x10000188]: 0x00000003
[ 494.827447] hdmitx: hw: config hdmitx IP vic = 783 cd:4 cs: 0
[ 494.837544] hdmitx: video: Sink is HDMI device
[ 494.837577] hdmitx: hw: set audio
[ 494.837583] hdmitx: hw: hdmitx tx_aud_src = 0
[ 494.837596] hdmitx: fs = 2, cd = 4, tmds_clk = 108000
[ 494.837600] hdmitx: hw: aud_n_para = 6272
[ 494.837608] hdmitx: hw: set channel status
[ 494.837638] hdmitx: audio: Audio Type: PCM
[ 494.837642] hdmitx: hw: set audio
[ 494.837645] hdmitx: hw: hdmitx tx_aud_src = 0
[ 494.837657] hdmitx: fs = 2, cd = 4, tmds_clk = 108000
[ 494.837659] hdmitx: hw: aud_n_para = 6272
[ 494.837668] hdmitx: hw: set channel status
[ 494.837697] hdmitx: audio: Audio Type: PCM
[ 597.590965] hdmitx: system: irq 4 0
[ 597.611562] hdmitx: system: plugout
[ 597.611599] hdmitx: system: update physcial size: 16 9
[ 598.302746] hdmitx: system: irq 2 0
[ 598.831553] hdmitx: system: plugin
[ 598.963787] hdmitx: edid: EDID Parser:
[ 598.963794] hdmitx: hdmitx: reach vesa idx MAX
[ 598.963796] hdmitx: hdmitx: reach vesa idx MAX
[ 598.963799] hdmitx: hdmitx: reach vesa idx MAX
[ 598.963815] hdmitx: edid: get dtd0 vic: 3
[ 598.963823] hdmitx: hdmitx: reach vesa idx MAX
[ 598.963826] hdmitx: edid: find IEEEOUT
[ 598.963844] hdmitx: edid: check sum valid
[ 598.963846] hdmitx: edid: check sum valid
[ 598.963852] hdmitx: edid: update rx hdr info 0 at edid parsing
[ 598.963856] hdmitx: edid: check sum valid
[ 598.963859] hdmitx: edid: check sum valid
[ 598.963863] hdmitx: edid: blk0 raw data
[ 598.963884] hdmitx: edid:
00ffffffffffff0010ac3ef0534330382815010380291778eaa545a457509e27
0f5054a54b0001010101010101010101010101010101662156aa51001e30468f
33009ae61000001e000000ff00524d523033314139383043530a000000fc0044
454c4c204531393132480a20000000fd00384b1e5309000a20202020202001a6

[ 598.963888] hdmitx: edid: blk1 raw data
[ 598.963908] hdmitx: edid:
02031b61230907078301000067030c002000802d43908402e2000f8c0ad08a20
e02d10103e9600a05a0000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000029

[ 598.963912] hdmitx: system: update physcial size: 410 230
[ 598.963919] hdmitx: system: get current mode: 1360x768p60hz
[ 598.963923] hdmitx: system: update rx hdr info 0
[ 598.963926] hdmitx: system: update physcial size: 410 230
[ 598.963963] hdmitx: video: already init VIC = 0 Now VIC = 783
[ 598.963968] hdmitx: hdmitx: VESA only support RGB format
[ 598.963971] hdmitx: hw: div40: 0
[ 598.991763] hdmitx: system: irq 80000001 0
[ 598.993549] hdmitx: ddc w1b error 0x54 0x20 0x00
[ 598.993560] hdmitx: frac_rate = 1
[ 598.993567] hdmitx: config HPLL = 855000 frac_rate = 1
[ 598.993622] hdmitx: HPLL: 0xdb00048e
[ 598.993625] hdmitx: config HPLL done
[ 598.993631] hdmitx: set_hpll_od3_clk_div[610] div = 6
[ 598.993637] hdmitx: j = 23 vid_clk_div = 2
[ 598.993644] hdmitx: set enc for VIC: 783
[ 598.993655] hdmitx: system: irq 80000001 0
[ 599.099708] hdmitx: [0x10000104]: 0x00000001
[ 599.099716] hdmitx: [0x10000180]: 0x000000ff
[ 599.099719] hdmitx: [0x10000181]: 0x000000ff
[ 599.099722] hdmitx: [0x10000182]: 0x00000003
[ 599.099726] hdmitx: [0x10000183]: 0x00000007
[ 599.099729] hdmitx: [0x10000184]: 0x0000003f
[ 599.099732] hdmitx: [0x10000185]: 0x00000002
[ 599.099736] hdmitx: [0x10000187]: 0x000000ff
[ 599.099739] hdmitx: [0x10000188]: 0x00000003
[ 599.115598] hdmitx: hw: config hdmitx IP vic = 783 cd:4 cs: 0
[ 599.125697] hdmitx: video: Sink is HDMI device
[ 599.125732] hdmitx: hw: set audio
[ 599.125740] hdmitx: hw: hdmitx tx_aud_src = 0
[ 599.125753] hdmitx: fs = 2, cd = 4, tmds_clk = 108000
[ 599.125756] hdmitx: hw: aud_n_para = 6272
[ 599.125765] hdmitx: hw: set channel status
[ 599.125795] hdmitx: audio: Audio Type: PCM
[ 599.125798] hdmitx: hw: set audio
[ 599.125801] hdmitx: hw: hdmitx tx_aud_src = 0
[ 599.125812] hdmitx: fs = 2, cd = 4, tmds_clk = 108000
[ 599.125815] hdmitx: hw: aud_n_para = 6272
[ 599.125823] hdmitx: hw: set channel status
[ 599.125853] hdmitx: audio: Audio Type: PCM

@prince0071 你从哪里购买的板子,联系售后客服,板子寄回我们分析下

这个着急测试使用呢? 寄回来分析然后往返可能需要比较久的时间吧,我可以开远程,你们操作看看先么?

@prince0071 从Logo上来看是正常的,没有发现什么异常,我们可能需要板子做进一步分析。远程看不出来什么问题

这样吧,我把录制的视频先放到奶牛快传,你们可以看下。直接通过网页下载就可以了。
2个视频,一个是执行reboot以后的那30秒内的视频显示。
另外一个是,等待了好久以后,显示器会出现不断闪屏的画面。
可能有助于你们分析。麻烦看完以后,可以回个帖。
因为这个暂时只是影响到reboot后的,断电重启是没问题的,暂时不影响我这边的测试验证进度,我考虑我这边验证测试完了,可以再寄回分析。
视频下载链接如下:
https://cowtransfer.com/s/f908506537e748

@prince0071 视频我这边看了,目前看不出来是什么原因造成的。那你这么等处理完,再回寄测试。另外你这边安装了哪些软件?

按你们官网指引装了docker,其他的自己安装了 docker-compress, pip-3, 就是中间安装这些过程中有做一个apt-的更新。
其他没什么了。
设置的话,就是改过CPU的频率,都调到超频的最高。

@prince0071 只能等你回寄才能分析这个问题了。目前我这边的dell显示屏未出现这个问题

好的,麻烦你了,到时候我测完再联系下售后客服。
补充下, 我刚才在桌面那里操作 重启,也是一样的情况。

用我们原始的固件,不做任何修改有没有这样的现象?

这个问题,我做了测试,我后面也重新刷过一个版本,就是没做任何的安装应用,直接reboot。也是一样的情况。

这个是软件问题 请问解决了吗 我也遇到了这个