VirtualBox

Ticket #5753 (new defect)

Opened 4 years ago

Last modified 3 years ago

2D Acceleration option grayed out, XP guest, Ubuntu 9.10 host, VB 3.1.0

Reported by: Mr_Kaizer Owned by:
Priority: major Component: other
Version: VirtualBox 3.1.0 Keywords: 2D acceleration
Cc: Guest type: Windows
Host type: Linux

Description

The option to enable 2D acceleration under the Display settings in VB 3.1.0 is grayed out. Guest additions installed in safe mode. These people seem to be experiencing the same problem:  http://forum.virtualbox.org/viewtopic.php?f=7&t=25357

Host: Ubuntu 9.10 Guest: Windows XP Pro SP2

Attachments

test.log Download (408 bytes) - added by Oipo 4 years ago.
Execution of "/opt/VirtualBox/VBoxTestOGL --log ~/test.log --test 2D"
vbox.log Download (1006 bytes) - added by jeegiz 4 years ago.
same issue on win xp 64 bit host, intel video
test1.log Download (995 bytes) - added by jekam 4 years ago.
output of /usr/lib/virtualbox/VBoxTestOGL --log test1.log --test 2D
vbox2d.log Download (995 bytes) - added by Eric Carroll 4 years ago.
testd2d.log Download (1.0 KB) - added by gallit 4 years ago.
Host : XP / Guest : Win7
IntelMobile945Chipset.txt Download (2.2 KB) - added by ekt 3 years ago.
open gl test with intel 945 chipset

Change History

comment:1 follow-up: ↓ 14 Changed 4 years ago by misha

VBox is using a separate VBoxTestOGL util executable to test the 2D & 3D support on linux.
Could you explicitly run it with enabled logging to see what's causing problems in your case, i.e. run: "VBoxTestOGL --log <log_file_name> --test 2D" and attach the resulting log_file here.

comment:2 Changed 4 years ago by Mr_Kaizer

I will try to do that. I found that I could enable it by editing the machine .xml file.

Changed 4 years ago by Oipo

Execution of "/opt/VirtualBox/VBoxTestOGL --log ~/test.log --test 2D"

comment:3 follow-ups: ↓ 4 ↓ 5 Changed 4 years ago by Oipo

Pardon my interruption, but I have the same problem, and thus I attached what was requested.

comment:4 in reply to: ↑ 3 Changed 4 years ago by misha

Replying to Oipo: Thanks for the log. Unfortunately the log did not say much due to an error in VBoxTestOGL.
We've fixed the issue to make VBoxTestOGL work properly with logging enabled. Could you post me an email at Mikhail dot Sennikovsky at sun dot com and I will post you a fixed VBoxTestOGL version.
Please specify your host arch (i.e. x86 or amd64) in the email.

comment:5 in reply to: ↑ 3 ; follow-up: ↓ 6 Changed 4 years ago by misha

Replying to Oipo: Please try the new VBox 3.1.2 and if the problem still exists with it, could you attach the log file produced by "VBoxTestOGL --log <log_file_name> --test 2D" command again.

Changed 4 years ago by jeegiz

same issue on win xp 64 bit host, intel video

comment:6 in reply to: ↑ 5 Changed 4 years ago by misha

Replying to jeegiz: in your case the log shows your video card does not support a set of gl extensions required for the 2D support. (note that 2D acceleration feature actually using 3D features of host graphics card for video acceleration)
In particular GL_ARB_shader_objects, GL_ARB_fragment_shader, GL_ARB_texture_rectangle & GL_ARB_texture_non_power_of_two are unsupported.
It should be actually possible to get rid of that GL_ARB_texture_rectangle & GL_ARB_texture_non_power_of_two requirement, I'll also have a look if it is possible to use some older mechanism like GL_ARB_fragment_program instead of GL_ARB_shader_objects & GL_ARB_fragment_shader

Changed 4 years ago by jekam

output of /usr/lib/virtualbox/VBoxTestOGL --log test1.log --test 2D

comment:7 Changed 4 years ago by jekam

Same here on Dell Latitude D410 with Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller on Ubuntu 9.10 and Virtualbox version 3.1.2 r56127.

Changed 4 years ago by Eric Carroll

comment:8 Changed 4 years ago by Eric Carroll

I have this problem as well.

Log file attached as vbox2d.log above.

Linux XXX 2.6.28-16-generic #57-Ubuntu SMP Wed Nov 11 09:47:24 UTC 2009 i686 GNU/Linux

$ lspci | grep VGA

01:00.0 VGA compatible controller: ATI Technologies Inc M56GL [Mobility FireGL V5200]

$ glxinfo | grep version server glx version string: 1.2 client glx version string: 1.4 GLX version: 1.2 OpenGL version string: 1.3 Mesa 7.4

3D button is availble, just 2D button is not. $ grep -i driver /var/log/Xorg.0.log

X.Org Video Driver: 5.0 X.Org XInput driver : 4.0

(II) Loading /usr/lib/xorg/modules/driversati_drv.so

Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0

(II) Loading /usr/lib/xorg/modules/driversradeon_drv.so

Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 5.0

(II) RADEON: Driver for ATI Radeon chipsets:

ABI class: X.Org Video Driver, version 5.0

(WW) RADEON(0): R500 support is under development. Please report any issues to xorg-driver-ati@…

ABI class: X.Org Video Driver, version 5.0 ABI class: X.Org Video Driver, version 5.0

(II) EXA(0): Driver registered support for the following operations: (II) AIGLX: enabled GLX_texture_from_pixmap with driver support

Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 4.0

(II) Synaptics touchpad driver version 0.99.3

comment:9 follow-up: ↓ 10 Changed 4 years ago by Eric Carroll

misha:

I checked my log file attached above, and I noticed the same things are not supported in my file (GL_ARB_shader_objects, GL_ARB_fragment_shader, GL_ARB_texture_rectangle & GL_ARB_texture_non_power_of_two)

The interesting thing is I am using ubuntu 9.04 with latest X updates (ubuntu-x-swat ppa) but OSS ATI X/Mesa drivers, not proprietary ATI flgrx blob.

So this means anyone using open ATI drivers will experience this issue unless this got fixed in 9.10 release.

comment:10 in reply to: ↑ 9 ; follow-up: ↓ 11 Changed 4 years ago by misha

Replying to Eric Carroll: There is a plan to weaken the opengl requirements for 2D support, i.e. use other extensions, e.g. GL_ARB_fragment_program instead of fragment_shader when it is unsupported.

comment:11 in reply to: ↑ 10 Changed 4 years ago by Eric Carroll

Replying to misha:

So is the issue here that in normal Linux distros the 2D acceleration is done via X and EXA, and you don't have access to that right now, and are waiting for full 2D support in Mesa? I know the Linux roadmap is to move from EXA to Mesa for 2D acceleration once Gallium is settled.

So the bottom line is that if you have a Linux host with non-proprietary drivers, you can't get VirtualBox 2D acceleration until Mesa supports it, correct?

comment:12 Changed 4 years ago by zevans

"Shaders" are a high-end feature of 3D chipsets which are quite often missing from netbooks and/or Linux implementations. However since lots of fairly advanced 3D games (wg GTA:SA) will run without shaders I would never have guessed this was the problem!

MESA will support shaders but only IF your hardware has them and IF your host's driver in turn supports them on the hardware.

Not sure how the VirtualBox guys set priorities on the feature wishlist - but just thought I'd post to highlight that we pretty much won't have 2D acceleration on netbook hosts until this is fixed...!

Changed 4 years ago by gallit

Host : XP / Guest : Win7

comment:13 in reply to: ↑ description Changed 3 years ago by p0larity

Replying to Mr_Kaizer:

The option to enable 2D acceleration under the Display settings in VB 3.1.0 is grayed out. Guest additions installed in safe mode. These people seem to be experiencing the same problem:  http://forum.virtualbox.org/viewtopic.php?f=7&t=25357

Host: Ubuntu 9.10 Guest: Windows XP Pro SP2

The answer is right in front of you, friend.

 http://i56.tinypic.com/o91wzo.png

I'd really love for Oracle to add 2D Acceleration support for Linux. That's pretty much the ONLY reason I installed this virtual machine right now.

I wanted to see how Unity & Wayland worked without rebooting (at work).

Changed 3 years ago by ekt

open gl test with intel 945 chipset

comment:14 in reply to: ↑ 1 Changed 3 years ago by ekt

Replying to misha:

VBox is using a separate VBoxTestOGL util executable to test the 2D & 3D support on linux.
Could you explicitly run it with enabled logging to see what's causing problems in your case, i.e. run: "VBoxTestOGL --log <log_file_name> --test 2D" and attach the resulting log_file here.

I have the same issue. I have a laptop with the infmous intel 945 chipset It is a crappy card, but widely used I've attached log, hope it helps

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use