Re: VirtualBox 2D acceleration

2010-10-25 Thread Daichi GOTO
I have confirmed that FreeBSD VirtualBox uses 3D acceleration 
feature. Working very well :)

test environment:
  host:
FreeBSD 9.0-CURRENT amd64 Thu Sep 30 10:30:06 JST 2010
VirtualBox 3.2.10

  guest:
Ubuntu 10.10 amd64
  glears score:
pre:  around 470 FPS
post: around 2250 FPS
  notice:
you need do following operation after guest addition 
installation and reboot:
# cd /opt/VBoxGuestAdditions-3.2.10/src/vboxguest-3.2.10/vboxvideo/
# sudo make
# sudo make install

Windows XP SP3
  Google Earth:
pre:  OpenGL mode only (Software emulation)
post: Direct3D mode (H/W acceleration enabled) and
  rendering very well
  notice:
You need install guest addition on Safe mode.

details: 
  
http://journal.mycom.co.jp/articles/2010/10/22/virtualbox-3d-acceleration/index.html
  (japanese only, perhaps google translation helpfull for most of you)

On Sun, 3 Oct 2010 13:12:30 +0900
Daichi GOTO dai...@freebsd.org wrote:
   I did test to check 2D acceleration effect with this patch, and 2D 
   benchmarks shows about the same index. No effect appears.  I want to 
   know that this 2D acceleration feature works for what and thats effect 
   actually. Someone has any ideas?
  
  Did you install the guest additions experimental drivers to support 3D? 
 
 Yeah. I have tried to install guest addition twice to test with 3D support 
 and without 3D support. And both cases are the same result. No effect appears.
 
 And FreeBSD VirtualBox looks like not to support 3D feature yet. 
 
  What graphics hardware do you use?  I have an Nvidia 8800 GTS.  I do not 
 
 % dmesg | grep -i nvidia
 nvidia0: GeForce 7300 GT on vgapci0
 % 
 
  know how well this option works for other hardware.  Also, what type of 
  acceleration are you using for your X driver (check 
 
 % cat /var/log/Xorg.0.log | grep -i nvidia
 (--) PCI:*(0:1:0:0) 10de:0393:: nVidia Corporation G73 [GeForce 7300 
 GT] rev 161, Mem @ 0xfa00/16777216, 0xe000/268435456, 
 0xfb00/16777216, I/O @ 0xef00/128, BIOS @ 0x/65536
 (II) Module glx: vendor=NVIDIA Corporation
 (II) NVIDIA GLX Module  195.36.15  Fri Mar 12 08:46:30 posix/SystemV/PST 2010
 (II) LoadModule: nvidia
 (II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
 (II) Module nvidia: vendor=NVIDIA Corporation
 (II) NVIDIA dlloader X Driver  195.36.15  Fri Mar 12 08:49:20 
 posix/SystemV/PST 2010
 (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
 (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
 (==) NVIDIA(0): RGB weight 888
 (==) NVIDIA(0): Default visual is TrueColor
 (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
 (**) Oct 02 13:24:54 NVIDIA(0): Enabling RENDER acceleration
 (II) Oct 02 13:24:54 NVIDIA(0): Support for GLX with the Damage and Composite 
 X extensions is
 (II) Oct 02 13:24:54 NVIDIA(0): enabled.
 (II) Oct 02 13:24:55 NVIDIA(0): NVIDIA GPU GeForce 7300 GT (G73) at PCI:1:0:0 
 (GPU-0)
 (--) Oct 02 13:24:55 NVIDIA(0): Memory: 262144 kBytes
 (--) Oct 02 13:24:55 NVIDIA(0): VideoBIOS: 05.73.22.51.00
 (II) Oct 02 13:24:55 NVIDIA(0): Detected PCI Express Link width: 16X
 (--) Oct 02 13:24:55 NVIDIA(0): Interlaced video modes are supported on this 
 GPU
 (--) Oct 02 13:24:55 NVIDIA(0): Connected display device(s) on GeForce 7300 
 GT at PCI:1:0:0:
 (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0)
 (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): 330.0 MHz maximum pixel 
 clock
 (--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): Internal Dual Link TMDS
 (II) Oct 02 13:24:55 NVIDIA(0): Assigned Display Device: DFP-0
 (II) Oct 02 13:24:55 NVIDIA(0): Validated modes:
 (II) Oct 02 13:24:55 NVIDIA(0): 1920x1080
 (II) Oct 02 13:24:55 NVIDIA(0): Virtual screen size determined to be 1920 x 
 1080
 (--) Oct 02 13:24:55 NVIDIA(0): DPI set to (92, 91); computed from 
 UseEdidDpi X config
 (--) Oct 02 13:24:55 NVIDIA(0): option
 (==) Oct 02 13:24:55 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
 (II) Oct 02 13:24:55 NVIDIA(0): Initialized GPU GART.
 (II) Oct 02 13:24:55 NVIDIA(0): Setting mode 1920x1080
 (II) Oct 02 13:24:56 NVIDIA(0): Initialized OpenGL Acceleration
 (==) NVIDIA(0): Disabling shared memory pixmaps
 (II) Oct 02 13:24:56 NVIDIA(0): Initialized X Rendering Acceleration
 (==) NVIDIA(0): Backing store disabled
 (==) NVIDIA(0): Silken mouse enabled
 (**) NVIDIA(0): DPMS enabled
 % 
 
  /var/log/Xorg.0.log).  EXA may be required over XAA.  At least, some 
  type of acceleration is needed.
 
 How did you setup your xorg.conf? or nvidia-settings??
 
 I don't know how to setup to use EXA instead of XAA. 
 The 'Option AccelMethod EXA' are affected for intel and radeon driver, 
 not for nvidia.
 
  I am new to this option, so that is all I can surmise.
  
  Sean
  -- 
  s...@freebsd.org
 
 -- 
 Daichi GOTO
 81-42-316-7945 | dai...@ongs.co.jp | http://www.ongs.co.jp
 LinkedIn: http://linkedin.com/in/daichigoto
 

Re: VirtualBox 2D acceleration

2010-10-08 Thread Jung-uk Kim
On Thursday 07 October 2010 05:26 pm, Dmitry Pryanishnikov wrote:
 Hello!

 2010/10/7 Sean C. Farley s...@freebsd.org:
  I use 8.1-STABLE/amd64 with ATI RV370
  [Radeon X300SE] video adapter, X.Org X Server 1.7.5, video
  driver radeon, direct rendering enabled, AccelMethod is
  EXA. What else should I check in order to verify why the
  Enable 2D Video Acceleration option is inactive?
 
  Run VBoxTestOGL and check the log's output:
  VBoxTestOGL --test 2D --test 3D --log vboxtest.log
 
  It may show something. �Before the patch, --help did not show
  --test 2D as a valid option.

   Thank you for reply! I see that the reason is the lack of the
 fragment shader support...

 00:00:00.162 gl version string: 01.3 Mesa 7.4.4
 00:00:00.162 gl version: 0x10300
 ...

 00:00:00.162 GL_ARB_multitexture: 1
 00:00:00.162 GL_ARB_shader_objects: 0
 00:00:00.162 GL_ARB_fragment_shader: 0
 00:00:00.162 GL_ARB_pixel_buffer_object: 0
 00:00:00.162 GL_ARB_texture_rectangle: 1
 00:00:00.162 GL_EXT_texture_rectangle: 1
 00:00:00.162 GL_NV_texture_rectangle: 1
 00:00:00.162 GL_ARB_texture_non_power_of_two: 0
 00:00:00.162 GL_EXT_framebuffer_object: 0
 00:00:00.179 Max Tex Coords (8), Img Units (8)
 00:00:00.179 2D not supported: fragment shader unsupported
 00:00:00.179 Testing 2D Failed

Your previous e-mail shows that you have AMD/ATI RV370 (Radeon 
X300SE).  FYI, all Radeons with classic Mesa lack the extension, 
AFAIK.

I took a look at VirtualBox source and I found the code actually came 
from WineD3D to emulate DirectX via OpenGL:

http://www.nongnu.org/wined3d/
http://source.winehq.org/git/wine.git/?a=blob;f=dlls/wined3d/glsl_shader.c
http://www.virtualbox.org/browser/trunk/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/glsl_shader.c

Luckily, there is an upstream PR for the issue:

http://www.virtualbox.org/ticket/5753

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.

Jung-uk Kim
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-07 Thread Sean C. Farley

On Sun, 3 Oct 2010, Daichi GOTO wrote:

I did test to check 2D acceleration effect with this patch, and 2D 
benchmarks shows about the same index. No effect appears.  I want to 
know that this 2D acceleration feature works for what and thats 
effect actually. Someone has any ideas?


Did you install the guest additions experimental drivers to support 
3D?


Yeah. I have tried to install guest addition twice to test with 3D 
support and without 3D support. And both cases are the same result. No 
effect appears.


And FreeBSD VirtualBox looks like not to support 3D feature yet.


This is what you should see if everything is supported from VirtualBox's 
standpoint:

# VBoxTestOGL --test 2D --test 3D --log vboxtest.log
# grep Testing vboxtest.log
00:00:00.001 Testing 3D Support:
00:00:00.040 Testing 3D Succeeded!
00:00:00.040 Testing 2D Support:
00:00:00.065 Testing 2D Succeeded!

What graphics hardware do you use?  I have an Nvidia 8800 GTS.  I do 
not 


% dmesg | grep -i nvidia
nvidia0: GeForce 7300 GT on vgapci0
%

know how well this option works for other hardware.  Also, what type 
of acceleration are you using for your X driver (check



% cat /var/log/Xorg.0.log | grep -i nvidia


Mine (http://people.freebsd.org/~scf/Xorg.0.log) is mostly the same except I
have this:
(II) Oct 06 10:21:03 NVIDIA: Reserving 768.00 MB of virtual memory for indirect 
memory
(II) Oct 06 10:21:03 NVIDIA: access.

Also, I edited the x11/nvidia-driver port to use v256.53 of the driver. 
It is the first truly supported FreeBSD amd64 driver from nvidia.



How did you setup your xorg.conf? or nvidia-settings??


My xorg.conf:  http://people.freebsd.org/~scf/xorg.conf
You can ignore the Non-HAL and mouse stuff.


I don't know how to setup to use EXA instead of XAA.
The 'Option AccelMethod EXA' are affected for intel and radeon 
driver, not for nvidia.


True.  Ignore my comment on that.

Sean
--
s...@freebsd.org
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-07 Thread Sean C. Farley

On Fri, 1 Oct 2010, Dmitry Pryanishnikov wrote:


Hello!

2010/9/30 Sean C. Farley s...@freebsd.org:
apparent regressions.  I tested this with the Nvidia driver, and it 
shows improvement within the VM.  I do not know how other drivers 
will work.  EXA may be required over XAA.


Just remember to check Enable 2D Video Acceleration in the 
configuration of the VM in question.


 I've just rebuilt the VirtualBox, package version is
virtualbox-ose-3.2.8_1 now. However, when I select my WinXP guest in
the VirtualBox GUI - Settings - Display, I see that Enable 3D
Acceleration checkbox is selectable, but Enable 2D Video
Acceleration one is inactive! I use 8.1-STABLE/amd64 with ATI RV370
[Radeon X300SE] video adapter, X.Org X Server 1.7.5, video driver
radeon, direct rendering enabled, AccelMethod is EXA.
What else should I check in order to verify why the Enable 2D Video
Acceleration option is inactive?


Run VBoxTestOGL and check the log's output:
VBoxTestOGL --test 2D --test 3D --log vboxtest.log

It may show something.  Before the patch, --help did not show --test 2D 
as a valid option.


Sean
--
s...@freebsd.org___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-07 Thread Jung-uk Kim
On Thursday 07 October 2010 03:55 pm, Michael Butler wrote:
 On 10/07/10 15:02, Sean C. Farley wrote:
  Run VBoxTestOGL and check the log's output:
  VBoxTestOGL --test 2D --test 3D --log vboxtest.log
 
  It may show something.  Before the patch, --help did not show
  --test 2D as a valid option.

 Now this is interesting .. 2D doesn't work for the lack of ..

 2D not supported: fragment shader unsupported

According to your previous X.org log, you have Intel 945GM and it 
seems GL_ARB_frameshader extension is not available for your chipset:

http://cgit.freedesktop.org/mesa/mesa/tree/src/mesa/drivers/dri/intel/intel_extensions.c

Sorry,

Jung-uk Kim
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-07 Thread Sean C. Farley

On Thu, 7 Oct 2010, Michael Butler wrote:


On 10/07/10 15:02, Sean C. Farley wrote:

Run VBoxTestOGL and check the log's output:
VBoxTestOGL --test 2D --test 3D --log vboxtest.log

It may show something.  Before the patch, --help did not show --test 
2D as a valid option.


Now this is interesting .. 2D doesn't work for the lack of ..


*snip*


00:00:00.512 GL_ARB_shader_objects: 0
00:00:00.512 GL_ARB_fragment_shader: 0
00:00:00.512 GL_ARB_pixel_buffer_object: 0
00:00:00.512 GL_ARB_texture_rectangle: 1
00:00:00.512 GL_EXT_texture_rectangle: 1
00:00:00.512 GL_NV_texture_rectangle: 1
00:00:00.512 GL_ARB_texture_non_power_of_two: 1
00:00:00.512 GL_EXT_framebuffer_object: 0
00:00:00.512 Max Tex Coords (8), Img Units (8)
00:00:00.512 2D not supported: fragment shader unsupported
00:00:00.512 Testing 2D Failed


I do not know if all the zeros have to be ones for 2D to be supported or 
not.  The Intel v2.7 driver may not support 2D at least for your video 
card.  You could try xf86-video-intel29 instead of xf86-video-intel to 
see if that helps.  You need to remove the IGNORE line in the Makefile 
first.  I have no Intel hardware, so I do not know if this will help at 
any.


Sean
--
s...@freebsd.org
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-07 Thread Michael Butler
On 10/07/10 16:43, Sean C. Farley wrote:
 I do not know if all the zeros have to be ones for 2D to be supported or
 not.  The Intel v2.7 driver may not support 2D at least for your video
 card.  You could try xf86-video-intel29 instead of xf86-video-intel to
 see if that helps.  You need to remove the IGNORE line in the Makefile
 first.  I have no Intel hardware, so I do not know if this will help at
 any.

I have i915 DRM compiled into my kernel and, it seems, the 2.9 driver
doesn't agree with it :-(

Kernel message:

kernel: module_register: module vgapci/i915 already exists!
kernel: Module vgapci/i915 failed to register: 17

 .. which then yields (from /var/log/Xorg.0.log) ..

(EE) intel(0): [drm] Failed to detect GEM.  Kernel 2.6.28 required.
(EE) intel(0): Failed to become DRM master.

 [ .. ]

(II) AIGLX: Screen 0 is not DRI2 capable
(II) AIGLX: Screen 0 is not DRI capable
(II) AIGLX: Loaded and initialized /usr/local/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0

So it looks like a slightly larger mine-field than that for which I
currently have the time .. thanks anyways,

imb

___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-02 Thread Daichi GOTO
  I did test to check 2D acceleration effect with this patch, and 2D 
  benchmarks shows about the same index. No effect appears.  I want to 
  know that this 2D acceleration feature works for what and thats effect 
  actually. Someone has any ideas?
 
 Did you install the guest additions experimental drivers to support 3D? 

Yeah. I have tried to install guest addition twice to test with 3D support 
and without 3D support. And both cases are the same result. No effect appears.

And FreeBSD VirtualBox looks like not to support 3D feature yet. 

 What graphics hardware do you use?  I have an Nvidia 8800 GTS.  I do not 

% dmesg | grep -i nvidia
nvidia0: GeForce 7300 GT on vgapci0
% 

 know how well this option works for other hardware.  Also, what type of 
 acceleration are you using for your X driver (check 

% cat /var/log/Xorg.0.log | grep -i nvidia
(--) PCI:*(0:1:0:0) 10de:0393:: nVidia Corporation G73 [GeForce 7300 
GT] rev 161, Mem @ 0xfa00/16777216, 0xe000/268435456, 
0xfb00/16777216, I/O @ 0xef00/128, BIOS @ 0x/65536
(II) Module glx: vendor=NVIDIA Corporation
(II) NVIDIA GLX Module  195.36.15  Fri Mar 12 08:46:30 posix/SystemV/PST 2010
(II) LoadModule: nvidia
(II) Loading /usr/local/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor=NVIDIA Corporation
(II) NVIDIA dlloader X Driver  195.36.15  Fri Mar 12 08:49:20 posix/SystemV/PST 
2010
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) Oct 02 13:24:54 NVIDIA(0): Enabling RENDER acceleration
(II) Oct 02 13:24:54 NVIDIA(0): Support for GLX with the Damage and Composite X 
extensions is
(II) Oct 02 13:24:54 NVIDIA(0): enabled.
(II) Oct 02 13:24:55 NVIDIA(0): NVIDIA GPU GeForce 7300 GT (G73) at PCI:1:0:0 
(GPU-0)
(--) Oct 02 13:24:55 NVIDIA(0): Memory: 262144 kBytes
(--) Oct 02 13:24:55 NVIDIA(0): VideoBIOS: 05.73.22.51.00
(II) Oct 02 13:24:55 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Oct 02 13:24:55 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Oct 02 13:24:55 NVIDIA(0): Connected display device(s) on GeForce 7300 GT 
at PCI:1:0:0:
(--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0)
(--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): 330.0 MHz maximum pixel 
clock
(--) Oct 02 13:24:55 NVIDIA(0): BenQ G2420HD (DFP-0): Internal Dual Link TMDS
(II) Oct 02 13:24:55 NVIDIA(0): Assigned Display Device: DFP-0
(II) Oct 02 13:24:55 NVIDIA(0): Validated modes:
(II) Oct 02 13:24:55 NVIDIA(0): 1920x1080
(II) Oct 02 13:24:55 NVIDIA(0): Virtual screen size determined to be 1920 x 1080
(--) Oct 02 13:24:55 NVIDIA(0): DPI set to (92, 91); computed from UseEdidDpi 
X config
(--) Oct 02 13:24:55 NVIDIA(0): option
(==) Oct 02 13:24:55 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(II) Oct 02 13:24:55 NVIDIA(0): Initialized GPU GART.
(II) Oct 02 13:24:55 NVIDIA(0): Setting mode 1920x1080
(II) Oct 02 13:24:56 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Oct 02 13:24:56 NVIDIA(0): Initialized X Rendering Acceleration
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(**) NVIDIA(0): DPMS enabled
% 

 /var/log/Xorg.0.log).  EXA may be required over XAA.  At least, some 
 type of acceleration is needed.

How did you setup your xorg.conf? or nvidia-settings??

I don't know how to setup to use EXA instead of XAA. 
The 'Option AccelMethod EXA' are affected for intel and radeon driver, 
not for nvidia.

 I am new to this option, so that is all I can surmise.
 
 Sean
 -- 
 s...@freebsd.org

-- 
Daichi GOTO
81-42-316-7945 | dai...@ongs.co.jp | http://www.ongs.co.jp
LinkedIn: http://linkedin.com/in/daichigoto
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-01 Thread Bernhard Froehlich
On Thu, 30 Sep 2010 13:27:19 +, Bernhard Froehlich
de...@freebsd.org wrote:
 On Wed, 29 Sep 2010 09:36:01 -0500 (CDT), Sean C. Farley
 s...@freebsd.org wrote:
 On Wed, 29 Sep 2010, Bernhard Froehlich wrote:

 On Sat, 25 Sep 2010 20:21:31 -0500 (CDT), Sean C. Farley
 s...@freebsd.org wrote:
 Here is a patch that adds 2D acceleration.  I am not sure if the
 VirtualBox_LIBS.freebsd line is needed or not, but it does not cause
 any apparent regressions.  I tested this with the Nvidia driver, and
 it shows improvement within the VM.  I do not know how other drivers
 will work.  EXA may be required over XAA.

 If the patch does not make it through the mailing list filter, it can
 also be found here:
 http://people.freebsd.org/~scf/virtualbox-2daccel.patch

 Thanks for the patch! It seems to build fine so I committed it to our
 testing repository [1] and will do some testing with Intel onboard
 graphics before committing it to the tree.

 You are welcome.

 Could you please reply if you agree that your patch is under the MIT
 License [2] so that we can send it upstream?

 I thought it too small of a patch to qualify for a license, however, to
 make it easier:
  The patch[1] is available under the MIT license.

 Sean
1. http://people.freebsd.org/~scf/virtualbox-2daccel.patch
 
 Thanks! I've already submitted the patch upstream and committed it to
 the tree a few minutes ago.

Patch has been committed upstream.

http://www.virtualbox.org/changeset/32833

-- 
Bernhard Froehlich
http://www.bluelife.at/
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-01 Thread Sean C. Farley

On Wed, 29 Sep 2010, Mario Lobo wrote:


On Wednesday 29 September 2010 19:09:03 Rusty Nejdl wrote:


*snip*


 Just found the enable 2d acceleration checkbox.  I only works for
 Windows clients that you have installed the 2d acceleration drivers.
 Using it for Diablo II has a noticeable improvement.  No mouse
 stuttering that I have seen since then.


Just found something.

On a win 7 guest. When I tried to refresh the Windows Experience 
Index, the VM was summarily closed midway through the process. No 
crash or abort warnings of any kind. No host disturbance whatsoever 
however.


Without the 2d enebled, the refresh runs without problems.


It looks like a known bug even when the host is Windows 7: 
http://www.virtualbox.org/ticket/5236



FreeBSD amd 64 8G Ram
Nvidia driver 256.52


I am running 256.53 which is a certified/non-beta driver.  You can find 
it from the main driver download; I did not see it in the forum under 
the Current Releases thread.


Sean
--
s...@freebsd.org
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-01 Thread Sean C. Farley

On Fri, 1 Oct 2010, Bernhard Froehlich wrote:


On Thu, 30 Sep 2010 13:27:19 +, Bernhard Froehlich
de...@freebsd.org wrote:

On Sat, 25 Sep 2010 20:21:31 -0500 (CDT), Sean C. Farley
s...@freebsd.org wrote:
Here is a patch that adds 2D acceleration.  I am not sure if the 
VirtualBox_LIBS.freebsd line is needed or not, but it does not 
cause any apparent regressions.  I tested this with the Nvidia 
driver, and it shows improvement within the VM.  I do not know how 
other drivers will work.  EXA may be required over XAA.


If the patch does not make it through the mailing list filter, it 
can also be found here:

http://people.freebsd.org/~scf/virtualbox-2daccel.patch


*snip*

Thanks! I've already submitted the patch upstream and committed it to 
the tree a few minutes ago.


Patch has been committed upstream.

http://www.virtualbox.org/changeset/32833


Great.  Thank you.

To all those thanking me and I may have missed, you are welcome.

It must be a highly desired option for others besides me.  It was a 
small piece of work, once found where, to enable it.  I just want to 
make sure people know that I did not actually write the code adding 2D 
acceleration.  :)


Sean
--
s...@freebsd.org
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-10-01 Thread Mario Lobo
On Friday 01 October 2010 12:04:26 Sean C. Farley wrote:
  Just found something.
[snip]
 It looks like a known bug even when the host is Windows 7:
 http://www.virtualbox.org/ticket/5236
 
  FreeBSD amd 64 8G Ram
  Nvidia driver 256.52
 
 I am running 256.53 which is a certified/non-beta driver.  You can find
 it from the main driver download; I did not see it in the forum under
 the Current Releases thread.
 
 Sean

 Just found it. Thanks !. Downloading now. Let you know the results.

By the way, I do have the experimental 3D drivers (installed in safe mode)
and my board is a 9800 GT.

-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE)
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org


Re: VirtualBox 2D acceleration

2010-09-29 Thread Rusty Nejdl




Just found something.

On a win 7 guest. When I tried to refresh the Windows Experience
Index, the
VM was summarily closed midway through the process. No crash or abort
warnings
of any kind. No host disturbance whatsoever however.

Without the 2d enebled, the refresh runs without problems.

FreeBSD amd 64 8G Ram
Nvidia driver 256.52


Mario,

I can confirm the exact same behavior.  I didn't have the guest 
additions installed earlier on Windows 7 so the Windows Experience Index 
ran correctly but gave graphics a 1.  I installed guest additions in 
safe mode with the experimental 3d support and then rebooted.  Running 
the test this time closed the VM just as you saw.


Rusty
___
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to freebsd-emulation-unsubscr...@freebsd.org