VirtualBox

Opened 14 years ago

Closed 8 years ago

#5753 closed defect (obsolete)

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

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

Description (last modified by aeichner)

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 (6)

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

Download all attachments as: .zip

Change History (21)

comment:1 by misha, 14 years ago

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 by Mr_Kaizer, 14 years ago

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

by Oipo, 14 years ago

Attachment: test.log added

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

comment:3 by Oipo, 14 years ago

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

in reply to:  3 comment:4 by misha, 14 years ago

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.

in reply to:  3 ; comment:5 by misha, 14 years ago

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.

by jeegiz, 14 years ago

Attachment: vbox.log added

same issue on win xp 64 bit host, intel video

in reply to:  5 comment:6 by misha, 14 years ago

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

by jekam, 14 years ago

Attachment: test1.log added

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

comment:7 by jekam, 14 years ago

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.

by Eric Carroll, 14 years ago

Attachment: vbox2d.log added

comment:8 by Eric Carroll, 14 years ago

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 by Eric Carroll, 14 years ago

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.

in reply to:  9 ; comment:10 by misha, 14 years ago

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.

in reply to:  10 comment:11 by Eric Carroll, 14 years ago

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 by Zack, 14 years ago

"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...!

by gallit, 14 years ago

Attachment: testd2d.log added

Host : XP / Guest : Win7

in reply to:  description comment:13 by King Nothing, 13 years ago

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).

by ekt, 13 years ago

Attachment: IntelMobile945Chipset.txt added

open gl test with intel 945 chipset

in reply to:  1 comment:14 by ekt, 13 years ago

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

comment:15 by aeichner, 8 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed

Please reopen if still relevant with a recent VirtualBox release.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use