Hi there. I have a Gigabyte P55Wv6 laptop with a GeForce 1060. I am using Xubuntu 18.04.1. This laptop will not function correctly without the following kernel parameters: acpi_osi=! acpi_osi="Windows 2009" Without those, the screen will blank and the system will become unresponsive when LightDM starts.
I like this computer and this card a bunch, but I never had anything that would actually push it until Tekken 7 was usable through DXVK. Since I’m on that Steam Play train, I am indeed running 396.54.9. I don’t think I can use any other driver if I want to use DXVK.
I noticed that both Tekken 7 and Unigine Superposition, when run at full stress, would cause my laptop to act like it was switching between AC and battery over and over. As if the computer is using more power than the AC adapter can draw. At first I thought it was a power supply problem. But I have two 180W power supplies that both do it. I even bought a third from Amazon that still had the issue.
Then I thought this was a Linux-specific problem, but then when trying to figure this out and running Superposition in Windows… it actually happened there too, but only once. It seems Windows might have some hacks included to paper over this problem.
I thought this might be overheating harming my hardware, so I opened up the laptop and reapplied thermal paste. So warranty’s void, I can’t send it back. And that didn’t help either. Did reduce my temps though, that was nice.
So the card is just drawing too much power, I need to restrict its power use. I use a nvidia-xrun-like setup to turn on my graphics card and load the module on demand, use Prime on a second X server, get full performance, and have the ability to use Vulkan. Inside that X server, when I run nvidia-smi to attempt to set a power limit, it tells me that power limit configuration is not supported on my card. I heard that power limit configuration required persistence, so I tried turning on persistence and it didn’t make any difference.
Using Coolbits=31 and underclocking the GFX clock with the allowed minimum offset of -200mhz doesn’t cause the problem to go away. It seems like it might be using the same amount of power but just doing less with it. But what I have noticed does cause the problem to go away is using module options to set OverrideMaxPerf like so:
options nvidia NVreg_RegistryDwords="PowerMizerEnable=0x0;PerfLevelSrc=0x2222;PowerMizerDefault=0x0;PowerMizerDefaultAC=0x0;OverrideMaxPerf=0x4"
This configuration allows me to use my graphics card at a fraction of its power without the AC blinks. And it allows me to see what my clocks are in Superposition; if I turn on anything PowerMizer related, it doesn’t show them. My graphics clock is drastically reduced to around 560mhz out of the 1900mhz it’s capable of. The memory clock stays maxed, and that seems to be fine.
But with only 1/4 of my card’s power, Superposition and Tekken 7 struggle pretty badly. Most of my other games run fine because they didn’t push the card that hard anyways. I have configured Tekken 7 in a way that gives me 60FPS on most stages, so I can live with this if I must! But I would prefer to get more power out of my card if I can. I’d like to get the GFX clock to at least 1200mhz, ideally 1500/1600mhz. I imagine going further than that would just make the blinking come back.
What are your recommendations to move forward in my quest to limit my 1060’s power?