After today’s update optimus manager stopped to automatically relogin (as it performed before) when switching to nvidia or hybrid mode (having hybrid GPU).
Details:
[roman@roman-pc ~]$ xrandr --listmonitors
Monitors: 1
0: +*eDP-1 1920/382x1080/215+0+0 eDP-1
[roman@roman-pc ~]$ mhwd --listinstalled
> Installed PCI configs:
--------------------------------------------------------------------------------
NAME VERSION FREEDRIVER TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime 2023.03.23 false PCI
video-linux 2024.05.06 true PCI
video-modesetting 2020.01.13 true PCI
Warning: No installed USB configs!
[roman@roman-pc ~]$ inxi -G
Graphics:
Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: NVIDIA GP106M [GeForce GTX 1060 Mobile] driver: nvidia v: 550.78
Device-3: Realtek Integrated Webcam driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 23.2.6 driver: X:
loaded: modesetting dri: iris gpu: i915 resolution: 1920x1080~60Hz
API: EGL v: 1.5 drivers: iris,nvidia,swrast
platforms: x11,surfaceless,device
API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.6-manjaro1.1
renderer: Mesa Intel UHD Graphics 630 (CFL GT2)
API: Vulkan v: 1.3.279 drivers: nvidia,intel surfaces: xcb,xlib
[roman@roman-pc ~]$ optimus-manager --switch hybrid
WARNING : no power management option is currently enabled (this is the default since v1.2). Switching between GPUs will work but you will likely experience poor battery life.
Follow instructions at https://github.com/Askannz/optimus-manager/wiki/A-guide--to-power-management-options to enable power management.
You are about to switch GPUs. This will forcibly close all graphical sessions and all your applications WILL CLOSE.
(you can pass the --no-confirm option to disable this warning)
Continue ? (y/N)
> y
Switching to mode : hybrid
/bin/sh: line 1: i3-msg: command not found
/bin/sh: line 1: openbox: command not found
/bin/sh: line 1: awesome-client: command not found
/bin/sh: line 1: bspc: command not found
/bin/sh: line 1: qtile: command not found
/bin/sh: line 1: herbstclient: command not found