Gecikmeleri ne kadar arttırmam gerektiğinden emin değilim. Açılışı çözdüm ancak kapanışta sadece 1 kere başarılı olabildim. Ekran olmadığından loglara bakamıyor, internet kesildiğinden ssh ile bağlanamıyor, koda eklediğim export komutu hiçbir çıktı vermiyor.

Herkese selam. İçerisinde Ryzen R5 5600 ve RX 6700 XT olan bir masaüstü bilgisayarım var. Bu bilgisayar üzerindeki tek ekran kartıyla QEMU'da sanallaştırmada ekran kartımı kullanmak istiyorum. Keşke SR-IOV ayarlansa veya NVIDIA vGPU gibi bir ek özellik olsa ancak bulunmuyor. Her şeyi doğru yaptığımı düşünüyorum ancak emin değilim. GRUB ayarlarından amd_iommu=on iommu=pt ve video=efifb:off ayarlı. dmesg veya journalctl ile bakınca IOMMU ve AMD-Vi'nin açık olduğu doğrulanabiliyor. QEMU ve libvirt'i kendi kullanıcıma gereken gruplara aldım, ROM ve. sh dosyalarının hepsine gerekli izinler ve çalıştırma yetkisi de verildi. Sanal makine içinde Windows 10 yüklü, AMD sürücüleri direkt yüklü geldiğinden deneme amaçlı Linux Mint diski de koydum ama ikisinde de fayda etmedi, görüntü gelmedi. Bazı çözüm yollarını denedim ancak hepsinde siyah ekranda kaldı. Kendi çözümlerimi bitirdim, bir de sizin gözünüzden bakmanızı rica ediyorum. Teşekkürler. Ek detay gerekirse de sağlarım. Sürprizbozan: lspci Kod:Panoya kopyala 00:00.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. Starship/Matisse IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge 00:01.2 PCI bridge: Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:03.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:03.1 PCI bridge: Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge 00:04.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:05.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:07.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:07.1 PCI bridge: Advanced Micro Devices, Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus 00:08.0 Host bridge: Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus 00:14.0 SMBus: Advanced Micro Devices, Inc. FCH SMBus Controller (rev 61) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 7 01:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. IM2P33F8ABR1 NVMe SSD (rev 03) 02:00.0 USB controller: Advanced Micro Devices, Inc. Device 43ec 02:00.1 SATA controller: Advanced Micro Devices, Inc. 500 Series Chipset SATA Controller 02:00.2 PCI bridge: Advanced Micro Devices, Inc. 500 Series Chipset Switch Upstream Port 03:03.0 PCI bridge: Advanced Micro Devices, Inc. Device 43ea 04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 05:00.0 PCI bridge: Advanced Micro Devices, Inc. Navi 10 XL Upstream Port of PCI Express Switch (rev c5) 06:00.0 PCI bridge: Advanced Micro Devices, Inc. Navi 10 XL Downstream Port of PCI Express Switch 07:00.0 VGA compatible controller: Advanced Micro Devices, Inc. Navi 22 (rev c5) 07:00.1 Audio device: Advanced Micro Devices, Inc. Navi 21/23 HDMI/DP Audio Controller 08:00.0 Non-Essential Instrumentation : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Function 09:00.0 Non-Essential Instrumentation : Advanced Micro Devices, Inc. Starship/Matisse Reserved SPP 09:00.1 Encryption controller: Advanced Micro Devices, Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP 09:00.3 USB controller: Advanced Micro Devices, Inc. Matisse USB 3.0 Host Controller 09:00.4 Audio device: Advanced Micro Devices, Inc. Starship/Matisse HD Audio Controller Sürprizbozan: inxi -FxxG Kod:Panoya kopyala System: Host: crusland Kernel: 6.4.8-x64v3-xanmod1 arch: x86_64 bits: 64 compiler: gcc v: 12.3.0 Desktop: GNOME v: 43.7 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM3 Distro: Debian GNU/Linux trixie/sid Machine: Type: Desktop System: Gigabyte product: A520M K V2 v: -CF serial: <superuser required> Mobo: Gigabyte model: A520M K V2 v: x. x serial: <superuser required> UEFI: American Megatrends LLC. v: F3a date: 07/18/2023 CPU: Info: 6-core model: AMD Ryzen 5 5600 bits: 64 type: MCP arch: Zen 3+ rev: 2 cache: L1: 384 KiB L2: 3 MiB L3: 32 MiB Speed : avg: 2071 high: 3594 min/max: 550/4468 cores: 1: 550 2: 550 3: 3593 4: 3594 5: 550 6: 3593 bogomips: 41919 Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm Graphics: Device-1: AMD Navi 22 vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-2 pcie: speed: 16 GT/s lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3 bus-ID: 07:00.0 chip-ID: 1002:73df Display: wayland server: X. org v: 1.21.1.8 with: Xwayland v: 23.2.0 compositor: gnome-shell driver: X: loaded: amdgpu unloaded: fbdev, modesetting, radeon, vesa dri: radeonsi gpu: amdgpu display-ID: 0 Monitor-1: HDMI-A-1 model: ASUS VP249 res: 1920x1080 dpi: 93 diag: 604mm (23.8") API: OpenGL v: 4.6 Mesa 23.1.6-1 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.7 DRM 3.52 6.4.8-x64v3-xanmod1) direct-render: Yes Audio: Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 07:00.1 chip-ID: 1002:ab28 Device-2: AMD Starship/Matisse HD Audio vendor: Gigabyte driver: snd_hda_intel v: kernel pcie: speed: 16 GT/s lanes: 16 bus-ID: 09:00.4 chip-ID: 1022:1487 API: ALSA v: k6.4.8-x64v3-xanmod1 status: kernel-api Server-1: PipeWire v: 0.3.77 status: active with: 1: pipewire-pulse status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Gigabyte driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168 IF: enp4s0 state: down mac: 74:56:3c:72:9e:1b IF-ID-1: enx0233006f7a0b state: unknown speed: -1 duplex: half mac: 02:33:00:6f:7a:0b IF-ID-2: lxcbr0 state: down mac: 00:16:3e:00:00:00 IF-ID-3: virbr1 state: down mac: 52:54:00:92:cd:ad IF-ID-4: vmnet1 state: unknown speed: N/A duplex: N/A mac: 00:50:56:c0:00:01 IF-ID-5: vmnet8 state: unknown speed: N/A duplex: N/A mac: 00:50:56:c0:00:08 Bluetooth: Device-1: Samsung Galaxy series misc. driver: rndis_host v: kernel type: USB rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-4:3 chip-ID: 04e8:6863 Drives: Local Storage: total: 1.38 TiB used: 72.28 GiB (5.1%) ID-1: /dev/nvme0n1 vendor: A-Data model: LEGEND 700 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: 2N232L1H2DDF temp: 42.9 C ID-2: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB speed: 6.0 Gb/s serial: 18LUTHKFT Partition: ID-1: / size: 476.47 GiB used: 72.25 GiB (15.2%) fs: btrfs dev: /dev/nvme0n1p2 ID-2: /boot/efi size: 475.1 MiB used: 32.6 MiB (6.9%) fs: vfat dev: /dev/nvme0n1p1 Swap: Alert: No swap data was found. Sensors: System Temperatures: cpu: 46.5 C mobo: 36.0 C gpu: amdgpu temp: 49.0 C mem: 44.0 C Fan Speeds : cpu: 820 fan-1: 2089 gpu: amdgpu fan: 0 Power: 12v: N/A 5v: N/A 3.3v: N/A vbat: 3.10 Info: Processes: 316 Uptime: 20m Memory: total: 16 GiB available: 15.54 GiB used: 2.09 GiB (13.5%) Init: systemd v: 254 target: graphical (5) default: graphical Compilers: gcc: 13.2.0 alt: 12/13 Packages: 2432 pm: dpkg pkgs: 2426 pm: flatpak pkgs: 6 Shell: Bash v: 5.2.15 running-in: gnome-terminal inxi: 3.3.29 Sürprizbozan: IOMMU Grupları Kod:Panoya kopyala IOMMU Group 0: 00:01.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 1: 00:01.1 PCI bridge : Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge IOMMU Group 2: 00:01.2 PCI bridge : Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge IOMMU Group 3: 00:02.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 4: 00:03.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 5: 00:03.1 PCI bridge : Advanced Micro Devices, Inc. Starship/Matisse GPP Bridge IOMMU Group 6: 00:04.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 7: 00:05.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 8: 00:07.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 9: 00:07.1 PCI bridge : Advanced Micro Devices, Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus IOMMU Group 10: 00:08.0 Host bridge : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Host Bridge IOMMU Group 11: 00:08.1 PCI bridge : Advanced Micro Devices, Inc. Starship/Matisse Internal PCIe GPP Bridge 0 to bus IOMMU Group 12: 00:14.0 SMBus : Advanced Micro Devices, Inc. FCH SMBus Controller (rev 61) 00:14.3 ISA bridge : Advanced Micro Devices, Inc. FCH LPC Bridge (rev 51) IOMMU Group 13: 00:18.0 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 0 00:18.1 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 1 00:18.2 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 2 00:18.3 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 3 00:18.4 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 4 00:18.5 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 5 00:18.6 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 6 00:18.7 Host bridge : Advanced Micro Devices, Inc. Matisse/Vermeer Data Fabric: Device 18h; Function 7 IOMMU Group 14: 01:00.0 Non-Volatile memory controller : ADATA Technology Co., Ltd. IM2P33F8ABR1 NVMe SSD (rev 03) IOMMU Group 15: 02:00.0 USB controller : Advanced Micro Devices, Inc. Device 02:00.1 SATA controller : Advanced Micro Devices, Inc. 500 Series Chipset SATA Controller 02:00.2 PCI bridge : Advanced Micro Devices, Inc. 500 Series Chipset Switch Upstream Port 03:03.0 PCI bridge : Advanced Micro Devices, Inc. Device 04:00.0 Ethernet controller : Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) IOMMU Group 16: 05:00.0 PCI bridge : Advanced Micro Devices, Inc. Navi 10 XL Upstream Port of PCI Express Switch (rev c5) IOMMU Group 17: 06:00.0 PCI bridge : Advanced Micro Devices, Inc. Navi 10 XL Downstream Port of PCI Express Switch IOMMU Group 18: 07:00.0 VGA compatible controller : Advanced Micro Devices, Inc. Navi 22 (rev c5) IOMMU Group 19: 07:00.1 Audio device : Advanced Micro Devices, Inc. Navi 21/23 HDMI/DP Audio Controller IOMMU Group 20: 08:00.0 Non-Essential Instrumentation : Advanced Micro Devices, Inc. Starship/Matisse PCIe Dummy Function IOMMU Group 21: 09:00.0 Non-Essential Instrumentation : Advanced Micro Devices, Inc. Starship/Matisse Reserved SPP IOMMU Group 22: 09:00.1 Encryption controller : Advanced Micro Devices, Inc. Starship/Matisse Cryptographic Coprocessor PSPCPP IOMMU Group 23: 09:00.3 USB controller : Advanced Micro Devices, Inc. Matisse USB 3.0 Host Controller IOMMU Group 24: 09:00.4 Audio device : Advanced Micro Devices, Inc. Starship/Matisse HD Audio Controller BIOS ayarlarında Resizable Bar ve 4G Decoding kapalı. IOMMU ve AMD Vi açık. Belleğin XMP değeri olan 3600 MHz'de. Bayağıdır da oyun oynuyorum, hiç visual artifact yaşamadım yani sistemim stabil. Debian Sid kullanıyorum ve Xanmod'un 6.4.9 sürümü mevcut. Çekirdek içerisinde PCIe ACS Override for bypassing IOMMU groups support. yaması da var. Sanal makine içerisinde Winzort'dan GPU-Z ile yedeklediğim ve bir rehberde görerek yedeklediğim ROM dosyalarını kullanmayı denedim ancak ikisinde de siyah ekranda kaldı. Sürprizbozan: Yedeklemek için kullandığım kodlar. Kod:Panoya kopyala echo 1 > /sys/bus/pci/devices/0000:01:00.0/rom cat /sys/bus/pci/devices/0000:01:00.0/rom > path/to/dump/vbios. rom echo 0 > /sys/bus/pci/devices/0000:01:00.0/rom Libvirt hookları olması gerektiği gibi ayarlı. Sürprizbozan: /etc/libvirt/hooks/qemu Bash:Panoya kopyala #!/bin/bash GUEST_NAME="$1" HOOK_NAME="$2" STATE_NAME="$3" MISC="$ " BASEDIR="$(dirname $0)" HOOKPATH="$BASEDIR/qemu. d/$GUEST_NAME/$HOOK_NAME/$STATE_NAME" set -e # If a script exits with an error, we should as well. if ; then eval \""$HOOKPATH"\" "$@" elif ; then while read file; do eval \""$file"\" "$@" done <<< "$(find -L "$HOOKPATH" -maxdepth 1 -type f -executable -print;)" fi Sürprizbozan: /etc/libvirt/hooks/qemu. d/win10/prepare/begin/start. sh Bash:Panoya kopyala #!/bin/bash set -x # Stop display manager systemctl stop display-manager # Unbind VTconsoles: might not be needed echo 0 > /sys/class/vtconsole/vtcon0/bind echo 0 > /sys/class/vtconsole/vtcon1/bind # Unbind EFI Framebuffer #echo efi-framebuffer.0 > /sys/bus/platform/drivers/efi-framebuffer/unbind # Unload NVIDIA kernel modules #modprobe -r nvidia_drm nvidia_modeset nvidia_uvm nvidia # Detach GPU devices from host # Use your GPU and HDMI Audio PCI host device virsh nodedev-detach pci_0000_07_00_0 virsh nodedev-detach pci_0000_07_00_1 # Unload AMD kernel module modprobe -r amdgpu # Load vfio module modprobe vfio modprobe vfio_pci modprobe vfio_iommu_type1 Sürprizbozan: /etc/libvirt/hooks/qemu. d/win10/release/end/stop. sh Kod:Panoya kopyala #!/bin/bash set -x # Attach GPU devices to host # Use your GPU and HDMI Audio PCI host device virsh nodedev-reattach pci_0000_07_00_0 virsh nodedev-reattach pci_0000_07_00_1 # Unload vfio module modprobe -r vfio modprobe -r vfio_pci modprobe -r vfio_iommu_type1 # Load AMD kernel module modprobe amdgpu # Rebind framebuffer to host #echo "efi-framebuffer.0" > /sys/bus/platform/drivers/efi-framebuffer/bind # Load NVIDIA kernel modules #modprobe nvidia_drm #modprobe nvidia_modeset #modprobe nvidia_uvm #modprobe nvidia # Bind VTconsoles: might not be needed echo 1 > /sys/class/vtconsole/vtcon0/bind echo 1 > /sys/class/vtconsole/vtcon1/bind # Restart Display Manager systemctl start display-manager Sürprizbozan: virsh edit win10 Kod:Panoya kopyala <domain type="kvm"> <name>win10</name> <uuid>dfc851fe-b748-4ec5-b418-59d42c042e69</uuid> <metadata> <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> <libosinfo:os id="http://microsoft.com/win/10"/> </libosinfo:libosinfo> </metadata> <memory unit="KiB">8388608</memory> <currentMemory unit="KiB">8388608</currentMemory> <vcpu placement="static">6</vcpu> <os firmware="efi"> <type arch="x86_64" machine="pc-q35-8.0">hvm</type> <firmware> <feature enabled="yes" name="enrolled-keys"/> <feature enabled="yes" name="secure-boot"/> </firmware> <loader readonly="yes" secure="yes" type="pflash">/usr/share/OVMF/OVMF_CODE_4M. ms. fd</loader> <nvram template="/usr/share/OVMF/OVMF_VARS_4M. ms. fd">/var/lib/libvirt/qemu/nvram/win10_VARS. fd</nvram> <bootmenu enable="yes"/> </os> <features> <acpi/> <apic/> <hyperv mode="custom"> <relaxed state="on"/> <vapic state="on"/> <spinlocks state="on" retries="8191"/> <vendor_id state="on" value="randomid"/> </hyperv> <vmport state="off"/> <smm state="on"/> </features> <cpu mode="host-passthrough" check="none" migratable="on"> <topology sockets="1" dies="1" cores="6" threads="1"/> <feature policy="require" name="topoext"/> </cpu> <clock offset="localtime"> <timer name="rtc" tickpolicy="catchup"/> <timer name="pit" tickpolicy="delay"/> <timer name="hpet" present="no"/> <timer name="hypervclock" present="yes"/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>destroy</on_crash> <pm> <suspend-to-mem enabled="no"/> <suspend-to-disk enabled="no"/> </pm> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type="file" device="disk"> <driver name="qemu" type="qcow2" discard="unmap"/> <source file="/var/lib/libvirt/images/win10. qcow2"/> <target dev="vda" bus="virtio"/> <boot order="1"/> <address type="pci" domain="0x0000" bus="0x04" slot="0x00" function="0x0"/> </disk> <disk type="file" device="cdrom"> <driver name="qemu" type="raw"/> <source file="/home/cruslan/Belgeler/KVM/Win10_22H2_Turkish_x64v1. iso"/> <target dev="sdb" bus="sata"/> <readonly/> <address type="drive" controller="0" bus="0" target="0" unit="1"/> </disk> <disk type="file" device="cdrom"> <driver name="qemu" type="raw"/> <source file="/home/cruslan/Belgeler/KVM/virtio-win-0.1.229. iso"/> <target dev="sdc" bus="sata"/> <readonly/> <address type="drive" controller="0" bus="0" target="0" unit="2"/> </disk> <disk type="file" device="cdrom"> <driver name="qemu" type="raw"/> <source file="/home/cruslan/Belgeler/KVM/linuxmint-21.1-cinnamon-64bit. iso"/> <target dev="sdd" bus="sata"/> <readonly/> <address type="drive" controller="0" bus="0" target="0" unit="3"/> </disk> <controller type="usb" index="0" model="qemu-xhci" ports="15"> <address type="pci" domain="0x0000" bus="0x02" slot="0x00" function="0x0"/> </controller> <controller type="pci" index="0" model="pcie-root"/> <controller type="pci" index="1" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="1" port="0x10"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x0" multifunction="on"/> </controller> <controller type="pci" index="2" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="2" port="0x11"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x1"/> </controller> <controller type="pci" index="3" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="3" port="0x12"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x2"/> </controller> <controller type="pci" index="4" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="4" port="0x13"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x3"/> </controller> <controller type="pci" index="5" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="5" port="0x14"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x4"/> </controller> <controller type="pci" index="6" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="6" port="0x15"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x5"/> </controller> <controller type="pci" index="7" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="7" port="0x16"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x6"/> </controller> <controller type="pci" index="8" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="8" port="0x17"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x02" function="0x7"/> </controller> <controller type="pci" index="9" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="9" port="0x18"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0" multifunction="on"/> </controller> <controller type="pci" index="10" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="10" port="0x19"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x1"/> </controller> <controller type="pci" index="11" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="11" port="0x1a"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x2"/> </controller> <controller type="pci" index="12" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="12" port="0x1b"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x3"/> </controller> <controller type="pci" index="13" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="13" port="0x1c"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x4"/> </controller> <controller type="pci" index="14" model="pcie-root-port"> <model name="pcie-root-port"/> <target chassis="14" port="0x1d"/> <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x5"/> </controller> <controller type="sata" index="0"> <address type="pci" domain="0x0000" bus="0x00" slot="0x1f" function="0x2"/> </controller> <controller type="virtio-serial" index="0"> <address type="pci" domain="0x0000" bus="0x03" slot="0x00" function="0x0"/> </controller> <interface type="network"> <mac address="52:54:00:eb:60:f3"/> <source network="default1"/> <model type="e1000e"/> <address type="pci" domain="0x0000" bus="0x01" slot="0x00" function="0x0"/> </interface> <serial type="pty"> <target type="isa-serial" port="0"> <model name="isa-serial"/> </target> </serial> <console type="pty"> <target type="serial" port="0"/> </console> <input type="mouse" bus="ps2"/> <input type="keyboard" bus="ps2"/> <audio id="1" type="none"/> <hostdev mode="subsystem" type="pci" managed="yes"> <source> <address domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> </source> <rom file="/usr/share/vgabios/vbios. rom"/> <address type="pci" domain="0x0000" bus="0x06" slot="0x00" function="0x0"/> </hostdev> <hostdev mode="subsystem" type="pci" managed="yes"> <source> <address domain="0x0000" bus="0x07" slot="0x00" function="0x1"/> </source> <address type="pci" domain="0x0000" bus="0x07" slot="0x00" function="0x0"/> </hostdev> <hostdev mode="subsystem" type="usb" managed="yes"> <source> <vendor id="0x045e"/> <product id="0x0750"/> </source> <address type="usb" bus="0" port="1"/> </hostdev> <watchdog model="itco" action="reset"/> <memballoon model="virtio"> <address type="pci" domain="0x0000" bus="0x05" slot="0x00" function="0x0"/> </memballoon> </devices> </domain> Ekleme: Günlük hayatta ayırabileceğim saatler şu anda olmadığı için şu anda denemeyi bıraktım. Eğer daha sonra başka bir öneriniz olursa zaman ayırabilirim.

Harikasınız. Uyku moduna alınca geliyor ekran. Kontrol ettim, direkt sanal makinedeki sürücü bilgisayarı görüyor. @keyeno8702, sanırsam yeni bir kullanıcısınız veya çifte hesaba sahipsiniz. Neyse, önemi yok. Gene de teşekkürler ve hoşgeldiniz. Yönteminiz işe yarıyor ancak ne zaman çalışacağı belli olmuyor. Bilgisayar bazen uyku moduna giriyor, bazen girmiyor. Uyku moduna girip bilgisayarı açınca çalışıyor. Sanal makine içinde kontrol ettim, Resize-Bar da tanımlanıyor. Kapatırken ise bilgisayarın açılması çok uzun sürüyor. Kendim bir script yazmayı denedim ancak çalıştırıyor mu onu da bilmiyorum. Başlangıç scriptine çıktıları text dosyasına alan bir şey yerleştirdim, takır takır görebiliyorum ancak çıkış scriptine eklediklerim yürütülmüyor veya raporlanmıyor. Biraz daha törpüleme şansımız olabilir mi sizce?

Neyse, ne kadar gecikme verirsem vereyim bilgisayar olduğu gibi kalıyor. O yüzden ilk çözümünüze yani yeniden başlatmaya döndüm. Gene de teşekkürler. Bu AMD işlemcilerle alakalı bir şey mi? Hatayı tam olarak açıklayamadığım için o zaman yorum yapamamıştım, bugün ise cevaptan yola çıkarak benzer sistemde benzer kişilerin aynı sorunlardan muzdarip olduğunu ve uyku moduna çekerek çözebildiklerini yazmışlar aynı şekilde.

Bazı AMD ekran kartlarında reset sorunu mevcut VM başladığında ekran kartı kendini resetleyemiyor ve takılıyor. Ben Sapphire Pulse ekran kartıma bu vbiosu flashlayarak sorunu çözdüm. Sorun çözüldü ve GPU-Z ekran kartını Sapphire Nitro+ olarak algılamaya başladı. Tabii vbios değiştirmek epey riskli ve ekran kartınızın garanti dışı kalması epey olası.

Teşekkürler. Ben anakartın chipseti ile alakali falan sanmıştım. Hatayı sizden önce tanımlayamadığım için araştıramadım bile, bulduğum sonuçlar hep alakasızdı. VM başlarken ekran kartı fanları bir anlığına hızlanıyor. Onun haricinde sorun yok.

Konu biraz eski ama sanal makine başlamadan önce sistemi uyku moduna alıp tekrar başlatarak sorunu çözebilirsiniz. 4G Decoding ve Resizable BAR açıkken de sorunsuz kullanabilirsiniz, Windows açıldıktan sonra siyah ekran sorunu alırsanız kapatırsınız. Son olarak ROM dosyasına ihtiyacınız yok. Sürprizbozan: start. sh Bash:Panoya kopyala #!/bin/bash set -x systemctl stop display-manager virsh nodedev-detach pci_0000_07_00_0 virsh nodedev-detach pci_0000_07_00_1 modprobe -r amdgpu rtcwake -m no -s 5 #uyku modundan çıkar systemctl suspend #sistemi uyku moduna alır sleep 15 Sürprizbozan: stop. sh Bash:Panoya kopyala #!/bin/bash set -x systemctl reboot #ssd kullandığım için direkt yeniden başlatıyorum

Öncelikle teşekkürler. Evet, normalde technopat hesabım bulunmuyordu bu konuya yazabilmek için hesap açtım. Aşağıya scriptlerin güncel halini bıraktım, hala uyku moduna girmeme sorunu yaşarsanız gecikmeleri artırabilirsiniz. Sürprizbozan: start. sh Bash:Panoya kopyala #!/bin/bash set -x systemctl stop display-manager virsh nodedev-detach pci_0000_07_00_0 virsh nodedev-detach pci_0000_07_00_1 modprobe -r amdgpu rtcwake -m no -s 10 systemctl suspend sleep 15 Sürprizbozan: stop. sh Bash:Panoya kopyala #!/bin/bash set -x echo 1 > /sys/bus/pci/devices/0000:07:00.0/remove echo 1 > /sys/bus/pci/devices/0000:07:00.1/remove rtcwake -m no -s 10 systemctl suspend sleep 15 echo 1 > /sys/bus/pci/rescan modprobe amdgpu systemctl start display-manager

Gecikmeleri istediğiniz kadar artırabilirsiniz ama 10 saniye yeterli olduğunu düşünüyorum. SSH ile scriptleri sudo /etc/libvirt/hooks/qemu. d/win11/prepare/begin/start. sh sudo /etc/libvirt/hooks/qemu. d/win11/release/end/stop. sh bu şekilde çalıştırıp çıktılara bakabilirsiniz.