PSA: Disable VMD on an Intel laptop if you have problems with battery life
My laptop was previously having issues entering lower C-states and thus S0ix also didn't work properly. TLP and other solutions helped with battery life but still didn't fix this problem. I had seen prior bug reports that suggested the Linux VMD disk driver was at fault, but it sounded like the issues had been fixed already in older kernels (I'm using 6.0).
However, recently I turned off VMD in the BIOS and suddenly my laptop suspends and enters the lowest C states exactly as it should! My battery estimate now shows about 12 hours when fully idle instead of the 4 or 5 I was getting previously.
Important note: Windows probably won't boot properly after changing this setting. To avoid that problem, you can set Windows to always boot in safe mode using System Configuration, change the setting, let Windows boot once, and set it to boot regularly.
Also, I think the setting name may be different depending on the laptop. I'll put a few common names I've seen here for search purposes: RST, hardware RAID, VMD, Volume Managed Device.
About this post
- Posted
- Archived
- Score
- 157 · 100% up
- Kind
- Text
- ID
- yes44f
22 comments
This solved my problem!
Hello 12h battery life!
And I almost switched to Ubuntu for this..
Happy to hear that!
Does anyone know if Thinkpads have this option? Didn’t see it in my x1c6.
FWIW, the setting is sometimes hidden. On my Acer laptop I had to press Ctrl+S in the BIOS for it to appear in the list. Other laptops have a different shortcut for that as far as I know.
You can also check whether VMD is in use using
lspci -tvv; I believe that will display a VMD device if it is enabled.He has an AMD CPU and isn't bright enough to know what VMD even is.
Ditto
lol his laptop has an AMD CPU and he got mad and downvoted me when I told him it's an Intel proprietary feature.
the x1c6 is intel lmao
good job being confidently incorrect, though!
ok?
How did you manage to boot with VMD? I never managed to read any recent laptop s drive with vmd on
Mine came with it enabled and everything installed without problems.
Deleted before we saved it.
is it only for 11th gen cpus?
I would like to know the same thing, I have a 9th gen Intel cpu
I'm testing this now on a 10th gen Ice Lake i7 CPU and I don't think I notice any difference so far.
Is failure to boot windows related to having installed Windows with this feature enabled?
Possibly. If you installed Windows and then turned it off, it will probably have issues. It should boot as soon as you re-enable it.
Also for 11th gen laptops like my hp Spectre x360-14. However, thanks to hp, it cannot be disabled. Workaround is to use
pcie_aspm=forceon the kernel command line.Unfortunately this doesn’t change anything, I’m in the same situation (vmd on locked down hp)
Deleted before we saved it.
If your laptop uses integrated graphics and supports PSR you should be able to enable it and possibly reach C10 or S0ix if the screen is displaying a static page. Happy cake day by the way.
Thank you so much, this fixed the battery life problem on my laptop running Arch.