VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Discussions related to using VirtualBox on Linux hosts.

VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby Grgoje » 17. Jan 2019, 10:23

VirtualBox version: 6.0.2 r128162 (Qt5.9.5)
Guest Additions: yes; version 6.0.2 r128162
Extension Pack: yes; 6.0.2
Host: Mint 19.1 Xfce 64-bit, 64GB RAM, AMD Ryzen 2700x, Nvidia GTX 1060, Nvidia proprietary drivers 3.90
Guest: Windows 7 64-bit, 8.1GB (8192MB) RAM, 6 CPUs @ 100% Execution Cap, VT-x/AMD-V, Nested paging, Hyper-V Paravirtualization,VBOX SVGA 2D Acceleration 128MB Video Memory, 63,48 GB hard drive
Log file is attached.

Hi!

As stated in the subject, video performance on my windows 7 virtual machine is very choppy: e.g. windows sutter when dragged and resized, video playback is stuttering etc. It seems that 2d aceleration is not functional although it is enabled.

Have tried disabling/enbaling 2d acceleration. Works about same in either mode.
Have tried switching between VboxVGA & VboxSVGA adapters. No difference.

This same appliance works smoothly on an older computer (i7 3770k, Mint 18.3, virtualbox 5.2.)

I use the appliance for graphics work so this amount of choppines is not aceptable. Gratefull for any pointers/ideas how to resolve this.
Attachments
DoNothingWHQ-2019-01-17-08-58-22.log.zip
(38.38 KiB) Downloaded 16 times
Grgoje
 
Posts: 3
Joined: 17. Jan 2019, 09:52

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby mpack » 17. Jan 2019, 11:56

I don't think you need to enable the Hyper-v API for a Win7 guest. The guest won't use it.

I think you should try it with the VBoxVGA (not VBoxSVGA) virtual graphics controller selected, and reinstall the GAs since I don't know that the same GAs work with all controllers.

Also, which guest graphics drivers did you install? Direct3D or WDDM?
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby Grgoje » 17. Jan 2019, 13:58

Tried disabling hyperV and going back to VboxVGA. Reinstalled the guest additions. No change, still choppy. And yes, no Direct3D drivers.
Grgoje
 
Posts: 3
Joined: 17. Jan 2019, 09:52

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby Grgoje » 17. Jan 2019, 14:10

Just a short update: Downgraded to vbox 5.2. and it's smooth as butter. I'll consider that as solution for now but there seems to be a definitive issue between my guest install and VBox 6.
Grgoje
 
Posts: 3
Joined: 17. Jan 2019, 09:52

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby mpack » 17. Jan 2019, 14:38

Grgoje wrote:And yes, no Direct3D drivers.

VBoxVGA and Direct3D are in fact the drivers I would use, though the latter must be installed in safe mode. Since the additional graphics controller options is the only relevant feature that changed in v6 I'm going to assume that is your problem.

p.s. Youtube videos play smoothly in a Win7-64 guest on my Win10 host with those settings except I have both 2D and 3D acceleration enabled.
mpack
Site Moderator
 
Posts: 29692
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby socratis » 17. Jan 2019, 22:39

mpack wrote:reinstall the GAs since I don't know that the same GAs work with all controllers.

You don't have to reinstall the GAs, but it never hurt anyone... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby Dave B » 17. Jan 2019, 22:43

Hi Grgoje,

If not mistaken, 2D acceleration handles elements such as video overlay, while 3D acceleration is also used for drawing UI elements.
Both should be enabled for optimal Windows guest performance.

With Windows guests I also noticed VBoxSVGA doesn't feel as responsive as VBoxVGA, but consider that will improve in future VirtualBox versions.
Dave B
 
Posts: 39
Joined: 29. Nov 2018, 18:24

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby SimoSan » 20. Jan 2019, 18:09

Can confirm that after upgrading virtulabox to the version 6.0.2 the graphical performance of my Windows 7 installation became very slow. Tried every graphics controller option with no difference. Also reinstalled GA multiple times. I`m using amd rx570.
SimoSan
 
Posts: 1
Joined: 20. Jan 2019, 18:04

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby klaus » 20. Jan 2019, 19:38

The 2D accel feature works only with VBoxVGA, i.e. the old style graphics controller which was default for all VMs created by VirtualBox versions up to 5.2. And yes, it purely handles videos, nothing else (in essence it chopped off the color space conversion step of video decoding, and used 3D support on the host to perform this otherwise very CPU intensive task). So if there's choppy performance with any other application but a video player it's unrelated to 2D accel, and for newly created VMs in VirtualBox 6.0 it's also ignored. The assumption is that users relying on the 2D accel feature in the past will enable 3D accel with the new style graphics controller VBoxSVGA. That should achieve the same, just in a different way (the video players would directly recognize that they can delegate the color space conversion to the GPU).
klaus
Oracle Corporation
 
Posts: 696
Joined: 10. May 2007, 14:57

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby socratis » 20. Jan 2019, 22:14

klaus wrote:The 2D accel feature works only with VBoxVGA
As an old compatriot of mine, Solon, famously said "I grow old ever learning many things", aka, live and learn... ;)

That's an interesting tidbit Klaus! Are you foreseeing a situation where:
Code: Select all   Expand viewCollapse view
if (vGPU!=VBoxVGA & 2Daccel=On & GuestFamily=Win) then
    2DaccelSettingsWarning
    if OK_settings
        2Daccel=Off
    endif
endif

similar to when you would select the 2D acceleration for a Linux VM in the pre-6 era? No need to reply, just throwing out ideas...

klaus wrote:The assumption is that users relying on the 2D accel feature in the past will enable 3D accel with the new style graphics controller VBoxSVGA. That should achieve the same, just in a different way (the video players would directly recognize that they can delegate the color space conversion to the GPU).
Another interesting tidbit! 8)
Does that involve VBoxSVGA and/or VMSVGA? Because if it involves the VMSVGA as well, that means that Linux guests will gain that old "2D acceleration" that they've never had the luxury to have so far...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 25224
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby robocat » 6. May 2019, 02:57

EDIT 2: Solution for me was the "VBoxVGA" driver - NOT the "VBoxSVGA" driver (the VboxSVGA driver was causing hideous general slowdown of Ubuntu and Windows guests. Environment: VirtualBox 6.0.10 on Ubuntu 18.04 host, HD screen or UHD 4k screen with Intel graphics).

EDIT: I Was wrong - the following didn't fix it - I don't know why the video wasn't choppy but it certainly is again.

Leaving original *incorrect* comment for reference: I fixed the problem by ticking Enabled 3D Acceleration in the settings. I did not install the Experimental 3D into the Windows 7 guest. Host was Ubuntu 18.04 running VirtualBox 6.06. With the existing settings, there was a serious regression from 5.xx and graphics became unusably choppy and made the VM seem like it had slowed down hugely. My first response was to buy VMware Workstation Pro, but on some basic tests VirtualBox ran faster than VMware (e.g. VirtualBox was 45 seconds for startup, do something, shutdown whereas versus VMware taking 59 seconds), and I had nasty problems with VMware display scaling (4k monitor), so I am sticking with VirtualBox! Beware that the VM still feels a *significantly* slower to start up (and close down) in VirtualBox v6 versus VirtualBox v5 (Slower windows guest and also Linux guest)... e.g. number of progress dots on Ubuntu guest is more than it used to be. But hard to quantify because I am not going to take time to downgrade to older version.
Last edited by robocat on 10. Sep 2019, 02:35, edited 1 time in total.
robocat
 
Posts: 7
Joined: 29. Oct 2009, 11:58
Primary OS: Ubuntu 8.04
VBox Version: PUEL
Guest OSses: Windows XP Pro

Re: VBox 6.0: 2D acceleration is on but video performance on Windows 7 host is very choppy

Postby michalk » 8. May 2019, 03:35

I'm having the same problem.
Running a 2D benchmark generate very poor results.
michalk
 
Posts: 5
Joined: 27. Apr 2011, 03:39
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: WinXP


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 15 guests