Hello everyone,
I’m currently trying to set up GPU passthrough on my Manjaro i3 system, and in order to do so, I need to disable my NVIDIA graphics card during startup and have LightDM use my integrated Intel HD Graphics card instead. My CPU is an Intel Core i7-4790K and my graphics card is an NVIDIA GeForce RTX 2080 Rev. A.
I’ve successfully done this in the past, but now, when I try to do it again, LightDM crashes during startup. I can see a TTY on my Intel HD Graphics display, but LightDM won’t start. Here’s the log file for LightDM:
avril 22 16:37:52 home systemd[1]: Starting Light Display Manager...
avril 22 16:37:52 home systemd[1]: Started Light Display Manager.
avril 22 16:37:53 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:37:53 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:53 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
avril 22 16:37:53 home systemd[1]: Stopped Light Display Manager.
avril 22 16:37:53 home systemd[1]: Starting Light Display Manager...
avril 22 16:37:53 home systemd[1]: Started Light Display Manager.
avril 22 16:37:53 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:37:53 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:53 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
avril 22 16:37:53 home systemd[1]: Stopped Light Display Manager.
avril 22 16:37:53 home systemd[1]: Starting Light Display Manager...
avril 22 16:37:53 home systemd[1]: Started Light Display Manager.
avril 22 16:37:53 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:37:53 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:53 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
avril 22 16:37:53 home systemd[1]: Stopped Light Display Manager.
avril 22 16:37:53 home systemd[1]: Starting Light Display Manager...
avril 22 16:37:53 home systemd[1]: Started Light Display Manager.
avril 22 16:37:53 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:37:53 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:54 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
avril 22 16:37:54 home systemd[1]: Stopped Light Display Manager.
avril 22 16:37:54 home systemd[1]: Starting Light Display Manager...
avril 22 16:37:54 home systemd[1]: Started Light Display Manager.
avril 22 16:37:54 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:37:54 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:54 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
avril 22 16:37:54 home systemd[1]: Stopped Light Display Manager.
avril 22 16:37:54 home systemd[1]: lightdm.service: Start request repeated too quickly.
avril 22 16:37:54 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:37:54 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:43:22 home systemd[1]: Starting Light Display Manager...
avril 22 16:43:22 home systemd[1]: Started Light Display Manager.
avril 22 16:43:23 home lightdm[1033]: pam_unix(lightdm-greeter:session): session opened for user lightdm(uid=969) by (uid=0)
avril 22 16:43:24 home lightdm[1107]: pam_systemd_home(lightdm:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
avril 22 16:43:28 home lightdm[1107]: gkr-pam: unable to locate daemon control file
avril 22 16:43:28 home lightdm[1107]: gkr-pam: stashed password to try later in open session
avril 22 16:43:28 home lightdm[1107]: pam_unix(lightdm:session): session opened for user home(uid=1000) by (uid=0)
avril 22 16:43:28 home lightdm[1107]: gkr-pam: unlocked login keyring
avril 22 16:46:37 home systemd[1]: Stopping Light Display Manager...
avril 22 16:46:38 home systemd[1]: lightdm.service: Deactivated successfully.
avril 22 16:46:38 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:38 home systemd[1]: lightdm.service: Consumed 4.527s CPU time.
avril 22 16:46:38 home systemd[1]: Starting Light Display Manager...
avril 22 16:46:38 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:46:38 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:38 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:46:38 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 1.
avril 22 16:46:38 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:38 home systemd[1]: Starting Light Display Manager...
avril 22 16:46:38 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:46:38 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:38 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:46:38 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 2.
avril 22 16:46:38 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:38 home systemd[1]: Starting Light Display Manager...
avril 22 16:46:38 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:46:38 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:38 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:46:38 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 3.
avril 22 16:46:38 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:38 home systemd[1]: Starting Light Display Manager...
avril 22 16:46:38 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:46:38 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:38 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:46:39 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 4.
avril 22 16:46:39 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:39 home systemd[1]: Starting Light Display Manager...
avril 22 16:46:39 home systemd[1]: lightdm.service: Main process exited, code=exited, status=1/FAILURE
avril 22 16:46:39 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:39 home systemd[1]: Failed to start Light Display Manager.
avril 22 16:46:39 home systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
avril 22 16:46:39 home systemd[1]: Stopped Light Display Manager.
avril 22 16:46:39 home systemd[1]: lightdm.service: Start request repeated too quickly.
avril 22 16:46:39 home systemd[1]: lightdm.service: Failed with result 'exit-code'.
avril 22 16:46:39 home systemd[1]: Failed to start Light Display Manager.
Here’s the config file for X11:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 530.41.03
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 "nvidia"
# VendorName "NVIDIA Corporation"
# Option "NoLogo" "1"
#EndSection
Section "Device"
Identifier "Intel Graphics"
Driver "intel"
Endsection
Section "Screen"
Identifier "Screen0"
# Device "Device0"
Device "Intel Graphics"
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
Has anyone else run into this issue, or have any suggestions on how to get lightdm to use my integrated graphics instead of my Nvidia card? Any help would be greatly appreciated!
Thanks in advance.