You are not logged in.

#1 2025-06-29 15:40:31

helloworld918441
Member
Registered: 2025-06-29
Posts: 3

Can't use iGPU, output freezes after "loading systemd-udevd .." (VFIO)

I'm trying to use looking-glass, can't isolate the GPU because output stops outputting after that (the screen doesn't turn off, it just stops showing anything else but it still shows what it said before)
inxi -Gz:
Graphics:
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
    driver: i915 v: kernel
  Device-2: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 575.64
  Display: wayland server: X.org v: 1.21.1.18 with: Xwayland v: 24.1.8
    compositor: kwin_wayland driver: X: loaded: nvidia unloaded: modesetting
    gpu: nvidia,nvidia-nvswitch resolution: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: crocus,nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64
    renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
  API: Vulkan v: 1.4.313 drivers: nvidia surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo de: kscreen-console,
    kscreen-doctor, xfce4-display-settings gpu: nvidia-smi wl: wayland-info
    x11: xdpyinfo, xprop, xrandr
dmesg says:
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] Found haswell (device ID 0412) integrated display version 7.00 stepping N/A
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - GuC is not supported!
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - GuC submission is N/A
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] PipeC fused off
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] VT-d active for gfx access
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] Using Transparent Hugepages
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] DMAR active, disabling use of stolen memory
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=io+mem
Jun 29 17:15:51 arch kernel: [drm] Initialized i915 1.6.0 for 0000:00:02.0 on minor 1
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
Jun 29 17:15:51 arch kernel: i915 0000:00:02.0: [drm] Cannot find any crtc or sizes
I tried with and without enable_guc=3, tried with and without xf86-video-intel, tried kernel parameters quiet and video=efifb:off

Using systemd-boot, kernel parameters: root=UUID=ad19b239-a7b0-4f28-add3-56b64496b605 rootflags=subvol=@ rw libata.force=2.00:disable intel_iommu=on iommu=pt
(libata.force is to disable the extremely slow disk that I don't need)
/etc/mkinitcpio.conf is mostly unmodified, except the modules are: (i915 vfio_pci vfio_iommu_type1 vfio btrfs)
/etc/modprobe.d/vfio.conf:
options vfio-pci ids=10de:1c82,10de:0fb9
softdep drm pre: vfio-pci
softdep nvidiafb pre: vfio-pci

Specs:
CPU: Intel i5-4570 3.2GHz
GPU: NVIDIA GTX 1050 Ti 4GB
Motherboard: MSI H81M-P33 Combo
RAM: 2x4GB of an unknown company

Offline

#2 2025-06-30 08:33:35

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,937

Re: Can't use iGPU, output freezes after "loading systemd-udevd .." (VFIO)

Please use code tags for such output .

Is there a monitor attached to the dvi-d or vga output of the motherboard ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2025-07-02 07:19:03

helloworld918441
Member
Registered: 2025-06-29
Posts: 3

Re: Can't use iGPU, output freezes after "loading systemd-udevd .." (VFIO)

Forgot about that, plugged it into the motherboard's VGA and the output of that doesn't freeze, but SDDM exits shortly after starting, TTY works but the text starts at a little outside of the screen, and i saw Plasma say it's 1920x1080 as 1830x1031 or something like that, don't remember it exactly since i can't get that thing to show anymore, and i did leave the HDMI plugged into the dGPU just in case i don't wanna use vfio
SDDM's logs about Wayland:

Jul 02 08:52:46 arch systemd[1]: Started Session c1 of User sddm.
Jul 02 08:52:46 arch sddm-helper[636]: Jumping to VT 1
Jul 02 08:52:46 arch sddm-helper[636]: VT mode fixed
Jul 02 08:52:46 arch sddm[553]: Greeter session started successfully
Jul 02 08:52:46 arch sddm-helper-start-wayland[636]: Starting Wayland process "weston --shell=kiosk" "sddm"
Jul 02 08:52:46 arch sddm-helper-start-wayland[636]: Failed to start "weston --shell=kiosk": Child process set up failed: execve: No such file or directory
Jul 02 08:52:46 arch sddm-helper-start-wayland[636]: SDDM was unable to start "weston --shell=kiosk"
Jul 02 08:52:46 arch sddm-helper[574]: [PAM] Closing session
Jul 02 08:52:46 arch sddm-helper[574]: pam_unix(sddm-greeter:session): session closed for user sddm
Jul 02 08:52:46 arch sddm-helper[574]: [PAM] Ended.
Jul 02 08:52:46 arch sddm[553]: Auth: sddm-helper exited with 4
Jul 02 08:52:46 arch sddm[553]: Greeter stopped. SDDM::Auth::HELPER_DISPLAYSERVER_ERROR
Jul 02 08:52:46 arch sddm[553]: Removing display SDDM::Display(0x55f1271a6050) ...
Jul 02 08:52:46 arch sddm[553]: Socket server stopping...
Jul 02 08:52:46 arch sddm[553]: Socket server stopped.
Jul 02 08:52:46 arch sddm[553]: Failed to launch the display server, falling back to DisplayServer=x11-user
Jul 02 08:52:46 arch sddm[553]: Adding new display...

(maybe i should just get rid of Weston.. i don't even have that installed, why does SDDM need it?)
SDDM x11 logs:

Jul 02 08:52:46 arch sddm[553]: Adding new display...
Jul 02 08:52:46 arch sddm[553]: Loaded empty theme configuration
Jul 02 08:52:46 arch sddm[553]: Using VT 1
Jul 02 08:52:46 arch sddm[553]: Display server started.
Jul 02 08:52:46 arch sddm[553]: Socket server starting...
Jul 02 08:52:46 arch sddm[553]: Socket server started.
Jul 02 08:52:46 arch sddm[553]: Loading theme configuration from "/usr/share/sddm/themes/breeze/theme.conf"
Jul 02 08:52:46 arch sddm[553]: Greeter starting...
Jul 02 08:52:46 arch sddm-helper[644]: [PAM] Starting...
Jul 02 08:52:46 arch sddm-helper[644]: [PAM] Authenticating...
Jul 02 08:52:46 arch sddm-helper[644]: [PAM] returning.
Jul 02 08:52:46 arch sddm-helper[644]: pam_unix(sddm-greeter:session): session opened for user sddm(uid=968) by (uid=0)
Jul 02 08:52:46 arch systemd-logind[496]: New session c2 of user sddm.
Jul 02 08:52:46 arch systemd[1]: Started Session c2 of User sddm.
Jul 02 08:52:46 arch sddm-helper[644]: Starting X11 session: "/usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3" "/usr/bin/sddm-greeter-qt6 --socket /tmp/sddm--bUbGVW --theme /usr/share/sddm/themes/breeze"
Jul 02 08:52:46 arch sddm-helper[651]: Jumping to VT 1
Jul 02 08:52:46 arch sddm-helper[651]: VT mode didn't need to be fixed
Jul 02 08:52:46 arch sddm[553]: Greeter session started successfully
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: Xauthority path: "/run/user/968/xauth_opgYtF"
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: Running server: /usr/bin/X -nolisten tcp -background none -seat seat0 -noreset -keeptty -novtswitch -verbose 3 -auth /run/user/968/xauth_opgYtF -displayfd 13 vt1
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: Failed to read display number from pipe
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: "(--) Log file renamed from \"/var/lib/sddm/.local/share/xorg/Xorg.pid-652.log\" to \"/var/lib/sddm/.local/share/xorg/Xorg.0.log\"\n\nX.Org X Server 1.21.1.18\nX Protocol Version 11, Revision 0\nCurrent Operating System: Linux arch 6.15.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Jun 2025 14:41:19 +0000 x86_64\nKernel command line: initrd=\\initramfs-custom.img root=UUID=ad19b239-a7b0-4f28-add3-56b64496b605 rootflags=subvol=@ rw libata.force=2.00:disable intel_iommu=on iommu=pt rd.driver.pre=vfio-pci vfio-pci.ids=10de:1c82\n \nCurrent version of pixman: 0.46.2\n\tBefore reporting problems, check http://wiki.x.org\n\tto make sure that you have the latest version.\nMarkers: (--) probed, (**) from config file, (==) default setting,\n\t(++) from command line, (!!) notice, (II) informational,\n\t(WW) warning, (EE) error, (NI) not implemented, (??) unknown.\n(==) Log file: \"/var/lib/sddm/.local/share/xorg/Xorg.0.log\", Time: Wed Jul  2 08:52:46 2025\n(==) Using config directory: \"/etc/X11/xorg.conf.d\"\n(==) Using system config directory \"/usr/share/X11/xorg.conf.d\"\n(==) No Layout section.  Using the first Screen section.\n(==) No screen section available. Using defaults.\n(**) |-->Screen \"Default Screen Section\" (0)\n(**) |   |-->Monitor \"<default monitor>\"\n(==) No monitor specified for screen \"Default Screen Section\".\n\tUsing a default monitor configuration.\n(**) Allowing byte-swapped clients\n(==) Automatically adding devices\n(==) Automatically enabling devices\n(==) Automatically adding GPU devices\n(==) Automatically binding GPU devices\n(==) Max clients allowed: 256, resource mask: 0x1fffff\n(WW) `fonts.dir' not found (or not valid) in \"/usr/share/fonts/misc\".\n\tEntry deleted from font path.\n\t(Run 'mkfontdir' on \"/usr/share/fonts/misc\").\n(WW) `fonts.dir' not found (or not valid) in \"/usr/share/fonts/TTF\".\n\tEntry deleted from font path.\n\t(Run 'mkfontdir' on \"/usr/share/fonts/TTF\").\n(WW) The directory \"/usr/share/fonts/OTF\" does not exist.\n\tEntry deleted from font path.\n(WW) The directory \"/usr/share/fonts/Type1\" does not exist.\n\tEntry deleted from font path.\n(WW) The directory \"/usr/share/fonts/100dpi\" does not exist.\n\tEntry deleted from font path.\n(WW) The directory \"/usr/share/fonts/75dpi\" does not exist.\n\tEntry deleted from font path.\n(==) FontPath set to:\n\t\n(==) ModulePath set to \"/usr/lib/xorg/modules\"\n(II) The server relies on udev to provide the list of input devices.\n\tIf no devices become available, reconfigure udev or disable AutoAddDevices.\n(II) Module ABI versions:\n\tX.Org ANSI C Emulation: 0.4\n\tX.Org Video Driver: 25.2\n\tX.Org XInput driver : 24.4\n\tX.Org Server Extension : 10.0\n(++) using VT number 1\n\n(II) systemd-logind: took control of session /org/freedesktop/login1/session/c2\n(II) xfree86: Adding drm device (/dev/dri/card0)\n(II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0\n(II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 14 paused 0\n(--) PCI: (0@0:2:0) 8086:0412:1462:7817 rev 6, Mem @ 0xf7400000/4194304, 0xd0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072\n(--) PCI:*(1@0:0:0) 10de:1c82:3842:6251 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072\n(II) LoadModule: \"glx\"\n(II) Loading /usr/lib/xorg/modules/extensions/libglx.so\n(II) Module glx: vendor=\"X.Org Foundation\"\n\tcompiled for 1.21.1.18, module version = 1.0.0\n\tABI class: X.Org Server Extension, version 10.0\n(==) Matched intel as autoconfigured driver 0\n(==) Matched nouveau as autoconfigured driver 1\n(==) Matched nv as autoconfigured driver 2\n(==) Matched modesetting as autoconfigured driver 3\n(==) Matched fbdev as autoconfigured driver 4\n(==) Matched vesa as autoconfigured driver 5\n(==) Assigned the driver to the xf86ConfigLayout\n(II) LoadModule: \"intel\"\n(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so\n(II) Module intel: vendor=\"X.Org Foundation\"\n\tcompiled for 1.21.1.16, module version = 2.99.917\n\tModule class: X.Org Video Driver\n\tABI class: X.Org Video Driver, version 25.2\n(II) LoadModule: \"nouveau\"\n(WW) Warning, couldn't open module nouveau\n(EE) Failed to load module \"nouveau\" (module does not exist, 0)\n(II) LoadModule: \"nv\"\n(WW) Warning, couldn't open module nv\n(EE) Failed to load module \"nv\" (module does not exist, 0)\n(II) LoadModule: \"modesetting\"\n(II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so\n(II) Module modesetting: vendor=\"X.Org Foundation\"\n\tcompiled for 1.21.1.18, module version = 1.21.1\n\tModule class: X.Org Video Driver\n\tABI class: X.Org Video Driver, version 25.2\n(II) LoadModule: \"fbdev\"\n(WW) Warning, couldn't open module fbdev\n(EE) Failed to load module \"fbdev\" (module does not exist, 0)\n(II) LoadModule: \"vesa\"\n(WW) Warning, couldn't open module vesa\n(EE) Failed to load module \"vesa\" (module does not exist, 0)\n(II) intel: Driver for Intel(R) Integrated Graphics Chipsets:\n\ti810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,\n\t915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,\n\tPineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,\n\tGM45, 4 Series, G45/G43, Q45/Q43, G41, B43\n(II) intel: Driver for Intel(R) HD Graphics\n(II) intel: Driver for Intel(R) Iris(TM) Graphics\n(II) intel: Driver for Intel(R) Iris(TM) Pro Graphics\n(II) modesetting: Driver for Modesetting Kernel Drivers: kms\nxf86EnableIO: failed to enable I/O ports 0000-03ff (Operation not permitted)\n(WW) Falling back to old probe method for modesetting\n(II) modeset(1): using default device\n(II) intel(G0): Using Kernel Mode Setting driver: i915, version 1.6.0 0\n(II) intel(G0): SNA compiled from 2.99.917-939-g4a64400e\n(WW) VGA arbiter: cannot open kernel arbiter, no multi-card support\n(EE) Screen 0 deleted because of no matching config section.\n(II) UnloadModule: \"modesetting\"\n(EE) \nFatal server error:\n(EE) Cannot run in framebuffer mode. Please specify busIDs        for all framebuffer devices\n(EE) \n(EE) \nPlease consult the The X.Org Foundation support \n\t at http://wiki.x.org\n for help. \n(EE) Please also check the log file at \"/var/lib/sddm/.local/share/xorg/Xorg.0.log\" for additional information.\n(EE) \n(EE) Server terminated with error (1). Closing log file.\n"
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: quitting helper-start-x11
Jul 02 08:52:46 arch sddm-helper[644]: pam_unix(sddm-greeter:session): session closed for user sddm
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: Stopping server...
Jul 02 08:52:46 arch sddm-helper-start-x11user[651]: Running display stop script: /usr/share/sddm/scripts/Xstop
Jul 02 08:52:46 arch sddm-helper[644]: [PAM] Closing session
Jul 02 08:52:46 arch sddm-helper[644]: [PAM] Ended.
Jul 02 08:52:46 arch sddm[553]: Auth: sddm-helper exited successfully
Jul 02 08:52:46 arch sddm[553]: Greeter stopped. SDDM::Auth::HELPER_SUCCESS
Jul 02 08:52:56 arch (sd-pam)[601]: pam_unix(systemd-user:session): session closed for user sddm
Jul 02 08:54:38 arch sddm[553]: Signal received: SIGTERM
Jul 02 08:54:38 arch sddm[553]: Socket server stopping...
Jul 02 08:54:38 arch sddm[553]: Socket server stopped.
Jul 02 08:54:38 arch systemd[1]: sddm.service: Deactivated successfully.

Last edited by helloworld918441 (2025-07-02 07:31:12)

Offline

#4 2025-07-02 07:48:51

helloworld918441
Member
Registered: 2025-06-29
Posts: 3

Re: Can't use iGPU, output freezes after "loading systemd-udevd .." (VFIO)

Turns out the monitor's scale in the display settings was set to 105%, set it back to 100% and everything is fine
Couldn't get x11 SDDM to work, but used This and got it working properly on Wayland

Offline

Board footer

Powered by FluxBB