Unsolved
1 Rookie
•
2 Posts
0
54
August 13th, 2025 10:20
Ubuntu Performance Tuning on Dell XPS – Need GPU Optimization Advice
I’m running Ubuntu 24.04 on my Dell XPS 17 9710, i7, RTX 3050, 64GB RAM and wanted to share my current setup, some of the performance tweaks I’ve made, and also ask for advice on improving GPU and system performance.
My Issue
While most of my workflow is smooth, I’m not getting the GPU performance I’d expect.
I cannot find any GPU-related performance settings in the BIOS (e.g., dedicated VRAM allocation, performance modes, etc.).
Ubuntu recognizes the GPU (NVIDIA RTX), drivers are installed, and I’m using the proprietary NVIDIA driver — but I’m unsure if the GPU is actually running at full performance for CUDA, AI workloads, and graphics rendering.
BIOS and Ubuntu power settings are set to “Performance,” but I still feel the GPU isn’t fully utilized.
If anyone knows how to tweak GPU settings on XPS models without visible BIOS GPU options, or how to ensure maximum GPU performance in Ubuntu, please let me know.
Errors I’ve Encountered (and Workarounds)
I’ve run into a few issues after installing Ubuntu on the XPS:
NVMe I/O performance quirks – Fixed by applying custom udev rules to optimize scheduler and queue settings.
High swap usage despite large RAM – Resolved by adjusting
vm.swappiness
and increasing ZRAM size.Fan profiles being too passive – Using
auto-fan
tools under Linux to make cooling more aggressive when under load.
Performance Tweaks I’ve Made
Here’s what I’ve done so far to improve performance — sharing in case it helps other XPS + Ubuntu users:
Kernel & firmware updates: Running the latest Ubuntu kernel and updated Intel microcode.
I/O scheduler tuning: Set NVMe devices to
none
scheduler for lower latency.ZRAM tuning: Increased ZRAM size to 30GB and set swappiness to
10
for faster memory management.Power management: Disabled power-saving features that throttle performance when on AC.
CPU governor: Forced
performance
governor instead ofondemand
orpowersave
.CrowdSec & minimal services: Removed unused background services to reduce system load.
My Ask
How can I force the GPU to run at full performance under Ubuntu without BIOS-level GPU settings?
Are there hidden Dell BIOS options for GPU tuning?
Any NVIDIA driver tweaks or kernel parameters that give noticeable gains?
If anyone else is running Ubuntu on a Dell XPS and has cracked GPU or other optimization, I’d love to hear your setup.
I’m also happy to share exact commands/config files for the tweaks above if people want them.
Thanks in advance!
LeaderofGnomes
1 Rookie
•
2 Posts
0
August 13th, 2025 11:33
Additional Quirks & System Info
Since my original post, I realized I forgot to mention a few other quirks I’ve run into on my XPS 17 9710 running Ubuntu 24.04:
ACPI / USB Suspend Issue – Certain USB devices (mouse, external drives) disconnect or fail to wake after suspend. Fixed temporarily by disabling USB autosuspend with
usbcore.autosuspend=-1
or TLP config.NVIDIA Hybrid Graphics / PRIME Mode – No BIOS toggle for iGPU/dGPU, so Ubuntu defaults to hybrid. Need to use
prime-select nvidia
ornvidia-settings
to ensure the discrete GPU is in use.Thunderbolt Dock Recognition Delays – Sometimes requires unplug/replug after boot to get displays & USB devices to initialize fully. Firmware updates helped, but not completely fixed.
Trackpad Sensitivity – Out-of-the-box settings too sensitive; improved using
libinput
config tweaks.Audio Pops / Latency – Occasional pops on external audio devices under CPU load, especially on battery. Mitigated by disabling power saving on the audio codec.
Suspend/Resume Reliability – Occasional slow or failed resume from suspend, less frequent after kernel & BIOS updates.
System Info & GPU Details:
$ uname -a Linux XPS-Ubuntu 6.8.0-xx-generic #xx~24.04-Ubuntu SMP PREEMPT_DYNAMIC x86_64 GNU/Linux $ lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 24.04 LTS Release: 24.04 Codename: noble $ nvidia-smi +-----------------------------------------------------------------------------+ | NVIDIA-SMI 550.xx Driver Version: 550.xx CUDA Version: 12.x | |-------------------------------+----------------------+----------------------+ | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 NVIDIA RTX 3050 LaptopGPU | 00000000:01:00.0 Off | N/A | | N/A 48C P8 12W / 80W | 500MiB / 4096MiB | 5% Default | +-------------------------------+----------------------+----------------------+
Hopefully this extra info helps others with similar setups and gives more context for anyone with GPU tuning suggestions.