N'Abend zusammen.
Ich hoffe, jemand kann mir einen Rat geben, bin mit meinem Latein langsam am Ende.
Mein System:
AMD Ryzen 2700X
Mainboard: ASUS Prime X470 PRO
RAM: 32 GB
Host SSD 512GB Samsung 256pro
Guest SSD 512 GB M.2
Host Graka im 1. PCIE Slot: GT730
Guest Graka im 2. PCIE Slot: GTX1070
Zum Problem:
Habe mir via diese Anleitung: PCI passthrough via OVMF - ArchWiki und per Virtual Machine Manager ein Win10 aufgesetzt.
Wenn ich nun im Virt Manager die GTX1070 durchreiche, habe ich nur ein schwarzes Bild. Die Lüfter drehen auch nicht. Die Graka und der Bildschirm sind i.o. , da ich noch ein Dual Boot besitze und im Win dort alles geht.
Im UEFI habe ich SVN und IOMMU aktiviert.
Habe nun alle möglichen Foren und Tutorials abgeklappert
Gemäss dmesg | grep -i vfio sieht alles soweit gut aus
[ 1.612096] VFIO - User Level meta-driver version: 0.3
[ 1.615715] vfio-pci 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 1.630073] vfio_pci: add [10de:1b81[ffffffff:ffffffff]] class 0x000000/00000000
[ 1.646760] vfio_pci: add [10de:10f0[ffffffff:ffffffff]] class 0x000000/00000000
[ 11.313980] vfio-pci 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
Meine vfio.conf sieht folgendermassen aus:
options vfio-pci ids=10de:1b81,10de:10f0
options vfio-pci disable_vga=1
wobei 10de:1b81 meine GTX1070 ist.
$ lspci -nnk -d 10de:1b81
0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:8599]
Kernel driver in use: vfio-pci
Kernel modules: nouveau, nvidia_drm, nvidia
Die /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES="vfio_pci vfio vfio_iommu_type1 vfio_virqfd"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap filesystems"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
Vielen Dank
Gruss joessli
Ich hoffe, jemand kann mir einen Rat geben, bin mit meinem Latein langsam am Ende.
Mein System:
AMD Ryzen 2700X
Mainboard: ASUS Prime X470 PRO
RAM: 32 GB
Host SSD 512GB Samsung 256pro
Guest SSD 512 GB M.2
Host Graka im 1. PCIE Slot: GT730
Guest Graka im 2. PCIE Slot: GTX1070
Zum Problem:
Habe mir via diese Anleitung: PCI passthrough via OVMF - ArchWiki und per Virtual Machine Manager ein Win10 aufgesetzt.
Wenn ich nun im Virt Manager die GTX1070 durchreiche, habe ich nur ein schwarzes Bild. Die Lüfter drehen auch nicht. Die Graka und der Bildschirm sind i.o. , da ich noch ein Dual Boot besitze und im Win dort alles geht.
Im UEFI habe ich SVN und IOMMU aktiviert.
Habe nun alle möglichen Foren und Tutorials abgeklappert
Gemäss dmesg | grep -i vfio sieht alles soweit gut aus
[ 1.612096] VFIO - User Level meta-driver version: 0.3
[ 1.615715] vfio-pci 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 1.630073] vfio_pci: add [10de:1b81[ffffffff:ffffffff]] class 0x000000/00000000
[ 1.646760] vfio_pci: add [10de:10f0[ffffffff:ffffffff]] class 0x000000/00000000
[ 11.313980] vfio-pci 0000:0a:00.0: vgaarb: changed VGA decodes: olddecodes=none,decodes=none:owns=none
Meine vfio.conf sieht folgendermassen aus:
options vfio-pci ids=10de:1b81,10de:10f0
options vfio-pci disable_vga=1
wobei 10de:1b81 meine GTX1070 ist.
$ lspci -nnk -d 10de:1b81
0a:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1070] [10de:1b81] (rev a1)
Subsystem: ASUSTeK Computer Inc. GP104 [GeForce GTX 1070] [1043:8599]
Kernel driver in use: vfio-pci
Kernel modules: nouveau, nvidia_drm, nvidia
Die /etc/mkinitcpio.conf
# vim:set ft=sh
# MODULES
# The following modules are loaded before any boot hooks are
# run. Advanced users may wish to specify all system modules
# in this array. For instance:
# MODULES=(piix ide_disk reiserfs)
MODULES="vfio_pci vfio vfio_iommu_type1 vfio_virqfd"
# BINARIES
# This setting includes any additional binaries a given user may
# wish into the CPIO image. This is run last, so it may be used to
# override the actual binaries included by a given hook
# BINARIES are dependency parsed, so you may safely ignore libraries
BINARIES=()
# FILES
# This setting is similar to BINARIES above, however, files are added
# as-is and are not parsed in any way. This is useful for config files.
FILES=""
# HOOKS
# This is the most important setting in this file. The HOOKS control the
# modules and scripts added to the image, and what happens at boot time.
# Order is important, and it is recommended that you do not change the
# order in which HOOKS are added. Run 'mkinitcpio -H <hook name>' for
# help on a given hook.
# 'base' is _required_ unless you know precisely what you are doing.
# 'udev' is _required_ in order to automatically load modules
# 'filesystems' is _required_ unless you specify your fs modules in MODULES
# Examples:
## This setup specifies all modules in the MODULES setting above.
## No raid, lvm2, or encrypted root is needed.
# HOOKS=(base)
#
## This setup will autodetect all modules for your system and should
## work as a sane default
# HOOKS=(base udev autodetect block filesystems)
#
## This setup will generate a 'full' image which supports most systems.
## No autodetection is done.
# HOOKS=(base udev block filesystems)
#
## This setup assembles a pata mdadm array with an encrypted root FS.
## Note: See 'mkinitcpio -H mdadm' for more information on raid devices.
# HOOKS=(base udev block mdadm encrypt filesystems)
#
## This setup loads an lvm2 volume group on a usb device.
# HOOKS=(base udev block lvm2 filesystems)
#
## NOTE: If you have /usr on a separate partition, you MUST include the
# usr, fsck and shutdown hooks.
HOOKS="base udev autodetect modconf block keyboard keymap filesystems"
# COMPRESSION
# Use this to compress the initramfs image. By default, gzip compression
# is used. Use 'cat' to create an uncompressed image.
#COMPRESSION="gzip"
#COMPRESSION="bzip2"
#COMPRESSION="lzma"
#COMPRESSION="xz"
#COMPRESSION="lzop"
#COMPRESSION="lz4"
# COMPRESSION_OPTIONS
# Additional options for the compressor
#COMPRESSION_OPTIONS=()
Vielen Dank
Gruss joessli