Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Systemctl issue on runit? #143

Open
Zerogaku opened this issue Oct 31, 2023 · 1 comment
Open

Systemctl issue on runit? #143

Zerogaku opened this issue Oct 31, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Zerogaku
Copy link

Zerogaku commented Oct 31, 2023

hi when trying to swap to nvidia only I get this message:

Switching to nvidia mode
Enable ForceCompositionPipeline: False
Enable Coolbits: False
Traceback (most recent call last):
  File "/usr/bin/envycontrol", line 33, in <module>
    sys.exit(load_entry_point('envycontrol==3.3.0', 'console_scripts', 'envycontrol')())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/envycontrol.py", line 520, in main
    graphics_mode_switcher(args.switch, args.dm,
  File "/usr/lib/python3.11/site-packages/envycontrol.py", line 244, in graphics_mode_switcher
    service = subprocess.run(["systemctl", "enable", "nvidia-persistenced.service"],stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 548, in run
    with Popen(*popenargs, **kwargs) as process:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.11/subprocess.py", line 1950, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'systemctl'

i'm using runit and not systemd, this message didn't pop up when i first started using it, then i remember doing envycontrol --reset and it started popping up, is there anyway to fix this?

@Zerogaku Zerogaku added the bug Something isn't working label Oct 31, 2023
@ToneyFoxxy
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants