Re: PCI passthrough support for VGA devices in VirtualBox on FreeBSD

2014-04-23 Thread Miguel Clara
 

Looking to do the same...

I have a laptop with dual graphics, Its one of those with Intel i7 CPU + 
Integrated Graphics but also ships with a AMD dedicated card!

I cannot use the AMD card successfully with KMS anyway, and I would prefer 
to pass the card to a Winodows/Linux VM.

Is there any work on this in FreeBSD's Vbox port?

Thanks 


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


Re: PCI passthrough support for VGA devices in VirtualBox on FreeBSD

2014-04-23 Thread Schaich Alonso
On Wed, 23 Apr 2014 17:34:30 + (UTC)
Miguel Clara miguelmcl...@gmail.com wrote:

  
 
 Looking to do the same...
 
 I have a laptop with dual graphics, Its one of those with Intel i7 CPU + 
 Integrated Graphics but also ships with a AMD dedicated card!
 
 I cannot use the AMD card successfully with KMS anyway, and I would prefer 
 to pass the card to a Winodows/Linux VM.
 
 Is there any work on this in FreeBSD's Vbox port?
 
 Thanks 
 
 

VirtualBox can't do that.
If you need only GNU/Linux VMs you can use bhyve with PCI Forwarding ( see
https://wiki.freebsd.org/bhyve/pci_passthru ). Otherwise, I think you'll have
to resort to Xen or VMWare ESXi (or eventually Microsoft's VirtualPC).

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


PCI passthrough support for VGA devices in VirtualBox on FreeBSD

2013-08-04 Thread Sam Fourman Jr.
Hello List,

would anyone be able to tell me if PCI passthrough is available in
Virtualbox if FreeBSD is the host?
it has been available since version 4.1
http://www.virtualbox.org/manual/ch09.html#idp14053504

I know that this requires a VirtualBox extension pack, and i am not certian
if FreeBSD needs one?
My use case is, I want to pass through a AMD raedon PCI-E graphics card to
a Linux guest.

I built a FreeBSD kernel based on experimental work being done here:
https://wiki.freebsd.org/AMD_GPU

here are excerpts from a dmesg:

info: [drm] Initialized drm 1.1.0 20060810
drmn0: Tahiti PRO [Radeon HD 7950] on vgapci0
info: [drm] MSI enabled 1 message(s)
info: [drm] RADEON_IS_PCIE
info: [drm] initializing kernel modesetting (TAHITI 0x1002:0x679A
0x1462:0x2773).
info: [drm] register mmio base: 0xFE70
info: [drm] register mmio size: 262144
info: [drm] radeon_atrm_get_bios: === Try ATRM...
info: [drm] radeon_atrm_get_bios: pci_find_class() found: 0:7:0:0,
vendor=1002, device=679a
info: [drm] radeon_atrm_get_bios: Get ACPI device handle
info: [drm] radeon_acpi_vfct_bios: === Try VFCT...
info: [drm] radeon_acpi_vfct_bios: Get VFCT ACPI table
info: [drm] radeon_acpi_vfct_bios: Failed to get VFCT table: AE_NOT_FOUND
info: [drm] igp_read_bios_from_vram: === Try IGP's VRAM...
info: [drm] igp_read_bios_from_vram: VRAM base address: 0xc000
info: [drm] igp_read_bios_from_vram: Map address: 0xfe00c000
(262144 bytes)
info: [drm] igp_read_bios_from_vram: Incorrect BIOS signature: 0x6207
info: [drm] radeon_read_bios: === Try PCI Expansion ROM...
vga_pci_map_bios: Mapping BIOS shadow
info: [drm] radeon_read_bios: Map address: 0xfe0c (131072 bytes)
vga_pci_unmap_bios: Unmapping BIOS shadow
info: [drm] ATOM BIOS: 113
drmn0: info: VRAM: 3072M 0x - 0xBFFF (3072M
used)
drmn0: info: GTT: 512M 0xC000 - 0xDFFF
info: [drm] Detected VRAM RAM=3072M, BAR=256M
info: [drm] RAM width 384bits DDR
[TTM] Zone  kernel: Available graphics memory: 16714132 kiB
[TTM] Zone   dma32: Available graphics memory: 2097152 kiB



my hope is to use VirtualBox until Behyve supports booting linux guests

Thank you for your help

-- 

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