[SOLVED] rpm for xf86-video-vbox

Issues related to applications and software problems
Post Reply
mullein
Posts: 2
Joined: 2020/05/23 19:29:06

[SOLVED] rpm for xf86-video-vbox

Post by mullein » 2020/05/23 19:44:14

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 X.org's xf86-video-vbox driver. I couldn't find an rpm for it in EPEL. Is there a repository that does have it?
Last edited by mullein on 2020/06/04 20:02:00, edited 1 time in total.

bonedome
Posts: 201
Joined: 2017/04/22 08:11:04

Re: rpm for xf86-video-vbox

Post by bonedome » 2020/05/24 09:33:11

Hello
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.

mullein
Posts: 2
Joined: 2020/05/23 19:29:06

Re: rpm for xf86-video-vbox

Post by mullein » 2020/06/04 20:00:38

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 https://raw.githubusercontent.com/pld-linux/xorg-driver-video-vboxvideo/master/xorg-driver-video-vboxvideo.spec
  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 https://xorg.freedesktop.org/releases/individual/driver/xf86-video-vboxvideo-1.0.0.tar.bz2
  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/ltmain.sh
  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

Post Reply