<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Jae/Xiuzhi,<div><br></div><div>I have tried enabling KVM as mentioned in the mail thread. But unable to get the video in the web. Also tried using vnc viewer, but connection refused.</div><div><br></div><div>I see the following:</div><div><br></div><div><div># obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p /dev/hidg1</div><div>26/02/2019 09:41:04 Unable to establish connection with systemd socket</div><div>26/02/2019 09:41:04 Listening for VNC connections on TCP port 5900</div><div>26/02/2019 09:41:04 Listening for VNC connections on TCP6 port 5900</div><div>26/02/2019 09:42:17 Got connection from client 127.0.0.1</div><div>26/02/2019 09:42:17   other clients:</div><div>26/02/2019 09:42:17 Normal socket connection</div></div><div><br></div><div><div># dmesg | grep video</div><div>[   18.921547] aspeed-video 1e700000.video: assigned reserved memory node framebuffer</div><div>[   59.799015] aspeed-video 1e700000.video: Timed out; first mode detect</div></div><div><br></div><div><div>obmc-ikvm recipe:<br></div><div><br></div><div>SUMMARY = "obmc kvm application"</div><div>DESCRIPTION = "Interfaces video device and USB HID device on BMC"</div><div><br></div><div>FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"</div><div><br></div><div>inherit systemd</div><div>inherit obmc-phosphor-systemd</div><div>inherit autotools pkgconfig</div><div><br></div><div>LICENSE = "Apache-2.0"</div><div>LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"</div><div><br></div><div>PV = "1.0+git${SRCPV}"</div><div><br></div><div>SRC_URI = "git://<a href="http://github.com/openbmc/obmc-ikvm">github.com/openbmc/obmc-ikvm</a> \</div><div>        file://Fix_video_restarting_sync_issue.patch \</div><div>        "</div><div>SRCREV = "2bc661d34abd1fda92a9d2b256ed88ca0e90d09a"</div><div><br></div><div>DEPENDS += "autoconf-archive"</div><div>DEPENDS += "libvncserver"</div><div>DEPENDS += "sdbusplus"</div><div>DEPENDS += "sdeventplus"</div><div>DEPENDS += "phosphor-logging"</div><div>DEPENDS += "phosphor-dbus-interfaces"</div><div>DEPENDS += "systemd"</div><div><br></div><div>S = "${WORKDIR}/git"</div><div><br></div><div>SERVICE_FILE = "start-ipkvm.service"</div><div>SYSTEMD_PACKAGES = "${PN}"</div><div>SYSTEMD_SERVICE_${PN} += "${SERVICE_FILE}"</div><div>SYSTEMD_DEFAULT_TARGET ?= "${SYSTEMD_DEFAULT_TARGET}"</div></div><div><br></div><div>What am I doing wrong here?</div><div>Do we need to set "-DBMCWEB_ENABLE_KVM=ON" in bmcweb?</div><div><br></div><div>Regards,</div><div>Thaj</div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 20, 2019 at 11:01 AM Lei YU <<a href="mailto:mine260309@gmail.com">mine260309@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">> Check if there are /dev/hidg0 and /dev/hidg1. If not, check kernel<br>
> configs again.<br>
> Also, check 'start-ipkvm.service' file whether that launches obmc-ikvm<br>
> using this options:<br>
> ExecStart=/usr/bin/env obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p<br>
> /dev/hidg1<br>
<br>
Confirmed that both /dev/hidg0 and /dev/hidg1 are created, and the service is<br>
started with obmc-ikvm -v /dev/video0 -f 10 -k /dev/hidg0 -p /dev/hidg1.<br>
<br>
><br>
> Try this patch:<br>
> <a href="https://gerrit.openbmc-project.xyz/c/openbmc/obmc-ikvm/+/19392" rel="noreferrer" target="_blank">https://gerrit.openbmc-project.xyz/c/openbmc/obmc-ikvm/+/19392</a><br>
<br>
Unfortunately, the patch does not fix the issue, the KVM page still shows a<br>
small black block when browsed to another page and back.<br>
</blockquote></div>