BSD Ports

graphics/virtio-gpu-qemu-kmod 0.2.1405500_1 FreeBSD

VirtIO GPU driver for QEMU/UTM guests with framebuffer mmap

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Port added
Last update
Commit
3ee2bfd06e
License
BSD2CLAUSE
Categories
graphics, kld

Description

A VirtIO GPU display driver for FreeBSD guests running under QEMU or UTM.

This driver replaces and enhances the VirtIO GPU driver built into the kernel, by enabling /dev/fb0, i.e. registering the framebuffer as a device, such that programs in the user address space can mmap(2). This allows an X server to drive the display through the xf86-video-scfb driver.

The driver supports overriding the display resolution advertised by the host, and flushes the framebuffer to the host at a configurable rate.

The driver must be preloaded from loader.conf; see virtio_gpu_qemu(4) for more information.

In the other systems

SystemPortVersion
FreeBSDgraphics/virtio-gpu-qemu-kmod0.2.1405500_1
HardenedBSDgraphics/virtio-gpu-qemu-kmod0.2.1501503_1
GhostBSDgraphics/virtio-gpu-qemu-kmod0.2.1500068

Install

Binary package:

pkg install virtio-gpu-qemu-kmod

From the ports tree:

cd /usr/ports/graphics/virtio-gpu-qemu-kmod/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	virtio-gpu-qemu-kmod>0:graphics/virtio-gpu-qemu-kmod

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest-----
FreeBSD:14:quarterly--n/a--
FreeBSD:15:latest0.2.1501000_10.2.1501000_1n/a--
FreeBSD:15:quarterly0.2.1501000_10.2.1501000_1n/an/an/a
FreeBSD:16:latest0.2.1600026_10.2.1600028_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

No options to configure.

USES
kmod uidfix
Service scripts
none

Files

distinfo 1
FileSizeSHA256
virtio_gpu_qemu-v0.2.tar.bz2174836c71d563eb293033ee9724f4698307342bebe8bfb30b93e839e3eab7e02a5aa9

Commit history 3

DateCommitCreditsLog message
3ee2bfd06e Piotr Kubaj graphics/virtio-gpu-qemu-kmod: allow powerpc64 and powerpc64le
Request an X8R8G8B8 resource on big-endian guests: vt(4) and X write native 0x00RRGGBB pixels, which the host would otherwise display with red and blue swapped.
2083efe8e2 Tiago Gasiba graphics/virtio-gpu-qemu-kmod: Build in FreeBSD>=15.0
The driver currently does not compile in an earlier version of FreeBSD (<15.0), therefore, mark the port as IGNORE for these versions. MFH: 2026Q3
6b825bb84c Tiago Gasiba graphics/virtio_gpu_qemu-kmod: New port - virtio gpu driver for UTMapp/qemu
virtio_gpu_qemu enables a virtual machine running under UTMapp/qemu, which is configured using virtio for the GPU to run a graphical user interface through X server. MFH: 2026Q3