I have an otherwise-working X configuration that uses BaseMosaic, which won’t start when I add nvidia-drm.modeset=1 to my kernel command line. I see from the documentation that “The NVIDIA DRM KMS implementation is currently incompatible with SLI Mosaic”, but it doesn’t say anything about BaseMosaic so I can’t tell whether this is expected to work or not.
Here’s my xorg.conf:
Section "Files"
FontPath "/nix/store/q1pv2aa9hfhyf9wmav5yd7wwva0y13vj-font-misc-misc-1.1.2/lib/X11/fonts/misc"
FontPath "/nix/store/djmvw3b6ykfjir6aq2lv5qhx5ckn20q1-font-cursor-misc-1.0.3/lib/X11/fonts/misc"
FontPath "/nix/store/ic2hbn9r3lbjx6y11bdv9yqw482dv55x-unifont-13.0.05/share/fonts"
FontPath "/nix/store/c4vvsbyh6rx20sdh20gz64vz0ikbh2w2-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi"
FontPath "/nix/store/5nslf18dfllcwk6rmf763y1abij67hp6-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi"
FontPath "/nix/store/znl2xl1cqmlh09iawnlpn26bn7a5fbw3-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi"
FontPath "/nix/store/34rs50dd5z3k757w87zbhyanzrnfn00y-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi"
FontPath "/nix/store/llgjvaskfvyaf7adg58343zsxbmg4hxa-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi"
ModulePath "/nix/store/rwcbryaicd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/drivers"
ModulePath "/nix/store/rwcbryaicd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/extensions"
ModulePath "/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules"
ModulePath "/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/drivers"
ModulePath "/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/extensions"
ModulePath "/nix/store/jch95m5b21ab3h3d2xcfv56d5sspg1xc-xf86-input-evdev-2.10.6/lib/xorg/modules/input"
ModulePath "/nix/store/7q36x0k6ihh5z1yxk7g7smga3sxyl06y-xf86-input-libinput-1.1.0/lib/xorg/modules/input"
EndSection
Section "ServerLayout"
Identifier "Layout"
Screen 0 "Screen0" 0 0
Option "Xinerama" "0"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
BusID "PCI:65:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Option "nvidiaXineramaInfoOrder" "DFP-0"
Option "metamodes" "GPU-d78c3df2-35c0-aac8-3241-71c50dd1d345.GPU-0.DP-2: 3840x4320 +7680+0, GPU-d78c3df2-35c0-aac8-3241-71c50dd1d345.GPU-0.DP-0: 3840x4320 +3840+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-2: 3840x2160 +0+2160, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-0: 3840x2160 +0+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-4: 3840x2160 +11520+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.USB-C-0: 3840x2160 +11520+2160"
Option "Stereo" "0"
Option "MultiGPU" "off"
Option "SLI" "off"
Option "BaseMosaic" "on"
EndSection
Section "InputClass"
Identifier "libinputConfiguration"
MatchDriver "libinput"
Option "AccelProfile" "adaptive"
Option "LeftHanded" "off"
Option "MiddleEmulation" "off"
Option "NaturalScrolling" "off"
Option "SendEventsMode" "enabled"
Option "DisableWhileTyping" "off"
EndSection
and here’s my X.0.log on the failed startup:
[ 27.798]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 27.798] Build Operating System: Linux 5.4.122 x86_64
[ 27.798] Current Operating System: Linux moosilauke 5.10.45 #1-NixOS SMP Fri Jun 18 08:00:06 UTC 2021 x86_64
[ 27.798] Kernel command line: initrd=\efi\nixos\r2iz0g1ixq30ssdsxiif4kxg2j1hwxfk-initrd-linux-5.10.45-initrd.efi init=/nix/store/gkpbz9chjy183f62ig70wb563
m0bfkzy-nixos-system-moosilauke-21.11pre299299.3a8d7958a61/init amd_iommu=off loglevel=4 nvidia-drm.modeset=1
[ 27.798] Build Date: 13 April 2021 02:12:45PM
[ 27.798]
[ 27.798] Current version of pixman: 0.38.4
[ 27.798] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 27.798] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 27.798] (++) Log file: "/var/log/X.0.log", Time: Mon Jul 19 17:49:10 2021
[ 27.798] (++) Using config file: "/nix/store/pc3n8sb1hwn6qbmdy1s52yy9421wjwrr-xserver.conf"
[ 27.798] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 27.798] (==) Using system config directory "/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/share/X11/xorg.conf.d"
[ 27.798] (==) ServerLayout "Layout"
[ 27.798] (**) |-->Screen "Screen0" (0)
[ 27.798] (**) | |-->Monitor "<default monitor>"
[ 27.798] (**) | |-->Device "Device0"
[ 27.798] (==) No monitor specified for screen "Screen0".
Using a default monitor configuration.
[ 27.798] (**) Option "Xinerama" "0"
[ 27.798] (==) Automatically adding devices
[ 27.798] (==) Automatically enabling devices
[ 27.798] (==) Automatically adding GPU devices
[ 27.798] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 27.798] (**) FontPath set to:
/nix/store/q1pv2aa9hfhyf9wmav5yd7wwva0y13vj-font-misc-misc-1.1.2/lib/X11/fonts/misc,
/nix/store/djmvw3b6ykfjir6aq2lv5qhx5ckn20q1-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
/nix/store/ic2hbn9r3lbjx6y11bdv9yqw482dv55x-unifont-13.0.05/share/fonts,
/nix/store/c4vvsbyh6rx20sdh20gz64vz0ikbh2w2-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
/nix/store/5nslf18dfllcwk6rmf763y1abij67hp6-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
/nix/store/znl2xl1cqmlh09iawnlpn26bn7a5fbw3-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
/nix/store/34rs50dd5z3k757w87zbhyanzrnfn00y-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
/nix/store/llgjvaskfvyaf7adg58343zsxbmg4hxa-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[ 27.798] (**) ModulePath set to "/nix/store/rwcbryaicd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/drivers,/nix/store/rwcbryai
cd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/extensions,/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg
/modules,/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/drivers,/nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20
.11/lib/xorg/modules/extensions,/nix/store/jch95m5b21ab3h3d2xcfv56d5sspg1xc-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/7q36x0k6ihh5z1yxk7g7smga
3sxyl06y-xf86-input-libinput-1.1.0/lib/xorg/modules/input"
[ 27.798] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 27.798] (II) Loader magic: 0x62cd40
[ 27.798] (II) Module ABI versions:
[ 27.798] X.Org ANSI C Emulation: 0.4
[ 27.798] X.Org Video Driver: 24.1
[ 27.799] X.Org XInput driver : 24.1
[ 27.799] X.Org Server Extension : 10.0
[ 27.799] (++) using VT number 7
[ 27.799] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 27.799] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 27.800] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 27.804] (--) PCI: (45@0:0:0) 10de:1eb1:10de:12a0 rev 161, Mem @ 0xc2000000/16777216, 0x1c060000000/268435456, 0x1c070000000/33554432, I/O @ 0x00006000/12
8, BIOS @ 0x????????/524288
[ 27.804] (--) PCI:*(65@0:0:0) 10de:1eb1:10de:12a0 rev 161, Mem @ 0xc9000000/16777216, 0x18030000000/268435456, 0x18040000000/33554432, I/O @ 0x00007000/12
8, BIOS @ 0x????????/524288
[ 27.804] (II) Open ACPI successful (/var/run/acpid.socket)
[ 27.804] (II) LoadModule: "glx"
[ 27.805] (II) Loading /nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/extensions/libglx.so
[ 27.805] (II) Module glx: vendor="X.Org Foundation"
[ 27.805] compiled for 1.20.11, module version = 1.0.0
[ 27.805] ABI class: X.Org Server Extension, version 10.0
[ 27.805] (II) LoadModule: "nvidia"
[ 27.805] (II) Loading /nix/store/rwcbryaicd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/drivers/nvidia_drv.so
[ 27.805] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 27.805] compiled for 1.6.99.901, module version = 1.0.0
[ 27.805] Module class: X.Org Video Driver
[ 27.805] (II) NVIDIA dlloader X Driver 460.73.01 Thu Apr 1 21:37:53 UTC 2021
[ 27.805] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 27.805] (II) Loading sub module "fb"
[ 27.805] (II) LoadModule: "fb"
[ 27.805] (II) Loading /nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/libfb.so
[ 27.805] (II) Module fb: vendor="X.Org Foundation"
[ 27.805] compiled for 1.20.11, module version = 1.0.0
[ 27.805] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.805] (II) Loading sub module "wfb"
[ 27.805] (II) LoadModule: "wfb"
[ 27.805] (II) Loading /nix/store/q1ciimagm85x529snswp8s93bv5rksgw-xorg-server-1.20.11/lib/xorg/modules/libwfb.so
[ 27.806] (II) Module wfb: vendor="X.Org Foundation"
[ 27.806] compiled for 1.20.11, module version = 1.0.0
[ 27.806] ABI class: X.Org ANSI C Emulation, version 0.4
[ 27.806] (II) Loading sub module "ramdac"
[ 27.806] (II) LoadModule: "ramdac"
[ 27.806] (II) Module "ramdac" already built-in
[ 27.806] (II) NVIDIA(0): Creating default Display subsection in Screen section
"Screen0" for depth/fbbpp 24/32
[ 27.806] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 27.806] (==) NVIDIA(0): RGB weight 888
[ 27.806] (==) NVIDIA(0): Default visual is TrueColor
[ 27.806] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.806] (**) NVIDIA(0): Option "Stereo" "0"
[ 27.806] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[ 27.806] (**) NVIDIA(0): Option "SLI" "off"
[ 27.806] (**) NVIDIA(0): Option "MultiGPU" "off"
[ 27.806] (**) NVIDIA(0): Option "BaseMosaic" "on"
[ 27.806] (**) NVIDIA(0): Stereo disabled by request
[ 27.806] (**) NVIDIA(0): NVIDIA SLI disabled.
[ 27.806] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[ 27.806] (**) NVIDIA(0): Option "MetaModes" "GPU-d78c3df2-35c0-aac8-3241-71c50dd1d345.GPU-0.DP-2: 3840x4320 +7680+0, GPU-d78c3df2-35c0-aac8-3241-71c50dd1d345.GPU-0.DP-0: 3840x4320 +3840+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-2: 3840x2160 +0+2160, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-0: 3840x2160 +0+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.DP-4: 3840x2160 +11520+0, GPU-0e07e514-7616-b55f-0297-f71070feee62.GPU-1.USB-C-0: 3840x2160 +11520+2160"
[ 27.806] (**) NVIDIA(0): Enabling 2D acceleration
[ 27.806] (II) Loading sub module "glxserver_nvidia"
[ 27.806] (II) LoadModule: "glxserver_nvidia"
[ 27.806] (II) Loading /nix/store/rwcbryaicd6ilzga391g3lv9bdx7lndb-nvidia-x11-460.73.01-5.10.45-bin/lib/xorg/modules/extensions/libglxserver_nvidia.so
[ 27.809] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 27.809] compiled for 1.6.99.901, module version = 1.0.0
[ 27.809] Module class: X.Org Server Extension
[ 27.809] (II) NVIDIA GLX Module 460.73.01 Thu Apr 1 21:35:16 UTC 2021
[ 27.809] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 27.809] (II) NVIDIA(GPU-0): NVIDIA Base Mosaic enabled.
[ 27.810] (EE) NVIDIA(GPU-0): Failed to select a display subsystem.
[ 27.810] (EE) NVIDIA(GPU-0): Only one GPU will be used for this X screen.
[ 27.810] (EE) NVIDIA(GPU-0): The NVIDIA graphics device PCI:65:0:0 is part of an active SLI
[ 27.810] (EE) NVIDIA(GPU-0): configuration and is currently unavailable for single GPU
[ 27.810] (EE) NVIDIA(GPU-0): rendering. Please see Chapter 30: Configuring SLI and
[ 27.810] (EE) NVIDIA(GPU-0): Multi-GPU Mosaic in the README for troubleshooting
[ 27.810] (EE) NVIDIA(GPU-0): information.
[ 27.810] (EE) *** Aborting ***
[ 27.810] (EE) NVIDIA(0): Failing initialization of X screen
[ 27.810] (II) UnloadModule: "nvidia"
[ 27.810] (II) UnloadSubModule: "glxserver_nvidia"
[ 27.810] (II) Unloading glxserver_nvidia
[ 27.810] (II) UnloadSubModule: "wfb"
[ 27.810] (II) UnloadSubModule: "fb"
[ 27.810] (==) NVIDIA(G0): Depth 24, (==) framebuffer bpp 32
[ 27.810] (==) NVIDIA(G0): RGB weight 888
[ 27.810] (==) NVIDIA(G0): Default visual is TrueColor
[ 27.810] (==) NVIDIA(G0): Using gamma correction (1.0, 1.0, 1.0)
[ 27.810] (**) NVIDIA(G0): Option "Stereo" "0"
[ 27.810] (**) NVIDIA(G0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[ 27.810] (**) NVIDIA(G0): Option "SLI" "off"
[ 27.810] (**) NVIDIA(G0): Option "MultiGPU" "off"
[ 27.810] (**) NVIDIA(G0): Option "BaseMosaic" "on"
[ 27.810] (**) NVIDIA(G0): Stereo disabled by request
[ 27.810] (**) NVIDIA(G0): NVIDIA SLI disabled.
[ 27.810] (**) NVIDIA(G0): NVIDIA Multi-GPU disabled.
[ 27.810] (WW) NVIDIA(G0): Base Mosaic is available only on screen 0. Disabling Base
[ 27.810] (WW) NVIDIA(G0): Mosaic.
[ 27.810] (EE) NVIDIA(G0): Only one X screen is supported when Base Mosaic is enabled.
[ 27.810] (EE) NVIDIA(G0): Disabling this screen.
[ 27.810] (EE) NVIDIA(G0): Failing initialization of X screen
[ 27.810] (II) UnloadModule: "nvidia"
[ 27.810] (II) UnloadSubModule: "wfb"
[ 27.810] (II) UnloadSubModule: "fb"
[ 27.810] (EE) Screen(s) found, but none have a usable configuration.
[ 27.810] (EE)
Fatal server error:
[ 27.810] (EE) no screens found(EE)
[ 27.810] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 27.810] (EE) Please also check the log file at "/var/log/X.0.log" for additional information.
[ 27.810] (EE)
[ 27.811] (EE) Server terminated with error (1). Closing log file.