2d acceleration version 6.1.2

Discussions about using Windows guests in VirtualBox.
Post Reply
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

2d acceleration version 6.1.2

Post by Hào Nguyễn »

How can I enable 2d acceleration in client for version 5.1 it's awesome windows 7 64bit my client has 16bit resolution and when update version 6.1.2 it's gone Only option with 32bit mode, if you know how, please guide me.
Purpose: install windows 7 guest on version 6.1.2 with windows 7 32bit or 64bit as long as I can adjust the resolution to 16bit thanks.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 2d acceleration version 6.1.2

Post by mpack »

The 2D acceleration setting is in <VM settings>|Display.

However 2D acceleration only works in Windows (NT family) guests after the Guest Additions are installed. I rather doubt that any supported (NT family) version of Windows needs to run in a 16bit color mode, which was only briefly a thing back in the '90s. So if this is Win9x or earlier then there are no Guest Additions and therefore no 2D/3D graphics acceleration available.

Even on modern Windows I rather suspect that 2D acceleration (2D overlay) requires you to be using the same color depth in guest and host.

Final note: yes, several graphics options were discontinued with the launch of VirtualBox 6.x. Basically, only Win7 and later has accelerated graphics.
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

Re: 2d acceleration version 6.1.2

Post by Hào Nguyễn »

mpack wrote:The 2D acceleration setting is in <VM settings>|Display.

However 2D acceleration only works in Windows (NT family) guests after the Guest Additions are installed. I rather doubt that any supported (NT family) version of Windows needs to run in a 16bit color mode, which was only briefly a thing back in the '90s. So if this is Win9x or earlier then there are no Guest Additions and therefore no 2D/3D graphics acceleration available.

Even on modern Windows I rather suspect that 2D acceleration (2D overlay) requires you to be using the same color depth in guest and host.

Final note: yes, several graphics options were discontinued with the launch of VirtualBox 6.x. Basically, only Win7 and later has accelerated graphics.
Thank you for your reply when i installed the client with windows 7 64bit with version 5.x then i got the 16 bit option
When I install from version 6.x and above there is no 16bit option anymore I think it's possible because there is no 2d acceleration on version 6.x
And i want to ask you is there any way to add 2d accelerated line back to 6x version and i want to install windows 7 32bit or 64bit version can choose 16bit mode because i really need it at work thank you so much help me please. :( :( :( :( :( :(
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

Re: 2d acceleration version 6.1.2

Post by Hào Nguyễn »

mpack wrote:The 2D acceleration setting is in <VM settings>|Display.

However 2D acceleration only works in Windows (NT family) guests after the Guest Additions are installed. I rather doubt that any supported (NT family) version of Windows needs to run in a 16bit color mode, which was only briefly a thing back in the '90s. So if this is Win9x or earlier then there are no Guest Additions and therefore no 2D/3D graphics acceleration available.

Even on modern Windows I rather suspect that 2D acceleration (2D overlay) requires you to be using the same color depth in guest and host.

Final note: yes, several graphics options were discontinued with the launch of VirtualBox 6.x. Basically, only Win7 and later has accelerated graphics.
3.14.1. Video Modes in EFI
EFI provides two distinct video interfaces: GOP (Graphics Output Protocol) and UGA (Universal Graphics Adapter). Modern OSes, such as Mac OS X, generally use GOP, while some older ones still use UGA. Oracle VM VirtualBox provides a configuration option to control the graphics resolution for both interfaces, making the difference mostly irrelevant for users.

The default resolution is 1024x768. To select a graphics resolution for EFI, use the following VBoxManage command:

VBoxManage setextradata "VM name" VBoxInternal2/EfiGraphicsResolution HxV
Determine the horizontal resolution H and the vertical resolution V from the following list of default resolutions:

VGA
640x480, 32bpp, 4:3

SVGA
800x600, 32bpp, 4:3

XGA
1024x768, 32bpp, 4:3

XGA+
1152x864, 32bpp, 4:3

HD
1280x720, 32bpp, 16:9

WXGA
1280x800, 32bpp, 16:10

SXGA
1280x1024, 32bpp, 5:4

SXGA+
1400x1050, 32bpp, 4:3

WXGA+
1440x900, 32bpp, 16:10

HD+
1600x900, 32bpp, 16:9

UXGA
1600x1200, 32bpp, 4:3

WSXGA+
1680x1050, 32bpp, 16:10

Full HD
1920x1080, 32bpp, 16:9

WUXGA
1920x1200, 32bpp, 16:10

DCI 2K
2048x1080, 32bpp, 19:10

Full HD+
2160x1440, 32bpp, 3:2

Unnamed
2304x1440, 32bpp, 16:10

QHD
2560x1440, 32bpp, 16:9

WQXGA
2560x1600, 32bpp, 16:10

QWXGA+
2880x1800, 32bpp, 16:10

QHD+
3200x1800, 32bpp, 16:9

WQSXGA
3200x2048, 32bpp, 16:10

4K UHD
3840x2160, 32bpp, 16:9

WQUXGA
3840x2400, 32bpp, 16:10

DCI 4K
4096x2160, 32bpp, 19:10

HXGA
4096x3072, 32bpp, 4:3

UHD+
5120x2880, 32bpp, 16:9

WHXGA
5120x3200, 32bpp, 16:10

WHSXGA
6400x4096, 32bpp, 16:10

HUXGA
6400x4800, 32bpp, 4:3

8K UHD2
7680x4320, 32bpp, 16:9

If this list of default resolution does not cover your needs, see Custom VESA Resolutions. Note that the color depth value specified in a custom video mode must be specified. Color depths of 8, 16, 24, and 32 are accepted. EFI assumes a color depth of 32 by default.

The EFI default video resolution settings can only be changed when the VM is powered off.
I found it related to screen resolution and this is how I found out please help me how can I use these commands

$ VBoxManage setextradata VM-name "CustomVideoMode1" "1400x1050x16"

Remove all limits on guest resolutions.

VBoxManage setextradata global GUI/MaxGuestResolution any
Manually specify a maximum resolution.

VBoxManage setextradata global GUI/MaxGuestResolution widthxheight
Restore the default settings to all guest VMs.

VBoxManage setextradata global GUI/MaxGuestResolution auto
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: 2d acceleration version 6.1.2

Post by scottgus1 »

I suspect that your quoted segment about the video modes is only for the EFI boot environment, not for the running of the VM's OS.

Also, the commands for maximum screen size are only for limits on VM screen size, not for a particular VM's screen size.

I seem to remember that in 6.something, 2D acceleration was set to always be enabled if the VM had supported OS with Guest Additions installed, so the 2D checkbox is not needed anymore.

If you simply must have 16bit video, you might have to go back to 5.1.

But let's take a look at the VM's settings:

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, zip it, and post the zip file, using the forum's Upload Attachment tab.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: 2d acceleration version 6.1.2

Post by mpack »

I'll say that if it's a Win7 guest, and the software is not a game from the '90s, then it does not need 16bit graphics and the latter should NOT be configured. Stick to 32bit color graphics.
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

Re: 2d acceleration version 6.1.2

Post by Hào Nguyễn »

Thank you for replying me but I found out the problem is no longer in 2d acceleration and it's related to the final resolution I just want to be able to run 16bit mode on 6.x version with windows 7 64bit or 32bit.
When I switched back to 5.x it was no longer a problem to deal with.
I think this shouldn't be a problem for you guys really I really need to run 16bit resolution on version 6.x with windows 7 64bit or 32bit I'm really broke because I tried everything but the result was zero please help me.
And there is a quote like the above that I think can be done, I believe it will work miracles for me:
If this list of default resolution does not cover your needs, see Section 9.6.1, “Custom VESA Resolutions”. Note that the color depth value specified in a custom video mode must be specified. Color depths of 8, 16, 24, and 32 are accepted. EFI assumes a color depth of 32 by default.
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

Re: 2d acceleration version 6.1.2

Post by Hào Nguyễn »

mpack wrote:I'll say that if it's a Win7 guest, and the software is not a game from the '90s, then it does not need 16bit graphics and the latter should NOT be configured. Stick to 32bit color graphics.
Thanks really I really need to switch back to 16bit mode but why on 5.x version I get 16bit option line and not with 6.x version I tried everything but no result I hope you can help me please
But with this saying I think it can be done and I can't afford to do it so please help me.
If this list of default resolution does not cover your needs, see Section 9.6.1, “Custom VESA Resolutions”. Note that the color depth value specified in a custom video mode must be specified. Color depths of 8, 16, 24, and 32 are accepted. EFI assumes a color depth of 32 by default.
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: 2d acceleration version 6.1.2

Post by scottgus1 »

scottgus1 wrote:If you simply must have 16bit video, you might have to go back to 5.1.

But let's take a look at the VM's settings:

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, zip it, and post the zip file, using the forum's Upload Attachment tab.
Hào Nguyễn
Posts: 9
Joined: 17. Dec 2020, 13:19

Re: 2d acceleration version 6.1.2

Post by Hào Nguyễn »

I did it, please close the post, thank you very much
Post Reply