Install this version:
emerge -a =x11-drivers/xf86-video-vesa-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =x11-drivers/xf86-video-vesa-9999
Or alternatively:
emerge --autounmask-write -a =x11-drivers/xf86-video-vesa-9999
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit linux-info xlibre
DESCRIPTION="Generic VESA video driver"
HOMEPAGE="https://github.com/X11Libre/xf86-video-vesa"
if [[ ${PV} != 9999* ]]; then
KEYWORDS="-* ~alpha ~amd64 ~x86"
fi
pkg_pretend() {
linux-info_pkg_setup
if ! linux_config_exists || ! linux_chkconfig_present DEVMEM; then
echo
ewarn "This driver requires /dev/mem support in your kernel"
ewarn " Device Drivers --->"
ewarn " Character devices --->"
ewarn " [*] /dev/mem virtual device support"
echo
fi
}