Page 1 of 1

[SOLVED] rpm for xf86-video-vbox

Posted: 2020/05/23 19:44:14
by mullein
I've installed CentOS 7 in Virtualbox. The screen resolution is pretty low. I would like to get a higher resolution, preferably using only free software, so without Guest Additions.This should be feasible with's xf86-video-vbox driver. I couldn't find an rpm for it in EPEL. Is there a repository that does have it?

Re: rpm for xf86-video-vbox

Posted: 2020/05/24 09:33:11
by bonedome
I have fedora 31 on virtualbox without guest additions, I just up the resolution in fedora (using lxrandr), it's not fullscreen but fine for me.

Re: rpm for xf86-video-vbox

Posted: 2020/06/04 20:00:38
by mullein
Fedora 31 has a kernel that includes the vboxvideo driver.

I managed to fabricate an rpm for the xorg driver. Here's a quick and dirty how-to for it.
  1. sudo yum install rpm-build rpmdevtools mock
  2. curl -O
  3. (Replace %{x8664} with x86_64
  4. Delete BuildRequires ...proto...proto-devel
  5. Fix Requires
  6. mkdir -p rpmbuild/SOURCES
  7. cd rpmbuild/SOURCES
  8. curl -O
  9. tar -xf xf86-video-vboxvideo-1.0.0.tar.bz2
  10. rm xf86-video-vboxvideo-1.0.0/aclocal.m5 xf86-video-vboxvideo-1.0.0/
  11. <Add resolution to xf86-video-vboxvideo-1.0.0/src/vboxvideo.c>
  12. tar -cjf xf86-video-vboxvideo-1.0.0.tar.bz2 xf86-video-vboxvideo-1.0.0
  13. cd ~
  14. rpmbuild -bs xorg-driver-video-vboxvideo.spec
  15. mock -r epel-7-x86_64 rpmbuild/SRPMS/xorg-driver-video-vboxvideo-1.0.0-1.src.rpm
  16. sudo yum install /var/lib/mock/epel-7-x86_64/result/xorg-driver-video-vboxvideo-1.0.0-1.x86_64.rpm