Cemu icon indicating copy to clipboard operation
Cemu copied to clipboard

[macOS] Cemu UI Rendering at half Retina resolution

Open Veemyu opened this issue 3 years ago • 4 comments

macOS's Retina Resolutions work by displaying the UI in a logical, for example 1920x1080 resolution ie. also resulting in a size 1080P would normally be displayed on the Monitor. Yet Retina is supposed to render the actual UI in 3840x2160, always double the logical resolution. Cemu currently renders, like the console prints out, at Scale 1.0

This Results in a 1280x720 Window (logically) taking up 2560x1440 Real pixels but the underlying rendering is only at 1280x720 This results in a really blurry and pixelated look. The UI is mostly fine, the problem is with the Vulkan Canvas.

This should maybe help, the all too familiar Scale 1.0 needs to be 2.0 on Retina screens, not on the whole Apple Platform though! https://github.com/KhronosGroup/MoltenVK/issues/428 They have the exact same issue solved up there.

[mvk-info] Created 3 swapchain images with initial size (1280, 720) and contents scale 1.0 for screen Built-in Retina Display.

Here are comparison pictures between 1512x982 with Retina (HiDPI) which should display as 3024x1964 everywhere!! And also 3024x1964 Native in fullscreen which is also supposed to display as 3024x1964 obviously. Menu Native Menu HiDPI Game Native Game HiDPI

Veemyu avatar Oct 06 '22 10:10 Veemyu

I also found the same issue. Some other softwares have the same issue, such as PPSSPP and Streets of Rage 4. At present, I use Easyres to solve this issue by setting the resolution to 1X. Or is there a better approach out there to solve this issue? 截屏2022-11-14 11 25 46

556644O avatar Nov 14 '22 03:11 556644O

I have submitted a PR #516 that fixes this. You can either wait for it to be merged. Alternatively, you could use this build from my branch. (I had to use 7z to get below 25MB)

fnschmidt avatar Nov 20 '22 19:11 fnschmidt

I have submitted a PR #516 that fixes this. You can either wait for it to be merged. Alternatively, you could use this build from my branch. (I had to use 7z to get below 25MB)

Thanks a lot for your hard work, your build works well and have solved this issue.

556644O avatar Nov 21 '22 02:11 556644O

This was addressed in https://github.com/cemu-project/Cemu/pull/514

Squall-Leonhart avatar Nov 18 '23 18:11 Squall-Leonhart