for some reason i'm getting this:
artix:[artix]:~$ optimus-manager --switch nvidia
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 177, in activate_name_owner
return self.get_name_owner(bus_name)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 361, in get_name_owner
return self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name 'org.freedesktop.systemd1': no such name
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/optimus-manager", line 33, in <module>
sys.exit(load_entry_point('optimus-manager==1.3', 'console_scripts', 'optimus-manager')())
File "/usr/lib/python3.8/site-packages/optimus_manager/client/__init__.py", line 55, in main
_gpu_switch(config, args.switch, args.no_confirm)
File "/usr/lib/python3.8/site-packages/optimus_manager/client/__init__.py", line 69, in _gpu_switch
run_switch_checks(config, switch_mode)
File "/usr/lib/python3.8/site-packages/optimus_manager/client/client_checks.py", line 10, in run_switch_checks
_check_daemon_active()
File "/usr/lib/python3.8/site-packages/optimus_manager/client/client_checks.py", line 25, in _check_daemon_active
if not checks.is_daemon_active():
File "/usr/lib/python3.8/site-packages/optimus_manager/checks.py", line 108, in is_daemon_active
return _is_service_active("optimus-manager")
File "/usr/lib/python3.8/site-packages/optimus_manager/checks.py", line 139, in _is_service_active
return _is_service_active_dbus(system_bus, service_name)
File "/usr/lib/python3.8/site-packages/optimus_manager/checks.py", line 143, in _is_service_active_dbus
systemd = system_bus.get_object("org.freedesktop.systemd1", "/org/freedesktop/systemd1")
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 241, in get_object
return self.ProxyObjectClass(self, bus_name, object_path,
File "/usr/lib/python3.8/site-packages/dbus/proxies.py", line 250, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 182, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python3.8/site-packages/dbus/bus.py", line 277, in start_service_by_name
return (True, self.call_blocking(BUS_DAEMON_NAME, BUS_DAEMON_PATH,
File "/usr/lib/python3.8/site-packages/dbus/connection.py", line 652, in call_blocking
reply_message = self.send_message_with_reply_and_block(
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.systemd1 was not provided by any .service files
artix:[artix]:~$
any ideas how i could fix it?