bayasdev / envycontrol

Easy GPU switching for Nvidia Optimus laptops under Linux
MIT License
1.26k stars 61 forks source link

[QUESTION] #124

Closed izmyname closed 1 year ago

izmyname commented 1 year ago

A silly question: do i need to enable nvidia-drm in boot parameters as described here? https://wiki.archlinux.org/title/NVIDIA

I'm asking because for some reason the output of /proc/driver/nvidia/gpus/0000:01:00.0/power returns 'Runtime D3 status: Disabled by default', even though I use rtd3 2 and /etc/modprobe.d/nvidia returns 'options nvidia "NVreg_DynamicPowerManagement=0x02"'. Maybe nvidia-drm.modprobe=1 somehow conflicts with envycontrol trying to switch runtime?

bayasdev commented 1 year ago

Envycontrol handles it for you unless you're on Fedora or some RHEL based distro

On Fri, Jul 28, 2023, 10:38 izmyname @.***> wrote:

A silly question: do i need to enable nvidia-drm in boot parameters as described here? https://wiki.archlinux.org/title/NVIDIA

— Reply to this email directly, view it on GitHub https://github.com/bayasdev/envycontrol/issues/124, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALY7IYK7HG4XUJBQOMWXVRLXSPMGTANCNFSM6AAAAAA23VFVKM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

izmyname commented 1 year ago

I removed nvidia-drm.modprobe=1 from bootloader config, rebuilt initramfs, then switched to integrated mode and back to hybrid --rtd3 2. Everything works as intended.

cat /proc/driver/nvidia/gpus/0000:01:00.0/power Runtime D3 status: Enabled (fine-grained)

Thank you!