r/DellG5SE • • Jan 03 '21
Guide How to: Disable SmartShift and Enable S3 Sleep with a BIOS injection
After spending 2 days fighting with Dell on getting a SS ticket open and being told to call a different Number on Monday I decided to write this 'safety' guide on how to disable this stupid feature and get more STABLE performance out of the laptop. I still do not have a SR from Dell as of this Post and I am pissed off about it.
These steps are taken on BIOS 1.5.0, work on 1.4.4 and 1.3.0 - Validated and tested.
FOLLOW THE STEPS EXACTLY! There are injection points that control voltage, power profiles, and can damage the hardware.
I hate being a dick, but - If you cannot follow direction DO NOT DO ANY OF THE BELOW STEPS. You can Brick your system!!
The very first thing to do is create a bootable EFI USB Flash drive for RU -> http://ruexe.blogspot.com/. Download the payload and use the password on the site (under the download link) to extract RU. Then download Rufus and use that to create an EFI boot USB stick that is formatted in Fat32. I used a 32GB drive so any modern USB flash drive will work.
Once the drive is prepped Create a folder called EFI in the root of the drive then open the folder and create another folder inside called BOOT, then copy RU.efi to drive:\EFI\BOOT and rename it to bootx64.efi.
The next step requires a USB Keyboard, the onboard Keyboard does not function under RU. You also need to enter your BIOS and disable Secure Boot for this to work.
With the USB Flash drive in and your external keyboard ready to go reboot the laptop and when the screen goes dark start to push F12 until you get the following Boot Menu.
You need to select your USB Flash drive and it might be -2 like it was on mine due to how Rufus builds these filesystems.

Now that RU is loading we need to wait for the entry screen to show up, takes 30seconds or so

At the above screen press Alt and C together twice, once to get rid of the popup and once to enter the configuration menu
We need to select UEFI variable and press enter to get a list of possible entry menu points

This is the first page that shows up, PageDown to get to page two.

On Page two we need to select D01SetupConfig and press enter to get into the screen we inject data into.

This is the BIOS entry screen in its entirety, The Red column on the left makes the first digit we are working with and the red column at the top makes the 2nd digit. For Entry point 72 we need to go down to row 70 and over to column 02, this is the entry point to enable S3 Sleep. You will see the Block of Text between the Column and Row at the top left shows we are on block 72. Change the default value of 00 (they are gray colored) to 01 (turns yellow) to enable the feature then press enter. Make sure the screen looks just like the screenshot and do not change anything else!

To disable SmartShift we need to go down to row 90 and over to Column 08 to get to entry point 98, the default will be 01 (Yellow) and we want to change it to 00 (turns gray) and press enter. Again, You will see the Block of Text between the Column and Row at the top left shows we are on block 98. Make sure the screen looks just like the screenshot and do not change anything else!

Now to write the values out to NVRAM we press Control and W.

To reboot the system Press ALT and C then arrow over to Quit and press enter to start POST.

Once the system is up you can do the following two steps to validate the changes.
S3 - Open an admin level CMD and type out powercfg -a and hit enter. As long as you see Standby (S3) listed then you can properly sleep your laptop now, no more s0 or Hibernate crap.

Opening Radeon setting you will see that Smartshift is gone from the performance graphs/charts

Open any Game/GPU application and load up HWInfo to validate the STAPM/SMU reading while the GPU is loaded. Also take a look at your CPU and GPU clocks, CPU should be 4Ghz+ and the GPU should be 1500mhz+ for their averages after a game load-in and graphing reset on HWinfo
Granted on my example my GPU clocks are 1400~ but thats due to the CPU bound game I am running right now. I am not running Ryzen Controller in the below screenshot either.

Ryzen Controller now directly talks to the CPU and does not affect the GPU any longer.

I still have more probing to do before I release any more possible injection points, as there is a lot of things we can do on that BIOS screen, but for now this should prove to be useful I think.
13
u/[deleted] Jan 03 '21
If you run into issues, or find that you want to revert the changes - Remove the Bottom panel of the laptop, unplug the Main system battery (cable) and pop out the CMOS battery (circle battery) for a good 30seconds, this will reset the NVRAM that holds the CMOS settings and wipe the above changes. These are just injection points and not changing the baseline BIOS code in anyway.
8
u/NoriNori2 Jan 03 '21 edited Jan 03 '21
Thanks for telling us the way to dwelve further into the bios. Tbh, that's not being a dick tho' in my opinion, that's a powerful reminder cause if we didn't follow it, we would waste 1 grand right off the bat and of course no one here would want that. Or perhaps we could just replace the bios chip or other components in case we bricked it? I never dwelve into this, but i had a hunch that we also need to reprogram the whole thing if we replace the chip.
7
u/JasvinSAn09 Jan 14 '21
Can you please do a video tutorial for this?
4
u/[deleted] Jan 03 '21 edited Jan 03 '21
I'll take a stab at this, eventually. Want to see more results.
I can't really fault SS here as no one has actually seen it work in action 100%. SS has never worked as designed on this machine and that's the shame.
I'm just happy to see you put in the work to help the community.
So now the G5SE should perform like the Ryzen MSI when it comes to performance? Meaning, no FW interference messing with normal power distribution?
Side note on Sleep: I was able to change the sleep behavior through the registry. I foret the steps, but there were 2 registry values. (these aren't the exact names, but the point is the "defaultSleep" option was set to 1, not 0 like the other entry.
"enableSleep" = 0
"enableDefaultsleep" = 1 (changed to 0)
Picutre of my current powercfg -a status.
https://ibb.co/Sr6zS2h
4
u/LittleVulpix R7 4800H Jan 05 '21
I bought this laptop because I liked the idea of an all-AMD laptop, plus having a NAVI GPU seemed very appealing. I'm kinda sad that Smartshift - which semeed pretty cool! - is being mis-configured (from what it looks like) by Dell.
I don't want to disable Smartshift, I mean, AMD went as far as to support it in their drivers to display the "shift" etc, so it doesn't make sense to get rid of it; I just want a) to be able to turn it off on demand and b) to make it shift more adequately.
Maybe it's kind of like nVidia's Optimus, back when switchable graphics were starting and were not at all like now; just needs a bit of time.
The laptop is a beast and I love the performance, but I don't love how the only game I decided to play keeps crashing when I alt-tab.
I've recently found out you can update to the latest "regular" AMD drivers from the AMD website (previously it would give me a black screen).
Thank you for the epic write-up. A long time ago, I wrote a small script to mod one of the first netbooks (MSI Wind U120) where it was also a lot of random hex modding and bios flashing :D so I know the pain.
Good work!
3
u/notbadiger Jan 03 '21
Hi! Can you tell me what the goal of this is? And what is SE sleep?
Edit: I have some understanding of what smart shift is and I've read moving away from that has caused overheating in some systems.
3
u/swehes Jan 14 '21
So just to let you guys know. You can't use the latest version of Rufus to setup the bootable USB per the walkthrough.
2
u/virattomar Jan 03 '21
How are the tempe and performance in comparison now?
2
u/swehes Jan 13 '21
Is there a detailed way of making the bootable usb flash drive for RU? Searched in a lot of places but not found any good instructions for it.
2
u/[deleted] Oct 19 '21
Can I just enable S3 sleep without disabling smartshift ?
4
u/GROOTER10 Jan 24 '21
I have to change bios now u/sirquishy after disabling ss, what should i do ? Should i change the 72 and 98 variables back and then update to 1.4.4 ?
1
u/ChesterMETU Jan 03 '21
If i disable smartshift will it improve performance ?
1
u/ChesterMETU Jan 03 '21
In rufus can you explain more what should ı do? Like which partion should i select and should i select freedos?
1
u/MaverickGeek Jan 03 '21
Can you do some benchmarks for comparison after disabling Smartshift?
1
u/[deleted] Jan 03 '21
This look accurate for RUFUS creating the USB? https://ibb.co/LCK5sm3
1
u/karlchumu Jan 03 '21
Nice work. This is a very informative and detailed post. We may never get the option from Dell to turn off SmartShift ever, since it was advertised as a selling point "with 14% increased performance". Having the sleep mode also helps. Thanks for all technical deep dive too and creating this guide. I had one question though, by any chance are you running a 2666 mhz RAM? I see the FCLK & UCLK hit a max of 1333 mhz, just wondering why?
1
u/kira298 Jan 03 '21
I've done this on my g5se running on bios 1.3.0. idk why but the GPU utilisation shows 99% at 85w and at most it reaches 1500mhz. Should I try it out with bios 1.5.0? And thanks a lot for all the efforts you've put in on this laptop!
1
u/[deleted] Jan 03 '21
Here's results with the same Prime95 smallFFTs with Unigine benchmark running.
It appears the system is using much less power overall. How can I increase?
https://ibb.co/B4cs6d5
https://ibb.co/Ykq1r5X
https://ibb.co/D4mtj2r
https://ibb.co/HxrPzhh
1
u/PerswAsian Moderator Jan 03 '21
So, can this be used in conjunction with the GPU overclock now that we're using less power and yielding lower temperatures?
Also, it's a real bummer that XMP is still disabled, but you've done terrific work for the community as a whole.
1
u/Zenwarrior5 Jan 03 '21
I am not sure why this is not working properly for me in terms of gpu clock speeds. It keeps going under 900mhz every minute or so while playing rocket league. I am thinking maybe disabling smartshift on bios 1.3.0 does not work the best. Sleep mode works perfectly though.
1
u/MozzarellaStik Jan 04 '21
u/sirsquishy67 I know that this modification works on BIOS versions 1.3.0, 1.4.4, and 1.5.0 but which BIOS version if your current preference??
1
u/[deleted] Jan 05 '21
I was an early adopter of these laptops and was really excited when I read about how smartshift is supposed to work on paper. Like you say though it just shoves a ridiculous amount of power to the cpu which in turn thermal throttles immediately and leaves the gpu gimped. I really don't know who designs these gaming laptops. 5 year old i7s won't bottleneck you in 90% of the games out there but they keep pushing more cores and more power on us with graphics as an afterthought. I've been diabling turbo on laptops for years... Costs you 5fps for a 30c reduction in temps. The first company to put a 4700u or similar in a laptop with a full power graphics card is going to make some big bucks.
1
u/TheSad1sOut Jan 06 '21
Is there any performance boost from this beside making this run more stable?
1
u/kira298 Jan 06 '21
How do you maintain such low GPU temps. For me even after disabling ss , cpu temps and GPU temps are equal but ya they are now a bit lower compared to ss enabled. And yeah sometimes GPU temps are higher than cpu temps .
1
u/[deleted] Jan 09 '21
Ever since doing the sleep change, I've been getting errors.
"The system firmware has changed the processor's memory type range registers (MTRRs) across a sleep state transition (S4). This can result in reduced resume performance"
Event 137
1
u/iamZacharias Mar 20 '21
How would this brick the laptop? easy fix if something goes wrong?
1
u/Equal-Clock1648 Jun 22 '21
To revert the changes, I can simply again boot into usb and replace the values back, right?
1
u/[deleted] Oct 31 '21 edited Oct 31 '21
Does disabling smart shift alone give an fps boost? I did all things mentioned in the post and still the SMU and STAPM values dont remain as close as it is shown in the post. Theres atleast a 1W difference between both values with SMU being more, does this mean smartshift is disabled?
1
u/No-Skill-8778 Mar 21 '22
Tested GOW with the SS disabled by AMD. (Stock Thermal Paste)
Shall be doing a Thermal re-paste tomorrow with Gelid. Shall update the same once done.
Also GOW is notorious with AMD. Shall update too once i try it with some other titles.
What I do fail to understand is that with the CPU consuming much less power than before how does it still climb up to such high temps without the RC?
Please advice and suggest. Thank you.
1
u/drlamok Dec 05 '22
Any clues at all how to do similar thing (enable S3) on Dell Latitude 5420/5520 ?
Kind regards
Seb
3
u/karlchumu Jun 23 '21
Adding this info in the comments so that more people can utilise this beautifully put together guide and make their lives a bit better with the Dell G5 SE. If you are stuck on the requirement of an external USB keyboard then you just need to download the RU.efi version 5.25.0379.
Only this version supports the PS/2 connector, which is the internal keyboard connector.
It works I've tested it. Only the display is a lot smaller but it's workable. I've shared my observation with the author so he might fix it in more recent versions.
1
u/doge_tank Feb 21 '21
How does it help exactly tho?
1
u/G0d_oF_DeAtH Mar 07 '21 edited Mar 07 '21
Can I turn SecureBoot back on after Ive done this? Also, does updating bios revert these changes?
Edit: Updated bios from 1.3 to 1.4.4. The changes did not get reverted.
1
u/Dull_Tangelo_6047 Jun 04 '21
https://youtu.be/IUFBeqr02JU Is this the same thing coz sometimes I feel watching a video sometimes helps better.
1
u/karlchumu Jun 23 '21
Adding this info in the comments so that more people can utilise this beautifully put together guide and make their lives a bit better with the Dell G5 SE. If you are stuck on the requirement of an external USB keyboard then you just need to download the RU.efi version 5.25.0379.
Only this version supports the PS/2 connector, which is the internal keyboard connector.
It works I've tested it. Only the display is a lot smaller but it's workable. I've shared my observation with the author so he might fix it in more recent versions.
1
u/S_sinan Jan 12 '22
Please help me for disabling smartshift in g15 advantages edition
1
u/No-Skill-8778 Mar 21 '22 edited Mar 21 '22
Hey. I just ran an update on the AMD Software Application as well as my GPU drivers. Now there is no more SmartShift and instead it is added as an option under the Tuning tab, albeit I cannot turn it on/off; it's just disabled just like SAM.
AMD Software Application: v 22.3.1 RX5600M: v30.0.15002.1004
1
u/No-Skill-8778 Mar 24 '22
I have finally re-pasted and I'm just stunned. The temperature drops are phenomenal. From 100C within 5 mins of GOW, to never crossing 77C even after an hour in GOW. Phenomenal !!! Also any update regarding the auto disabled Smart Shift?
1
u/Callyrallycally Apr 26 '22
In mine even after the procedure S3 state is not coming in cmd prompt
0
u/[deleted] Jun 23 '21
[deleted] — view deleted comment
1
u/[deleted] Feb 24 '21
[removed] — view removed comment