<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Kernel_parameters_and_module_options</id>
	<title>Kernel parameters and module options - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://cmp.wiki/w/index.php?action=history&amp;feed=atom&amp;title=Kernel_parameters_and_module_options"/>
	<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Kernel_parameters_and_module_options&amp;action=history"/>
	<updated>2026-10-31T00:31:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://cmp.wiki/w/index.php?title=Kernel_parameters_and_module_options&amp;diff=182&amp;oldid=prev</id>
		<title>ImportBot: One reference table of every kernel command-line and nvidia module option used for the CMP 170HX unlock, what it does and where it comes from. Discord Oct 2026 and the repos.; sources: @lycorascence, @zarknoth, @ybryany, @68x0</title>
		<link rel="alternate" type="text/html" href="https://cmp.wiki/w/index.php?title=Kernel_parameters_and_module_options&amp;diff=182&amp;oldid=prev"/>
		<updated>2026-10-30T08:04:41Z</updated>

		<summary type="html">&lt;p&gt;One reference table of every kernel command-line and nvidia module option used for the CMP 170HX unlock, what it does and where it comes from. Discord Oct 2026 and the repos.; sources: @lycorascence, @zarknoth, @ybryany, @68x0&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Reference for every kernel command-line and &amp;lt;code&amp;gt;nvidia&amp;lt;/code&amp;gt; module option that appears in the unlock work. The&lt;br /&gt;
modprobe lines usually live in &amp;lt;code&amp;gt;/etc/modprobe.d/cmp-pcie-gen2.conf&amp;lt;/code&amp;gt; (or &amp;lt;code&amp;gt;-gen3&amp;lt;/code&amp;gt;), written by the&lt;br /&gt;
installer; kernel-cmdline options go in GRUB or &amp;lt;code&amp;gt;/etc/kernel/cmdline&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== Kernel command line ==&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Option !! What it does !! Source&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;iomem=relaxed&amp;lt;/code&amp;gt; || Required for [[RIR fuse burn|170hx-rir-tool]] to read BAR0 fuse registers at all; also needed on EndeavourOS-type distros. || {{Source|lycorascence|2026-10-20|https://discord.com/channels/1518634379604136178/1518695328008638516/1562147741092806787}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;intel_iommu=on&amp;lt;/code&amp;gt; / &amp;lt;code&amp;gt;amd_iommu=on&amp;lt;/code&amp;gt; plus &amp;lt;code&amp;gt;iommu=pt&amp;lt;/code&amp;gt; || IOMMU in passthrough mode; appended by the cmpunlocker installer by default (backs up the boot file). Must also enable VT-d / AMD-Vi in BIOS. || cmpunlocker install.sh&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;systemd.mask=gen2.service&amp;lt;/code&amp;gt; || Recovery boot option: skip the early-boot [[Gen2 link retrain]] hammer if it misbehaves. || cmpunlocker install output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;NVreg_EnableGpuFirmware=0&amp;lt;/code&amp;gt; (as &amp;lt;code&amp;gt;nvidia.NVreg_EnableGpuFirmware=0&amp;lt;/code&amp;gt;) || Disable GSP; with a dual-stack driver the unlock survives a proprietary-driver reload with no GSP panics. Needs the closed/CPU-RM driver. See [[VBIOS and firmware]]. || {{Source|zarknoth|2026-10-27|https://discord.com/channels/1518634379604136178/1518695328008638516/1564547690019160145}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
LTS kernel plus the oldest cmpunlocker-supported driver avoids &amp;lt;code&amp;gt;CONFIG_IO_DEVMEM_STRICT&amp;lt;/code&amp;gt; blocking the RIR&lt;br /&gt;
tool. {{Source|lycorascence|2026-10-23|https://discord.com/channels/1518634379604136178/1518695328008638516/1563135463106289716}}&lt;br /&gt;
&lt;br /&gt;
== nvidia module options (NVreg_RegistryDwords) ==&lt;br /&gt;
&lt;br /&gt;
{{Status|warning}} These registry dwords are &amp;#039;&amp;#039;&amp;#039;global&amp;#039;&amp;#039;&amp;#039;: they affect every NVIDIA GPU in the host. Do not use the&lt;br /&gt;
Gen2/P2P lines on a mixed rig (e.g. with an RTX 4080), or you force that card to Gen2 too.&lt;br /&gt;
{{Source|ybryany|2026-10-14|https://discord.com/channels/1518634379604136178/1518695289278566450/1559747855546187787}}&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Key !! Meaning !! Where it comes from&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RmForceEnableGen2=1&amp;lt;/code&amp;gt; || The dword that enables PCIe Gen2 on the 170HX. The one that matters for Gen2. || cmpunlocker &amp;lt;code&amp;gt;cmp-pcie-gen2.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RMPcieLinkSpeed=0x1&amp;lt;/code&amp;gt; || Gen2 link-speed bitfield (not &amp;quot;gen 1&amp;quot;). Shipped in the Gen2 conf. || cmpunlocker&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RMPcieLinkSpeed=0x5&amp;lt;/code&amp;gt; || Gen3 link-speed bitfield used by the 10 GB Gen3 patch (not &amp;quot;gen 5&amp;quot;). || lixiangwuxian/170hx_tips&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;CmpGen3=1&amp;lt;/code&amp;gt; || Custom registry key read by the Gen3 patch; does nothing on a stock driver. || lixiangwuxian/170hx_tips&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;ForceP2P=0x11&amp;lt;/code&amp;gt; || Arms the mailbox [[P2P]] trap (Morrowmake fork / ropuls gist). || {{Source|68x0|2026-10-13|https://discord.com/channels/1518634379604136178/1518695289278566450/1559704654743474310}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RMForceStaticBar1=1&amp;lt;/code&amp;gt; || Static BAR1 (ropuls gist, with the P2P set). || ropuls gist&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;RMPcieP2PType=1;RMForceP2PType=1&amp;lt;/code&amp;gt; || Force the P2P type (ropuls gist). || ropuls gist&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two full lines in use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;text&amp;quot;&amp;gt;&lt;br /&gt;
# cmpunlocker Gen2 (both cards)&lt;br /&gt;
options nvidia NVreg_RegistryDwords=&amp;quot;RmForceEnableGen2=1;RMPcieLinkSpeed=0x1&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# Morrowmake P2P fork&lt;br /&gt;
options nvidia NVreg_RegistryDwords=&amp;quot;RmForceEnableGen2=1;RMPcieLinkSpeed=0x1;ForceP2P=0x11&amp;quot;&lt;br /&gt;
&lt;br /&gt;
# 10 GB Gen3 (lixiangwuxian/170hx_tips), with the patched module&lt;br /&gt;
options nvidia NVreg_RegistryDwords=&amp;quot;RmForceEnableGen2=1;RMPcieLinkSpeed=0x5;CmpGen3=1&amp;quot; cmp_fuse_gen3=0&lt;br /&gt;
&lt;br /&gt;
# ropuls gist (GLOBAL, 170HX-only rigs; forces all GPUs to Gen2)&lt;br /&gt;
options nvidia NVreg_RegistryDwords=&amp;quot;RmForceEnableGen2=1;RMPcieLinkSpeed=0x1;RMForceStaticBar1=1;RMPcieP2PType=1;RMForceP2PType=1;ForceP2P=0x11&amp;quot;&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Patched-module parameters (not stock) ==&lt;br /&gt;
&lt;br /&gt;
These only exist on a patched &amp;lt;code&amp;gt;nvidia&amp;lt;/code&amp;gt; module; check with&lt;br /&gt;
&amp;lt;code&amp;gt;modinfo -p nvidia | grep -E &amp;#039;cmp_fuse|CmpGen3&amp;#039;&amp;lt;/code&amp;gt;. Adding them to a stock driver does nothing.&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Parameter !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;cmp_fuse_gen3=0&amp;lt;/code&amp;gt; || Clear the Gen3-disabled fuse state at probe (10 GB Gen3). Set &amp;#039;&amp;#039;&amp;#039;only&amp;#039;&amp;#039;&amp;#039; this for Gen3; do not add &amp;lt;code&amp;gt;cmp_fuse_gpc=0&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;cmp_fuse_tpc*=0&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;cmp_fuse_flr=1&amp;lt;/code&amp;gt;.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;cmp_fuse_bdf=0000:03:00.0&amp;lt;/code&amp;gt; || Restrict the fuse override to one card.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== asm64 fork installer flags (compile-time) ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;--mclk-ndiv=N&amp;lt;/code&amp;gt; (HBM clock = N x 27 MHz, baked into the module), &amp;lt;code&amp;gt;--mclk-timings=N&amp;lt;/code&amp;gt; (-50..+50 %),&lt;br /&gt;
&amp;lt;code&amp;gt;--p2p&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--no-gen2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--no-iommu&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;--no-persist&amp;lt;/code&amp;gt;. {{Status|warning}}&lt;br /&gt;
A baked &amp;lt;code&amp;gt;--mclk-ndiv&amp;lt;/code&amp;gt; makes 170tune refuse to tune; &amp;lt;code&amp;gt;--mclk-timings&amp;lt;/code&amp;gt; &amp;lt;code&amp;gt;tCCD_L=3&amp;lt;/code&amp;gt;&lt;br /&gt;
hard-hangs the controller (reboot to recover). See [[cmpunlocker forks]] and [[Cooling and power]].&lt;br /&gt;
&lt;br /&gt;
== Related ==&lt;br /&gt;
&lt;br /&gt;
[[Driver unlock]], [[Gen2 link retrain]], [[PCIe Gen3 on the 10 GB card]], [[P2P]], [[RIR fuse burn]],&lt;br /&gt;
[[Resizable BAR and BAR1 64 GB]], [[Tools]], [[Troubleshooting]].&lt;br /&gt;
&lt;br /&gt;
{{ImportFooter}}&lt;br /&gt;
[[Category:Unlocks]]&lt;br /&gt;
[[Category:8 GB]]&lt;br /&gt;
[[Category:10 GB]]&lt;/div&gt;</summary>
		<author><name>ImportBot</name></author>
	</entry>
</feed>