Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DGPU isnt using full power limit on 240W charger while in performance mode #27

Open
2 of 8 tasks
Obasav opened this issue Dec 14, 2024 · 5 comments
Open
2 of 8 tasks
Labels
3.05 bug Something isn't working Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series)

Comments

@Obasav
Copy link

Obasav commented Dec 14, 2024

Device Information

System Model or SKU

Framework 16 7940HS + 7700S

Please select one of the following

  • Framework Laptop 13 (11th Gen Intel® Core™)
  • Framework Laptop 13 (12th Gen Intel® Core™)
  • Framework Laptop 13 (13th Gen Intel® Core™)
  • Framework Laptop 13 (AMD Ryzen™ 7040 Series)
  • Framework Laptop 13 (Intel® Core™ Ultra Series 1)
  • Framework Laptop 16 (AMD Ryzen™ 7040 Series)

BIOS VERSION

3.05

DIY Edition information

If you are experiencing an issue on a DIY system, Please also fill out the memory and storage devices you are using.

Memory: Kingston KF556F40-32
5600 MT, CL 40 1.1v 64 GB (2x32 GB)

Storage:
2280: Solidigm P44 Pro 2TB
2230: Solidigm P41 Plus 1TB

Port/Peripheral information

If you are experiencing an issue with a peripheral or an expansion card/port please fill out the following information:

  • Peripheral vendor and name.

  • Port the Peripheral was connected to. Please see the following for port numbering: Laptop 16 or Laptop 13

  • Device or expansion card attached to the Adjacent port to the port that is having the issue.

  1. USB-C
  2. USB-A
  3. USB-A
  4. USB-C (with delta 240W PD 3.1 charger connected)

The following are for Laptop 16 only.
5. USB-A
6. USB-A

Standalone Operation

Are you running your mainboard as a standalone device. Is standalone mode enabled in the BIOS?

  • Yes
  • No

Describe the bug

DGPU isn't using full 100W consistently with Delta 240W PD 3.1 charger while in performance mode. It will momentarily use it when battery reaches full, but when it's charging/discharging it doesn't reach the 100W limit.

While in Balanced mode connected to the 240W charger, the DGPU uses up to the 100W limit consistently.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Discharge framework 16 battery and open a GPU intensive game while in performance mode. I used total war warhammer 3 (proton experimental)

  2. Open a system monitor software and look how much power DGPU uses while charging. I used AMDGPU_TOP.

  3. When DGPU has hit charging cap, look at average and see it has increased. It will potentially hit 100W for a brief moment and then drop back down to around 75W. The DGPU core and memory speeds will fluctuate wildly.

Expected behavior

While laptop is set to performance mode and charging connected to a 240W PD 3.1 charger, The GPU should be able to hit 100W consistently and possibly be capped up to 120W while in performance mode connected to a PD 3.1 240W charger.

Screenshots

image

Image 1 is laptop gaming while in performance mode. Battery is discharging from 80% to 70% and system is unplugged.

image

Image 2 is system (Set to performance mode) is plugged in to 240W delta PD 3.1 charger, while battery is recharging from 70% to 80%.

image

Image 3 is system (Performance mode) charged to 80% (The set charging limit) while connected to the 240W delta charger.

Operating System (please complete the following information):

  • OS/Distribution: Ubuntu
  • Version: 24.10
  • Linux Kernel Version: 6.13-rc2

Additional context

With framework 180W adapter connected, DGPU uses about 100W constant. Clock and memory speed remain stable.

image

With 240W PD 3.1 adapter connected, DGPU uses about 74-83W with constant fluctuations, and the clock and memory speeds are all over the place.

image

image

@Obasav Obasav changed the title Laptop Issue DGPU isnt using full power limit on 240W charger Dec 14, 2024
@Obasav Obasav changed the title DGPU isnt using full power limit on 240W charger DGPU isnt using full power limit on 240W charger while in performance mode Dec 15, 2024
@wizzlebippi
Copy link

I can recreate this on windows. With the Framework 180W PSU, I can consistently run the dGPU at 80-90W. On the Delta 240W PSU, the dGPU is constantly throttling at 30W.

Framework 16
Ryzen 7 7840HS
Radeon RX 7700S
64GB RAM
2TB SSD
Windows 11 24H2
BIOS 3.05
2024-10-2 driver pack installed

Originally had BIOS configured to limit battery charge to 90%. Suspected that BIOS might be limiting dGPU power draw to charge the battery, but since the battery could never reach fully charged my performance suffered. Set max charge to 100%, disabled adaptive battery saver, no change. Only switching to OEM 180W PSU with Balanced power mode seems to allow dGPU to run at up to 100W.

@kiram9 kiram9 added bug Something isn't working Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series) 3.05 labels Dec 19, 2024
@kiram9
Copy link
Member

kiram9 commented Dec 19, 2024

Thanks! We will investigate this and try to fix in the next release.

@knipp30
Copy link

knipp30 commented Dec 20, 2024

@kiram9 - Same issue as OP - when below 90% I notice EXTREME frame pacing issues. My dGPU shows its using 75-100w (in fluctuations) and I think that is why the frame pacing is happening. I tried with different GPU power modes - but automatic is the most stable - as the other options are worse.

Same bios - 3.05

If any logging is needed, please let me know!

@knipp30
Copy link

knipp30 commented Dec 20, 2024

Video of the frame pacing happening when playing a game.
https://drive.google.com/file/d/1bw0l7X3jTmHzgbyk40W47PSKG0ax3BaQ/view?usp=sharing

@psierra117
Copy link

I wrote about that issue first on 12/1/24 in the Framework Forum and tried a Fault analyzes with overwriting Smartshift and STT/stapm Values with Smokeless_UMAF and even tried reinstalling Windows and installing bazzite OS. It doesn't depend on the installed OS. https://community.frame.work/t/framework-laptop-16-ryzen-7040-bios-3-05-release/60735/70?u=psierra117 I Suspect some recent changes to the EC Configs to be responsible, as the STT/Stapm Settings do not correspond to any changes I made with Smokeless_UMAF so the Bios/Uefi is not controlling the Power Management. And also many People already have told, that with 3.05 the Framework 16 is draining battery in "Balanced" Mode on the 180w Charger which was not happening in 3.04 or 3.03. So changes introduced in 3.05 seem to be responsible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.05 bug Something isn't working Laptop 16 AMD Ryzen 7040 Framework Laptop 16 (AMD Ryzen™ 7040 Series)
Projects
None yet
Development

No branches or pull requests

5 participants