[SOLVED] rpm for xf86-video-vbox
[SOLVED] rpm for xf86-video-vbox
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.
Re: rpm for xf86-video-vbox
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.
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
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.
I managed to fabricate an rpm for the xorg driver. Here's a quick and dirty how-to for it.
- sudo yum install rpm-build rpmdevtools mock
- curl -O https://raw.githubusercontent.com/pld-linux/xorg-driver-video-vboxvideo/master/xorg-driver-video-vboxvideo.spec
- (Replace %{x8664} with x86_64
- Delete BuildRequires ...proto...proto-devel
- Fix Requires
- mkdir -p rpmbuild/SOURCES
- cd rpmbuild/SOURCES
- curl -O https://xorg.freedesktop.org/releases/individual/driver/xf86-video-vboxvideo-1.0.0.tar.bz2
- tar -xf xf86-video-vboxvideo-1.0.0.tar.bz2
- rm xf86-video-vboxvideo-1.0.0/aclocal.m5 xf86-video-vboxvideo-1.0.0/ltmain.sh
- <Add resolution to xf86-video-vboxvideo-1.0.0/src/vboxvideo.c>
- tar -cjf xf86-video-vboxvideo-1.0.0.tar.bz2 xf86-video-vboxvideo-1.0.0
- cd ~
- rpmbuild -bs xorg-driver-video-vboxvideo.spec
- mock -r epel-7-x86_64 rpmbuild/SRPMS/xorg-driver-video-vboxvideo-1.0.0-1.src.rpm
- sudo yum install /var/lib/mock/epel-7-x86_64/result/xorg-driver-video-vboxvideo-1.0.0-1.x86_64.rpm