OpenBSD Journal

viogpu(4), a VirtIO GPU driver, added to -current

Contributed by rueda on from the consoleation-prize dept.

Joshua Stein (jcs@) has committed viogpu(4), which provides support for the virtio(4) GPU interface (provided by QEMU and other virtual machines) to create a wscons(4) console.

Module name:	src
Changes by:	2023/04/20 13:28:31

Modified files:
	share/man/man4 : Makefile 
	sys/arch/amd64/conf: GENERIC 
	sys/arch/arm64/conf: GENERIC RAMDISK 
	sys/dev/pv     : files.pv virtio.c virtioreg.h 
	sys/dev/wscons : wsconsio.h 
Added files:
	share/man/man4 : viogpu.4 
	sys/dev/pv     : viogpu.c viogpu.h 

Log message:
add viogpu, a VirtIO GPU driver

works enough to get a console on qemu with more work to come from

feedback from miod
ok patrick

Great stuff! This moves us closer to having a fully functional wscons console on virtual machines in those specific environments too. We will be watching further development closely.

(Comments are closed)

  1. By Elvin Aslanov (rwp00) on


    Though no results found for the manpage yet to read and learn:

  2. By Peter J. Philipp (pjp) on

    This change made me very happy because I could use the new arm64 instances at a known VPS provider. I don't have much these days but I did make a bit of money recently so I sent a small amount to the OpenBSD Foundation, unfortunately I didn't see the comments field in donations money anymore so I couldn't say that this directly was 1/3 for patrick, 1/3 for jcs and 1/3 for general OpenBSD. Thanks again!


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]