Skip to content

frontend: Put the GPU status light next to the CPU usage (#1003) - #1010

Merged
zackees merged 1 commit into
masterfrom
feat/1003-gpu-light-by-cpu
Oct 16, 2026
Merged

zackees merged 1 commit into
masterfrom
feat/1003-gpu-light-by-cpu

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Fixes #1003 (part of #939).

The light was the status bar's first permanent widget, so it sat alone at the far left, while CPU: x% and the FPS readout are at the far right. Your screenshot on #1003 shows this.

Change: the button is created inside StatusBarWidget and inserted into its row just before cpuFrame. The order is now … record time | ● GPU | CPU: x% | fps. The click, dialog, tooltip and accessible name are unchanged. If the layout ever isn't a box layout, it falls back to the old addPermanentWidget.

Evidence:

The light was the status bar's first permanent widget, alone at the far
left, while CPU and FPS sit at the far right where people look for
performance. Insert it into StatusBarWidget's row just before cpuFrame;
the click, dialog and tooltip are unchanged.

Fixes #1003
@zackees

zackees commented Oct 16, 2026 •

Copy link
Copy Markdown
Member Author

Real-app check (rule from #948), using this branch's AppImage (run 38865049702, Build AppImage passed). I ran it under Xvfb on a NixOS host with an RTX 3060 and an RTX 2080 Ti, and screenshotted the status bar. Left to right it reads:

… ⏺ 00:00:00 | ● GPU | CPU: 2.3% | 7.71 / 30.00 FPS

The light now sits directly left of CPU:; before, it was alone at the far left (the screenshot on #1003).

The dot is red because frames are over budget: Xvfb gives OBS no GPU, so it renders on Mesa llvmpipe at 7.7 fps against 30. It was yellow at startup (log: ==== GPU acceleration: YELLOW ====) because this branch predates #1005's colors, and turned red once the frame window filled. Placement is what this PR changes, and it is confirmed. I can't attach the screenshot from the CLI; the maintainer has seen it.

@zackees
zackees marked this pull request as ready for review October 16, 2026 07:31
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 16, 2026
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit fd99615 Oct 16, 2026
28 of 32 checks passed
@zackees
zackees deleted the feat/1003-gpu-light-by-cpu branch October 26, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

frontend: Move the GPU status light next to the CPU usage in the status bar

1 participant