Virtualbox windows xp direct3d support

Как в VirtualBox включить Direct3D-ускорение для гостевой Windows XP?
Характеристики Windows: Выпуск Windows 10 Домашняя для одного языка, Версия 21H2, Сборка ОС 19044.1706, Взаимодействие Windows Feature Experience Pack 120.2212.4170.0

конфигурация

6281340e02c49545165741.jpeg
628134241b84e841860310.png

Версия VIRTUALBOX 6.1.34 r150636 (Qt5.6.2)


  • Вопрос задан

  • 664 просмотра

Пригласить эксперта

Настройки виртуальной машины, Дисплей, Ускорение: включить 3D-ускорение.
Используйте виртуальный графический контроллер VboxVGA, а не VboxSVGA. После смены контроллера переустановите Дополнения гостевой ОС с включенным Direct3D Support.


  • Показать ещё
    Загружается…

09 окт. 2023, в 10:05

30000 руб./за проект

09 окт. 2023, в 10:04

60000 руб./за проект

09 окт. 2023, в 10:01

10000 руб./за проект

Минуточку внимания


Debian, Linux, Ubuntu, Virtual Box, Windows 10, Windows 7, Windows 8, Windows Server, Windows Vista, Windows XP, Виртуализация

  • 01.08.2020
  • 20 791
  • 15
  • 29.08.2020
  • 18
  • 14
  • 4

Включаем 3D ускорение в VirtualBox

  • Содержание статьи
    • Включение 3D ускорения в настройках виртуальной машины
    • Установка гостевых дополнений VirtualBox с включенным режимом Direct3D Support
    • Комментарии к статье ( 15 шт )
    • Добавить комментарий

По умолчанию, виртуальные машины созданные в VirtualBox эмулируют видеокарту, которая работает только в 2D режиме. Это значит, что запустить любое 3D приложение, или даже включить эффект Aero в Windows 7 не получится. Тем не менее, VirtualBox поддерживает эмулирование видеокарты с 3D ускорения, нужно только выполнить несколько действий:

  • Включить 3D ускорение в настройках виртуальной машины.
  • Установить гостевые дополнения VirtualBox (Для операционных систем Windows обязательно нужно выбрать параметр Direct3D Support.

Включение 3D ускорения в настройках виртуальной машины

Открываем настройки нужной виртуальной машины (она должна быть выключена), и переходим на вкладку «Дисплей». Там ставим галочку у пункта «Ускорение».

Чтобы Virtual Box не ругался на неправильные настройки, двигаем ползунок «Видеопамять» в значение не меньше 128 МБ.

Для сохранения настроек нажимаем «ОК», и запускаем виртуальную машину, и переходим к следующему пункту.

Установка гостевых дополнений VirtualBox с включенным режимом Direct3D Support

Про гостевые дополнения VirtualBox у нас уже был отдельный материал, в котором мы рассказывали где их взять и как устанавливать. В целом, достаточно следовать описанной там инструкции и установить гостевые дополнения, единственное, если Вы устанавливаете их для включения 3D ускорения в Windows — нужно обязательно выбрать пункт «Direct3D Support (Experimental)«.

По окончанию установки, перезагружаем виртуальную машину — после этого, в операционной системе должна появится поддержка 3D.

Dust Signs

Posts: 5
Joined: 18. Sep 2019, 07:29

Direct3D does not work on XP guest with SVGA

Good morning,

I have a Windows XP 32-bit guest running on a Windows 10 64-bit host. With VirtualBox 6.0.12 and VBoxVGA as the graphics adapter type, Direct3D works, as can be seen with dxdiag:

vga.png
vga.png (23.31 KiB) Viewed 48613 times

After changing the adapter type to VBoxSVGA, Direct3D no longer works. Re-installing the guest additions with Direct3D support in safe mode does not change this despite there being no error messages during the installation process:

svga.png
svga.png (24 KiB) Viewed 48613 times

I attached the VBox.log and VBoxHardening.log logfiles for the SVGA configuration — booting, running dxdiag and shutting the machine down.
The extension pack is installed and both, 3-D acceleration and 2-D acceleration, are enabled. I also tried yesterday’s beta for 6.1, but without any success.

How can I get Direct3D to work with the SVGA adapter on my XP VM? As far as I understand, version 6.1 will no longer support VBoxVGA. I’ll happily upgrade, but Direct3D support is essential for me.

Thanks for your help
Best
Dust Signs

Attachments
logs.zip
(63.56 KiB) Downloaded 143 times

multiOS

Volunteer
Posts: 774
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Direct3D does not work on XP guest with SVGA

Post

by multiOS »

From the User Manual Section 3.61 (emphasis mine):

• Graphics Controller: Specifies the graphics adapter type used by the guest VM. Note that you must install the Guest Additions on the guest VM to specify the VBoxSVGA or VMSVGA graphics controller. The following options are available:

  • VBoxSVGA: The default graphics controller for new VMs that use Windows 7 or later. This graphics controller improves performance and 3D support when compared to the
    legacy VBoxVGA option.
  • VBoxVGA: Use this graphics controller for legacy guest OSes. This is the default graphics controller for Windows versions before Windows 7 and for Oracle Solaris.
  • VMSVGA: Use this graphics controller to emulate a VMware SVGA graphics device. This is the default graphics controller for Linux guests.
  • None: Does not emulate a graphics adapter type.

So you should stick with VBoxVGA for XP according to current guidance.

Dust Signs

Posts: 5
Joined: 18. Sep 2019, 07:29

Re: Direct3D does not work on XP guest with SVGA

Post

by Dust Signs »

Thanks, staying with VGA and 6.0.12 is what I plan on doing in the short term.
However, the changelog for 6.1 Beta 1 (I cannot post the link since «You must be a member for 1 days») makes me worry about being stuck with VGA and 6.0.12 since

Graphics: new style 3D support (with VBoxSVGA and VMSVGA) remains, old style 3D support (with VBoxVGA) has been completely removed

Is there any guidance on what to do once the upcoming release removes VBoxVGA support?

Best
Dust Signs

mpack

Site Moderator
Posts: 38867
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Direct3D does not work on XP guest with SVGA

Post

by mpack »

I imagine that VBoxSVGA will become the default for Win2K through Vista as it already is for Win7 and later. Many VirtualBox paying business users will be running XP VMs, so I doubt very much that XP guest support is being abandoned.

multiOS

Volunteer
Posts: 774
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Direct3D does not work on XP guest with SVGA

Post

by multiOS »

The 6.1 Beta User Guide (currently) states that VGA remains the default for ‘legacy’ (pre-Windows 7) Windows systems so I don’t think there is any need for concern about ongoing support.

multiOS

Volunteer
Posts: 774
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Direct3D does not work on XP guest with SVGA

Post

by multiOS »

My opinion: ‘No’ as it’s clearly not currently designed to work with Legacy systems, so shouldn’t be expected to work.

mpack

Site Moderator
Posts: 38867
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Direct3D does not work on XP guest with SVGA

Post

by mpack »

multiOS wrote:The 6.1 Beta User Guide (currently) states that VGA remains the default for ‘legacy’ (pre-Windows 7) Windows systems so I don’t think there is any need for concern about ongoing support.

I imagine that will eventually be corrected, since the public notification of the 6.1 beta is pretty emphatic on the subject :-

arudnev (Oracle dev) release notes wrote:
* Graphics: new style 3D support (with VBoxSVGA and VMSVGA) remains, old style 3D support (with VBoxVGA) has been completely removed.

multiOS

Volunteer
Posts: 774
Joined: 14. Sep 2019, 16:51
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: WIN11,10, 7, Linux (various)
Location: United Kingdom

Re: Direct3D does not work on XP guest with SVGA

Post

by multiOS »

I know I’m being pedantic and time will tell, but arudnev’s statement can be read in two ways, the second being that VBoxVGA could remain available for legacy systems, but without 3D support.

mpack

Site Moderator
Posts: 38867
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

tlut

Posts: 1
Joined: 23. Sep 2019, 19:05

Re: Direct3D does not work on XP guest with SVGA

Post

by tlut »

I’m facing the same problem: I want to run some old code that needs XP as it’s a funny mix of hardware accelerated 3D and some no-longer properly supported features of direct draw, so I need a time capsule. My trouble is the same — I’ve been through all the procedures, installed the drivers, even installed the 2010 DirectX SDK but nothing works.
So, is this broken for good or is somebody going to revisit this at some point and get hardware acceleration working on virtualised XP installations?

Best regards,
Tim.

socratis

Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Direct3D does not work on XP guest with SVGA

Post

by socratis »

tlut wrote: So, is this broken for good or is somebody going to revisit this at some point and get hardware acceleration working on virtualised XP installations?

Unless you’re a developer, your guess is as good as anyone else’s in here…

Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the «QUOTE» button, please use the «POST REPLY«, at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.

mpack

Site Moderator
Posts: 38867
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Direct3D does not work on XP guest with SVGA

Post

by mpack »

tlut wrote:even installed the 2010 DirectX SDK but nothing works.

Overwriting the VirtualBox drivers with generic ones will guarantee a fail.

Plus, it isn’t clear to me that you are talking about the same thing. The discussion in this topic is whether 3D acceleration — specifically Direct3D — which currently works just fine with the VBoxVGA graphics controller, will continue to work in future VirtualBox versions once everyone is forced to switch to VBoxSVGA.

Dust Signs

Posts: 5
Joined: 18. Sep 2019, 07:29

Re: Direct3D does not work on XP guest with SVGA

Post

by Dust Signs »

With the 6.1.0 release of VirtualBox yesterday the Direct3D support option cannot even be selected — it is disabled, even when Windows XP is booted in safe mode. It seems that the support has been dropped completely. Does this mean that I need to stay with older (6.0.12) versions now?

scottgus1

Site Moderator
Posts: 19887
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Direct3D does not work on XP guest with SVGA

Post

by scottgus1 »

That is almost correct. 3D acceleration with the old VboxVGA video card choice — note no S — is gone in 6.1.#. It’s a major security hole.

VboxSVGA has 3D acceleration. You will need to uninstall Guest Additions in the guest, shut down the guest, change the video card to VboxSVGA, turn on 3D acceleration, start the guest (in safe mode with XP), install 6.1.0 Guest Additions with 3D on.

Note that the 6.1.0 manual says:

VBoxSVGA: The default graphics controller for new VMs that use Windows 7 or later.
This graphics controller improves performance and 3D support when compared to the
legacy VBoxVGA option.
VBoxVGA: Use this graphics controller for legacy guest OSes. This is the default
graphics controller for Windows versions before Windows 7 and for Oracle Solaris.
3D acceleration is not supported for this graphics controller.

The «Windows 7» crossover point means that the above switching instructions may still not get 3D in an XP guest.

So you may be stuck on 6.0.#, until and if Oracle’s paying customers complain for 3D back in XP.

116 / 4 / 0

Регистрация: 05.06.2019

Сообщений: 62

1

19.12.2020, 17:28. Показов 3653. Ответов 2


Студворк — интернет-сервис помощи студентам

Всем привет, установил windows xp sp3 x86 на VirtualBox, при установке VirtualBox guest addition не дает выбрать Direct3D, пишет что нужно 256MB памяти. Но во вкладке дисплей можно выставить максимум 128MB! Подскажите как включить Direct3D?

Миниатюры

Как включить Direct3D в VirtualBox?
 

Как включить Direct3D в VirtualBox?
 



0



116 / 4 / 0

Регистрация: 05.06.2019

Сообщений: 62

19.12.2020, 18:56

 [ТС]

2

Выставил 256MB, но все равно Direct3D подключить не могу (Guest Addition не дает его выбрать).

Миниатюры

Как включить Direct3D в VirtualBox?
 



0



116 / 4 / 0

Регистрация: 05.06.2019

Сообщений: 62

19.12.2020, 19:24

 [ТС]

3

Проблему решил установкой virtualbox’a версии 5.2.44



0



Aside of installing the guest addons, you also need to enable Direct3D support for the Virtual Machine.

  1. Shutdown the VM
  2. Click the VM from Oracle VM VirtualBox Manager
  3. Press the settings button
  4. Open the Display tab on the left
  5. Check enable 3D acceleration next to Extra options.
  6. Press OK to save your settings and start the VM.

Related videos on Youtube

How To Enable 3D Acceleration In VirtualBox

05 : 11

How To Enable 3D Acceleration In VirtualBox

Install Windows XP (and play retrogames) with VirtualBox - Squakenet.com tutorial

23 : 46

Install Windows XP (and play retrogames) with VirtualBox — Squakenet.com tutorial

How to go in safe mode and enable the Direct3D in windows xp in VirtualBox

12 : 25

How to go in safe mode and enable the Direct3D in windows xp in VirtualBox

3DMark 01 in Windows 2000 (VMware) in XP (VirtualBox)

06 : 12

3DMark 01 in Windows 2000 (VMware) in XP (VirtualBox)

Direct3D Acceleration on Windows XP VirtualBox VM

02 : 00

Direct3D Acceleration on Windows XP VirtualBox VM

Comments

  • I’m trying to run Project64 2.2 on a Windows XP Virtual Machine. Unfortunately, when I run it, I get the following error message

    enter image description here

    After doing some digging, it seems to be an issue with Direct3D Acceleration. Running dxdiag and checking it out, my settings look like this…

    enter image description here

    Apparently, installing the guest additions for the virtual machine is supposed to fix the problem, but it didn’t for me. I even checked the Direct3d box in the installation process but nothing. I don’t get it.

  • This worked, but I have a limited resolution options inside game only 640×480, 800×600 and 1024×768 are available… how to get full screen in game?

  • @lewis4u Resolutions in-game will not change. If you can’t get a higher resolution, then that simply mean that game is so old, it did not support higher resolutions.

Recents

  • Virtualbox 64 bit windows 10 на русском
  • Virtualbox windows failed to start
  • Virtualbox windows 7 не работает aero
  • Virtualbox 64 bit windows 11 pro 64
  • Virtualbox windows 98 video driver