Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Nvidia dgpu will not enter D3cold state

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
Cheesyjuggler64
n00b
n00b
Posts: 64
Joined: Thu May 16, 2024 3:17 pm

Nvidia dgpu will not enter D3cold state

  • Quote

Post by Cheesyjuggler64 » Thu Oct 16, 2025 1:48 pm

My laptop has amd integrated graphics (AMD Ryzen 7 4800H with Radeon Graphics) and an nvidia dgpu (GA107M [GeForce RTX 3050 Mobile]) I've followed the gentoo wiki and this
https://wiki.gentoo.org/wiki/Razer_Blad ... 19)#NVIDIA
here is my nvidia.conf

Code: Select all

# NVIDIA drivers options
# See /usr/share/doc/nvidia-drivers-*/README.txt* for more information.

# nvidia-drivers and nouveau / nova cannot be used at same time.
# Comment out the following lines if you wish to allow either.
blacklist nouveau
blacklist nova_core

# unsure if this line is strictly required for D3cold
# options nvidia NVreg_EnableS0ixPowerManagement=1

# this line is required for D3cold, and should be 0x03 for RTX 30xx.
options nvidia NVreg_DynamicPowerManagement=0x03

# Kernel Mode Setting (notably needed for fbdev and wayland).
# Enabling may possibly cause issues with SLI and Reverse PRIME.
options nvidia-drm modeset=0

# If modeset=1 ^, NVIDIA will handle the console/tty display and
# allow overriding DRM devices such as simpledrm. This is a default
# since 570.x drivers but has been known to cause a variety of
# problems. Given efifb is more typically used on Gentoo at the moment,
# it is not *required* here and is safer to be disabled for now.
# Comment out the line if you need it. https://bugs.gentoo.org/949097
options nvidia-drm fbdev=0

# Disable use of the GSP firmware which has newly been enabled by default
# for GPUs that support it (Turing/Ampere+ GPUs, aka GTX 1650+). Not
# recommended unless experience regressions for which disabling helps.
# Cannot be disabled if using USE="kernel-open".
#options nvidia NVreg_EnableGpuFirmware=0

# Suspend options. Note that Allocations=1 requires suspend hooks currently
# only used when either systemd or elogind is used to suspend. If using
# neither or have issues, try Allocations=0 (revert if it does not help
# as =0 is not recommended).
options nvidia \
	NVreg_PreserveVideoMemoryAllocations=1 \
	NVreg_TemporaryFilePath=/var/tmp \
	NVreg_EnableS0ixPowerManagement=1
# !!! Security Warning !!!
# Do not change the DeviceFile options unless you know what you are doing.
# Only add trusted users to the 'video' group, these users may be able to
# crash, compromise, or irreparably damage the machine.
options nvidia \
	NVreg_DeviceFileGID=27 \
	NVreg_DeviceFileMode=432 \
	NVreg_DeviceFileUID=0 \
	NVreg_ModifyDeviceFiles=1

# Should be no need to touch anything below.
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195
remove nvidia modprobe -r --ignore-remove nvidia-drm nvidia-modeset nvidia-uvm nvidia
Here is the power/control entry

Code: Select all

cat /sys/devices/pci0000\:00/0000\:00\:01.1/0000\:01\:00.0/power/control
auto
The card enters D3hot

Code: Select all

cat /sys/devices/pci0000\:00/0000\:00\:01.1/0000\:01\:00.0/power_state
D3hot
However it will not enter D3cold, I'm unsure if this is intended as this file exists

Code: Select all

cat /sys/devices/pci0000\:00/0000\:00\:01.1/0000\:01\:00.0/d3cold_allowed
1
but checking dmesg

Code: Select all

dmesg | grep -i D3
[    0.718373] pci 0000:01:00.0: PME# supported from D0 D3hot
it says its not supported however it is still possible to turn it off with acpi_call

Code: Select all

\_SB.PCI0.GPP0.PG00._OFF
So I'm unsure if this is a driver issue or if its just not supported on this laptop
Help appreciated
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Oct 16, 2025 3:04 pm

You don't really want to go with D3cold.
D3hot: A low-power state where the device has less power than D0, but the main power supply (VCC) is still available.

D3cold: The lowest-power state where the main power supply (VCC) is removed. Devices can only exit this state with a full power-on reset.
ACPI will allow D[0123] but doesn't understand hot vs cold
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Post Reply

2 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic