Skip to content

Add NOTPROTON_RETINA_DPI=0 to keep LogPixels with High Resolution - #293

Merged
NotProtonNot merged 1 commit into
NotProtonNot:mainfrom
woahitsraj:retina-dpi-opt-out
Nov 8, 2026
Merged

NotProtonNot merged 1 commit into
NotProtonNot:mainfrom
woahitsraj:retina-dpi-opt-out

Conversation

@woahitsraj

@woahitsraj woahitsraj commented Nov 7, 2026 •

Copy link
Copy Markdown
Contributor

Since #216 (Fix DPI issues with High Resolution mode), High Resolution sets LogPixels to 192. For games that are not DPI aware, Wine then halves the screen size it reports. Metaphor: ReFantazio on a 3024x1964 MacBook display now offers only one low resolution in borderless mode, and the log shows NtUserChangeDisplaySettings ... returned -2. Before 1.2.4 it offered the full list.

This adds an opt-out. With NOTPROTON_RETINA_DPI=0 %command% in the launch options, the run script does not change LogPixels, whether High Resolution is on or off. Nothing changes for other games.

If a prefix is already at 192, it stays at 192 with the opt-out. To go back, set LogPixels to 96 by hand. Another way is to add "METAPHOR.exe"="~ HIGHDPIAWARE" under HKCU\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. CrossOver 26.3's win32u reads that key by exe file name. This brought back the full resolution list in Metaphor for me, with LogPixels still at 192.

Tests: make settingscheck envcheck pass, with two new LogPixels cases.

@NotProtonNot

NotProtonNot commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Will review/merge/include in tomorrow's hotfix, thank you for catching this issue and submitting a fix! :)

@NotProtonNot
NotProtonNot merged commit 7930539 into NotProtonNot:main Nov 8, 2026
2 checks 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