Skip to content

Resolution adjustments v2 - #78

Merged
CaitlynMainer merged 2 commits into
PC-Logix:main-MC1.21.1from
RobertCochran:resolution-adjustements-v2
Aug 24, 2026
Merged

Resolution adjustments v2#78
CaitlynMainer merged 2 commits into
PC-Logix:main-MC1.21.1from
RobertCochran:resolution-adjustements-v2

Conversation

@RobertCochran

Copy link
Copy Markdown
Collaborator

[ Rewrite of #68 using a different driver extension strategy. ]

Multi-item PR to make using higher tier screens nicer:

  • Add new GPU driver functions - hardwareResolution() and hardwareDepth() - that always return the GPU's maximum supported resolution and depth respectively, regardless of the limits of the attached screen.
  • Ditto for screens - same functions that do the same thing for the screen, regardless of the limits of the attached GPU.

This allows software to sanely query for the true maximum capabilities of your graphics hardware and be able to inform the user if one side or the other is bottlenecking the system. This is theoretically something you could have already done, but it required grovelling through computer.getDeviceInfo() and knowing the precise values of the 'product name' for each GPU and APU and their max resolution widths, and would break if any of these predicating assumptions ever changed (unlikely, but still annoying).

  • Enhance /bin/resolution program to be able to query for maximum supported system resolution, and using the new driver features, whether or not you have a bottleneck.

It just plain wasn't able to do this before; it could only set a chosen resolution or return the current resolution. A sorely needed QoL enhancement that's been a decade coming.

@CaitlynMainer
CaitlynMainer merged commit acf9bab into PC-Logix:main-MC1.21.1 Aug 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants