question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to boot into nvidia mode after upgrading to linux 5.11.10

See original GitHub issue

Describe the bug Yesterday morning I upgraded linux, nvidia, and bbswitch. On reboot I was unable to start my X server. After lots of troubleshooting I discovered I was only able to get into nvidia mode if I booted into integrated mode and then switched to nvidia. The specific error thrown by Xorg on start is (EE) Screen(s) found, but none have a usable configuration. When I run xrandr it says no displays are found.

System info Please include : image

  • Your distribution: Arch Linux
  • Your desktop/display manager: None, just i3 and xinit
  • Your laptop model: Razer Blade 15, GTX 2070
  • The version of optimus-manager you are using : latest stable release (optimus-manager)
  • Your custom optimus-manager configuration file:
[optimus]
switching=bbswitch
pci_power_control=no
pci_remove=no
pci_reset=no

startup_mode=nvidia

[intel]

# Driver to use for the Intel GPU. Possible values : modesetting, intel
# To use the intel driver, you need to install the package "xf86-video-intel".
driver=modesetting

[nvidia]

# Whether or not to enable modesetting. Required for PRIME Synchronization (which prevents tearing).
modeset=yes

Logs After attempting to boot into nvidia, but X doesn’t start:

> optimus-manager --status
ERROR: a GPU setup was initiated but Xorg post-start hook did not run.
Log at /var/log/optimus-manager/switch/switch-20210330T112339.log
If your login manager is GDM, make sure to follow those instructions:
https://github.com/Askannz/optimus-manager#important--gnome-and-gdm-users
If your display manager is neither GDM, SDDM nor LightDM, or if you don't use one, read the wiki:
https://github.com/Askannz/optimus-manager/wiki/FAQ,-common-issues,-troubleshooting
Cannot execute command because of previous errors.

^^ I have prime-offload in my i3 bootup script After switching into nvidia from integrated:

> optimus-manager --status
Optimus Manager (Client) version 1.4

Current GPU mode : nvidia
GPU mode requested for next login : no change
GPU at startup : integrated
Temporary config path: no

switch logs:

> cat /var/log/optimus-manager/switch/switch-20210329T233755.log
[7] INFO: # Xorg pre-start hook
[7] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'hybrid'}
[7] INFO: Requested mode is: nvidia
[26] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[26] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210329T233755', 'requested_mode': 'nvidia'}
[26] INFO: Xorg pre-start hook completed successfully.
> cat /var/log/optimus-manager/switch/switch-20210329T234026.log
[12] INFO: # Xorg pre-start hook
[12] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'integrated', 'current_mode': None}
[13] INFO: Requested mode is: integrated
[909] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[909] INFO: Unloading modules ['nvidia_drm', 'nvidia_modeset', 'nvidia_uvm', 'nvidia'] (if loaded)
[912] INFO: Loading module bbswitch
[917] INFO: Setting GPU power to OFF via bbswitch
[1017] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[1018] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210329T234026', 'requested_mode': 'integrated'}
[1018] INFO: Xorg pre-start hook completed successfully.
[6] INFO: # Xorg post-start hook
[25] INFO: Running /etc/optimus-manager/xsetup-integrated.sh
[33] INFO: Writing state {'type': 'done', 'switch_id': '20210329T234026', 'current_mode': 'integrated'}
[34] INFO: Xorg post-start hook completed successfully.
> cat /var/log/optimus-manager/switch/switch-20210330T112843.log
[6] INFO: # Xorg pre-start hook
[6] INFO: Previous state was: {'type': 'pending_pre_xorg_start', 'requested_mode': 'nvidia', 'current_mode': 'integrated'}
[7] INFO: Requested mode is: nvidia
[792] INFO: Available modules: ['nouveau', 'bbswitch', 'nvidia', 'nvidia_drm', 'nvidia_modeset', 'nvidia_uvm']
[792] INFO: Unloading modules ['nouveau'] (if loaded)
[795] INFO: Loading module bbswitch
[798] INFO: Setting GPU power to ON via bbswitch
[3979] INFO: Loading module nvidia
[4731] INFO: Loading module nvidia_drm
[5953] INFO: Writing to /etc/X11/xorg.conf.d/10-optimus-manager.conf
[5953] INFO: Writing state {'type': 'pending_post_xorg_start', 'switch_id': '20210330T112843', 'requested_mode': 'nvidia'}
[5953] INFO: Xorg pre-start hook completed successfully.
[6] INFO: # Xorg post-start hook
[6] INFO: Running xrandr commands
[9] ERROR: Cannot setup PRIME (xrandr error):
None
[10] INFO: Running /etc/optimus-manager/xsetup-nvidia.sh
[24] ERROR: Cannot set DPI (xrandr error):
None
[24] INFO: Writing state {'type': 'done', 'switch_id': '20210330T112843', 'current_mode': 'nvidia'}
[24] INFO: Xorg post-start hook completed successfully.

Xorg logs:

[   104.615] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[   104.616] 
X.Org X Server 1.20.10
X Protocol Version 11, Revision 0
[   104.616] Build Operating System: Linux Arch Linux
[   104.616] Current Operating System: Linux razer 5.11.10-arch1-1 #1 SMP PREEMPT Fri, 26 Mar 2021 00:11:29 +0000 x86_64
[   104.616] Kernel command line: \\boot\vmlinuz-linux root=/dev/nvme0n1p5 rw add_efi_memmap initrd=boot\intel-ucode.img button.lid_init_state=open optimus-manager.startup=nvidia initrd=\boot\initramfs-linux.img
[   104.617] Build Date: 14 December 2020  12:10:29PM
[   104.617]  
[   104.617] Current version of pixman: 0.40.0
[   104.617] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   104.617] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   104.618] (==) Log file: "/home/nick/.local/share/xorg/Xorg.0.log", Time: Mon Mar 29 23:11:41 2021
[   104.618] (==) Using config directory: "/etc/X11/xorg.conf.d"
[   104.618] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   104.618] (==) ServerLayout "layout"
[   104.618] (**) |-->Screen "nvidia" (0)
[   104.618] (**) |   |-->Monitor "<default monitor>"
[   104.619] (**) |   |-->Device "nvidia"
[   104.619] (**) |   |-->GPUDevice "integrated"
[   104.619] (==) No monitor specified for screen "nvidia".
	Using a default monitor configuration.
[   104.619] (**) |-->Inactive Device "integrated"
[   104.619] (==) Automatically adding devices
[   104.619] (==) Automatically enabling devices
[   104.619] (==) Automatically adding GPU devices
[   104.619] (==) Automatically binding GPU devices
[   104.619] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   104.619] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   104.619] 	Entry deleted from font path.
[   104.619] (==) FontPath set to:
	/usr/share/fonts/misc,
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[   104.619] (**) ModulePath set to "/usr/lib/nvidia,/usr/lib32/nvidia,/usr/lib32/nvidia/xorg/modules,/usr/lib32/xorg/modules,/usr/lib64/nvidia/xorg/modules,/usr/lib64/nvidia/xorg,/usr/lib64/xorg/modules"
[   104.619] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   104.619] (II) Module ABI versions:
[   104.619] 	X.Org ANSI C Emulation: 0.4
[   104.619] 	X.Org Video Driver: 24.1
[   104.619] 	X.Org XInput driver : 24.1
[   104.619] 	X.Org Server Extension : 10.0
[   104.620] (++) using VT number 1

[   104.623] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[   104.624] (II) xfree86: Adding drm device (/dev/dri/card1)
[   104.625] (EE) systemd-logind: failed to take device /dev/dri/card1: Device or resource busy
[   104.625] (EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied
[   104.626] (II) xfree86: Adding drm device (/dev/dri/card0)
[   104.627] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 10 paused 0
[   104.631] (--) PCI:*(0@0:2:0) 8086:3e9b:1a58:2005 rev 0, Mem @ 0x6043000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[   104.631] (--) PCI: (1@0:0:0) 10de:1f10:1a58:2005 rev 161, Mem @ 0x57000000/16777216, 0x6030000000/268435456, 0x6040000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[   104.631] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   104.631] (II) LoadModule: "glx"
[   104.632] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   104.634] (II) Module glx: vendor="X.Org Foundation"
[   104.634] 	compiled for 1.20.10, module version = 1.0.0
[   104.634] 	ABI class: X.Org Server Extension, version 10.0
[   104.634] (II) LoadModule: "nvidia"
[   104.634] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[   104.634] (II) Module nvidia: vendor="NVIDIA Corporation"
[   104.634] 	compiled for 1.6.99.901, module version = 1.0.0
[   104.634] 	Module class: X.Org Video Driver
[   104.634] (II) LoadModule: "modesetting"
[   104.635] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[   104.635] (II) Module modesetting: vendor="X.Org Foundation"
[   104.635] 	compiled for 1.20.10, module version = 1.20.10
[   104.635] 	Module class: X.Org Video Driver
[   104.635] 	ABI class: X.Org Video Driver, version 24.1
[   104.635] (II) NVIDIA dlloader X Driver  460.67  Thu Mar 11 00:09:07 UTC 2021
[   104.635] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   104.635] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   104.635] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[   104.635] (II) Loading sub module "fb"
[   104.635] (II) LoadModule: "fb"
[   104.636] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   104.636] (II) Module fb: vendor="X.Org Foundation"
[   104.636] 	compiled for 1.20.10, module version = 1.0.0
[   104.636] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   104.636] (II) Loading sub module "wfb"
[   104.636] (II) LoadModule: "wfb"
[   104.636] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[   104.636] (II) Module wfb: vendor="X.Org Foundation"
[   104.636] 	compiled for 1.20.10, module version = 1.0.0
[   104.636] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   104.636] (II) Loading sub module "ramdac"
[   104.636] (II) LoadModule: "ramdac"
[   104.636] (II) Module "ramdac" already built-in
[   104.637] (II) modeset(G0): using drv /dev/dri/card0
[   104.637] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[   104.637] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"nvidia" for depth/fbbpp 24/32
[   104.637] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   104.637] (==) NVIDIA(0): RGB weight 888
[   104.637] (==) NVIDIA(0): Default visual is TrueColor
[   104.637] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   104.637] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   104.637] (**) NVIDIA(0): Option "Coolbits" "28"
[   104.637] (**) NVIDIA(0): Enabling 2D acceleration
[   104.637] (II) Loading sub module "glxserver_nvidia"
[   104.637] (II) LoadModule: "glxserver_nvidia"
[   104.637] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   104.647] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   104.647] 	compiled for 1.6.99.901, module version = 1.0.0
[   104.647] 	Module class: X.Org Server Extension
[   104.647] (II) NVIDIA GLX Module  460.67  Thu Mar 11 00:06:44 UTC 2021
[   104.648] (II) NVIDIA: The X server supports PRIME Render Offload.
[   104.650] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   104.650] (--) NVIDIA(0):     DFP-0
[   104.650] (--) NVIDIA(0):     DFP-1
[   104.650] (--) NVIDIA(0):     DFP-2
[   104.650] (--) NVIDIA(0):     DFP-3
[   104.650] (--) NVIDIA(0):     DFP-4
[   104.650] (--) NVIDIA(0):     DFP-5
[   104.650] (--) NVIDIA(0):     DFP-6
[   104.652] (II) NVIDIA(0): NVIDIA GPU GeForce RTX 2070 with Max-Q Design (TU106-A) at
[   104.652] (II) NVIDIA(0):     PCI:1:0:0 (GPU-0)
[   104.652] (--) NVIDIA(0): Memory: 8388608 kBytes
[   104.652] (--) NVIDIA(0): VideoBIOS: 90.06.3c.00.55
[   104.652] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   104.652] (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.
[   104.652] (EE) NVIDIA(0): Failing initialization of X screen
[   104.654] (II) UnloadModule: "nvidia"
[   104.654] (II) UnloadSubModule: "glxserver_nvidia"
[   104.654] (II) Unloading glxserver_nvidia
[   104.654] (II) UnloadSubModule: "wfb"
[   104.654] (II) UnloadSubModule: "fb"
[   104.654] (==) modeset(G0): Depth 24, (==) framebuffer bpp 32
[   104.654] (==) modeset(G0): RGB weight 888
[   104.654] (==) modeset(G0): Default visual is TrueColor
[   104.654] (II) Loading sub module "glamoregl"
[   104.654] (II) LoadModule: "glamoregl"
[   104.654] (II) Loading /usr/lib64/xorg/modules/libglamoregl.so
[   104.661] (II) Module glamoregl: vendor="X.Org Foundation"
[   104.661] 	compiled for 1.20.10, module version = 1.0.1
[   104.661] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   104.709] (II) modeset(G0): glamor X acceleration enabled on Mesa Intel(R) UHD Graphics 630 (CFL GT2)
[   104.709] (II) modeset(G0): glamor initialized
[   104.711] (II) modeset(G0): Output eDP-1-1 has no monitor section
[   104.712] (II) modeset(G0): EDID for output eDP-1-1
[   104.712] (II) modeset(G0): Manufacturer: SHP  Model: 14c5  Serial#: 0
[   104.712] (II) modeset(G0): Year: 2019  Week: 9
[   104.712] (II) modeset(G0): EDID Version: 1.4
[   104.712] (II) modeset(G0): Digital Display Input
[   104.712] (II) modeset(G0): 8 bits per channel
[   104.712] (II) modeset(G0): Digital interface is DisplayPort
[   104.712] (II) modeset(G0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   104.712] (II) modeset(G0): Gamma: 2.20
[   104.712] (II) modeset(G0): No DPMS capabilities specified
[   104.712] (II) modeset(G0): Supported color encodings: RGB 4:4:4 
[   104.712] (II) modeset(G0): Default color space is primary color space
[   104.712] (II) modeset(G0): First detailed timing is preferred mode
[   104.712] (II) modeset(G0): Preferred mode is native pixel format and refresh rate
[   104.712] (II) modeset(G0): Display is continuous-frequency
[   104.712] (II) modeset(G0): redX: 0.640 redY: 0.329   greenX: 0.300 greenY: 0.600
[   104.712] (II) modeset(G0): blueX: 0.149 blueY: 0.060   whiteX: 0.312 whiteY: 0.328
[   104.712] (II) modeset(G0): Manufacturer's mask: 0
[   104.712] (II) modeset(G0): Supported detailed timing:
[   104.712] (II) modeset(G0): clock: 533.3 MHz   Image Size:  344 x 194 mm
[   104.712] (II) modeset(G0): h_active: 1920  h_sync: 1944  h_sync_end 1984 h_blank_end 2000 h_border: 0
[   104.712] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1111 v_border: 0
[   104.712] (II) modeset(G0): Supported detailed timing:
[   104.712] (II) modeset(G0): clock: 133.3 MHz   Image Size:  344 x 194 mm
[   104.712] (II) modeset(G0): h_active: 1920  h_sync: 1944  h_sync_end 1984 h_blank_end 2000 h_border: 0
[   104.712] (II) modeset(G0): v_active: 1080  v_sync: 1083  v_sync_end 1088 v_blanking: 1111 v_border: 0
[   104.712] (II) modeset(G0): Monitor name: LQ156M1JW03
[   104.712] (II) modeset(G0): EDID (in hex):
[   104.712] (II) modeset(G0): 	00ffffffffffff004d10c51400000000
[   104.712] (II) modeset(G0): 	091d0104a522137807de50a3544c9926
[   104.712] (II) modeset(G0): 	0f505400000001010101010101010101
[   104.712] (II) modeset(G0): 	01010101010150d0805070381f401828
[   104.712] (II) modeset(G0): 	350058c2100000181434805070381f40
[   104.712] (II) modeset(G0): 	1828350058c210000018000000100000
[   104.712] (II) modeset(G0): 	000000000000000000000000000000fc
[   104.712] (II) modeset(G0): 	004c513135364d314a5730330a2000e4
[   104.712] (II) modeset(G0): Printing probed modes for output eDP-1-1
[   104.712] (II) modeset(G0): Modeline "1920x1080"x240.0  533.28  1920 1944 1984 2000  1080 1083 1088 1111 -hsync -vsync (266.6 kHz eP)
[   104.712] (II) modeset(G0): Modeline "1920x1080"x120.0  356.38  1920 2080 2288 2656  1080 1081 1084 1118 doublescan -hsync +vsync (134.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "1920x1080"x119.9  266.50  1920 1944 1960 2000  1080 1081 1084 1111 doublescan +hsync -vsync (133.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "1920x1080"x60.0  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync (67.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "1920x1080"x59.9  138.50  1920 1968 2000 2080  1080 1083 1088 1111 +hsync -vsync (66.6 kHz d)
[   104.712] (II) modeset(G0): Modeline "1920x1080"x60.0  133.32  1920 1944 1984 2000  1080 1083 1088 1111 -hsync -vsync (66.7 kHz e)
[   104.712] (II) modeset(G0): Modeline "1680x1050"x60.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "1680x1050"x59.9  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsync -vsync (64.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1400x1050"x74.8  155.80  1400 1464 1784 1912  1050 1052 1064 1090 +hsync +vsync (81.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "1400x1050"x60.0  122.00  1400 1488 1640 1880  1050 1052 1064 1082 +hsync +vsync (64.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "1600x900"x120.0  246.00  1600 1728 1900 2200  900 901 904 932 doublescan -hsync +vsync (111.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "1600x900"x119.9  186.50  1600 1624 1640 1680  900 901 904 926 doublescan +hsync -vsync (111.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1600x900"x59.9  118.25  1600 1696 1856 2112  900 903 908 934 -hsync +vsync (56.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1600x900"x59.8   97.50  1600 1648 1680 1760  900 903 908 926 +hsync -vsync (55.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x1024"x85.0  157.50  1280 1344 1504 1728  1024 1025 1028 1072 +hsync +vsync (91.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x1024"x75.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x1024"x60.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1400x900"x60.0  103.50  1400 1480 1624 1848  900 903 913 934 -hsync +vsync (56.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1400x900"x59.9   86.50  1400 1448 1480 1560  900 903 913 926 +hsync -vsync (55.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x960"x85.0  148.50  1280 1344 1504 1728  960 961 964 1011 +hsync +vsync (85.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x960"x60.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +vsync (60.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1440x810"x120.0  198.12  1440 1548 1704 1968  810 811 814 839 doublescan -hsync +vsync (100.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1440x810"x119.9  151.88  1440 1464 1480 1520  810 811 814 833 doublescan +hsync -vsync (99.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "1368x768"x59.9   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync (47.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "1368x768"x59.9   72.25  1368 1416 1448 1528  768 771 781 790 +hsync -vsync (47.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x800"x120.0  174.25  1280 1380 1516 1752  800 801 804 829 doublescan -hsync +vsync (99.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x800"x119.9  134.25  1280 1304 1320 1360  800 801 804 823 doublescan +hsync -vsync (98.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x800"x59.8   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x800"x59.9   71.00  1280 1328 1360 1440  800 803 809 823 +hsync -vsync (49.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "1152x864"x75.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x720"x120.0  156.12  1280 1376 1512 1744  720 721 724 746 doublescan -hsync +vsync (89.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x720"x120.0  120.75  1280 1304 1320 1360  720 721 724 740 doublescan +hsync -vsync (88.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x720"x59.9   74.50  1280 1344 1472 1664  720 723 728 748 -hsync +vsync (44.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "1280x720"x59.7   63.75  1280 1328 1360 1440  720 723 728 741 +hsync -vsync (44.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x170.0  194.02  1024 1108 1220 1416  768 768 770 806 doublescan -hsync +vsync (137.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x150.1  170.24  1024 1108 1220 1416  768 768 770 801 doublescan -hsync +vsync (120.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x120.1  133.47  1024 1100 1212 1400  768 768 770 794 doublescan -hsync +vsync (95.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x85.0   94.50  1024 1072 1168 1376  768 769 772 808 +hsync +vsync (68.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x75.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x70.1   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x768i"x43.5   44.90  1024 1032 1208 1264  768 768 776 817 interlace +hsync +vsync (35.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x720"x170.0  170.68  960 1036 1144 1328  720 720 722 756 doublescan -hsync +vsync (128.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x720"x150.0  148.50  960 1032 1144 1320  720 720 722 750 doublescan -hsync +vsync (112.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x720"x120.0  117.00  960 1024 1128 1300  720 720 722 750 doublescan -hsync +vsync (90.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "928x696"x150.0  144.00  928 992 1104 1280  696 696 698 750 doublescan -hsync +vsync (112.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "928x696"x120.1  109.15  928 976 1088 1264  696 696 698 719 doublescan -hsync +vsync (86.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "896x672"x150.1  130.50  896 944 1052 1228  672 672 674 708 doublescan -hsync +vsync (106.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "896x672"x120.0  102.40  896 960 1060 1224  672 672 674 697 doublescan -hsync +vsync (83.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x576"x119.9   98.50  1024 1092 1200 1376  576 577 580 597 doublescan -hsync +vsync (71.6 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x576"x119.9   78.38  1024 1048 1064 1104  576 577 580 592 doublescan +hsync -vsync (71.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x576"x59.9   46.50  1024 1064 1160 1296  576 579 584 599 -hsync +vsync (35.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "1024x576"x59.8   42.00  1024 1072 1104 1184  576 579 584 593 +hsync -vsync (35.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x600"x119.9   96.62  960 1028 1128 1296  600 601 604 622 doublescan -hsync +vsync (74.6 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x600"x120.0   77.00  960 984 1000 1040  600 601 604 617 doublescan +hsync -vsync (74.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "832x624"x74.6   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x540"x119.9   86.50  960 1024 1124 1288  540 541 544 560 doublescan -hsync +vsync (67.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x540"x120.0   69.25  960 984 1000 1040  540 541 544 555 doublescan +hsync -vsync (66.6 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x540"x59.6   40.75  960 992 1088 1216  540 543 548 562 -hsync +vsync (33.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "960x540"x59.8   37.25  960 1008 1040 1120  540 543 548 556 +hsync -vsync (33.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x170.0  114.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (106.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x150.0  101.25  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (93.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x140.0   94.50  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (87.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x130.0   87.75  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (81.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x120.0   81.00  800 832 928 1080  600 600 602 625 doublescan +hsync +vsync (75.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x85.1   56.30  800 832 896 1048  600 601 604 631 +hsync +vsync (53.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x72.2   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x75.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "840x525"x120.0   73.12  840 892 980 1120  525 526 529 544 doublescan -hsync +vsync (65.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "840x525"x119.8   59.50  840 864 880 920  525 526 529 540 doublescan +hsync -vsync (64.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "864x486"x59.9   32.50  864 888 968 1072  486 489 494 506 -hsync +vsync (30.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "864x486"x59.6   30.50  864 912 944 1024  486 489 494 500 +hsync -vsync (29.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "700x525"x149.5   77.90  700 732 892 956  525 526 532 545 doublescan +hsync +vsync (81.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "700x525"x120.0   61.00  700 744 820 940  525 526 532 541 doublescan +hsync +vsync (64.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x450"x119.9   59.12  800 848 928 1056  450 451 454 467 doublescan -hsync +vsync (56.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "800x450"x119.6   48.75  800 824 840 880  450 451 454 463 doublescan +hsync -vsync (55.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x512"x170.0   78.75  640 672 752 864  512 512 514 536 doublescan +hsync +vsync (91.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x512"x150.0   67.50  640 648 720 844  512 512 514 533 doublescan +hsync +vsync (80.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x512"x120.0   54.00  640 664 720 844  512 512 514 533 doublescan +hsync +vsync (64.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "700x450"x119.9   51.75  700 740 812 924  450 451 456 467 doublescan -hsync +vsync (56.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "700x450"x119.8   43.25  700 724 740 780  450 451 456 463 doublescan +hsync -vsync (55.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x170.2   74.25  640 672 752 864  480 480 482 505 doublescan +hsync +vsync (85.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x120.0   54.00  640 688 744 900  480 480 482 500 doublescan +hsync +vsync (60.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x85.0   36.00  640 696 752 832  480 481 484 509 -hsync -vsync (43.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x72.8   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x75.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "720x405"x59.5   22.50  720 744 808 896  405 408 413 422 -hsync +vsync (25.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "720x405"x59.0   21.75  720 768 800 880  405 408 413 419 +hsync -vsync (24.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "720x400"x85.0   35.50  720 756 828 936  400 401 404 446 -hsync +vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "684x384"x119.8   42.62  684 720 788 892  384 385 390 399 doublescan -hsync +vsync (47.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "684x384"x119.7   36.12  684 708 724 764  384 385 390 395 doublescan +hsync -vsync (47.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x400"x119.8   41.75  640 676 740 840  400 401 404 415 doublescan -hsync +vsync (49.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x400"x120.0   35.50  640 664 680 720  400 401 404 411 doublescan +hsync -vsync (49.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x400"x85.1   31.50  640 672 736 832  400 401 404 445 -hsync +vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "576x432"x150.0   54.00  576 608 672 800  432 432 434 450 doublescan +hsync +vsync (67.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x360"x119.7   37.25  640 672 736 832  360 361 364 374 doublescan -hsync +vsync (44.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x360"x119.7   31.88  640 664 680 720  360 361 364 370 doublescan +hsync -vsync (44.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x360"x59.8   18.00  640 664 720 800  360 363 368 376 -hsync +vsync (22.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x360"x59.3   17.75  640 688 720 800  360 363 368 374 +hsync -vsync (22.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "640x350"x85.1   31.50  640 672 736 832  350 382 385 445 +hsync -vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x384"x170.0   47.25  512 536 584 688  384 384 386 404 doublescan +hsync +vsync (68.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x384"x150.1   39.38  512 520 568 656  384 384 386 400 doublescan +hsync +vsync (60.0 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x384"x140.1   37.50  512 524 592 664  384 385 388 403 doublescan -hsync -vsync (56.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x384"x120.0   32.50  512 524 592 672  384 385 388 403 doublescan -hsync -vsync (48.4 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x384i"x87.1   22.45  512 516 604 632  384 384 388 408 interlace doublescan +hsync +vsync (35.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x288"x120.0   23.25  512 532 580 648  288 289 292 299 doublescan -hsync +vsync (35.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "512x288"x119.8   21.00  512 536 552 592  288 289 292 296 doublescan +hsync -vsync (35.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "416x312"x149.3   28.64  416 432 464 576  312 312 314 333 doublescan -hsync -vsync (49.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "480x270"x119.3   20.38  480 496 544 608  270 271 274 281 doublescan -hsync +vsync (33.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "480x270"x119.6   18.62  480 504 520 560  270 271 274 278 doublescan +hsync -vsync (33.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "400x300"x170.5   28.15  400 416 448 524  300 300 302 315 doublescan +hsync +vsync (53.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "400x300"x144.4   25.00  400 428 488 520  300 318 321 333 doublescan +hsync +vsync (48.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "400x300"x150.2   24.75  400 408 448 528  300 300 302 312 doublescan +hsync +vsync (46.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "400x300"x120.6   20.00  400 420 484 528  300 300 302 314 doublescan +hsync +vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "400x300"x112.7   18.00  400 412 448 512  300 300 301 312 doublescan +hsync +vsync (35.2 kHz d)
[   104.712] (II) modeset(G0): Modeline "432x243"x119.8   16.25  432 444 484 536  243 244 247 253 doublescan -hsync +vsync (30.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "432x243"x119.1   15.25  432 456 472 512  243 244 247 250 doublescan +hsync -vsync (29.8 kHz d)
[   104.712] (II) modeset(G0): Modeline "320x240"x170.4   18.00  320 348 376 416  240 240 242 254 doublescan -hsync -vsync (43.3 kHz d)
[   104.712] (II) modeset(G0): Modeline "320x240"x145.6   15.75  320 332 352 416  240 244 246 260 doublescan -hsync -vsync (37.9 kHz d)
[   104.712] (II) modeset(G0): Modeline "320x240"x150.0   15.75  320 328 360 420  240 240 242 250 doublescan -hsync -vsync (37.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "320x240"x120.1   12.59  320 328 376 400  240 245 246 262 doublescan -hsync -vsync (31.5 kHz d)
[   104.712] (II) modeset(G0): Modeline "360x202"x119.0   11.25  360 372 404 448  202 204 206 211 doublescan -hsync +vsync (25.1 kHz d)
[   104.712] (II) modeset(G0): Modeline "360x202"x118.3   10.88  360 384 400 440  202 204 206 209 doublescan +hsync -vsync (24.7 kHz d)
[   104.712] (II) modeset(G0): Modeline "360x200"x170.1   17.75  360 378 414 468  200 200 202 223 doublescan -hsync +vsync (37.9 kHz d)
[   104.713] (II) modeset(G0): Modeline "320x200"x170.5   15.75  320 336 368 416  200 200 202 222 doublescan -hsync +vsync (37.9 kHz d)
[   104.713] (II) modeset(G0): Modeline "320x180"x119.7    9.00  320 332 360 400  180 181 184 188 doublescan -hsync +vsync (22.5 kHz d)
[   104.713] (II) modeset(G0): Modeline "320x180"x118.6    8.88  320 344 360 400  180 181 184 187 doublescan +hsync -vsync (22.2 kHz d)
[   104.713] (II) modeset(G0): Modeline "320x175"x170.5   15.75  320 336 368 416  175 191 192 222 doublescan +hsync -vsync (37.9 kHz d)
[   104.713] (==) modeset(G0): Using gamma correction (1.0, 1.0, 1.0)
[   104.713] (==) modeset(G0): DPI set to (96, 96)
[   104.713] (II) Loading sub module "fb"
[   104.713] (II) LoadModule: "fb"
[   104.713] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   104.713] (II) Module fb: vendor="X.Org Foundation"
[   104.713] 	compiled for 1.20.10, module version = 1.0.0
[   104.713] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   104.713] (EE) Screen(s) found, but none have a usable configuration.
[   104.713] (EE) 
Fatal server error:
[   104.713] (EE) no screens found(EE) 
[   104.713] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   104.713] (EE) Please also check the log file at "/home/nick/.local/share/xorg/Xorg.0.log" for additional information.
[   104.713] (EE) 
[   104.716] (EE) Server terminated with error (1). Closing log file.

pacman logs from the update that caused this issue:

> cat /var/log/pacman.log | grep -e nvidia -e bbswitch -e linux
[2021-03-29T08:03:47-0700] [PACMAN] Running 'pacman -S -u --config /etc/pacman.conf -- core/linux community/bbswitch community/croc core/dialog core/glib2 core/glib2-docs core/krb5 core/less core/libssh2 core/linux-headers core/pinentry core/sqlite core/xfsprogs extra/pango extra/mesa extra/gtk-update-icon-cache extra/gtk3 extra/gsfonts extra/evince extra/fontconfig extra/ffmpeg extra/gcr extra/git extra/gnome-keyring extra/gst-plugin-gtk extra/gst-plugins-bad-libs extra/gst-plugins-good extra/gst-plugins-bad extra/imagemagick extra/libwpe extra/libxaw extra/noto-fonts extra/nvidia extra/p7zip extra/python-chardet extra/python-lxml extra/tracker3 extra/ttf-croscore extra/ttf-dejavu community/libmanette extra/webkit2gtk extra/xterm multilib/lib32-mesa'
[2021-03-29T08:04:21-0700] [ALPM] upgraded linux (5.11.9.arch1-1 -> 5.11.10.arch1-1)
[2021-03-29T08:04:21-0700] [ALPM] upgraded bbswitch (0.8-399 -> 0.8-400)
[2021-03-29T08:04:23-0700] [ALPM] upgraded linux-headers (5.11.9.arch1-1 -> 5.11.10.arch1-1)
[2021-03-29T08:04:28-0700] [ALPM] upgraded nvidia (460.67-3 -> 460.67-4)

bootup logs when booting to nvidia:

> journalctl -k | grep nvidia
Mar 30 10:23:50 razer kernel: nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
Mar 30 11:23:40 razer kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000
Mar 30 11:23:41 razer kernel: nvidia: module license 'NVIDIA' taints kernel.
Mar 30 11:23:41 razer kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 235
Mar 30 11:23:41 razer kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Mar 30 11:23:41 razer kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  460.67  Thu Mar 11 00:03:18 UTC 2021
Mar 30 11:23:41 razer kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Mar 30 11:23:42 razer kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1

bootup logs when booting to integrated then switching to nvidia:

> journalctl -k | grep -e nvidia -e intel
Mar 29 22:40:31 razer kernel: Command line: \\boot\vmlinuz-linux root=/dev/nvme0n1p5 rw add_efi_memmap initrd=boot\intel-ucode.img button.lid_init_state=open initrd=\boot\initramfs-linux.img
Mar 29 22:40:31 razer kernel: Kernel command line: \\boot\vmlinuz-linux root=/dev/nvme0n1p5 rw add_efi_memmap initrd=boot\intel-ucode.img button.lid_init_state=open initrd=\boot\initramfs-linux.img
Mar 29 22:40:31 razer kernel: intel_idle: MWAIT substates: 0x11142120
Mar 29 22:40:31 razer kernel: intel_idle: v0.5.1 model 0x9E
Mar 29 22:40:31 razer kernel: intel_idle: Local APIC timer is reliable in all C-states
Mar 29 22:40:31 razer kernel: intel_pstate: Intel P-state driver initializing
Mar 29 22:40:31 razer kernel: intel_pstate: Disabling energy efficiency optimization
Mar 29 22:40:31 razer kernel: intel_pstate: HWP enabled
Mar 29 22:40:31 razer kernel: intel_pmc_core INT33A1:00:  initialized
Mar 29 22:40:31 razer kernel: nvidia-gpu 0000:01:00.3: enabling device (0000 -> 0002)
Mar 29 22:40:31 razer kernel: intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
Mar 29 22:40:31 razer kernel: intel_rapl_common: Found RAPL domain package
Mar 29 22:40:31 razer kernel: intel_rapl_common: Found RAPL domain dram
Mar 29 22:40:31 razer kernel: intel-lpss 0000:00:1e.0: enabling device (0000 -> 0002)
Mar 29 22:40:31 razer kernel: fb0: switching to inteldrmfb from EFI VGA
Mar 29 22:40:31 razer kernel: i915 0000:00:02.0: [drm] Panel advertises DPCD backlight support, but VBT disagrees. If your backlight controls don't work try booting with i915.enable_dpcd_backlight=1. If your machine needs this, please file a _new_ bug report on drm/i915, see https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs for details.
Mar 29 23:40:25 razer kernel: snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
Mar 29 23:40:25 razer kernel: snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
Mar 29 23:40:25 razer kernel: snd_hda_intel 0000:01:00.1: enabling device (0000 -> 0002)
Mar 29 23:40:25 razer kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
Mar 29 23:40:25 razer kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Mar 29 23:40:26 razer kernel: intel_rapl_common: Found RAPL domain package
Mar 29 23:40:26 razer kernel: intel_rapl_common: Found RAPL domain core
Mar 29 23:40:26 razer kernel: intel_rapl_common: Found RAPL domain uncore
Mar 29 23:40:26 razer kernel: intel_rapl_common: Found RAPL domain dram
Mar 29 23:40:26 razer kernel: intel_rapl_common: Found RAPL domain psys
Mar 29 23:40:27 razer kernel: snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
Mar 29 23:40:27 razer kernel: nvidia-gpu 0000:01:00.3: i2c timeout error ffffffff
Mar 29 23:40:27 razer kernel: snd_hda_intel 0000:01:00.1: can't change power state from D0 to D3hot (config space inaccessible)
Mar 29 23:40:30 razer kernel: nvidia-gpu 0000:01:00.3: can't change power state from D0 to D3hot (config space inaccessible)
Mar 29 23:40:41 razer kernel: snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
Mar 29 23:41:13 razer kernel: snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
Mar 29 23:41:25 razer kernel: snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
Mar 29 23:41:37 razer kernel: snd_hda_intel 0000:01:00.1: can't change power state from D3cold to D0 (config space inaccessible)
Mar 29 23:41:43 razer kernel: nvidia: module license 'NVIDIA' taints kernel.
Mar 29 23:41:43 razer kernel: nvidia-nvlink: Nvlink Core is being initialized, major device number 234
Mar 29 23:41:43 razer kernel: nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
Mar 29 23:41:43 razer kernel: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  460.67  Thu Mar 11 00:03:18 UTC 2021
Mar 29 23:41:43 razer kernel: [drm] [nvidia-drm] [GPU ID 0x00000100] Loading driver
Mar 29 23:41:44 razer kernel: [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:01:00.0 on minor 1

I need nvidia mode to use my external monitor 😭

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
tgeltercommented, Apr 12, 2021

Come to think of it, I did change the end of my .xinitrc file (I don’t use a display manager, just Xorg and i3):

prime-offload &
i3
sudo prime-switch 

but that didn’t resolve the issue, only upgrading mesa seems to have done the trick for me.

On reboot, are you still seeing the same error as before? I think the relevant one in the Xorg logs for me was (EE) NVIDIA(GPU-0): Failed to acquire modesetting permission.

I was able to get the issue fixed on my side by upgrading gdm-prime & libgdm-prime. I’m not sure why they were being missed in previous full-system upgrades, but it’s probably due to a pacman database restore I performed last year.

❯ egrep "upgraded.*gdm" /var/log/pacman.log 
[2020-02-18T14:23:39-0700] [ALPM] upgraded libgdm (3.34.1-1 -> 3.34.1-2)
[2020-04-13T08:25:14-0600] [ALPM] upgraded gdm-prime (3.34.1-1 -> 3.34.1-3)
[2020-05-05T08:25:39-0600] [ALPM] upgraded libgdm (3.34.1-2 -> 3.36.2-1)
[2020-05-17T14:17:10-0600] [ALPM] upgraded gdm-prime (3.34.1-3 -> 3.36.2-1)
grep: /var/log/pacman.log: binary file matches

Thanks much for the help @ClydeDroid!

1reaction
nickclydecommented, Apr 7, 2021

Just confirmed that downgrading mesa and lib32-mesa to version 20.3.4-3 resolved the issue and I am able to boot into nvidia mode again ¯\(ツ)

Looks like there are a bunch of issues w/ mesa 21, could possibly be related to this bug report

Read more comments on GitHub >

github_iconTop Results From Across the Web

After Kernel 5.11 update, computer won't boot? Related to ...
I am not able to succesfully load Ubuntu, half way through it stops and a black screen with a _ sign appears in...
Read more >
Can't boot after upgrading to 510 driver on Ubuntu 20.04
Can't boot into ubuntu 20.04 after apt-get installed nvidia-driver-510. syslog shows no matching GPU found (I have 1080ti):.
Read more >
NVIDIA-SMI has failed because it couldn't communicate with ...
Hello, I have a problem with Nvidia driver. When I run nvidia-smi I get: NVIDIA-SMI has failed because it couldn't communicate with the ......
Read more >
Can't install nvidia-driver in ubuntu 20.04.2 kernel version 5.8 ...
I can't install nvidia-driver-460 in newly installed ubuntu 20.04. I ran command sudo ubuntu-drivers autoinstall then I got errors bellow.
Read more >
Black screen after install of nvidia driver ubuntu - Linux
Please update SBIOS to latest release and then try with latest nvidia driver. Will await for test results. jbischoff February ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found