hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
11.24k stars 2.17k forks source link

Should add an option for UI scale override #14527

Open hrydgard opened 3 years ago

hrydgard commented 3 years ago

Got a report on Discord by ゆかとし that on some TVs, PPSSPP's UI is way too small.

We previously had an issue about PPSSPP being way too large scaled on some tiny device, which would be the opposite problem with a similar solution.

We could override the default scale using the system name, and/or provide an option.

image

unknownbrackets commented 3 years ago

It could also be that we're just doing it wrong on Qt (the user reported they're using Qt.) Not that a Qt bug precludes adding a setting for UI scale or text scale.

-[Unknown]

hrydgard commented 3 years ago

Oh, yeah, absolutely. Didn't look very closely at the screenshot, or notice that they mentioned Qt, heh.

alpozcan commented 3 years ago

Hi, I can confirm the issue: image

this is with 6867613ef663bcddf6b2c60c81c78927de2fbfda . System info as below.

Operating System: Kubuntu 21.04
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Kernel Version: 5.11.0-22-generic
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i5-8259U CPU @ 2.30GHz
Memory: 62.7 GiB of RAM
Graphics Processor: Mesa Intel® Iris® Plus Graphics 655
superjamie commented 2 years ago

I'm experiencing the same problem using a 4K TV, even with display output set to 1920x1080 or 1280x720. The font just gets harder to read as there's less pixels to display the tiny letters.

The talk of Qt above prompted me to look into the screen scaling options for the GUI toolkit. I'm glad to say I found a workaround.

Launching with these environment variables set makes PPSSPP much more legible for me:

QT_AUTO_SCREEN_SCALE_FACTOR=0 QT_SCALE_FACTOR=0.25 ppsspp

Reference: https://wiki.archlinux.org/title/HiDPI#Qt_5