VirtualBox, graphics not working properly

Hi, I’m running a Windows 7 virtual machine and I’m noticing that graphics are not working as it should.

The most obvious issue is that the virtual display cannot go up to full resolution, and the display is stuck in 4:3 format.
I am also running some software in the virtual machine that gives an error message “Using software rendering, update your graphics driver”, which should not happen.

All of this has worked just fine before, when I was running Fedora 38 or 39.
If I instead use virt-manager (qemu/kvm), I get the same graphics problem.

Any ideas on how to get this working?

System information:
Fedora 40
VirtualBox 7.1.4
AMD graphics card

You did not say where you sourced the installation of VB. I always have used rpmfusion to install VB, VirtualBox is provided by Oracle and is not open source.

The installation from rpmfusion seems to work for me, and fedora provides the virtualbox-guest-additions package that goes with that installation. An installation from oracle may not be compatible with that package.

I find it better to use virt-manager as it is more than adequate for my needs. I have a half dozen VMs that I use at times with no problems, though I do not have windows 7.

You state that you have no issue with virt-manager so I have to wonder why the insistence on VB.

Perhaps more advertisement?

I’m using Virtualbox from RPMFusion.

I have installed a Win7 VM using virt-manager (qemu/kvm) and it has the same graphics issue.
I have also installed a linux VM in Virtualbox and graphics seem ok.

So it seems that this is an issue specific for Win7 virtual machines, and that virtualization technology (Virtualbox vs virt-manager qemu/kvm) does not matter.