GPU Passthrough problem with Manjaro I3 x64 and NVIDIA GeForce RTX 2080

Hi everyone,

I’m using Manjaro I3 x64 with an Intel i7 4790K processor which has an integrated Intel HD graphics card, as well as an NVIDIA GeForce RTX 2080 graphics card. I’ve managed to do GPU passthrough on KVM with the same configuration in the past, but I’m having problems now.

My goal is to boot my system and LightDM with the integrated Intel graphics card (iGPU) so I can reserve the GeForce RTX 2080 for my virtual machines. I’ve already blacklisted the NVIDIA driver at system startup by adding these lines to /etc/modprobe.d/mhwd-gpu.conf :

blacklist nouveau
blacklist ttm
blacklist drm_kms_helper
blacklist drm
blacklist nvidia

In addition, in my /etc/X11/mhwd.d/nvidia.conf file, I have configured the driver as follows:

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 535.104.05

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "intel"
#    Driver         "nvidia"
#    VendorName     "NVIDIA Corporation"
#	Option "NoLogo" "1"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

Section "Extensions"
    Option         "COMPOSITE" "Enable"
EndSection

 
Section "InputClass"
    Identifier          "Keyboard Defaults"
    MatchIsKeyboard        "yes"
    Option              "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

Despite these manipulations, I’m having problems setting up the GPU passthrough. If anyone has encountered a similar problem or has any advice, I’d be grateful for any help you could provide.

[    12.603] 
X.Org X Server 1.21.1.8
X Protocol Version 11, Revision 0
[    12.603] Current Operating System: Linux home 6.5.5-1-MANJARO #1 SMP PREEMPT_DYNAMIC Sat Sep 23 12:48:15 UTC 2023 x86_64
[    12.603] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.5-x86_64 root=UUID=eb2828a3-3514-4b49-8eef-70ce614526ff rw quiet apparmor=1 security=apparmor resume=UUID=c5b3fb80-f494-45db-9b56-148fb6b04819 udev.log_priority=3
[    12.603]  
[    12.603] Current version of pixman: 0.42.2
[    12.603] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    12.603] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    12.603] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 27 01:27:25 2023
[    12.603] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    12.603] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    12.603] (==) ServerLayout "layout"
[    12.603] (**) |-->Screen "Screen0" (0)
[    12.603] (**) |   |-->Monitor "Monitor0"
[    12.603] (**) |   |-->Device "Device0"
[    12.603] (==) Automatically adding devices
[    12.603] (==) Automatically enabling devices
[    12.603] (==) Automatically adding GPU devices
[    12.603] (==) Automatically binding GPU devices
[    12.603] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    12.603] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    12.603] 	Entry deleted from font path.
[    12.603] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    12.603] 	Entry deleted from font path.
[    12.603] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    12.603] 	Entry deleted from font path.
[    12.603] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF
[    12.603] (==) ModulePath set to "/usr/lib/xorg/modules"
[    12.603] (**) Extension "COMPOSITE" is enabled
[    12.603] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    12.603] (II) Module ABI versions:
[    12.603] 	X.Org ANSI C Emulation: 0.4
[    12.603] 	X.Org Video Driver: 25.2
[    12.603] 	X.Org XInput driver : 24.4
[    12.603] 	X.Org Server Extension : 10.0
[    12.604] (++) using VT number 7

[    12.604] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    12.605] (II) xfree86: Adding drm device (/dev/dri/card2)
[    12.605] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card2
[    12.605] (II) xfree86: Adding drm device (/dev/dri/card1)
[    12.605] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card1
[    12.616] (II) xfree86: Adding drm device (/dev/dri/card0)
[    12.616] (II) Platform probe for /sys/devices/platform/simple-framebuffer.0/drm/card0
[    12.618] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    12.618] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    12.618] (--) PCI: (0@0:2:0) 8086:0412:1043:8534 rev 6, Mem @ 0xef400000/4194304, 0xc0000000/268435456, I/O @ 0x0000f000/64
[    12.618] (--) PCI:*(1@0:0:0) 10de:1e87:1043:8660 rev 161, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    12.618] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    12.618] (II) LoadModule: "glx"
[    12.619] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    12.619] (II) Module glx: vendor="X.Org Foundation"
[    12.619] 	compiled for 1.21.1.8, module version = 1.0.0
[    12.619] 	ABI class: X.Org Server Extension, version 10.0
[    12.619] (II) LoadModule: "intel"
[    12.619] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    12.620] (II) Module intel: vendor="X.Org Foundation"
[    12.620] 	compiled for 1.21.1.6, module version = 2.99.917
[    12.620] 	Module class: X.Org Video Driver
[    12.620] 	ABI class: X.Org Video Driver, version 25.2
[    12.620] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    12.620] (II) intel: Driver for Intel(R) HD Graphics
[    12.620] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[    12.620] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[    12.620] (II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 20201103
[    12.620] (II) intel(G0): SNA compiled from 2.99.917-923-gb74b67f0
[    12.620] (EE) No devices detected.
[    12.621] (EE) 
Fatal server error:
[    12.621] (EE) no screens found(EE) 
[    12.621] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    12.621] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    12.621] (EE) 
[    12.622] (EE) Server terminated with error (1). Closing log file.

Thanks in advance!

Have you tried searching?

Hello Linux-aarhus,

I wanted to express my gratitude for your assistance. I have successfully achieved GPU passthrough after resolving the IOMMU issue. Your guidance was greatly appreciated.

Best regards,

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.