VMR9 can not used

Discussions about using Windows guests in VirtualBox.
Post Reply
brucemok
Posts: 1
Joined: 30. Nov 2021, 08:07

VMR9 can not used

Post by brucemok »

In DirectX 9, the Video Mixing Renderer 9 (VMR-9) filter offers advanced video rendering capabilities on all platforms supported by DirectX. It is fully integrated with DirectX 9 3D capabilities.

I run a simple application which use VMR9 (vmr9allocator), can not work normal.

The Guest and Host are both Win10, the display adapter are VBoxSVGA, the version of VirtualBox and Guest Additions are 6.1.30
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: VMR9 can not used

Post by scottgus1 »

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log and the hardening log next to it, zip them, and post the zip file, using the forum's Upload Attachment tab.
didier.cabale
Posts: 17
Joined: 18. Apr 2015, 18:35
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: France

Re: VMR9 can not used

Post by didier.cabale »

Hey there,
Let me please reactivate this post, as I get the same issue (building a VMR-9 Filter Graph fails). Note that the building succeeds when the application is executed on a "real" PC.
Guest is on Windows7, VBoxGuestAdditions v7.2.4 installed, Graphics Congtroller is VBoxSVGA, 3D acceleration is disabled
Host is on Windows10, VBox manager is 7.1.6r167084
Log files zipped in attachment.
Thanks in advance for your support
Attachments
W7Delphi4SCULi#2-2025-12-24-11-13-36.zip
(74.77 KiB) Downloaded 1746 times
didier.cabale
Posts: 17
Joined: 18. Apr 2015, 18:35
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: France

Re: VMR9 can not used

Post by didier.cabale »

Here is a PowerShell (x86) script whose only purpose is to create a https://learn.microsoft.com/en-us/windo ... r-filter-9:

Code: Select all

# 1. Define the GUID object, associated with the CLSID_VideoMixingRenderer9
$vmr9Guid = [Guid]"{51B4ABF3-748F-4E3B-A276-C828330E926A}"

# 2. Get the COM type associated with that GUID
$vmr9Type = [Type]::GetTypeFromCLSID($vmr9Guid)

# 3. Create the instance
$VMR = [Activator]::CreateInstance($vmr9Type)

# Check if the instance has been created
$VMR
1. Running this script on a standard physical based W7 gives:
VMR9_success.png
VMR9_success.png (16.72 KiB) Viewed 2494 times
-> it succeeds !

2. Running this script on a W7 hosted VM gives:
VMR9_fails.png
VMR9_fails.png (24.45 KiB) Viewed 2494 times
-> it failed to create..
-> Why ?
didier.cabale
Posts: 17
Joined: 18. Apr 2015, 18:35
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows 7
Location: France

Re: VMR9 can not used

Post by didier.cabale »

This problem is confirmed, ie the problem occurred on a (other) bare Windows7 VirtualBox VM
Post Reply