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.

Can't Pass Through Primary GPU - Failed to mmap

Featured Replies

Hello All,

 

Now that my Ryzen build is stable on its own, I got back to setting up the Windows VM. On 9.3 I was able to pass through the primary GPU to Ubuntu just fine but now nothing happens when I start the VM. The only thing in the log is this:

 

2017-11-02T05:24:41.340314Z qemu-system-x86_64: -device vfio-pci,host=09:00.0,id=hostdev0,bus=pci.4,addr=0x0: Failed to mmap 0000:09:00.0 BAR 0. Performance may be slow

 

Here's the whole log

2017-11-02 05:24:41.132+0000: starting up libvirt version: 3.8.0, qemu version: 2.10.1, hostname: Tower
LC_ALL=C PATH=/bin:/sbin:/usr/bin:/usr/sbin HOME=/ QEMU_AUDIO_DRV=none /usr/local/sbin/qemu -name guest=Ubuntu,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-2-Ubuntu/master-key.aes -machine pc-q35-2.7,accel=kvm,usb=off,dump-guest-core=off,mem-merge=off -cpu host -drive file=/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd,if=pflash,format=raw,unit=0,readonly=on -drive file=/etc/libvirt/qemu/nvram/d2a41e98-3ad6-bc89-eec2-43da9f3aac9e_VARS-pure-efi.fd,if=pflash,format=raw,unit=1 -m 1024 -realtime mlock=off -smp 1,sockets=1,cores=1,threads=1 -uuid d2a41e98-3ad6-bc89-eec2-43da9f3aac9e -display none -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-2-Ubuntu/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=delay -no-hpet -no-shutdown -boot strict=on -device pcie-root-port,port=0x8,chassis=1,id=pci.1,bus=pcie,media=cdrom,id=drive-sata0-0-0,readonly=on -device ide-cd,bus=ide.0,drive=drive-sata0-0-0,id=sata0-0-0,bootindex=2 -netdev tap,fd=27,id=hostnet0,vhost=on,vhostfd=29 -device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:a0:c2:5e,bus=pci.1,addr=0x0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev socket,id=charchannel0,path=/var/lib/libvirt/qemu/channel/target/domain-2-Ubuntu/org.qemu.guest_agent.0,server,nowait -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=org.qemu.guest_agent.0 -device vfio-pci,host=09:00.0,id=hostdev0,bus=pci.4,addr=0x0 -device usb-host,hostbus=1,hostaddr=3,id=hostdev1,bus=usb.0,port=1 -device virtio-balloon-pci,id=balloon0,bus=pci.5,addr=0x0 -msg timestamp=on
2017-11-02 05:24:41.132+0000: Domain id=2 is tainted: high-privileges
2017-11-02 05:24:41.132+0000: Domain id=2 is tainted: host-cpu
2017-11-02T05:24:41.178147Z qemu-system-x86_64: -chardev pty,id=charserial0: char device redirected to /dev/pts/0 (label charserial0)
2017-11-02T05:24:41.340314Z qemu-system-x86_64: -device vfio-pci,host=09:00.0,id=hostdev0,bus=pci.4,addr=0x0: Failed to mmap 0000:09:00.0 BAR 0. Performance may be slow

 

tower-diagnostics-20171102-1852.zip

  • 2 months later...

hello, getting the same...did u fix it?

  • 2 weeks later...

I've got the same issue on my new Skylake system. I can get the GPU to output to the monitor but it will only use the standard VGA driver.

  • 1 month later...

im gonna have to revive this thread as ive been having this problem as well.

 

I got mine to work after a BIOS update. It worked for a week then I opened up the system to MOVE my M2 drive to a different port. After rebooting, I lost the GPU passthrough. I did not make any changes to the BIOS and returning the M2 to the original position didn't help.

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.