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  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:  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

Current problem reports assigned to freebsd-emulation@FreeBSD.org

2010-10-25 Thread FreeBSD bugmaster
Note: to view an individual PR, use:
  http://www.freebsd.org/cgi/query-pr.cgi?pr=(number).

The following is a listing of current problems submitted by FreeBSD users.
These represent problem reports covering all versions including
experimental development code and obsolete releases.


S Tracker  Resp.  Description

a kern/150186  emulation  [parallels] [panic] Parallels Desktop: CDROM disconnec
o kern/149168  emulation  [linux] [patch] Linux sendmsg / recvmsg / etc fixes fo
o ports/148097 emulation  [patch] suggested addition to linux_base-* packages to
o ports/148096 emulation  emulators/linux_base-* can not be built from ports on 
o kern/147793  emulation  [vmware] [panic] cdrom handling, panic, possible race 
o kern/146237  emulation  [linux] Linux binaries not reading directories mounted
o kern/145024  emulation  [linux] [panic] kernel crash by linux.ko module with n
f kern/144763  emulation  [linux] [panic] Kernel panic when start linux binaries
o ports/142837 emulation  [patch] emulators/linux_base-* packages fails to insta
o kern/140156  emulation  [linux] cdparanoia fails to read drive data
f kern/138944  emulation  [parallels] [regression] Parallels no longer works in 
o kern/138880  emulation  [linux] munmap segfaults after linux_mmap2 stresstest
f ports/137332 emulation  add caution messages to some adobe products
s ports/136321 emulation  x11-toolkits/linux-pango: please update linux based po
o ports/135337 emulation  [PATCH] emulators/linux_base-f10: incorrect bash usage
s kern/133144  emulation  [linux] linuxulator 2.6 crashes with nvidias libGL.so.
o kern/129169  emulation  [linux] [patch] Linux Emulation ENOTCONN error using n
o kern/126232  emulation  [linux] Linux ioctl TCGETS (0x5401) always fails
f kern/99068   emulation  [linux] [patch] Linux emulator crashed by java, when c
o kern/86619   emulation  [linux] linux emulator interacts oddly with cp
o kern/73777   emulation  [linux] [patch] linux emulation: root dir special hand
a kern/72920   emulation  [linux]: path "prefixing" is not done on unix domain s
o kern/41543   emulation  [patch] [request] easier wine/w23 support
o kern/39201   emulation  [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu
o kern/36952   emulation  [patch] [linux] ldd(1) command of linux does not work
o kern/21463   emulation  [linux] Linux compatability mode should not allow setu
o kern/11165   emulation  [ibcs2] IBCS2 doesn't work correctly with PID_MAX 

27 problems total.

___
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: question about virtualbox and windows.

2010-10-25 Thread Ted Mittelstaedt

On 10/24/2010 1:12 PM, Brandon Gooch wrote:

On Sun, Oct 24, 2010 at 2:26 PM, Julian Elischer  wrote:


If I have a FreeBSD 8 machine with a windows partition that currently works.
is there a way to boot FreeBSD, start virtualbox and run windows from the
current
functional windows partition..
basically I want to switch over to using dual-boot on this machine to
permanently running BSD with windows as a VM when needed.

Julian
(I did this many years ago with vmware 1.x but not since).



Though I've not tried any of the setups, there are several how-tos in
the VirtualBox forums explaining how to do just that sort of thing:

http://forums.virtualbox.org/viewforum.php?f=28

I'm preparing to do essentially the same thing with several machines
at work, so I've looked through the Windows 7 and XP instructions;
doesn't seem too difficult, but good luck nevertheless...



Another "quick hack" way to do this is to run VMWare's converter

Then run

 qemu-img convert vmwareimage.vmdk  image.bin

VBoxManage convertdd  image.bin  image.vdi


Here's the ideas:

http://www.petri.co.il/virtual_convert_physical_machines_to_virtual_machines_with_vmware_converter_2.htm

http://www.ubuntugeek.com/howto-convert-vmware-image-to-virtualbox-image.html

One thing about this if it works for you is the vmware converter takes
care of all the ickyness of substituting the vmware device drivers in
windows for the physical hardware drivers.

If you try the run-from-partition way although it can be made to work 
even the authors of this hack caution against using it long term


Ted


-Brandon
___
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"


___
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"