DRI_PRIME=1 glxinfo | grep OpenGL
echo "1002 6719" > /sys/bus/pci/drivers/vfio-pci/new_id echo "0000:01:00.0" > /sys/bus/pci/devices/0000:01:00.0/driver/unbind echo "0000:01:00.0" > /sys/bus/pci/drivers/vfio-pci/bind echo "1002 6719" > /sys/bus/pci/drivers/vfio-pci/remove_id echo "1002 aa80" > /sys/bus/pci/drivers/vfio-pci/new_id echo "0000:01:00.1" > /sys/bus/pci/devices/0000:01:00.1/driver/unbind echo "0000:01:00.1" > /sys/bus/pci/drivers/vfio-pci/bind echo "1002 aa80" > /sys/bus/pci/drivers/vfio-pci/remove_id
qemu-system-x86_64
-name "win81_amd"
-bios /usr/share/seabios/bios.bin
-enable-kvm
-usb
-device usb-kbd
-device usb-mouse
-vga none
-device qxl
-m 12G
-no-hpet
-cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_time,hv_vapic
-smp 4,sockets=1,cores=2,threads=2
-soundhw ac97
-M q35
-drive file=/win81-writable-amd.qcow2,id=disk1,format=qcow2,if=virtio
-device ioh3420,bus=pcie.0,addr=1c.0,port=1,chassis=1,id=root.1
-device vfio-pci,host=01:00.0,bus=root.1,addr=00.0,multifunction=on,x-vga=on
-net none
-device ioh3420,bus=pcie.0,multifunction=on,port=2,chassis=2,id=root.2
-device vfio-pci,host=00:19.0,bus=root.2,addr=00.0
-monitor telnet:127.0.0.1:1234,server,nowait
echo 1 > /sys/bus/pci/devices/0000:01:00.0/remove echo 1 > /sys/bus/pci/devices/0000:01:00.1/remove
echo 1 > /sys/bus/pci/rescan
DRI_PRIME=1 glxinfo | grep OpenGL
Hi,
What versions of Xorg/Mesa/Intel DDX are you using?
I'm on Debian jessie, running kernel v4.7.8-1~bpo8+1, using xorg-server v1.16.4-1 with backported xserver-xorg-video-intel v2.99.917+git20161105-1 and backported Mesa v12.0.4-2. I'm using Haswell graphics for desktop (with DRI3 enabled) and PRIME offloading games to Radeon HD7770. Works great, until I try unbinding the HD7770 from the radeon driver while Xorg is running... That's when the kernel just freezes dead :) Apparently you've managed to unbind your radeon while Xorg is running?