Qemu kvm GPU passtrough not working

Hmm. Lets work from the other direction then. What does sudo systemctl status lightdm.service say?

the output is as followd

 ● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor>
     Active: failed (Result: exit-code) since Thu 2020-05-21 22:43:50 CEST; 6>
       Docs: man:lightdm(1)
    Process: 1043 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1043 (code=exited, status=1/FAILURE)

mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Scheduled restart>
mei 21 22:43:50 kylian-manjaro systemd[1]: Stopped Light Display Manager.
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Start request rep>
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Failed with resul>
mei 21 22:43:50 kylian-manjaro systemd[1]: Failed to start Light Display Mana>
lines 1-12/12 (END)










































● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2020-05-21 22:43:50 CEST; 6min ago
       Docs: man:lightdm(1)
    Process: 1043 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1043 (code=exited, status=1/FAILURE)

mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
mei 21 22:43:50 kylian-manjaro systemd[1]: Stopped Light Display Manager.
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Start request repeated too quickly.
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Failed with result 'exit-code'.
mei 21 22:43:50 kylian-manjaro systemd[1]: Failed to start Light Display Manager.
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

Looks like it is a bit cut off.

i ran it again and it looks like it just hat a lot of empty enters in it seccond time i ran it did the folowing

● lightdm.service - Light Display Manager
     Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled; vendor preset: disabled)
     Active: failed (Result: exit-code) since Thu 2020-05-21 22:43:50 CEST; 13min ago
       Docs: man:lightdm(1)
    Process: 1043 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
   Main PID: 1043 (code=exited, status=1/FAILURE)

mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Scheduled restart job, restart counter is at 5.
mei 21 22:43:50 kylian-manjaro systemd[1]: Stopped Light Display Manager.
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Start request repeated too quickly.
mei 21 22:43:50 kylian-manjaro systemd[1]: lightdm.service: Failed with result 'exit-code'.
mei 21 22:43:50 kylian-manjaro systemd[1]: Failed to start Light Display Manager.

also the output of
inxi -G gives me the idea the nvidia drivers are not installed corectly even after re installing them completly

Graphics:  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] driver: N/A 
           Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: vfio-pci 
           v: 0.2 
           Display: server: X.org 1.20.8 driver: none FAILED: nvidia tty: 158x42 
           Message: Advanced graphics data unavailable in console. Try -G --display

Seems so. I haven’t used manjaro so I don’t know what it needs to get the Nvidia drivers working.

wen i installed manjaro for the first time it just worked out of the box with driver and all.
i see if i can get the driver working tomorow (it is geting realy late here)

so far i am really thankful for al the help you have given me!

1 Like

No problem. You are further along then when you started, so thats good.

1 Like

i get the idea the driver is iunstalled but at the same time is not.

 kylian  kylian-manjaro  SSH  ~  $  mhwd -li
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI
    video-nvidia-435xx            2019.10.25               false            PCI


Warning: No installed USB configs!
 kylian  kylian-manjaro  SSH  ~  $  inxi -G
Graphics:  Device-1: NVIDIA GP102 [GeForce GTX 1080 Ti] driver: N/A 
           Device-2: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] driver: vfio-pci 
           v: 0.2 
           Display: server: X.org 1.20.8 driver: none FAILED: nvidia tty: 158x42 
           Message: Advanced graphics data unavailable in console. Try -G --display 
 kylian  kylian-manjaro  SSH  ~  $ 

Sorry for the late reply, must have missed the notification.


Seem likely that it is the nvidia driver kernel module. It’s been a while since I have had an issue with this, and not on an arch based system.

sudo dkms status should give you the status of addon kernel modules. sudo lsmod gives you the modules that are in the kernel. The nvidia non-free driver module is just called nvidia