Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Passthrough 8.1 [solved]

Featured Replies

UPDATE NOTE

1 - has been solved

2 - my device does not work in unraid

3 - will try SATA to USB adapter and passthrough

 

I have 3 devices that I wish to pass through to windows 8.1 for a Gaming / STEAM host.

1 - XFX AMD Radeon HD 7750  Ghost  FX-775A-ZNP4

2 - StarTech.com 7 Port PCI USB Card Adapter PCIUSB7

3 - 1 SATA port for the Blu-Ray burner

 

NONE of my devices are showing up in the windows device manager - any help would be greatly appreciated!

 

Config:

# Disable Passthrough for Driver updates and any Windows update requiring a restart. 
# Use TightVNC Java Viewer with RAW encoding to Update (5901).  IP in unraid terminal: ifconfig.

name = 'windows'
builder = 'hvm' 
vcpus = '2' #can set this to 1-4 safely depending on your CPU/# of VMs. 
memory = '8192'

#For Disc Installation 
#disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w','file:/mnt/cache/VM/windows/Windows81_DVD.iso,hdc:cdrom,r'] 
#After Installation
disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w'] 

vif = ['mac=00:16:3E:51:20:4C,bridge=br0,model=e1000'] 
viridian = '1'
boot = 'dc' 
xen_platform_pci='1' #ONLY NEEDED IF YOU INSTALL THE XEN PARAVIRTUALIZATION DRIVERS

#VNC SETTINGS
vnc = '1' 
vnclisten = '0.0.0.0'
#vncpasswd = ''
vncdisplay = 1

#NO USB PASSTHROUGH CONFIG FOR VNC ACCESSIBILITY
usb=1 
usbdevice='tablet'

#WITH USB PASSTHROUGH, COMMENT OUT THE ABOVE TWO ITEMS AND UNCOMMENT THESE 
#usb=0 
#usbdevice=['host:LOOK UP VIA lsusb COMMAND IN CONSOLE']','host:####:####'] 
pci = [ '01:00.0','01:00.1','05:02.0','05:02.1','05:02.2' ] #CHANGE FOR YOUR CARD LOOKUP WITH lspci COMMAND

on_poweroff="destroy" 
on_reboot="restart" 
on_crash="destroy"

 

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation H77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 VGA compatible controller: AMD/ATI [Advanced Micro Devices, Inc.] Cape Verde PRO [Radeon HD 7750]
01:00.1 Audio device: AMD/ATI [Advanced Micro Devices, Inc.] Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series]
02:00.0 RAID bus controller: Marvell Technology Group Ltd. MV64460/64461/64462 System Controller, Revision B (rev 01)
03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller (rev 09)
04:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge (rev 03)
05:02.0 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
05:02.1 USB controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
05:02.2 USB controller: VIA Technologies, Inc. USB 2.0 (rev 65)

Post the output from

 

Xl pci-assignable-list

 

Also, maybe focus on getting one device ATA time passed through. Maybe get gpu working? (I've found usb pass through to be hit and miss and ended up doing it per device rather than per Controller).

 

Peter

 

 

  • Author

Took a Syslinux.cfg update - Now I can see the GPU & the 5 port VIA USB card - Thanks.

 

How do I pass through a single device (Blu-Ray rewrite SATA?)

 

xl pci-assignable-list

0000:01:00.0

0000:01:00.1

0000:05:02.0

0000:05:02.1

0000:05:02.2

 

Syslinux.cfg update

default /syslinux/menu.c32
menu title Lime Technology
prompt 0
timeout 50
label unRAID OS
  kernel /bzimage
  append initrd=/bzroot
label unRAID OS Safe Mode (no plugins)
  kernel /bzimage
  append initrd=/bzroot unraidsafemode
label Memtest86+
  kernel /memtest
label Xen/unRAID OS
  menu default
  kernel /syslinux/mboot.c32
  append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(01:00.0)(01:00.1)(05:02.0)(05:02.1)(05:02.2) --- /bzroot
label Xen/unRAID OS Safe Mode (no plugins)
  kernel /syslinux/mboot.c32
  append /xen dom0_mem=2097152 --- /bzimage --- /bzroot unraidsafemode

 

 

  • Author

head bang against the wall.  GPU passthrough does not appear to be working.

 

I have pulled the USB pass-through OUT of the equation for now.

Syslinux.cfg update

label Xen/unRAID OS
  menu default
  kernel /syslinux/mboot.c32
  append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(01:00.0)(01:00.1) --- /bzroot

 

windows.cfg update

#NO USB PASSTHROUGH CONFIG FOR VNC ACCESSIBILITY
usb=1 
usbdevice='tablet'

#WITH USB PASSTHROUGH, COMMENT OUT THE ABOVE TWO ITEMS AND UNCOMMENT THESE 
#usb=0 
#usbdevice=['host:LOOK UP VIA lsusb COMMAND IN CONSOLE']','host:####:####'] 
pci = [ '01:00.0','01:00.1' ] #CHANGE FOR YOUR CARD LOOKUP WITH lspci COMMAND

 

Restart Unraid, start Windows VM

xl pci-assignable-list  - Does NOT show any items

 

VNC into windows & check Device Manager

Under Display Adapters AMD Radeon HD 7700 Series shows with an Exclamation

Checking the properties

'This device cannot find enough free resources that it can use.(Code 12)

 

 

Did you try to install drivers for the graphics card? I had no problem just right clicking and installing the drivers via Windows for a 5450. There was no display output until the drivers were installed.

 

As for the Blu-ray drive, this seems relevant: http://lime-technology.com/forum/index.php?topic=32618.msg300030#msg300030

 

Don't think it's been addressed yet, however.

Depending on your motherboard, it may be possible to pass through some of your sata ports to a vm if they are in a separate controller.

 

When it comes to sata, it's a little all or nothing and passing through a single sata port is not possible, as far as I know.

 

If your mb doed not have seperate sata controllers, your best bet might be installing a 2x port sata PCIE card, attaching your optical drive to that and passing through. Still not sure it would work though.

  • Author

RE - Video Display not working.

Yes, the drivers are installed.

Under Control Panel/Device Manager I see:

Device_zpsdad9cddc.jpg

 

If I turn the passthrough off and restart then I do NOT see the AMD Radeon HD adapter

 

If I click on the adapter under General I see the resources message:

device1_zpsd2ce3c79.jpg

 

And under the Driver tab I see the good driver:

device2_zps541194ff.jpg

 

When I passthrough a USB PCI card it shows up and is visible to the system (i.e. - a mouse hooked up to it works).

 

Hardware:

  • CPU Intel i5 2500 - vt-d capable.
    Motherboard Asus P8H77-V LE - Same as ironicbadgers
    GPU - Radeon HD 7750 for Windows gaming
    RAM - 16GB DDR3
    PSU Seasonic - modular
    HBA / SAS Card - Supermicro SAS-AOC-SASLP-MV8
    NICs-  Realtek 8169 based on-board NIC (bridge for all VMs)

  • Author

RE - Sata Passthrough

Depending on your motherboard, it may be possible to pass through some of your sata ports to a vm if they are in a separate controller.  When it comes to sata, it's a little all or nothing and passing through a single sata port is not possible, as far as I know.

 

Dang - Appears that all 6 are on the H77 Chipset (4 3.0 and 2 6.0)

 

If your mb doed not have seperate sata controllers, your best bet might be installing a 2x port sata PCIE card, attaching your optical drive to that and passing through. Still not sure it would work though.

I am going to try a SATA to USB adapter first - This has 2 USB dongles - 1 for power and 1 for data.  I will first try to passthrough the USB device - failing that I will try hooking the data dongle up to the 5th internal port on the USB PCI card in passthrough.

You can pass through an individual drive in unRAID.  I had my WHS2011 VM setup with 3 HDDs passed through that way - similar to RDM in ESXi.  So from the VM side you do not get to see the true drive name (Just says Xen something for the drive name) and you cannot spin down the drive from the VM side or see temps from the VM.  From the unRAID side it shows up in myMain as a drive not in the Array.  You can get drive temps and smart reports using myMain.

 

I don't have the info to paste into this post with me at work but I was even able to connect based on ID (rather than sdm for instance) so if rebooted and the sdm drive of previous boot became sdl on current boot it would still mount correctly.

 

I didn't like it that way because:

  • I couldn't tell which drive was which from inside the VM
  • I had a phantom drive that may have been caused by my config file or the PVHVM drivers or just because I passed the whole drive - don't know
  • I was limited to how many drives maximum were possible for unRAID and the VMs.

By passing through a controller (like I have it now) I can have up to 8 drives on that controller that unRAID doesn't know about so I can go to the full drive complement in unRAID(24 with pro license) without complications. In other words I could go to 32 drives maximum (24 for unRAID 8 for Windows VM) by passing through the controller.  Also the drives in the VM show up as WD or Seagate instead of Xen for a name and I could run Windows drive utilities(HDTune) on those drives to get smart reports/health status. 

 

When I get home I can past in the old layout if I still have it or recreate it if I don't and update this post.

  • Author

1 - adding the 3 PCI USB numbers to the windows.cfg and the syslinx.cfg allowes xl pci-assignable-list to once again display 5 items (the 2 GPU and the 2 PCI numbers).  This does NOT correct the GPU passthrough issue. 

 

2 - adding device_model_version="qemu-xen-traditional" to the windows.cfg causes windows in VNC to just show a starting up screen with a spinning circle of balls - but it does not boot into the login screen.

 

3 - Alongside qemu-xen-traditional I also added the following

acpi = '1'

apic = '1'

sdl = '0'

stdvga = '0'

... this allows gpu passthrough to work after about 10 minutes of the start screen circle of balls spinning I see 'Getting devices ready' onscreen.  It never passes this point

 

4 - so Next lets try leaving syslinux.cfg alone and just pushing the gpu through with pci = [ '01:00.0','01:00.1' ] ... and after about 10 minutes no screen so trying VNC... this shows a windows blue screen saying 'your PC ran into a problem and needs to restart.  We're just collecting some error info, and then we'll restart for you' ... then unraid becomes unresponsive

 

5 - hard power unraid, alter windows.cfg to boot from cd first so that windows Automatic Repair kicks in - select advanced, powerdown

 

6 - restart VM and... GPU passthrough works!  (but I need to still use VNC to remote manage the mouse!). 

 

7 - Select Windows powerdown - closes VM ok.  Relaunch in unraid and after awhile with no GPU driven screen I VNC to see a stuck windows screen - then tower2 became unresponsive and again required a hard powerdown.

 

8 - came across ejecting a GPU - http://blog.ktz.me/?p=219

 

So... ejecting GPU & passing through USB are the next steps!

 

 

 

 

 

 

 

  • Author

BobPhoenix - if running the Blu-ray via USB to windows does not work I will add in a 2 port sata card and pass it through windows.

 

Right now I would like to use my SASLP for data drives and the mobo for preclear hotswap & cache. 

 

Thanks

BobPhoenix - if running the Blu-ray via USB to windows does not work I will add in a 2 port sata card and pass it through windows.

 

Right now I would like to use my SASLP for data drives and the mobo for preclear hotswap & cache. 

 

Thanks

I'm going to try to pass through my DVD drive to my WHS2011 VM but I just haven't tried yet.  Maybe I'll get to that tonight and post up an example if it works.  For that since the device is sr0 not sda, sdb, etc... and I only have one DVD in the system I don't think I'll use the ID just the sr0.

I wanted to note that the extended boot time and flaky GPU passthrough were my exact symptoms when I tried to give the VM lots of ram (8GB). Sometimes it worked flawlessly, others it would take up to 30 minutes to boot and never really functioned correctly. I'd suggest cutting it back to ~2GB while getting things working. Then exploring more ram later.

  • Author

I wanted to note that the extended boot time and flaky GPU passthrough were my exact symptoms when I tried to give the VM lots of ram (8GB). Sometimes it worked flawlessly, others it would take up to 30 minutes to boot and never really functioned correctly. I'd suggest cutting it back to ~2GB while getting things working. Then exploring more ram later.

I am getting this EXACT issue right now!  I will cut back to 2 GB before moving forward.  Thank you!

 

MASSIVE difference in performance, boot time, stability with GPU passthrough.  THANK YOU

  • Author

BobPhoenix - if running the Blu-ray via USB to windows does not work I will add in a 2 port sata card and pass it through windows.

 

Right now I would like to use my SASLP for data drives and the mobo for preclear hotswap & cache. 

 

Thanks

I'm going to try to pass through my DVD drive to my WHS2011 VM but I just haven't tried yet.  Maybe I'll get to that tonight and post up an example if it works.  For that since the device is sr0 not sda, sdb, etc... and I only have one DVD in the system I don't think I'll use the ID just the sr0.

 

I would GREATLY appreciate your sharing the findings!  Thanks!

I wanted to note that the extended boot time and flaky GPU passthrough were my exact symptoms when I tried to give the VM lots of ram (8GB). Sometimes it worked flawlessly, others it would take up to 30 minutes to boot and never really functioned correctly. I'd suggest cutting it back to ~2GB while getting things working. Then exploring more ram later.

I am getting this EXACT issue right now!  I will cut back to 2 GB before moving forward.  Thank you!

 

MASSIVE difference in performance, boot time, stability with GPU passthrough.  THANK YOU

 

I was seeing very similar behaviour on the weekend when trying to get W8.1 going with GPU passthrough.  Audio and USB controller passthrough worked flawlessly , but long boot times, crashes, and general weirdness/inconsistency with the GPU passed through.  I played with lots and lots of settings and configurations and couldn't solve the issue.  Reducing the RAM seemed to help somewhat but still didn't completely solve the problem - I still had stability issues, including random VM freezes.  I gave up because I my free time expired and had to get back to real life.  I might take another stab at it sometime in the next few weeks, and will post here what I find with a bit more scientific documentation of my efforts.

 

If 2-3GB of RAM is the best we can do with passthrough enabled, I guess my plans for a gaming VM are out the window for now. 

  • Author

Ok - my PCI USB card passthrough is a bust - the card also throws a bunch of syslog errors so it has been removed.

 

I am now looking for a way to passthrough individual USB connected devices (first the keyboard and mouse).  While GPU passthrough is working I am having to use VNC in order to get a keyboard and mouse to work ... and the VNC is window is only showing the background image and mousepointer with GPU passthrough working.

 

--- Any help on USB connected device passthrough would be greatly appreciated ---

 

I read somewhere the the next implemented 6.0 update should have better gpu passthrough, ram size, etc.

 

working GPU config:

default /syslinux/menu.c32
menu title Lime Technology
prompt 0
timeout 50
label unRAID OS
  kernel /bzimage
  append initrd=/bzroot
label unRAID OS Safe Mode (no plugins)
  kernel /bzimage
  append initrd=/bzroot unraidsafemode
label Memtest86+
  kernel /memtest
label Xen/unRAID OS
  menu default
  kernel /syslinux/mboot.c32
  append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(01:00.0)(01:00.1) --- /bzroot
  #append /xen dom0_mem=2097152 --- /bzimage xen-pciback.hide=(01:00.0)(01:00.1)(05:02.0)(05:02.1)(05:02.2) --- /bzroot
label Xen/unRAID OS Safe Mode (no plugins)
  kernel /syslinux/mboot.c32
  append /xen dom0_mem=2097152 --- /bzimage --- /bzroot unraidsafemode

 

# Disable Passthrough for Driver updates and any Windows update requiring a restart.
# Use TightVNC Java Viewer with RAW encoding to Update (5901).  IP in unraid terminal: ifconfig.

name = 'windows'
builder = 'hvm'
vcpus = '2' #can set this to 1-4 safely depending on your CPU/# of VMs.
memory = '2048'  #DO NOT EXCEED UNLESS BRAVE IF DOING GPU PASS THROUGH
#memory = '8192'

#For Disc Installation
#disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w','file:/mnt/cache/VM/windows/Windows81_DVD.iso,hdc:cdrom,r']
#After Installation
disk = ['phy:/mnt/cache/VM/windows/windows.img,hda,w']

vif = ['mac=00:16:3E:51:20:4C,bridge=br0,model=e1000']
viridian = '1'
boot = 'dc'

xen_platform_pci='1' #ONLY NEEDED IF YOU INSTALL THE XEN PARAVIRTUALIZATION DRIVERS

#VNC SETTINGS
vnc = '1'
vnclisten = '0.0.0.0'
#vncpasswd = ''
vncdisplay = 1

#NO USB PASSTHROUGH CONFIG FOR VNC ACCESSIBILITY
usb=1
usbdevice='tablet'

#WITH USB PASSTHROUGH, COMMENT OUT THE ABOVE TWO ITEMS AND UNCOMMENT THESE
#usb=0
#usbdevice=['host:LOOK UP VIA lsusb COMMAND IN CONSOLE']','host:####:####']
#pci = [ '01:00.0','01:00.1','05:02.0','05:02.1','05:02.2' ] #CHANGE FOR YOUR CARD LOOKUP WITH lspci COMMAND
pci = [ '01:00.0','01:00.1' ]

on_poweroff="destroy"
on_reboot="restart"
on_crash="destroy"

device_model_version="qemu-xen-traditional"
acpi = '1'
apic = '1'
sdl = '0'
stdvga = '0'

USB passthrough is pretty simple, albeit still a little touch and go for me during reboots.

 

Just use lsusb to find the bus address and specify them in your config. e.g.

 

usb = '1'
usbdevice = ['tablet','host:147a:e03e']

 

That's passing through an IR receiver for my VM. It works mostly, but sometimes when I start the VM the device just disappears. I can tell this has happened by using the lsusb command in unraid. When it occurs the device will disappear from that list. When it's working normally it still appears in that list, even when passed through. Seems to only happen when starting/rebooting, though. So once it's up, it works fine.

OK my RDM(ESXi term) pass through of a CDROM does not appear to work.

 

 

I can get a physical drive to pass through but you have to restart the VM every time you want to change the disk in the CDROM so probably not a desirable feature.  Since I know little about Xen I don't know if it will work or not but I will post the settings I used to get this far.

 

 

I went ahead and used by-id to mount it as using sr0 didn't appear to work at first.  I believe however it didn't work because at the time I started the VM the DVD drive was empty so for as long as the VM was active it would only see it as empty.  Anyway the post below is after I decided to switch to by-id.  It will become more obvious when I post the settings I used for my HDDs passed through individually later on.

 

 

Anyway here is how I passed through the DVDR in my Xen WHS2011.cfg file:

'phy:/dev/disk/by-id/ata-HP_DVD_Writer_1260t_3743524275_328041500,hdc:cdrom,r'

 

 

The three HDDs I passed through to my WHS2011 VM were done like this:

'phy:/dev/disk/by-id/ata-WDC_WD30EZRS-00J99B0_WD-WCAWZ2011608,hdb,w',
'phy:/dev/disk/by-id/ata-WDC_WD30EZRS-55J99B0_WD-WCAWZ0764007,hdc,w',
'phy:/dev/disk/by-id/ata-WDC_WD30EZRS-55J99B0_WD-WCAWZ0771695,hdd,w'

 

 

So by using this method I could be assured that the disks were always mounted correctly every time the WHS2011 VM was started.  I didn't like it this way for the reasons in my prior posts in this thread.

 

 

Hope this info is useful.

 

 

  • Author

USB passthrough is pretty simple, albeit still a little touch and go for me during reboots.

 

Just use lsusb to find the bus address and specify them in your config. e.g.

usb = '1'
usbdevice = ['tablet','host:147a:e03e']

 

PERFECTO!

 

That's passing through an IR receiver for my VM. It works mostly, but sometimes when I start the VM the device just disappears. I can tell this has happened by using the lsusb command in unraid. When it occurs the device will disappear from that list. When it's working normally it still appears in that list, even when passed through. Seems to only happen when starting/rebooting, though. So once it's up, it works fine.

 

What do you do when this happens?

 

What about usb thumb drives that get plugged in and out?

  • Author

thanks for testing Bob & sharing your methodology

What do you do when this happens?

 

What about usb thumb drives that get plugged in and out?

 

I can either unplug/replug the device into another USB port and reboot the VM or just reboot the whole server. This is an always-on machine, so once it's working I don't reboot it often.

 

I'm not sure about thumb drives. I'd guess they are complicated enough you'll need to get the USB hub passthrough working (which it appears you're doing in the other threads). Good luck!

  • Author

Thanks !

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.