Ich möchte die GPU in der dom0 und auch dort den VDR. Die VM(domU) soll nur Netzwerk haben. Das lief mit Jammy sofort ohne zusätzliche Konfiguration.
Im Link steht ja auch : When using Intel GPU on Intel servers, the XenServer server’s Control Domain (dom0) has access to the integrated GPU device. Muss ich dafür trotzdem noch etwas konfigurieren? Eine GUI habe ich nicht installiert.
dmesg -T | grep -i 00:02.0
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: [8086:9a78] type 00 class 0x030000 PCIe Root Complex Integrated Endpoint
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: BAR 0 [mem 0x6000000000-0x6000ffffff 64bit]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: BAR 2 [mem 0x4000000000-0x400fffffff 64bit pref]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: BAR 4 [io 0x3000-0x303f]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: Video device with shadowed ROM at [mem 0x000c0000-0x000dffff]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 0 [mem 0x00000000-0x00ffffff 64bit]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 0 [mem 0x00000000-0x06ffffff 64bit]: contains BAR 0 for 7 VFs
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 2 [mem 0x00000000-0x1fffffff 64bit pref]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 2 [mem 0x00000000-0xdfffffff 64bit pref]: contains BAR 2 for 7 VFs
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: vgaarb: setting as boot VGA device
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: vgaarb: bridge control possible
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: vgaarb: VGA device added: decodes=io+mem,owns=io+mem,locks=none
[Do Aug 7 07:37:46 2025] pnp 00:04: disabling [mem 0xc0000000-0xcfffffff] because it overlaps 0000:00:02.0 BAR 9 [mem 0x00000000-0xdfffffff 64bit pref]
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 2 [mem 0x4020000000-0x40ffffffff 64bit pref]: assigned
[Do Aug 7 07:37:46 2025] pci 0000:00:02.0: VF BAR 0 [mem 0x4010000000-0x4016ffffff 64bit]: assigned
[Do Aug 7 07:37:47 2025] i915 0000:00:02.0: [drm] Found tigerlake/uy (device ID 9a78) integrated display version 12.00 stepping C0
[Do Aug 7 07:37:47 2025] i915 0000:00:02.0: [drm] *ERROR* Can't set DMA mask/consistent mask (-5)
[Do Aug 7 07:37:47 2025] i915 0000:00:02.0: [drm] *ERROR* Device initialization failed (-5)
[Do Aug 7 07:37:47 2025] i915 0000:00:02.0: probe with driver i915 failed with error -5
xl info
host : nucii
release : 6.14.0-27-generic
version : #27~24.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 22 17:38:49 UTC 2
machine : x86_64
nr_cpus : 4
max_cpu_id : 15
nr_nodes : 1
cores_per_socket : 2
threads_per_core : 2
cpu_mhz : 2995.198
hw_caps : bfebfbff:77faf3bf:2c100800:00000121:0000000f:f3bfa7eb:18405fce:00000100
virt_caps : pv hvm hvm_directio pv_directio hap shadow iommu_hap_pt_share vmtrace gnttab-v1 gnttab-v2
total_memory : 16008
free_memory : 11744
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 17
xen_extra : .4-pre
xen_version : 4.17.4-pre
xen_caps : xen-3.0-x86_64 hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit2
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder dom0_mem=4096M,max:8192M dom0_max_vcpus=4 no-real-mode edd=off
cc_compiler : x86_64-linux-gnu-gcc (Ubuntu 13.2.0-23ubuntu3) 13.2.0
cc_compile_by : ubuntu-devel-di
cc_compile_domain : lists.ubuntu.com
cc_compile_date : Mon Apr 1 04:46:35 UTC 2024
build_id : a85cbf6c3a3046811b35170e96371bd8dca39e7d
xl pci-assignable-list
libxl: error: libxl_pci.c:444:libxl_device_pci_assignable_list: Looks like pciback driver not loaded
modprobe xen-pciback
xl pci-assignable-add 00:02.0
libxl: warning: libxl_pci.c:822:libxl__device_pci_assignable_add: 0000:00:02.0 not bound to a driver, will not be rebound.
xl pci-assignable-list
0000:00:02.0
xl list
Name ID Mem VCPUs State Time(s)
Domain-0 0 4096 4 r----- 576.0
xl pci-attach Domain-0 0000:00:02.0
libxl: error: libxl_pci.c:1529:pci_add_dm_done: xc_assign_device failed: Invalid argument
libxl: error: libxl_pci.c:1809:device_pci_add_done: libxl__device_pci_add failed for PCI device 0:0:2.0 (rc -3)
libxl: error: libxl_device.c:1468:device_addrm_aocomplete: unable to add device