Artix Linux Forum

Init systems => S6 => Topic started by: yolkano on 23 October 2021, 18:33:29

Title: [SOLVED] Request s6 service for "nvidia-xrun-git"
Post by: yolkano on 23 October 2021, 18:33:29
Hi  :D

Can you pretty please provide an s6 service file for "nvidia-xrun-git" (since it relies on the "nvidia-xrun-pm" service to shut down the gpu at boot time, similar to what bbswitch does).

https://aur.archlinux.org/packages/nvidia-xrun-git/

Thanks!
Title: Re: Request s6 service for "nvidia-xrun-git"
Post by: Dudemanguy on 24 October 2021, 16:21:10
Seeing that this is an AUR package and it also requires nvidia drives to test, we can't really make it official in the repos. You can write the service yourself however. Glancing at that oneshot script I believe something like this is what you want.

up
Code: [Select]
#!/bin/execlineb -P
export TURN_OFF_GPU_ONLY 1
exec /usr/bin/nvidia-xrun

type
Code: [Select]
oneshot
Title: Re: Request s6 service for "nvidia-xrun-git"
Post by: yolkano on 24 October 2021, 19:29:07
Thanks!!!