Hi Vipul,
Sorry for the late reply.
Unfortunately I don't have a simple answer for you. If I were you, I
would add printf's everywhere in QEMU (or use gdb) until I figure out
exactly why the graphics events and pixels don't propagate from
./hw/display/xenfb.c to ui/console.c and to ui/vnc.c.
Hi Vipul,
Great that you managed to setup a debugging environment. The logs look
very promising: it looks like xenfb.c is handling events as expected.
So it would apparently seem that xen-fbfront.c -> xenfb.c connection is
working.
So the next step is the xenfb.c -> ./ui/vnc.c is working.
It
Hi Vipul,
For QEMU you actually need to follow the Yocto build process to update
the QEMU binary. That is because QEMU is a userspace application with
lots of library dependencies so we cannot just do "make" with a
cross-compiler like in the case of Xen.
So you need to make changes to QEMU and
Hi Vipul,
Good progress! The main function we should check is "xenfb_refresh" but
from the logs it looks like it is called several times. Which means that
everything seems to be working as expected on the Linux side.
It is time to investigate the QEMU side:
Hi Vipul,
I am online on IRC OFTC #xendevel (https://www.oftc.net/, you need a
registered nickname to join #xendevel).
For development and debugging I find that it is a lot easier to
crosscompile the kernel "by hand", and do a monolithic build, rather
than going through Yocto.
For instance the
On Thu, 1 Dec 2022, Vipul Suneja wrote:
> Hi Stefano,
> Thanks!
>
> I am exploring both options here, modification of framebuffer source file &
> setting up x11vnc server in guest.
> Other than these I would like to share a few findings with you.
>
> 1. If i keep "CONFIG_XEN_FBDEV_FRONTEND=y"
Hi Stefano,
Thanks!
I am exploring both options here, modification of framebuffer source file &
setting up x11vnc server in guest.
Other than these I would like to share a few findings with you.
1. If i keep "CONFIG_XEN_FBDEV_FRONTEND=y" then xen-fbfront.ko is not
generating but if i keep
Hi Vipul,
I cannot spot any issue in the configuration, in particual you have:
CONFIG_XEN_FBDEV_FRONTEND=y
which is what you need.
The only thing I can suggest is to add printks to the Linux frontend
driver (the one running in the domU) which is
drivers/video/fbdev/xen-fbfront.c and printfs to
Hi Vipul,
Sorry for the late reply. From the earlier logs that you sent, it looks
like everything should be working correctly. Specifically:
vfb = ""
1 = ""
0 = ""
frontend = "/local/domain/1/device/vfb/0"
frontend-id = "1"
online = "1"
state =
Hi Stefano,
Thanks!
Any input further on "xenstore-ls" logs?
I am trying to run the x0vncserver & x11vnc server manually on guest
machine(xen_guest_image_minimal) image but it's failing with the below
error.
Hi Stefano,
Thanks!
I used xen-guest-image-minimal(simple console based image) as a guest with
fbcon & fbdev enabled in kernel configurations but still the same error
can't open the display.
below are the outcome of "xenstore-ls":
Hi Vipul,
If you look at the QEMU logs, it says:
VNC server running on 127.0.0.1:5900
That is the VNC server you need to connect to. So in theory:
vncviewer 127.0.0.1:5900
should work correctly.
If you have:
vfb = ["type=vnc"]
in your xl config file and you have "fbdev" in your Linux
Hi Stefano,
Thanks!
Any input further as per the logs attached?
Regards,
Vipul Kumar
On Wed, Oct 19, 2022 at 10:49 PM Vipul Suneja wrote:
> Hi Stefano,
>
> Thanks for the response!
>
> I am following the same link you shared from the beginning. Tried the
> command "vncviewer localhost:0" in
Hi Stefano,
Thanks for the response!
I am following the same link you shared from the beginning. Tried the
command "vncviewer localhost:0" in DOM0 but same issue "Can't open
display", below are the logs:
*root@raspberrypi4-64:~# vncviewer localhost:0TigerVNC Viewer 64-bit
v1.11.0Built on:
It usually works the way it is described in the guide:
https://www.virtuatopia.com/index.php?title=Configuring_a_VNC_based_Graphical_Console_for_a_Xen_Paravirtualized_domainU_Guest
You don't need to install any VNC-related server software because it is
already provided by Xen (to be precise it
Hi Stefano,
Thanks for the response!
I could install tigerVNC, x11vnc & libvncserver in Dom0 xen-image-minimal
but only manage to install libvncserver(couldn't install tigervnc & x11vnc
because of x11
support missing, it's wayland) in DOMU custom graphical image. I tried
running vncviewer with
VNC is typically easier to setup, because SDL needs extra libraries at
build time and runtime. If QEMU is built without SDL support it won't
start when you ask for SDL.
VNC should work with both x11 and wayland in your domU. It doesn't work
at the x11 level, it exposes a special fbdev device in
Hi,
Thanks!
I have ported xen minimal image as DOM0 & custom wayland GUI based image as
DOMU in raspberry pi4B. I am trying to make GUI display up for guest
machine. I tried using sdl, included below line in guest.conf file
*vfb= [ 'sdl=1' ]*
But it is throwing below error:
18 matches
Mail list logo