Skip to content

disable suspension on darp11, increase guivm core count#1417

Merged
brianmcgillion merged 2 commits intotiiuae:mainfrom
kajusnau:s76-disable-suspension
Sep 16, 2025
Merged

disable suspension on darp11, increase guivm core count#1417
brianmcgillion merged 2 commits intotiiuae:mainfrom
kajusnau:s76-disable-suspension

Conversation

@kajusnau
Copy link
Copy Markdown
Collaborator

@kajusnau kajusnau commented Sep 16, 2025

Description of Changes

  1. darp11-b config adjustment:
    • Disable suspension, leave idle management enabled
    • Add some system76 modules to guivm and host
  2. Increase guivm vcpu core count to 6
  3. Re-enable software rasterizer in all chrome targets

Type of Change

  • New Feature
  • Bug Fix
  • Improvement / Refactor

Related Issues / Tickets

Checklist

  • Clear summary in PR description
  • Detailed and meaningful commit message(s)
  • Commits are logically organized and squashed if appropriate
  • Contribution guidelines followed
  • Ghaf documentation updated with the commit - https://tiiuae.github.io/ghaf/
  • Author has run make-checks and it passes
  • All automatic GitHub Action checks pass - see actions
  • Author has added reviewers and removed PR draft status

Testing Instructions

Applicable Targets

  • Orin AGX aarch64
  • Orin NX aarch64
  • Lenovo X1 x86_64
  • Dell Latitude x86_64
  • System 76 x86_64

Installation Method

  • Requires full re-installation
  • Can be updated with nixos-rebuild ... switch
  • Other:

Test Steps To Verify:

DARP11-B:

  1. Boot into Ghaf
  2. Wait the default suspension timeout (15 minutes) and verify device does not suspend
  3. Try to suspend the device manually, verify nothing happens
  4. In guivm terminal, run systemctl status system76-power.service and verify the service is running
  5. Try to change power profiles via the battery widget in the top right, verify power profiles can be selected
  6. Try to adjust the backlight brightness via the keyboard shortcuts FN+[F8/F9], especially while holding the buttons down - the adjustment should be fast.

All x86 targets (optional):
These steps might require that there's no previous cached config under /home/appuser/.config/google-chrome
On fresh installs, this is a non-issue, but on rebuilds you may have to ssh into chrome-vm or business-vm and rm -rf /home/appuser/.config/google-chrome

  1. Verify no regression in Chrome/Trusted browser performance and behavior
  2. Verify images load, videos play, and WebGL works as intended over at https://webglsamples.org/aquarium/aquarium.html

@kajusnau
Copy link
Copy Markdown
Collaborator Author

We could also potentially enable services.system76-scheduler.enable = true on gui-vm and/or host.
I experimented and verified it runs properly on both guivm and host, but haven't checked the performance/battery life impact.

@kajusnau kajusnau added the Needs Testing CI Team to pre-verify label Sep 16, 2025
- increase gui-vm vcpu cores to 6
- re-enable software rasterizer in chrome and chromium

Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
Signed-off-by: Kajus Naujokaitis <kajus.naujokaitis@unikie.com>
@milva-unikie
Copy link
Copy Markdown

Tested on DARP11-B (new image)

  • Suspension is disabled
  • Laptop is automatically locked after 5 minutes but not suspended after 15 minutes
  • system76-power.service is running
  • Power profile can be changed
  • Brightness adjustment is smooth

Tested on Lenovo-X1 (nixos-rebuild switch)

  • No regression in Chrome or Trusted Browser based on a quick test (removed the Chrome config first)

Pre-merge pipeline

  • One systemctl service (setup-ghaf-user.service) failed in gui-vm for Dell and system76. This happens sometimes and can be ignored.

@milva-unikie milva-unikie added Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon Tested on System76 and removed Needs Testing CI Team to pre-verify labels Sep 16, 2025
@brianmcgillion brianmcgillion merged commit 63ed3fb into tiiuae:main Sep 16, 2025
27 of 28 checks passed
@kajusnau kajusnau deleted the s76-disable-suspension branch October 7, 2025 06:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Tested on Lenovo X1 Carbon This PR has been tested on Lenovo X1 Carbon Tested on System76

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants