PRIME Sync with amdgpu has black screen for internal display

I am trying to get Prime Sync working with an amdgpu integrated graphics. Currently, I am able to get either the amdgpu or NVIDIA card working with xorg but not together at the same time.

With the attached config, external displays work but the laptop’s internal screen is black/empty.

xrandr gives a strange error.

$ xrandr --setprovideroutputsource 1 0
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  140 (RANDR)
  Minor opcode of failed request:  35 (RRSetProviderOutputSource)
  Value in failed request:  0x208
  Serial number of failed request:  16
  Current serial number in output stream:  17

My xorg.conf

Section "ServerLayout"
  Identifier "Layout[all]"
  Inactive "Device-amdgpu[0]"
  Screen "Screen-nvidia[0]"
EndSection

Section "Device"
  Identifier "Device-amdgpu[0]"
  Driver "amdgpu"
  BusID "PCI:4:0:0"
  Option "AccelMethod" "none"
EndSection

Section "Device"
  Identifier "Device-nvidia[0]"
  Driver "nvidia"
  BusID "PCI:1:0:0"
EndSection

Section "Screen"
  Identifier "Screen-nvidia[0]"
  Device "Device-nvidia[0]"
  Option "RandRRotation" "on"
  Option "AllowEmptyInitialConfiguration"
EndSection

My xorg log

[    10.733]
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[    10.733] Build Operating System: Nix
[    10.733] Current Operating System: Linux ray 5.10.81 #1-NixOS SMP Sun Nov 21 12:46:37 UTC 2021 x86_64
[    10.733] Kernel command line: BOOT_IMAGE=(hd2,gpt6)//kernels/hprwry55jwyd71ng7v7c2rhk3a3z1im8-linux-5.10.81-bzImage init=/nix/store/83zlqmpmhhk168v15z72jl96i4k47rn3-nixos-system-ray-21.11.20211210.5730959/init amdgpu.backlight=0 loglevel=4 nvidia-drm.modeset=1
[    10.733] Build Date: 29 July 2021  06:48:50PM
[    10.733]
[    10.733] Current version of pixman: 0.38.4
[    10.733] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    10.733] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    10.733] (++) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 27 00:50:08 2021
[    10.734] (++) Using config file: "/nix/store/6vi3h0qn5f452kfcbvbjdhfc2pj9hwgk-xserver.conf"
[    10.734] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    10.734] (==) Using system config directory "/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/share/X11/xorg.conf.d"
[    10.734] (==) ServerLayout "Layout[all]"
[    10.734] (**) |-->Screen "Screen-nvidia[0]" (0)
[    10.734] (**) |   |-->Monitor "<default monitor>"
[    10.734] (**) |   |-->Device "Device-nvidia[0]"
[    10.734] (**) |   |-->GPUDevice "Device-nvidia[0]"
[    10.734] (==) No monitor specified for screen "Screen-nvidia[0]".
	Using a default monitor configuration.
[    10.734] (**) |-->Inactive Device "Device-amdgpu[0]"
[    10.734] (**) Option "DontZap" "on"
[    10.734] (**) Option "AllowMouseOpenFail" "on"
[    10.734] (==) Automatically adding devices
[    10.734] (==) Automatically enabling devices
[    10.734] (==) Automatically adding GPU devices
[    10.734] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    10.737] (**) FontPath set to:
	/nix/store/632n4xlg34680fr8byv709klnmfg0237-unifont-14.0.01/share/fonts,
	/nix/store/ff8hi9nsd2k4nwz66jnjzq4g376wq971-font-cursor-misc-1.0.3/lib/X11/fonts/misc,
	/nix/store/izn2hvidpv6dy40ag7jrkglvcqcx3saq-font-misc-misc-1.1.2/lib/X11/fonts/misc,
	/nix/store/dd3ykix9y75ayyjmjz99kl2py22d3b3h-font-bh-lucidatypewriter-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/yyqck8sxxbbi8gfj8n2hx9dy05pyl1pb-font-bh-lucidatypewriter-75dpi-1.0.3/lib/X11/fonts/75dpi,
	/nix/store/ndyj31kky64n69599k5dyyvg9p6b2kyc-font-bh-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/grqmkmy5yfhwbq330ymw4w77sf4pyfsq-font-adobe-100dpi-1.0.3/lib/X11/fonts/100dpi,
	/nix/store/01brda3762mcc57f1ffpy83a11jki3pw-font-adobe-75dpi-1.0.3/lib/X11/fonts/75dpi
[    10.737] (**) ModulePath set to "/nix/store/i62x9pgn9rkgg04py78jwvr6lzggk1ny-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers,/nix/store/fyj4zr0a94wrw1sr4l2zy1b7vyn1qdw2-nvidia-x11-495.44-5.10.81-bin/lib/xorg/modules/drivers,/nix/store/fyj4zr0a94wrw1sr4l2zy1b7vyn1qdw2-nvidia-x11-495.44-5.10.81-bin/lib/xorg/modules/extensions,/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules,/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/drivers,/nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/extensions,/nix/store/g5a5i49hki93d906gifgnlfrzxi7sqjz-xf86-input-evdev-2.10.6/lib/xorg/modules/input,/nix/store/4xa932i1inv1gg19g1pqj5r6dndb6hbc-xf86-input-libinput-1.2.0/lib/xorg/modules/input"
[    10.737] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    10.737] (II) Loader magic: 0x62dd40
[    10.737] (II) Module ABI versions:
[    10.737] 	X.Org ANSI C Emulation: 0.4
[    10.737] 	X.Org Video Driver: 24.1
[    10.737] 	X.Org XInput driver : 24.1
[    10.737] 	X.Org Server Extension : 10.0
[    10.738] (++) using VT number 7

[    10.738] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    10.738] (II) xfree86: Adding drm device (/dev/dri/card0)
[    10.761] (II) xfree86: Adding drm device (/dev/dri/card1)
[    10.774] (--) PCI: (1@0:0:0) 10de:249c:1a58:2014 rev 161, Mem @ 0xfb000000/16777216, 0xf800000000/17179869184, 0xfc00000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/524288
[    10.774] (--) PCI:*(4@0:0:0) 1002:1638:1a58:2014 rev 196, Mem @ 0xfc10000000/268435456, 0xfc20000000/2097152, 0xfc500000/524288, I/O @ 0x0000e000/256
[    10.774] (II) Open ACPI successful (/var/run/acpid.socket)
[    10.774] (II) "glx" will be loaded by default.
[    10.774] (II) LoadModule: "glx"
[    10.775] (II) Loading /nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/extensions/libglx.so
[    10.780] (II) Module glx: vendor="X.Org Foundation"
[    10.780] 	compiled for 1.20.13, module version = 1.0.0
[    10.780] 	ABI class: X.Org Server Extension, version 10.0
[    10.780] (II) LoadModule: "nvidia"
[    10.780] (II) Loading /nix/store/fyj4zr0a94wrw1sr4l2zy1b7vyn1qdw2-nvidia-x11-495.44-5.10.81-bin/lib/xorg/modules/drivers/nvidia_drv.so
[    10.787] (II) Module nvidia: vendor="NVIDIA Corporation"
[    10.787] 	compiled for 1.6.99.901, module version = 1.0.0
[    10.787] 	Module class: X.Org Video Driver
[    10.787] (II) LoadModule: "amdgpu"
[    10.787] (II) Loading /nix/store/i62x9pgn9rkgg04py78jwvr6lzggk1ny-xf86-video-amdgpu-21.0.0/lib/xorg/modules/drivers/amdgpu_drv.so
[    10.790] (II) Module amdgpu: vendor="X.Org Foundation"
[    10.790] 	compiled for 1.20.13, module version = 21.0.0
[    10.790] 	Module class: X.Org Video Driver
[    10.790] 	ABI class: X.Org Video Driver, version 24.1
[    10.790] (II) NVIDIA dlloader X Driver  495.44  Fri Oct 22 06:11:21 UTC 2021
[    10.790] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    10.790] (II) AMDGPU: Driver for AMD Radeon:
	All GPUs supported by the amdgpu kernel driver
[    10.808] (II) Loading sub module "fb"
[    10.808] (II) LoadModule: "fb"
[    10.809] (II) Loading /nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/libfb.so
[    10.810] (II) Module fb: vendor="X.Org Foundation"
[    10.810] 	compiled for 1.20.13, module version = 1.0.0
[    10.810] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.810] (II) Loading sub module "wfb"
[    10.810] (II) LoadModule: "wfb"
[    10.810] (II) Loading /nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/libwfb.so
[    10.811] (II) Module wfb: vendor="X.Org Foundation"
[    10.811] 	compiled for 1.20.13, module version = 1.0.0
[    10.811] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    10.811] (II) Loading sub module "ramdac"
[    10.811] (II) LoadModule: "ramdac"
[    10.811] (II) Module "ramdac" already built-in
[    10.816] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Screen-nvidia[0]" for depth/fbbpp 24/32
[    10.816] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    10.816] (==) NVIDIA(0): RGB weight 888
[    10.816] (==) NVIDIA(0): Default visual is TrueColor
[    10.816] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    10.816] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    10.816] (**) NVIDIA(0): Enabling 2D acceleration
[    10.816] (II) Loading sub module "glxserver_nvidia"
[    10.816] (II) LoadModule: "glxserver_nvidia"
[    10.816] (II) Loading /nix/store/fyj4zr0a94wrw1sr4l2zy1b7vyn1qdw2-nvidia-x11-495.44-5.10.81-bin/lib/xorg/modules/extensions/libglxserver_nvidia.so
[    10.856] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[    10.856] 	compiled for 1.6.99.901, module version = 1.0.0
[    10.856] 	Module class: X.Org Server Extension
[    10.856] (II) NVIDIA GLX Module  495.44  Fri Oct 22 06:08:29 UTC 2021
[    10.856] (II) NVIDIA: The X server supports PRIME Render Offload.
[    10.857] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[    10.857] (--) NVIDIA(0):     DFP-0
[    10.857] (--) NVIDIA(0):     DFP-1
[    10.857] (--) NVIDIA(0):     DFP-2 (boot)
[    10.857] (--) NVIDIA(0):     DFP-3
[    10.857] (--) NVIDIA(0):     DFP-4
[    10.857] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3080 Laptop GPU (GA104-A) at
[    10.857] (II) NVIDIA(0):     PCI:1:0:0 (GPU-0)
[    10.857] (--) NVIDIA(0): Memory: 8388608 kBytes
[    10.857] (--) NVIDIA(0): VideoBIOS: 94.04.4f.00.18
[    10.857] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[    10.857] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    10.857] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    10.857] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock
[    10.857] (--) NVIDIA(GPU-0):
[    10.857] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    10.857] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    10.857] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    10.857] (--) NVIDIA(GPU-0):
[    10.901] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): connected
[    10.901] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): Internal TMDS
[    10.901] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): 600.0 MHz maximum pixel clock
[    10.901] (--) NVIDIA(GPU-0):
[    10.901] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    10.901] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    10.901] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[    10.901] (--) NVIDIA(GPU-0):
[    10.901] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    10.901] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[    10.901] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[    10.901] (--) NVIDIA(GPU-0):
[    10.945] (==) NVIDIA(0):
[    10.945] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[    10.945] (==) NVIDIA(0):     will be used as the requested mode.
[    10.945] (==) NVIDIA(0):
[    10.948] (II) NVIDIA(0): Validated MetaModes:
[    10.948] (II) NVIDIA(0):     "DFP-2:nvidia-auto-select"
[    10.948] (II) NVIDIA(0): Virtual screen size determined to be 3440 x 1440
[    11.023] (--) NVIDIA(0): DPI set to (109, 110); computed from "UseEdidDpi" X config
[    11.023] (--) NVIDIA(0):     option
[    11.023] (==) AMDGPU(G0): Depth 24, (--) framebuffer bpp 32
[    11.023] (II) AMDGPU(G0): Pixel depth = 24 bits stored in 4 bytes (32 bpp pixmaps)
[    11.023] (==) AMDGPU(G0): Default visual is TrueColor
[    11.023] (**) AMDGPU(G0): Option "AccelMethod" "none"
[    11.023] (==) AMDGPU(G0): RGB weight 888
[    11.023] (II) AMDGPU(G0): Using 8 bits per RGB (8 bit DAC)
[    11.023] (--) AMDGPU(G0): Chipset: "Unknown AMD Radeon GPU" (ChipID = 0x1638)
[    11.023] (II) Loading sub module "fb"
[    11.023] (II) LoadModule: "fb"
[    11.023] (II) Loading /nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/libfb.so
[    11.023] (II) Module fb: vendor="X.Org Foundation"
[    11.023] 	compiled for 1.20.13, module version = 1.0.0
[    11.023] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    11.023] (II) Loading sub module "dri2"
[    11.023] (II) LoadModule: "dri2"
[    11.023] (II) Module "dri2" already built-in
[    11.028] (WW) AMDGPU(G0): gbm_create_device returned NULL, using ShadowFB
[    11.028] (II) Loading sub module "shadow"
[    11.028] (II) LoadModule: "shadow"
[    11.028] (II) Loading /nix/store/mxg8z2h658hgdpv6gcyyjk4xbnj601gp-xorg-server-1.20.13/lib/xorg/modules/libshadow.so
[    11.029] (II) Module shadow: vendor="X.Org Foundation"
[    11.029] 	compiled for 1.20.13, module version = 1.1.0
[    11.029] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    11.029] (II) AMDGPU(G0): Output eDP-1-0 has no monitor section
[    11.037] (II) AMDGPU(G0): EDID for output eDP-1-0
[    11.037] (II) AMDGPU(G0): Manufacturer: TMX  Model: 1400  Serial#: 0
[    11.037] (II) AMDGPU(G0): Year: 2021  Week: 3
[    11.037] (II) AMDGPU(G0): EDID Version: 1.4
[    11.037] (II) AMDGPU(G0): Digital Display Input
[    11.037] (II) AMDGPU(G0): 8 bits per channel
[    11.037] (II) AMDGPU(G0): Digital interface is DisplayPort
[    11.037] (II) AMDGPU(G0): Max Image Size [cm]: horiz.: 31  vert.: 17
[    11.037] (II) AMDGPU(G0): Gamma: 2.20
[    11.037] (II) AMDGPU(G0): No DPMS capabilities specified
[    11.037] (II) AMDGPU(G0): Supported color encodings: RGB 4:4:4
[    11.037] (II) AMDGPU(G0): Default color space is primary color space
[    11.037] (II) AMDGPU(G0): First detailed timing is preferred mode
[    11.037] (II) AMDGPU(G0): Preferred mode is native pixel format and refresh rate
[    11.037] (II) AMDGPU(G0): Display is continuous-frequency
[    11.037] (II) AMDGPU(G0): redX: 0.680 redY: 0.320   greenX: 0.265 greenY: 0.690
[    11.037] (II) AMDGPU(G0): blueX: 0.150 blueY: 0.060   whiteX: 0.312 whiteY: 0.329
[    11.037] (II) AMDGPU(G0): Manufacturer's mask: 0
[    11.037] (II) AMDGPU(G0): Supported detailed timing:
[    11.037] (II) AMDGPU(G0): clock: 234.4 MHz   Image Size:  310 x 174 mm
[    11.037] (II) AMDGPU(G0): h_active: 2560  h_sync: 2584  h_sync_end 2600 h_blank_end 2640 h_border: 0
[    11.037] (II) AMDGPU(G0): v_active: 1440  v_sync: 1452  v_sync_end 1454 v_blanking: 1480 v_border: 0
[    11.037] (II) AMDGPU(G0): Supported detailed timing:
[    11.037] (II) AMDGPU(G0): clock: 644.7 MHz   Image Size:  310 x 174 mm
[    11.037] (II) AMDGPU(G0): h_active: 2560  h_sync: 2584  h_sync_end 2600 h_blank_end 2640 h_border: 0
[    11.037] (II) AMDGPU(G0): v_active: 1440  v_sync: 1452  v_sync_end 1454 v_blanking: 1480 v_border: 0
[    11.037] (II) AMDGPU(G0): Ranges: V min: 48 V max: 165 Hz, H min: 247 H max: 247 kHz, PixClock max 655 MHz
[    11.037] (II) AMDGPU(G0): Monitor name: TL140BDXP02-0
[    11.037] (II) AMDGPU(G0): EDID (in hex):
[    11.037] (II) AMDGPU(G0): 	00ffffffffffff0051b8001400000000
[    11.037] (II) AMDGPU(G0): 	031f0104a51f1178070f91ae5243b026
[    11.037] (II) AMDGPU(G0): 	0f505400000001010101010101010101
[    11.037] (II) AMDGPU(G0): 	010101010101945b0050a0a028501810
[    11.037] (II) AMDGPU(G0): 	c20036ae1000001ed5fb0050a0a02850
[    11.037] (II) AMDGPU(G0): 	1810c20036ae1000001e000000fd0030
[    11.037] (II) AMDGPU(G0): 	a5f7f741010a202020202020000000fc
[    11.037] (II) AMDGPU(G0): 	00544c3134304244585030322d300041
[    11.037] (II) AMDGPU(G0): Printing probed modes for output eDP-1-0
[    11.037] (II) AMDGPU(G0): Modeline "2560x1440"x60.0  234.44  2560 2584 2600 2640  1440 1452 1454 1480 +hsync +vsync (88.8 kHz eP)
[    11.037] (II) AMDGPU(G0): Modeline "2560x1440"x165.0  644.69  2560 2584 2600 2640  1440 1452 1454 1480 +hsync +vsync (244.2 kHz e)
[    11.037] (II) AMDGPU(G0): Modeline "1920x1200"x60.0  234.44  1920 2584 2600 2640  1200 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.037] (II) AMDGPU(G0): Modeline "1920x1080"x60.0  234.44  1920 2584 2600 2640  1080 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1600x1200"x60.0  234.44  1600 2584 2600 2640  1200 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1680x1050"x60.0  234.44  1680 2584 2600 2640  1050 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1280x1024"x60.0  234.44  1280 2584 2600 2640  1024 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1440x900"x60.0  234.44  1440 2584 2600 2640  900 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1280x800"x60.0  234.44  1280 2584 2600 2640  800 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1280x720"x60.0  234.44  1280 2584 2600 2640  720 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "1024x768"x60.0  234.44  1024 2584 2600 2640  768 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "800x600"x60.0  234.44  800 2584 2600 2640  600 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): Modeline "640x480"x60.0  234.44  640 2584 2600 2640  480 1452 1454 1480 +hsync +vsync (88.8 kHz e)
[    11.038] (II) AMDGPU(G0): mem size init: gart size :bf68c000 vram size: s:1dcc6000 visible:1dcc6000
[    11.038] (==) AMDGPU(G0): DPI set to (96, 96)
[    11.038] (==) AMDGPU(G0): Using gamma correction (1.0, 1.0, 1.0)
[    11.038] (II) Loading sub module "ramdac"
[    11.038] (II) LoadModule: "ramdac"
[    11.038] (II) Module "ramdac" already built-in
[    11.038] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[    11.038] (II) NVIDIA:     access.
[    11.059] (II) NVIDIA(0): Setting mode "DFP-2:nvidia-auto-select"
[    11.146] (==) NVIDIA(0): Disabling shared memory pixmaps
[    11.146] (==) NVIDIA(0): Backing store enabled
[    11.146] (==) NVIDIA(0): Silken mouse enabled
[    11.146] (==) NVIDIA(0): DPMS enabled
[    11.146] (WW) NVIDIA(0): Option "RandRRotation" is not used
[    11.146] (II) Loading sub module "dri2"
[    11.146] (II) LoadModule: "dri2"
[    11.146] (II) Module "dri2" already built-in
[    11.146] (II) NVIDIA(0): [DRI2] Setup complete
[    11.146] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[    11.146] (II) AMDGPU(G0): Front buffer pitch: 4096 bytes
[    11.146] (==) AMDGPU(G0): Backing store enabled
[    11.146] (WW) AMDGPU(G0): Direct rendering disabled
[    11.146] (II) AMDGPU(G0): 2D and 3D acceleration disabled
[    11.146] (==) AMDGPU(G0): DPMS enabled
[    11.146] (==) AMDGPU(G0): Silken mouse enabled
[    11.153] (WW) AMDGPU(G0): Option "RandRRotation" is not used
[    11.153] (WW) AMDGPU(G0): Option "AllowEmptyInitialConfiguration" is not used
[    11.153] (II) Initializing extension Generic Event Extension
[    11.153] (II) Initializing extension SHAPE
[    11.153] (II) Initializing extension MIT-SHM
[    11.153] (II) Initializing extension XInputExtension
[    11.153] (II) Initializing extension XTEST
[    11.153] (II) Initializing extension BIG-REQUESTS
[    11.153] (II) Initializing extension SYNC
[    11.154] (II) Initializing extension XKEYBOARD
[    11.154] (II) Initializing extension XC-MISC
[    11.154] (II) Initializing extension SECURITY
[    11.154] (II) Initializing extension XFIXES
[    11.154] (II) Initializing extension RENDER
[    11.154] (II) Initializing extension RANDR
[    11.154] (II) Initializing extension COMPOSITE
[    11.154] (II) Initializing extension DAMAGE
[    11.154] (II) Initializing extension MIT-SCREEN-SAVER
[    11.154] (II) Initializing extension DOUBLE-BUFFER
[    11.154] (II) Initializing extension RECORD
[    11.154] (II) Initializing extension DPMS
[    11.154] (II) Initializing extension Present
[    11.154] (II) Initializing extension DRI3
[    11.154] (II) Initializing extension X-Resource
[    11.154] (II) Initializing extension XVideo
[    11.154] (II) Initializing extension XVideo-MotionCompensation
[    11.154] (II) Initializing extension GLX
[    11.154] (II) Initializing extension GLX
[    11.154] (II) Indirect GLX disabled.
[    11.154] (II) GLX: Another vendor is already registered for screen 0
[    11.154] (II) Initializing extension XFree86-VidModeExtension
[    11.155] (II) Initializing extension XFree86-DGA
[    11.155] (II) Initializing extension XFree86-DRI
[    11.155] (II) Initializing extension DRI2
[    11.155] (II) Initializing extension NV-GLX
[    11.155] (II) Initializing extension NV-CONTROL
[    11.155] (II) Initializing extension XINERAMA
[    11.331] (II) config/udev: Adding input device Power Button (/dev/input/event13)
[    11.331] (**) Power Button: Applying InputClass "Keyboard catchall"
[    11.331] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.331] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    11.331] (II) LoadModule: "libinput"
[    11.331] (II) Loading /nix/store/4xa932i1inv1gg19g1pqj5r6dndb6hbc-xf86-input-libinput-1.2.0/lib/xorg/modules/input/libinput_drv.so
[    11.334] (II) Module libinput: vendor="X.Org Foundation"
[    11.334] 	compiled for 1.20.13, module version = 1.2.0
[    11.334] 	Module class: X.Org XInput Driver
[    11.334] 	ABI class: X.Org XInput driver, version 24.1
[    11.334] (II) Using input driver 'libinput' for 'Power Button'
[    11.334] (**) Power Button: always reports core events
[    11.334] (**) Option "Device" "/dev/input/event13"
[    11.334] (**) Option "_source" "server/udev"
[    11.336] (II) event13 - Power Button: is tagged by udev as: Keyboard
[    11.336] (II) event13 - Power Button: device is a keyboard
[    11.336] (II) event13 - Power Button: device removed
[    11.347] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input14/event13"
[    11.347] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    11.347] (**) Option "xkb_model" "pc104"
[    11.347] (**) Option "xkb_layout" "us"
[    11.347] (WW) Option "xkb_variant" requires a string value
[    11.347] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.358] (II) event13 - Power Button: is tagged by udev as: Keyboard
[    11.358] (II) event13 - Power Button: device is a keyboard
[    11.358] (II) config/udev: Adding input device Video Bus (/dev/input/event14)
[    11.358] (**) Video Bus: Applying InputClass "Keyboard catchall"
[    11.358] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    11.358] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    11.358] (II) Using input driver 'libinput' for 'Video Bus'
[    11.358] (**) Video Bus: always reports core events
[    11.358] (**) Option "Device" "/dev/input/event14"
[    11.358] (**) Option "_source" "server/udev"
[    11.359] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    11.359] (II) event14 - Video Bus: device is a keyboard
[    11.359] (II) event14 - Video Bus: device removed
[    11.366] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:01/LNXVIDEO:00/input/input15/event14"
[    11.366] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    11.366] (**) Option "xkb_model" "pc104"
[    11.366] (**) Option "xkb_layout" "us"
[    11.366] (WW) Option "xkb_variant" requires a string value
[    11.366] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.366] (II) event14 - Video Bus: is tagged by udev as: Keyboard
[    11.366] (II) event14 - Video Bus: device is a keyboard
[    11.367] (II) config/udev: Adding input device Lid Switch (/dev/input/event11)
[    11.367] (II) No input driver specified, ignoring this device.
[    11.367] (II) This device may have been added with another device file.
[    11.367] (II) config/udev: Adding input device Video Bus (/dev/input/event15)
[    11.367] (**) Video Bus: Applying InputClass "Keyboard catchall"
[    11.367] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    11.367] (**) Video Bus: Applying InputClass "libinput keyboard catchall"
[    11.367] (II) Using input driver 'libinput' for 'Video Bus'
[    11.367] (**) Video Bus: always reports core events
[    11.367] (**) Option "Device" "/dev/input/event15"
[    11.367] (**) Option "_source" "server/udev"
[    11.368] (II) event15 - Video Bus: is tagged by udev as: Keyboard
[    11.368] (II) event15 - Video Bus: device is a keyboard
[    11.368] (II) event15 - Video Bus: device removed
[    11.381] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:29/LNXVIDEO:01/input/input16/event15"
[    11.381] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 8)
[    11.381] (**) Option "xkb_model" "pc104"
[    11.381] (**) Option "xkb_layout" "us"
[    11.381] (WW) Option "xkb_variant" requires a string value
[    11.381] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.381] (II) event15 - Video Bus: is tagged by udev as: Keyboard
[    11.381] (II) event15 - Video Bus: device is a keyboard
[    11.382] (II) config/udev: Adding input device Power Button (/dev/input/event12)
[    11.382] (**) Power Button: Applying InputClass "Keyboard catchall"
[    11.382] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    11.382] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[    11.382] (II) Using input driver 'libinput' for 'Power Button'
[    11.382] (**) Power Button: always reports core events
[    11.382] (**) Option "Device" "/dev/input/event12"
[    11.382] (**) Option "_source" "server/udev"
[    11.382] (II) event12 - Power Button: is tagged by udev as: Keyboard
[    11.382] (II) event12 - Power Button: device is a keyboard
[    11.382] (II) event12 - Power Button: device removed
[    11.395] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input13/event12"
[    11.395] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 9)
[    11.395] (**) Option "xkb_model" "pc104"
[    11.395] (**) Option "xkb_layout" "us"
[    11.395] (WW) Option "xkb_variant" requires a string value
[    11.395] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.395] (II) event12 - Power Button: is tagged by udev as: Keyboard
[    11.395] (II) event12 - Power Button: device is a keyboard
[    11.396] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event20)
[    11.396] (II) No input driver specified, ignoring this device.
[    11.396] (II) This device may have been added with another device file.
[    11.396] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event21)
[    11.396] (II) No input driver specified, ignoring this device.
[    11.396] (II) This device may have been added with another device file.
[    11.396] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event22)
[    11.396] (II) No input driver specified, ignoring this device.
[    11.396] (II) This device may have been added with another device file.
[    11.397] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event23)
[    11.397] (II) No input driver specified, ignoring this device.
[    11.397] (II) This device may have been added with another device file.
[    11.397] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event24)
[    11.397] (II) No input driver specified, ignoring this device.
[    11.397] (II) This device may have been added with another device file.
[    11.397] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event25)
[    11.397] (II) No input driver specified, ignoring this device.
[    11.397] (II) This device may have been added with another device file.
[    11.397] (II) config/udev: Adding input device Razer Razer Blade (/dev/input/event0)
[    11.397] (**) Razer Razer Blade: Applying InputClass "Keyboard catchall"
[    11.397] (**) Razer Razer Blade: Applying InputClass "evdev keyboard catchall"
[    11.397] (**) Razer Razer Blade: Applying InputClass "libinput keyboard catchall"
[    11.397] (II) Using input driver 'libinput' for 'Razer Razer Blade'
[    11.397] (**) Razer Razer Blade: always reports core events
[    11.397] (**) Option "Device" "/dev/input/event0"
[    11.397] (**) Option "_source" "server/udev"
[    11.398] (II) event0  - Razer Razer Blade: is tagged by udev as: Keyboard
[    11.398] (II) event0  - Razer Razer Blade: device is a keyboard
[    11.398] (II) event0  - Razer Razer Blade: device removed
[    11.409] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/0003:1532:0270.0001/input/input0/event0"
[    11.409] (II) XINPUT: Adding extended input device "Razer Razer Blade" (type: KEYBOARD, id 10)
[    11.409] (**) Option "xkb_model" "pc104"
[    11.409] (**) Option "xkb_layout" "us"
[    11.409] (WW) Option "xkb_variant" requires a string value
[    11.409] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.410] (II) event0  - Razer Razer Blade: is tagged by udev as: Keyboard
[    11.410] (II) event0  - Razer Razer Blade: device is a keyboard
[    11.410] (II) config/udev: Adding input device Razer Razer Blade Keyboard (/dev/input/event1)
[    11.410] (**) Razer Razer Blade Keyboard: Applying InputClass "Keyboard catchall"
[    11.410] (**) Razer Razer Blade Keyboard: Applying InputClass "evdev keyboard catchall"
[    11.410] (**) Razer Razer Blade Keyboard: Applying InputClass "libinput keyboard catchall"
[    11.410] (II) Using input driver 'libinput' for 'Razer Razer Blade Keyboard'
[    11.410] (**) Razer Razer Blade Keyboard: always reports core events
[    11.410] (**) Option "Device" "/dev/input/event1"
[    11.410] (**) Option "_source" "server/udev"
[    11.411] (II) event1  - Razer Razer Blade Keyboard: is tagged by udev as: Keyboard
[    11.411] (II) event1  - Razer Razer Blade Keyboard: device is a keyboard
[    11.411] (II) event1  - Razer Razer Blade Keyboard: device removed
[    11.420] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:1532:0270.0002/input/input1/event1"
[    11.420] (II) XINPUT: Adding extended input device "Razer Razer Blade Keyboard" (type: KEYBOARD, id 11)
[    11.420] (**) Option "xkb_model" "pc104"
[    11.420] (**) Option "xkb_layout" "us"
[    11.420] (WW) Option "xkb_variant" requires a string value
[    11.420] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.421] (II) event1  - Razer Razer Blade Keyboard: is tagged by udev as: Keyboard
[    11.421] (II) event1  - Razer Razer Blade Keyboard: device is a keyboard
[    11.421] (II) config/udev: Adding input device Razer Razer Blade Consumer Control (/dev/input/event2)
[    11.421] (**) Razer Razer Blade Consumer Control: Applying InputClass "Keyboard catchall"
[    11.421] (**) Razer Razer Blade Consumer Control: Applying InputClass "evdev keyboard catchall"
[    11.421] (**) Razer Razer Blade Consumer Control: Applying InputClass "libinput keyboard catchall"
[    11.421] (II) Using input driver 'libinput' for 'Razer Razer Blade Consumer Control'
[    11.421] (**) Razer Razer Blade Consumer Control: always reports core events
[    11.421] (**) Option "Device" "/dev/input/event2"
[    11.421] (**) Option "_source" "server/udev"
[    11.422] (II) event2  - Razer Razer Blade Consumer Control: is tagged by udev as: Keyboard
[    11.422] (II) event2  - Razer Razer Blade Consumer Control: device is a keyboard
[    11.422] (II) event2  - Razer Razer Blade Consumer Control: device removed
[    11.430] (II) libinput: Razer Razer Blade Consumer Control: needs a virtual subdevice
[    11.430] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:1532:0270.0002/input/input2/event2"
[    11.430] (II) XINPUT: Adding extended input device "Razer Razer Blade Consumer Control" (type: MOUSE, id 12)
[    11.430] (**) Option "AccelerationScheme" "none"
[    11.430] (**) Razer Razer Blade Consumer Control: (accel) selected scheme none/0
[    11.430] (**) Razer Razer Blade Consumer Control: (accel) acceleration factor: 2.000
[    11.430] (**) Razer Razer Blade Consumer Control: (accel) acceleration threshold: 4
[    11.431] (II) event2  - Razer Razer Blade Consumer Control: is tagged by udev as: Keyboard
[    11.431] (II) event2  - Razer Razer Blade Consumer Control: device is a keyboard
[    11.431] (II) config/udev: Adding input device Razer Razer Blade System Control (/dev/input/event3)
[    11.431] (**) Razer Razer Blade System Control: Applying InputClass "Keyboard catchall"
[    11.431] (**) Razer Razer Blade System Control: Applying InputClass "evdev keyboard catchall"
[    11.431] (**) Razer Razer Blade System Control: Applying InputClass "libinput keyboard catchall"
[    11.431] (II) Using input driver 'libinput' for 'Razer Razer Blade System Control'
[    11.431] (**) Razer Razer Blade System Control: always reports core events
[    11.431] (**) Option "Device" "/dev/input/event3"
[    11.431] (**) Option "_source" "server/udev"
[    11.432] (II) event3  - Razer Razer Blade System Control: is tagged by udev as: Keyboard
[    11.432] (II) event3  - Razer Razer Blade System Control: device is a keyboard
[    11.432] (II) event3  - Razer Razer Blade System Control: device removed
[    11.440] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:1532:0270.0002/input/input3/event3"
[    11.440] (II) XINPUT: Adding extended input device "Razer Razer Blade System Control" (type: KEYBOARD, id 13)
[    11.440] (**) Option "xkb_model" "pc104"
[    11.440] (**) Option "xkb_layout" "us"
[    11.440] (WW) Option "xkb_variant" requires a string value
[    11.440] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.441] (II) event3  - Razer Razer Blade System Control: is tagged by udev as: Keyboard
[    11.441] (II) event3  - Razer Razer Blade System Control: device is a keyboard
[    11.441] (II) config/udev: Adding input device Razer Razer Blade (/dev/input/event4)
[    11.441] (II) No input driver specified, ignoring this device.
[    11.441] (II) This device may have been added with another device file.
[    11.441] (II) config/udev: Adding input device Razer Razer Blade (/dev/input/event5)
[    11.441] (**) Razer Razer Blade: Applying InputClass "evdev pointer catchall"
[    11.441] (**) Razer Razer Blade: Applying InputClass "libinput pointer catchall"
[    11.441] (**) Razer Razer Blade: Applying InputClass "libinput mouse configuration"
[    11.441] (II) Using input driver 'libinput' for 'Razer Razer Blade'
[    11.441] (**) Razer Razer Blade: always reports core events
[    11.441] (**) Option "Device" "/dev/input/event5"
[    11.441] (**) Option "_source" "server/udev"
[    11.495] (II) event5  - Razer Razer Blade: is tagged by udev as: Mouse
[    11.495] (II) event5  - Razer Razer Blade: device is a pointer
[    11.495] (II) event5  - Razer Razer Blade: device removed
[    11.511] (**) Option "AccelProfile" "adaptive"
[    11.511] (**) Option "NaturalScrolling" "off"
[    11.511] (**) Option "SendEventsMode" "enabled"
[    11.511] (**) Option "LeftHanded" "off"
[    11.511] (**) Option "ScrollMethod" "twofinger"
[    11.511] (**) Option "MiddleEmulation" "on"
[    11.511] (**) Option "HorizontalScrolling" "on"
[    11.511] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.2/0003:1532:0270.0003/input/input5/event5"
[    11.511] (II) XINPUT: Adding extended input device "Razer Razer Blade" (type: MOUSE, id 14)
[    11.511] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    11.511] (**) Option "AccelerationScheme" "none"
[    11.511] (**) Razer Razer Blade: (accel) selected scheme none/0
[    11.511] (**) Razer Razer Blade: (accel) acceleration factor: 2.000
[    11.511] (**) Razer Razer Blade: (accel) acceleration threshold: 4
[    11.562] (II) event5  - Razer Razer Blade: is tagged by udev as: Mouse
[    11.563] (II) event5  - Razer Razer Blade: device is a pointer
[    11.563] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    11.563] (II) config/udev: Adding input device Razer Razer Blade (/dev/input/mouse0)
[    11.563] (II) No input driver specified, ignoring this device.
[    11.563] (II) This device may have been added with another device file.
[    11.563] (II) config/udev: Adding input device MIIIW USB Recriver (/dev/input/event6)
[    11.563] (**) MIIIW USB Recriver: Applying InputClass "Keyboard catchall"
[    11.563] (**) MIIIW USB Recriver: Applying InputClass "evdev keyboard catchall"
[    11.563] (**) MIIIW USB Recriver: Applying InputClass "libinput keyboard catchall"
[    11.563] (II) Using input driver 'libinput' for 'MIIIW USB Recriver'
[    11.563] (**) MIIIW USB Recriver: always reports core events
[    11.563] (**) Option "Device" "/dev/input/event6"
[    11.563] (**) Option "_source" "server/udev"
[    11.564] (II) event6  - MIIIW USB Recriver: is tagged by udev as: Keyboard
[    11.564] (II) event6  - MIIIW USB Recriver: device is a keyboard
[    11.564] (II) event6  - MIIIW USB Recriver: device removed
[    11.576] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.0/0003:1EA7:0064.0004/input/input6/event6"
[    11.576] (II) XINPUT: Adding extended input device "MIIIW USB Recriver" (type: KEYBOARD, id 15)
[    11.576] (**) Option "xkb_model" "pc104"
[    11.576] (**) Option "xkb_layout" "us"
[    11.576] (WW) Option "xkb_variant" requires a string value
[    11.576] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.577] (II) event6  - MIIIW USB Recriver: is tagged by udev as: Keyboard
[    11.577] (II) event6  - MIIIW USB Recriver: device is a keyboard
[    11.578] (II) config/udev: Adding input device MIIIW USB Recriver System Control (/dev/input/event10)
[    11.578] (**) MIIIW USB Recriver System Control: Applying InputClass "Keyboard catchall"
[    11.578] (**) MIIIW USB Recriver System Control: Applying InputClass "evdev keyboard catchall"
[    11.578] (**) MIIIW USB Recriver System Control: Applying InputClass "libinput keyboard catchall"
[    11.578] (II) Using input driver 'libinput' for 'MIIIW USB Recriver System Control'
[    11.578] (**) MIIIW USB Recriver System Control: always reports core events
[    11.578] (**) Option "Device" "/dev/input/event10"
[    11.578] (**) Option "_source" "server/udev"
[    11.578] (II) event10 - MIIIW USB Recriver System Control: is tagged by udev as: Keyboard
[    11.578] (II) event10 - MIIIW USB Recriver System Control: device is a keyboard
[    11.578] (II) event10 - MIIIW USB Recriver System Control: device removed
[    11.587] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.1/0003:1EA7:0064.0005/input/input10/event10"
[    11.587] (II) XINPUT: Adding extended input device "MIIIW USB Recriver System Control" (type: KEYBOARD, id 16)
[    11.587] (**) Option "xkb_model" "pc104"
[    11.587] (**) Option "xkb_layout" "us"
[    11.587] (WW) Option "xkb_variant" requires a string value
[    11.587] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.587] (II) event10 - MIIIW USB Recriver System Control: is tagged by udev as: Keyboard
[    11.587] (II) event10 - MIIIW USB Recriver System Control: device is a keyboard
[    11.588] (II) config/udev: Adding input device MIIIW USB Recriver (/dev/input/event7)
[    11.588] (II) No input driver specified, ignoring this device.
[    11.588] (II) This device may have been added with another device file.
[    11.588] (II) config/udev: Adding input device MIIIW USB Recriver Mouse (/dev/input/event8)
[    11.588] (**) MIIIW USB Recriver Mouse: Applying InputClass "evdev pointer catchall"
[    11.588] (**) MIIIW USB Recriver Mouse: Applying InputClass "libinput pointer catchall"
[    11.588] (**) MIIIW USB Recriver Mouse: Applying InputClass "libinput mouse configuration"
[    11.588] (II) Using input driver 'libinput' for 'MIIIW USB Recriver Mouse'
[    11.588] (**) MIIIW USB Recriver Mouse: always reports core events
[    11.588] (**) Option "Device" "/dev/input/event8"
[    11.588] (**) Option "_source" "server/udev"
[    11.589] (II) event8  - MIIIW USB Recriver Mouse: is tagged by udev as: Mouse
[    11.589] (II) event8  - MIIIW USB Recriver Mouse: device is a pointer
[    11.589] (II) event8  - MIIIW USB Recriver Mouse: device removed
[    11.607] (**) Option "AccelProfile" "adaptive"
[    11.607] (**) Option "NaturalScrolling" "off"
[    11.607] (**) Option "SendEventsMode" "enabled"
[    11.607] (**) Option "LeftHanded" "off"
[    11.607] (**) Option "ScrollMethod" "twofinger"
[    11.607] (**) Option "MiddleEmulation" "on"
[    11.607] (**) Option "HorizontalScrolling" "on"
[    11.607] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.1/0003:1EA7:0064.0005/input/input8/event8"
[    11.607] (II) XINPUT: Adding extended input device "MIIIW USB Recriver Mouse" (type: MOUSE, id 17)
[    11.607] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    11.607] (**) Option "AccelerationScheme" "none"
[    11.607] (**) MIIIW USB Recriver Mouse: (accel) selected scheme none/0
[    11.607] (**) MIIIW USB Recriver Mouse: (accel) acceleration factor: 2.000
[    11.607] (**) MIIIW USB Recriver Mouse: (accel) acceleration threshold: 4
[    11.607] (II) event8  - MIIIW USB Recriver Mouse: is tagged by udev as: Mouse
[    11.607] (II) event8  - MIIIW USB Recriver Mouse: device is a pointer
[    11.607] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    11.608] (II) config/udev: Adding input device MIIIW USB Recriver Mouse (/dev/input/mouse1)
[    11.608] (II) No input driver specified, ignoring this device.
[    11.608] (II) This device may have been added with another device file.
[    11.608] (II) config/udev: Adding input device MIIIW USB Recriver Consumer Control (/dev/input/event9)
[    11.608] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "Keyboard catchall"
[    11.608] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "evdev keyboard catchall"
[    11.608] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "libinput keyboard catchall"
[    11.608] (II) Using input driver 'libinput' for 'MIIIW USB Recriver Consumer Control'
[    11.608] (**) MIIIW USB Recriver Consumer Control: always reports core events
[    11.608] (**) Option "Device" "/dev/input/event9"
[    11.608] (**) Option "_source" "server/udev"
[    11.609] (II) event9  - MIIIW USB Recriver Consumer Control: is tagged by udev as: Keyboard
[    11.609] (II) event9  - MIIIW USB Recriver Consumer Control: device is a keyboard
[    11.609] (II) event9  - MIIIW USB Recriver Consumer Control: device removed
[    11.629] (II) libinput: MIIIW USB Recriver Consumer Control: needs a virtual subdevice
[    11.629] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.1/0003:1EA7:0064.0005/input/input9/event9"
[    11.629] (II) XINPUT: Adding extended input device "MIIIW USB Recriver Consumer Control" (type: MOUSE, id 18)
[    11.629] (**) Option "AccelerationScheme" "none"
[    11.629] (**) MIIIW USB Recriver Consumer Control: (accel) selected scheme none/0
[    11.629] (**) MIIIW USB Recriver Consumer Control: (accel) acceleration factor: 2.000
[    11.629] (**) MIIIW USB Recriver Consumer Control: (accel) acceleration threshold: 4
[    11.629] (II) event9  - MIIIW USB Recriver Consumer Control: is tagged by udev as: Keyboard
[    11.629] (II) event9  - MIIIW USB Recriver Consumer Control: device is a keyboard
[    11.629] (II) config/udev: Adding input device Integrated Camera: Integrated C (/dev/input/event16)
[    11.630] (**) Integrated Camera: Integrated C: Applying InputClass "Keyboard catchall"
[    11.630] (**) Integrated Camera: Integrated C: Applying InputClass "evdev keyboard catchall"
[    11.630] (**) Integrated Camera: Integrated C: Applying InputClass "libinput keyboard catchall"
[    11.630] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated C'
[    11.630] (**) Integrated Camera: Integrated C: always reports core events
[    11.630] (**) Option "Device" "/dev/input/event16"
[    11.630] (**) Option "_source" "server/udev"
[    11.630] (II) event16 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    11.630] (II) event16 - Integrated Camera: Integrated C: device is a keyboard
[    11.630] (II) event16 - Integrated Camera: Integrated C: device removed
[    11.645] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-4/3-4:1.0/input/input17/event16"
[    11.645] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated C" (type: KEYBOARD, id 19)
[    11.645] (**) Option "xkb_model" "pc104"
[    11.645] (**) Option "xkb_layout" "us"
[    11.645] (WW) Option "xkb_variant" requires a string value
[    11.645] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.645] (II) event16 - Integrated Camera: Integrated C: is tagged by udev as: Keyboard
[    11.645] (II) event16 - Integrated Camera: Integrated C: device is a keyboard
[    11.645] (II) config/udev: Adding input device Integrated Camera: Integrated I (/dev/input/event17)
[    11.645] (**) Integrated Camera: Integrated I: Applying InputClass "Keyboard catchall"
[    11.645] (**) Integrated Camera: Integrated I: Applying InputClass "evdev keyboard catchall"
[    11.645] (**) Integrated Camera: Integrated I: Applying InputClass "libinput keyboard catchall"
[    11.645] (II) Using input driver 'libinput' for 'Integrated Camera: Integrated I'
[    11.645] (**) Integrated Camera: Integrated I: always reports core events
[    11.645] (**) Option "Device" "/dev/input/event17"
[    11.645] (**) Option "_source" "server/udev"
[    11.646] (II) event17 - Integrated Camera: Integrated I: is tagged by udev as: Keyboard
[    11.646] (II) event17 - Integrated Camera: Integrated I: device is a keyboard
[    11.646] (II) event17 - Integrated Camera: Integrated I: device removed
[    11.661] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-4/3-4:1.2/input/input18/event17"
[    11.661] (II) XINPUT: Adding extended input device "Integrated Camera: Integrated I" (type: KEYBOARD, id 20)
[    11.661] (**) Option "xkb_model" "pc104"
[    11.661] (**) Option "xkb_layout" "us"
[    11.661] (WW) Option "xkb_variant" requires a string value
[    11.661] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.661] (II) event17 - Integrated Camera: Integrated I: is tagged by udev as: Keyboard
[    11.661] (II) event17 - Integrated Camera: Integrated I: device is a keyboard
[    11.661] (II) config/udev: Adding input device HD-Audio Generic Headphone Mic (/dev/input/event26)
[    11.661] (II) No input driver specified, ignoring this device.
[    11.661] (II) This device may have been added with another device file.
[    11.661] (II) config/udev: Adding input device 1A582014:00 06CB:CDA3 Mouse (/dev/input/event18)
[    11.661] (**) 1A582014:00 06CB:CDA3 Mouse: Applying InputClass "evdev pointer catchall"
[    11.661] (**) 1A582014:00 06CB:CDA3 Mouse: Applying InputClass "libinput pointer catchall"
[    11.661] (**) 1A582014:00 06CB:CDA3 Mouse: Applying InputClass "libinput mouse configuration"
[    11.662] (II) Using input driver 'libinput' for '1A582014:00 06CB:CDA3 Mouse'
[    11.662] (**) 1A582014:00 06CB:CDA3 Mouse: always reports core events
[    11.662] (**) Option "Device" "/dev/input/event18"
[    11.662] (**) Option "_source" "server/udev"
[    11.662] (II) event18 - 1A582014:00 06CB:CDA3 Mouse: is tagged by udev as: Mouse Pointingstick
[    11.662] (II) event18 - 1A582014:00 06CB:CDA3 Mouse: device is a pointer
[    11.662] (II) event18 - 1A582014:00 06CB:CDA3 Mouse: device removed
[    11.677] (**) Option "AccelProfile" "adaptive"
[    11.677] (**) Option "NaturalScrolling" "off"
[    11.677] (**) Option "SendEventsMode" "enabled"
[    11.677] (**) Option "LeftHanded" "off"
[    11.677] (**) Option "ScrollMethod" "twofinger"
[    11.677] (**) Option "HorizontalScrolling" "on"
[    11.677] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-0/i2c-1A582014:00/0018:06CB:CDA3.0006/input/input29/event18"
[    11.677] (II) XINPUT: Adding extended input device "1A582014:00 06CB:CDA3 Mouse" (type: MOUSE, id 21)
[    11.677] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    11.677] (**) Option "AccelerationScheme" "none"
[    11.677] (**) 1A582014:00 06CB:CDA3 Mouse: (accel) selected scheme none/0
[    11.677] (**) 1A582014:00 06CB:CDA3 Mouse: (accel) acceleration factor: 2.000
[    11.677] (**) 1A582014:00 06CB:CDA3 Mouse: (accel) acceleration threshold: 4
[    11.677] (II) event18 - 1A582014:00 06CB:CDA3 Mouse: is tagged by udev as: Mouse Pointingstick
[    11.677] (II) event18 - 1A582014:00 06CB:CDA3 Mouse: device is a pointer
[    11.677] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    11.677] (II) config/udev: Adding input device 1A582014:00 06CB:CDA3 Mouse (/dev/input/mouse2)
[    11.677] (II) No input driver specified, ignoring this device.
[    11.677] (II) This device may have been added with another device file.
[    11.678] (II) config/udev: Adding input device 1A582014:00 06CB:CDA3 Touchpad (/dev/input/event19)
[    11.678] (**) 1A582014:00 06CB:CDA3 Touchpad: Applying InputClass "evdev touchpad catchall"
[    11.678] (**) 1A582014:00 06CB:CDA3 Touchpad: Applying InputClass "libinput touchpad catchall"
[    11.678] (**) 1A582014:00 06CB:CDA3 Touchpad: Applying InputClass "libinput touchpad configuration"
[    11.678] (II) Using input driver 'libinput' for '1A582014:00 06CB:CDA3 Touchpad'
[    11.678] (**) 1A582014:00 06CB:CDA3 Touchpad: always reports core events
[    11.678] (**) Option "Device" "/dev/input/event19"
[    11.678] (**) Option "_source" "server/udev"
[    11.678] (II) event19 - 1A582014:00 06CB:CDA3 Touchpad: is tagged by udev as: Touchpad
[    11.678] (II) event19 - 1A582014:00 06CB:CDA3 Touchpad: device is a touchpad
[    11.678] (II) event19 - 1A582014:00 06CB:CDA3 Touchpad: device removed
[    11.692] (**) Option "Tapping" "on"
[    11.692] (**) Option "TappingDragLock" "on"
[    11.692] (**) Option "AccelProfile" "adaptive"
[    11.692] (**) Option "NaturalScrolling" "on"
[    11.692] (**) Option "SendEventsMode" "enabled"
[    11.692] (**) Option "LeftHanded" "off"
[    11.692] (**) Option "ScrollMethod" "twofinger"
[    11.692] (**) Option "MiddleEmulation" "on"
[    11.692] (**) Option "DisableWhileTyping" "off"
[    11.692] (**) Option "HorizontalScrolling" "on"
[    11.692] (**) Option "config_info" "udev:/sys/devices/platform/AMDI0010:03/i2c-0/i2c-1A582014:00/0018:06CB:CDA3.0006/input/input30/event19"
[    11.692] (II) XINPUT: Adding extended input device "1A582014:00 06CB:CDA3 Touchpad" (type: TOUCHPAD, id 22)
[    11.692] (**) Option "AccelerationScheme" "none"
[    11.692] (**) 1A582014:00 06CB:CDA3 Touchpad: (accel) selected scheme none/0
[    11.692] (**) 1A582014:00 06CB:CDA3 Touchpad: (accel) acceleration factor: 2.000
[    11.692] (**) 1A582014:00 06CB:CDA3 Touchpad: (accel) acceleration threshold: 4
[    11.693] (II) event19 - 1A582014:00 06CB:CDA3 Touchpad: is tagged by udev as: Touchpad
[    11.693] (II) event19 - 1A582014:00 06CB:CDA3 Touchpad: device is a touchpad
[    11.693] (II) config/udev: Adding input device 1A582014:00 06CB:CDA3 Touchpad (/dev/input/mouse3)
[    11.693] (II) No input driver specified, ignoring this device.
[    11.693] (II) This device may have been added with another device file.
[    11.695] (**) Razer Razer Blade Consumer Control: Applying InputClass "Keyboard catchall"
[    11.695] (**) Razer Razer Blade Consumer Control: Applying InputClass "evdev keyboard catchall"
[    11.695] (**) Razer Razer Blade Consumer Control: Applying InputClass "libinput keyboard catchall"
[    11.695] (II) Using input driver 'libinput' for 'Razer Razer Blade Consumer Control'
[    11.695] (**) Razer Razer Blade Consumer Control: always reports core events
[    11.695] (**) Option "Device" "/dev/input/event2"
[    11.695] (**) Option "_source" "_driver/libinput"
[    11.695] (II) libinput: Razer Razer Blade Consumer Control: is a virtual subdevice
[    11.695] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.1/0003:1532:0270.0002/input/input2/event2"
[    11.695] (II) XINPUT: Adding extended input device "Razer Razer Blade Consumer Control" (type: KEYBOARD, id 23)
[    11.695] (**) Option "xkb_model" "pc104"
[    11.695] (**) Option "xkb_layout" "us"
[    11.695] (WW) Option "xkb_variant" requires a string value
[    11.695] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    11.695] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "Keyboard catchall"
[    11.695] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "evdev keyboard catchall"
[    11.695] (**) MIIIW USB Recriver Consumer Control: Applying InputClass "libinput keyboard catchall"
[    11.695] (II) Using input driver 'libinput' for 'MIIIW USB Recriver Consumer Control'
[    11.695] (**) MIIIW USB Recriver Consumer Control: always reports core events
[    11.695] (**) Option "Device" "/dev/input/event9"
[    11.695] (**) Option "_source" "_driver/libinput"
[    11.695] (II) libinput: MIIIW USB Recriver Consumer Control: is a virtual subdevice
[    11.695] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:08.1/0000:04:00.4/usb3/3-2/3-2:1.1/0003:1EA7:0064.0005/input/input9/event9"
[    11.695] (II) XINPUT: Adding extended input device "MIIIW USB Recriver Consumer Control" (type: KEYBOARD, id 24)
[    11.695] (**) Option "xkb_model" "pc104"
[    11.695] (**) Option "xkb_layout" "us"
[    11.695] (WW) Option "xkb_variant" requires a string value
[    11.695] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[    14.094] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): connected
[    14.094] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): Internal TMDS
[    14.094] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): 600.0 MHz maximum pixel clock
[    14.094] (--) NVIDIA(GPU-0):
[    14.182] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): connected
[    14.182] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): Internal TMDS
[    14.182] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): 600.0 MHz maximum pixel clock
[    14.182] (--) NVIDIA(GPU-0):
[    47.894] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    47.894] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    47.894] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    47.894] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    47.894] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    47.894] (EE) libinput: Razer Razer Blade: Failed to set scroll to twofinger
[    47.894] (EE) libinput: MIIIW USB Recriver Mouse: Failed to set scroll to twofinger
[    47.895] (EE) libinput: 1A582014:00 06CB:CDA3 Mouse: Failed to set scroll to twofinger
[    48.133] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    48.133] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    48.133] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock
[    48.133] (--) NVIDIA(GPU-0):
[    48.134] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    48.134] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    48.134] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    48.134] (--) NVIDIA(GPU-0):
[    48.177] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): connected
[    48.177] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): Internal TMDS
[    48.177] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): 600.0 MHz maximum pixel clock
[    48.177] (--) NVIDIA(GPU-0):
[    48.177] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    48.177] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    48.177] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[    48.177] (--) NVIDIA(GPU-0):
[    48.178] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    48.178] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[    48.178] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[    48.178] (--) NVIDIA(GPU-0):
[    49.052] (--) NVIDIA(GPU-0): DFP-0: disconnected
[    49.052] (--) NVIDIA(GPU-0): DFP-0: Internal DisplayPort
[    49.052] (--) NVIDIA(GPU-0): DFP-0: 2670.0 MHz maximum pixel clock
[    49.052] (--) NVIDIA(GPU-0):
[    49.052] (--) NVIDIA(GPU-0): DFP-1: disconnected
[    49.052] (--) NVIDIA(GPU-0): DFP-1: Internal TMDS
[    49.052] (--) NVIDIA(GPU-0): DFP-1: 165.0 MHz maximum pixel clock
[    49.052] (--) NVIDIA(GPU-0):
[    49.096] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): connected
[    49.097] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): Internal TMDS
[    49.097] (--) NVIDIA(GPU-0): Philips PHL 346E2C (DFP-2): 600.0 MHz maximum pixel clock
[    49.097] (--) NVIDIA(GPU-0):
[    49.097] (--) NVIDIA(GPU-0): DFP-3: disconnected
[    49.097] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[    49.097] (--) NVIDIA(GPU-0): DFP-3: 2670.0 MHz maximum pixel clock
[    49.097] (--) NVIDIA(GPU-0):
[    49.097] (--) NVIDIA(GPU-0): DFP-4: disconnected
[    49.097] (--) NVIDIA(GPU-0): DFP-4: Internal TMDS
[    49.097] (--) NVIDIA(GPU-0): DFP-4: 165.0 MHz maximum pixel clock
[    49.097] (--) NVIDIA(GPU-0):
[    49.115] (II) NVIDIA(0): Setting mode "HDMI-0: 3440x1440_100 @3440x1440 +0+0 {ViewPortIn=3440x1440, ViewPortOut=3440x1440+0+0}"

Thanks!

You’re likely using the wrong order, please try

xrandr --setprovideroutputsource 0 1 && xrandr --auto

Check

xrandr --listproviders

Unfortunately, I get the exact same error regardless of ordering.

Providers: number : 2
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 0 name:NVIDIA-0
Provider 1: id: 0x208 cap: 0x0 crtcs: 4 outputs: 1 associated providers: 0 name:Unknown AMD Radeon GPU @ pci:0000:04:00.0

The problem seems to be amdgpu, the provider doesn’t announce any prime capabilities

cap: 0x0

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Since the amdgpu driver isn’t working that gave me the idea of using the modesetting driver instead. Not sure if that actually would work but I did seem to get further along.

$ xrandr --listproviders
Providers: number : 2
Provider 0: id: 0x1b8 cap: 0x1, Source Output crtcs: 4 outputs: 5 associated providers: 1 name:NVIDIA-0
Provider 1: id: 0x208 cap: 0x2, Sink Output crtcs: 4 outputs: 1 associated providers: 1 name:modesetting
$ xrandr --setprovideroutputsource 1 0

But auto doesn’t work. The output turns black for a few seconds and then comes back. The internal laptop display still stays black though.

$ xrandr --auto
xrandr: Configure crtc 4 failed

The internal display does show up in xrandr now though.

$ xrandr
Screen 0: minimum 8 x 8, current 3440 x 1440, maximum 32767 x 32767
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected primary 3440x1440+0+0 (normal left inverted right x axis y axis) 797mm x 334mm
   3440x1440     59.97 +  99.98*   74.98
   2560x1080    119.88    59.94    50.00
   1920x1080    119.88    60.00    59.94    50.00
   1720x1440     59.94
   1680x1050     59.95
   1440x900      59.89
   1280x1024     75.02    60.02
   1280x720      60.00    59.94    50.00
   1024x768     100.00    75.03    70.07    60.00
   800x600      100.00    75.00    72.19    60.32    56.25
   720x576       50.00
   720x480       59.94
   640x480       99.99    75.00    72.81    59.94    59.93
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
eDP-1-1 connected (normal left inverted right x axis y axis)
   2560x1440     60.00 + 165.00    59.99    59.99    59.96    59.95
   1920x1440     85.00    75.00    60.00
   1856x1392     75.00    60.01
   1792x1344     75.00    60.01
   2048x1152     59.99    59.98    59.90    59.91
   1920x1200     60.00    59.88    59.95
   1920x1080     60.01    59.97    60.00    59.96    59.93
   1600x1200     60.00    85.00    75.00    70.00    65.00    60.00
   1680x1050     60.00    59.95    59.88
   1400x1050     74.76    59.98
   1600x900      59.99    59.94    59.95    59.82
   1280x1024     60.00    85.02    75.02    60.02
   1440x900      60.00
   1400x900      59.96    59.88
   1280x960      85.00    60.00
   1440x810      60.00    59.97
   1368x768      59.88    59.85
   1280x800      60.00    59.99    59.97    59.81    59.91
   1152x864      75.00
   1280x720      60.00    60.00    59.99    59.86    59.74
   1024x768      60.00    85.00    75.05    60.04    85.00    75.03    70.07    60.00
   1024x768i     86.96
   960x720       85.00    75.00    60.00
   928x696       75.00    60.05
   896x672       75.05    60.01
   1024x576      59.95    59.96    59.90    59.82
   960x600       59.93    60.00
   832x624       74.55
   960x540       59.96    59.99    59.63    59.82
   800x600       60.00    85.00    75.00    70.00    65.00    60.00    85.14    72.19    75.00    60.32    56.25
   840x525       60.01    59.88
   864x486       59.92    59.57
   700x525       74.76    59.98
   800x450       59.95    59.82
   640x512       85.02    75.02    60.02
   700x450       59.96    59.88
   640x480       60.00    85.09    60.00    85.01    72.81    75.00    59.94
   720x405       59.51    58.99
   720x400       85.04
   684x384       59.88    59.85
   640x400       59.88    59.98    85.08
   576x432       75.00
   640x360       59.86    59.83    59.84    59.32
   640x350       85.08
   512x384       85.00    75.03    70.07    60.00
   512x384i      87.06
   512x288       60.00    59.92
   416x312       74.66
   480x270       59.63    59.82
   400x300       85.27    72.19    75.12    60.32    56.34
   432x243       59.92    59.57
   320x240       85.18    72.81    75.00    60.05
   360x202       59.51    59.13
   360x200       85.04
   320x200       85.27
   320x180       59.84    59.32
   320x175       85.27
  1680x1050 (0x1cb) 146.250MHz -HSync +VSync
        h: width  1680 start 1784 end 1960 total 2240 skew    0 clock  65.29KHz
        v: height 1050 start 1053 end 1059 total 1089           clock  59.95Hz
  1280x1024 (0x1cd) 135.000MHz +HSync +VSync
        h: width  1280 start 1296 end 1440 total 1688 skew    0 clock  79.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  75.02Hz
  1280x1024 (0x1ce) 108.000MHz +HSync +VSync
        h: width  1280 start 1328 end 1440 total 1688 skew    0 clock  63.98KHz
        v: height 1024 start 1025 end 1028 total 1066           clock  60.02Hz
  1024x768 (0x1d3) 78.750MHz +HSync +VSync
        h: width  1024 start 1040 end 1136 total 1312 skew    0 clock  60.02KHz
        v: height  768 start  769 end  772 total  800           clock  75.03Hz
  1024x768 (0x1d4) 75.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1328 skew    0 clock  56.48KHz
        v: height  768 start  771 end  777 total  806           clock  70.07Hz
  1024x768 (0x1d5) 65.000MHz -HSync -VSync
        h: width  1024 start 1048 end 1184 total 1344 skew    0 clock  48.36KHz
        v: height  768 start  771 end  777 total  806           clock  60.00Hz
  800x600 (0x1d8) 50.000MHz +HSync +VSync
        h: width   800 start  856 end  976 total 1040 skew    0 clock  48.08KHz
        v: height  600 start  637 end  643 total  666           clock  72.19Hz
  800x600 (0x1d7) 49.500MHz +HSync +VSync
        h: width   800 start  816 end  896 total 1056 skew    0 clock  46.88KHz
        v: height  600 start  601 end  604 total  625           clock  75.00Hz
  800x600 (0x1d9) 40.000MHz +HSync +VSync
        h: width   800 start  840 end  968 total 1056 skew    0 clock  37.88KHz
        v: height  600 start  601 end  605 total  628           clock  60.32Hz
  800x600 (0x1da) 36.000MHz +HSync +VSync
        h: width   800 start  824 end  896 total 1024 skew    0 clock  35.16KHz
        v: height  600 start  601 end  603 total  625           clock  56.25Hz
  640x480 (0x1de) 31.500MHz -HSync -VSync
        h: width   640 start  656 end  720 total  840 skew    0 clock  37.50KHz
        v: height  480 start  481 end  484 total  500           clock  75.00Hz
  640x480 (0x1e0) 25.175MHz -HSync -VSync
        h: width   640 start  656 end  752 total  800 skew    0 clock  31.47KHz
        v: height  480 start  490 end  492 total  525           clock  59.94Hz

Here’s the result of nvidia-bug-report.sh
nvidia-bug-report.log.gz (515.6 KB)

From Xorg log:

modeset(G0): failed to set mode: No space left on device

this some ugly bug only happening on some amd notebooks, don’t know where this is coming from. Please try upgrading the kernel.

Sorry for the delay… I have been trying many different tweaks to the xorg config. I can get the modeset error you saw to go away. But I still having the xrandr: Configure crtc 4 failed error. I got the modesetting error to go away by adding Option "AccelMethod" "none" I think this error might have something to do with an interaction with glamor and maybe the ‘none’ option fixes that.

I have tried PopOS on my system and have discovered that the NVIDIA+AMD GPU setup works perfectly out of box. So at least I know that what I want is possible. I’ve tried copying PopOS’s xorg configuration but am not having any luck so far. My goal is to get NVIDIA+AMD prime working so I can add support for it upstream in NixOS so others don’t have this problem.

What I’ve tried so far in my porting efforts.

  • Copying the config in /usr/share/X11/xorg.conf.d/*
  • Using the exact same versions of software (xorg server, amdgpu driver, linux kernel, nvidia driver, maybe something else too?)

Any ideas about what I might be missing are appreciated.

I think I’m close to how PopOS does it. I get this error in my xorg logs that I believe to be the culprit.

[    15.633] (WW) AMDGPU(G0): gbm_create_device returned NULL, using ShadowFB
[    15.633] (II) Loading sub module "shadow"

I think that when amdgpu tries to initialize its gbm buffer it fails. (This only happens when the NVIDIA driver is loaded.) And then it disables DRI2 and all acceleration. Which then causes AMDGPU to report having zero capabilities (the 0x0 you noticed earlier)

[    15.756] (WW) AMDGPU(G0): Direct rendering disabled
[    15.756] (II) AMDGPU(G0): 2D and 3D acceleration disabled

I really think you should try upgrading your kernel first. pop_os/ubuntu uses kernel 5.11+patches/backports, nixos seems to use a vanilla 5.10 kernel. The amdgpu drm driver comes with the kernel.

Yeah I updated the kernel. PopOS and NixOS are using 5.15. Unfortunately upgrading seemed to have no affect. I still get an error with AMDGPU and gbm_create_device.

I think the amdgpu driver version is the same. At the very least amdgpu is shown as the driver loaded in lspci. Maybe there’s a patch that PopOS and Ubuntu load that allows for this setup to work. I’m not sure where I’d look to find out how Ubuntu builds it’s packages though.

For now though I’ll see if I can create an independent program that can use gbm_create_device successfully. (I’ll probably just use this https://blogs.igalia.com/elima/tag/gbm/)

Got it working. :D Trying to make an independent program like I was talking about last post eventually led to the solution.

It was an issue where the amd opengl shared libraries were not in the path. (Things such as radeonsi_drv_video.so) The config for building the NixOS configuration had a very subtle bug where it would overwrite most of the set of all opengl packages when the nvidia one was being added. In sort, most opengl drivers were “missing” in the path. The error was a very small change to fix. I’ll upstream it soon enough.

The error message in the xorg logs was really unhelpful… but at least I figured it out.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.