Re: GTX 1650 could not work on nvidia-driver-470.63.01_1

From: John Kennedy <warlock_at_phouka.net>
Date: Thu, 09 Sep 2021 02:48:32 UTC
On Thu, Sep 09, 2021 at 11:23:02AM +0900, KIRIYAMA Kazuhiko wrote:
...
> [  4575.765] (==) ServerLayout "X.org Configured"
> [  4575.766] (**) |-->Screen "Screen0" (0)
> [  4575.766] (**) |   |-->Monitor "Monitor0"
> [  4575.766] (**) |   |-->Device "Card0"
> [  4575.766] (**) |-->Screen "Screen1" (1)
> [  4575.766] (**) |   |-->Monitor "Monitor1"
> [  4575.766] (**) |   |-->Device "Card1"
> [  4575.766] (**) |-->Input Device "Mouse0"
> [  4575.766] (**) |-->Input Device "Keyboard0"
....
> [  4575.767] (!!) More than one possible primary device found
> [  4575.767] (--) PCI: (3@0:0:0) 1a03:2000:15d9:095d rev 65, Mem @ 0xa9000000/16777216, 0xaa000000/131072, I/O @ 0x00003000/128, BIOS @ 0x????????/65536
> [  4575.767] (--) PCI: (23@0:0:0) 10de:1f82:19da:1596 rev 161, Mem @ 0xc4000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00007000/128, BIOS @ 0x????????/65536
...
> [  4576.038] (EE) No devices detected.
> [  4576.038] (EE) 
> Fatal server error:
> [  4576.038] (EE) no screens found(EE) 
> [  4576.039] (EE) 
...

  I don't have a dual-card Nvidia, but I do have some experience (not always
good) with a different dual-card setup.  My experience with a single-card
Nvidia system is that I only got it working with nvidia-xconfig's help.

  If that behaves like my radeons did, you won't be able to drag windows
between two cards without extra Nvidia-specific glue (options), which
nvidia-xconfig will probably help out with.

  Based on my other system, this might be your base issue:

	Section "Device"
	    Identifier     "Card0"
	    Driver         "nvidia"
-->	    BusID          "PCI:101:0:0"
	EndSection
	
	Section "Device"
...
	    Identifier     "Card1"
	    Driver         "nvidia"
	    BusID          "PCI:3:0:0"
	EndSection

  Up above, the two cards were detected as PCI: (3@0:0:0) and PCI: (23@0:0:0).

  With my dual-radeon setup, I had all kinds of issues which I haven't fully
figured out with the layout of the screens cascade-failing and ending up with
that vague-but-basically-true error.  Divide and conquer by just configuring
one card at a time.

  The stock advice of "Don't have a xorg.conf file, let X figure it out"
really seems to fall on it's face with multiple cards, but I'd probably take
the time to strip out the mouse and keyboard configuration unless you really
need it.