You are not logged in.

#1 2021-08-22 07:30:27

pollen
Member
Registered: 2021-05-27
Posts: 13

[Solved] Xorg "No devices detected" with two gpus

I've been trying to setup gpu passthrough, so I have a GTX 1060 6GB and a GT 710 hooked up to my pc. I've had to patch and compile the kernel due to the "Unknown PCI header type '127'" error (Patch and error here: https://wiki.archlinux.org/title/PCI_pa … 2%80%99%22)

Everything works just fine on the normal kernel, but it breaks on the patched kernel.
Here's my Xorg logs and my dmesg output when on the patched kernel: https://paste.ppeb.me/uwutevoteg https://paste.ppeb.me/nalevemipe

I've looked around through various posts and most of them have some variation of "set some device settings in xorg config", which I've done. This config fixed it for the normal kernel but not on the patched one.

/etc/X11/xorg.conf.d/10-nvidia.conf
Section "Device"
        Identifier      "GTX1060"
        Driver          "nvidia"
        VendorName      "NVIDIA Corporation"
        BusID           "PCI:39:0:0"
EndSection

I've also taken a look at this page (https://wiki.archlinux.org/title/NVIDIA … tiple_GPUs) to no avail, so I'm at a loss here.
Any help is much appreciated.

Last edited by pollen (2021-08-22 13:59:05)

Offline

#2 2021-08-22 09:38:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,659

Re: [Solved] Xorg "No devices detected" with two gpus

Kernel modules are built per kernel. You need to also build the nvidia module for your custom kernel. This is easiest done by having the headers package of your patched (and the normal) kernel installed and installing nvidia-dkms as opposed to the standard nvidia package.

Offline

#3 2021-08-22 13:58:21

pollen
Member
Registered: 2021-05-27
Posts: 13

Re: [Solved] Xorg "No devices detected" with two gpus

That worked, thanks. I must have missed that somewhere while trying to solve it.

Marking as solved.

Offline

Board footer

Powered by FluxBB