Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 12:44:06 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        Peter Grehan <grehan@freebsd.org>
Cc:        "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org>
Subject:   Re: bhyve graphics support
Message-ID:  <20160527104405.GA15808@e-new.0x20.net>
In-Reply-To: <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org>
References:  <442c6d8f-2b64-c88b-382a-cf73eb6f7404@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--HSVPcR81XVhxeM7P
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, May 27, 2016 at 01:33:42AM -0700, Peter Grehan wrote:
> As of r300829, support for graphic output has been checked into the=20
> projects/bhyve_graphics branch. This is just the usr.sbin/bhyve=20
> executable, so is quick and easy to build from source.
>=20
> Assuming a reasonably current source tree is in /usr/src,
>    svn co http://svn.freebsd.org/base/projects/bhyve_graphics path/to/dir
>    cd path/to/dir
>    make BHYVE_SYSDIR=3D/usr/src -m /usr/src/share/mk
>=20
> UEFI GOP support has been checked into the freebsd/edk2 repo:
> =20
> https://github.com/freebsd/uefi-edk2/commit/a36132939e259df79b16699c03c6f=
1d63c7454b9
>=20
> A pre-built bhyve/UEFI binary image with GOP support is available at:
>    https://people.freebsd.org/~grehan/bhyve_uefi/BHYVE_UEFI_20160526.fd
>=20
> The new bhyve executable supports some new devices. An example of using=
=20
> them for Windows10 is:
>=20
> bhyve \
>     -c 2 \
>     -s 3,ahci-cd,/images/win10_install.iso \
>     -s 4,ahci-hd,/images/win10.img \
>     -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1600,h=3D900,wait \
>     -s 20,xhci,tablet \
>     -s 31,lpc \
>     -l bootrom,/images/BHYVE_UEFI_20160526.fd \
>     -m 2G -H -w \
>     windows

Thanks for your work on this!

With Ubuntu 16.04 I was not successful so far. After compiling bhyve and
downloading the UEFI image I start Ubuntu like this:

grub-bhyve -m device.map -r hd0,msdos1 -M 4G ubuntu
~lars/dev/bhyve_graphics/bhyve \
    -s 0:0,hostbridge \
    -s 1:0,lpc \
    -s 2:0,virtio-net,tap1 \
    -s 3:0,virtio-blk,./ubuntu-hd.img \
    -s 11,fbuf,tcp=3D0.0.0.0:5900,w=3D1280,h=3D720,wait \
    -s 20,xhci,tablet \
    -l bootrom,/home/lars/dev/bhyve_graphics/BHYVE_UEFI_20160526.fd \
    -c 4 \
    -m 4G \
    ubuntu


Then I connect with vncviewer but only see this message:

"Boot failed. EFI misc device"

Is there anything I can try?

--HSVPcR81XVhxeM7P
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQF8BAEBCgBmBQJXSCT1XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF
NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t234IAIF+0AFoirHTuHs7kWUSiaLc
uZbJtzMbC9zDeHPSgcH+OoyZi5kp8/lkD/0t6JDtIWmqSx84z8Ge64UWYVImmC+w
Kme88bA6h3FngudnnGy4SX0pDawZwhM/tPgWeK3FKnRoiBSBZaNcvqiQtxg2KFVX
OGQCHiziAihUu9IPFcOwNWj/xsAwbOtTFSCURjJGT3pOwNi4WXYf2Aq/bScaV6Jp
Vv082vHYbOF4yNtOUQO6JfILIlNdemZ/MmDajlXZFvOzaSJKmjl+kLma1YGK1v7H
N0Dkk5n2bf+S7AMgZJ1HgIXJ6JMBO9KH0OnTRSIzjp4xQ4A4A+31JgujwalW+6Q=
=67SW
-----END PGP SIGNATURE-----

--HSVPcR81XVhxeM7P--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160527104405.GA15808>