Bad performance and battery life on XPS 13 9380
I got a XPS 13 9380 a few weeks ago but can't seem to get it to work properly for some reason.
Plasma runs super laggy, especially with an external Monitor and vscode has a noticable delay after every keystroke.
It's noticably worse with the powersave governor but on the performance governor the battery drains in 2-3 hours and it still is pretty laggy.
I'm running Plasma on a Luks encrypted disk
Here's what I tried so far:
- both the kms and xf86-video-intel driver for X11 (xf86 runs better)
- lenovo-throttling-fix / throttled
- AccelMethod uxa and sna
- opengl 3, 2 and xrender
- i915 kernel settings blank and with enable_guc=1,2 / enable_fbc=1 - no noticable difference
When using the plasma-wayland-session instead of xorg it feels a lot better, but a multitude of rendering issues and instabilities prevent me from switching to it.
I'm running out of ideas and would appreciate any hints on what to try
EDIT: apparently I'm already having TLP setup and my energy profile switches bewtween balance_power and balance_performance depending on ac or battery
Edited 11 May 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 5 · 100% up
- Kind
- Text
- ID
- bnamvr
18 comments
just like noted in other comment don't use poversave or performance governors.
When you using performance the cpu is always at maximum hence it destroys your battery.
when using powersave CPU is throttled to minimum, hence the lag.
When using balance performance or balance power you will get the balance between performance and battery.
The difference between the two is how fast CPU will scale up.
Eg in balance performance CPU will go to maximum fast and yku wont get any lag at all, with balance power CPU will wait for some time before setting higher frequency which might introduce little lag here and there but you will have more battery.
Powersave governor is best used when u need your lappy for entire day and u sure you wont find any outlet around.
makes complete sense. cpuinfo however only reports powersave and performance as available governors. Am I confusing two different things here?
There is CPU governor and energy preference.
You can see what energy pref you are currently running by
cat /sys/devices/system/cpu/cpu0/cpufreq/energy/performance/preferenceThis could be
balance_performance,balance_power,powerorperformance.As for CPU governor you can safely put
powersaveand leave it there.Use tlp to set the governor, neither powersave nor performance should be used. Set Balance-power when on battery and balance-performance when plugged in instead
Hello. Did you manage to get arch working properly? I bought an xps 9380 and I was searching information on how it behaves
I can confirm, Dell XPS 9370. I thought it was Linux in general. I manually set governors to powersave but it was still tearing through the battery.
But I have been sitting here with Ubuntu running off a USB SSD enclosure with 2x 2280 SATA drives in there, and the battery life is much improved, even though it is powering two external drives, as well as the internal one.
Hence, Arch must be doing something to mess up power management. Both are using Linux 5.4-rc1 kernels built by myself in the same manner.
Does the battery actually charge to 100%?
if one can trust the kde battery widget, yes
Tried acpi -i and if it’s the correct corresponding number?
It is not, it actually charged to 90% if you didnt disable battery saving feature im bios (you better keep it enabled 😊)
does gnome have the same problem?
No it's noticably better
there is your solution use gnome then..
Have you tried to installed
throttledfrom AUR? The power limit on the XPS can be extended beyond the suppressed limit. It is designed for thinkpads but some report working for XPS 13 as well. It also allow you to undervolt and monitor the CPU power and frequencies settings.I'm using lenovo-throttling-fix-git which should be the same thing. Helped with throttling under high load but doesn't fix the terrible overall performance unfortunately