You are not logged in.
I installed optimus-manager and now i cannot load a graphical environment. the xorg logs say that no screens are found and lightdm fails to start because of no display.
xorg log
[ 9.734]
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[ 9.734] Current Operating System: Linux poslop-a 5.18.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 09 Jun 2022 16:14:10 +0000 x86_64
[ 9.734] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=a99ac6cb-8d8e-488d-93d6-ffe2e4b5dcee rw rootfstype=ext4 loglevel=3 quiet ibt=off optimus-manager.startup=nvidia
[ 9.734]
[ 9.734] Current version of pixman: 0.40.0
[ 9.734] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 9.734] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 9.734] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 12 17:16:35 2022
[ 9.734] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 9.734] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 9.734] (==) ServerLayout "layout"
[ 9.734] (**) |-->Screen "nvidia" (0)
[ 9.734] (**) | |-->Monitor "<default monitor>"
[ 9.735] (**) | |-->Device "nvidia"
[ 9.735] (**) | |-->GPUDevice "integrated"
[ 9.735] (==) No monitor specified for screen "nvidia".
Using a default monitor configuration.
[ 9.735] (**) |-->Inactive Device "integrated"
[ 9.735] (==) Automatically adding devices
[ 9.735] (==) Automatically enabling devices
[ 9.735] (==) Automatically adding GPU devices
[ 9.735] (==) Automatically binding GPU devices
[ 9.735] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 9.735] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[ 9.735] Entry deleted from font path.
[ 9.735] (==) FontPath set to:
[ 9.735] (**) 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"
[ 9.735] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 9.735] (II) Module ABI versions:
[ 9.735] X.Org ANSI C Emulation: 0.4
[ 9.735] X.Org Video Driver: 25.2
[ 9.735] X.Org XInput driver : 24.4
[ 9.735] X.Org Server Extension : 10.0
[ 9.735] (++) using VT number 7
[ 9.735] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 9.735] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 9.735] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[ 9.755] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 9.755] (II) Platform probe for /sys/devices/pci0000:00/0000:00:02.0/drm/card0
[ 9.760] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/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"
[ 9.760] (--) PCI:*(0@0:2:0) 8086:46a6:1043:1cbc rev 12, Mem @ 0x622e000000/16777216, 0x4000000000/268435456, I/O @ 0x00004000/64, BIOS @ 0x????????/131072
[ 9.761] (--) PCI: (1@0:0:0) 10de:2520:1043:1cbc rev 161, Mem @ 0x5f000000/16777216, 0x6000000000/8589934592, 0x6200000000/33554432, I/O @ 0x00003000/128, BIOS @ 0x????????/524288
[ 9.761] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 9.761] (II) LoadModule: "glx"
[ 9.761] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 9.761] (II) Module glx: vendor="X.Org Foundation"
[ 9.761] compiled for 1.21.1.3, module version = 1.0.0
[ 9.761] ABI class: X.Org Server Extension, version 10.0
[ 9.761] (II) LoadModule: "nvidia"
[ 9.761] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 9.761] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 9.761] compiled for 1.6.99.901, module version = 1.0.0
[ 9.761] Module class: X.Org Video Driver
[ 9.761] (II) LoadModule: "modesetting"
[ 9.761] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 9.762] (II) Module modesetting: vendor="X.Org Foundation"
[ 9.762] compiled for 1.21.1.3, module version = 1.21.1
[ 9.762] Module class: X.Org Video Driver
[ 9.762] ABI class: X.Org Video Driver, version 25.2
[ 9.762] (II) NVIDIA dlloader X Driver 515.48.07 Fri May 27 03:23:48 UTC 2022
[ 9.762] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 9.762] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 9.762] (WW) Falling back to old probe method for modesetting
[ 9.776] (II) modeset(0): using default device
[ 9.793] (II) modeset(0): using default device
[ 9.793] (II) Loading sub module "fb"
[ 9.793] (II) LoadModule: "fb"
[ 9.793] (II) Module "fb" already built-in
[ 9.793] (II) Loading sub module "wfb"
[ 9.793] (II) LoadModule: "wfb"
[ 9.793] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 9.793] (II) Module wfb: vendor="X.Org Foundation"
[ 9.793] compiled for 1.21.1.3, module version = 1.0.0
[ 9.793] ABI class: X.Org ANSI C Emulation, version 0.4
[ 9.793] (II) Loading sub module "ramdac"
[ 9.793] (II) LoadModule: "ramdac"
[ 9.793] (II) Module "ramdac" already built-in
[ 9.809] (II) modeset(G1): using drv /dev/dri/card0
[ 9.810] (EE) Screen 0 deleted because of no matching config section.
[ 9.810] (II) UnloadModule: "modesetting"
[ 9.810] (EE) Device(s) detected, but none match those in the config file.
[ 9.810] (EE)
Fatal server error:
[ 9.810] (EE) no screens found(EE)
[ 9.810] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[ 9.810] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 9.810] (EE)
[ 9.863] (EE) Server terminated with error (1). Closing log file.
optimus loads a xorg config by default
Section "Files"
ModulePath "/usr/lib/nvidia"
ModulePath "/usr/lib32/nvidia"
ModulePath "/usr/lib32/nvidia/xorg/modules"
ModulePath "/usr/lib32/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg/modules"
ModulePath "/usr/lib64/nvidia/xorg"
ModulePath "/usr/lib64/xorg/modules"
EndSection
Section "ServerLayout"
Identifier "layout"
Screen 0 "nvidia"
Inactive "integrated"
EndSection
Section "Device"
Identifier "nvidia"
Driver "nvidia"
BusID "PCI:0:1:0:0"
Option "Coolbits" "28"
EndSection
Section "Screen"
Identifier "nvidia"
Device "nvidia"
Option "AllowEmptyInitialConfiguration"
EndSection
Section "Device"
Identifier "integrated"
Driver "modesetting"
BusID "PCI:0:0:2:0"
EndSection
Section "Screen"
Identifier "integrated"
Device "integrated"
EndSection
i have it set everywhere to load nvidia mode for optimus on boot but before that integrated was not working either
here is lspci
0000:00:02.0 VGA compatible controller: Intel Corporation Alder Lake-P Integrated Graphics Controller (rev 0c)
0000:01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1)
Offline
Does it work if you remove optimus-manager and just use normal PRIME? https://wiki.archlinux.org/title/PRIME# … er_offload
Offline
Even if not, please post the xorg log for an unconfigured attempt so we can see where the autodetection fails.
Also check "lspci -k" to see whether the nvidia kernel module is loaded.
Offline