libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.3k stars 1.84k forks source link

Unable to Maintain Output Resolution Settings on Launch #15685

Open nickkeane opened 1 year ago

nickkeane commented 1 year ago

First and foremost consider this:

Description

Unable to set a fixed resolution in RetroArch to 2560x1440 (Keeps defaulting to 2560x1600 on start).

Expected behavior

RetroArch should create a window/fullscreen window with the correct resolution setting, if changed in Video -> Output -> Screen Resolution. These settings should additionally (optionally) be maintained in the cfg.

Actual behavior

RetroArch sets the correct screen resolution when Video -> Output -> Screen Resolution is altered to something else. However, this setting is not maintained between runs of RetroArch. After closing and re-opening RetroArch, the Screen Res resets to the default. It's likely enumerating a default graphics mode every time it starts.

Steps to reproduce the bug

  1. Start RetroArch
  2. Go to Video -> Output -> Screen Resolution.
  3. Change Resolution to 2560x1440. Resolution is changed correctly. Save RetroArch.cfg.
  4. Exit RetroArch.
  5. Start RetroArch. Resolution used is 2560x1600. Setting is not maintained or applied.

Bisect Results

N/A

Version/Commit

Environment information

SaskOldFart commented 9 months ago

I can confirm a big issue with RetroArch regarding this display resolution.. It only works if you leave the settings alone and accept your not going to fix it. Windows 11

Example. I wish to have display in 4k, however I want my games emulating in 1080p for performance. If I force retroarch and tinker flipping back and forth from window to full, and force 1920x1080 i can get it to stick once!!! ALso I tried changing my display settings to 1080p in windows, and the bugger flipped it back to 4k. The only way it to run in with a 1080p monitor... Sometimes automation is a killer!!! It keeps wanting max resolution or it doesn't fill the screen

If I set it 1920x1080 it will not change the screen resolution and fill the screen 2 different computers, 1 nvidia 1 AMD

I believe most people don't notice for 2 reasons a) they leave everything and accept 4k emulation b) many people don't have 4k tv's so its a non issue

I've tried -f command line / everything/ changing directx12 , gl everything... It's a glitch

I wish we had command line force 1920x1080p and it flips to that mode in fullscreen non window..

Any other emulator , NO ISSUE, I like RetroArch for ease but,,, it isn't working for me

UPDATE
**Can't take credit, but someone online discovered this for windows 10-11 -Change your scaling to 100% (DPI) in windows -TURN OFF window mode in retroarch - set the output resolution to desire and open in Fullscreen -before this I was getting a partial screen top left corner taking up the portion set in windows screen scaling -Now this completely sucks for 4k as everything will be tiny. -In my case as a media machine - it helps -Retroarch does absolutely have something wrong here... Every other program such as dolphin has no issues including OLD stella,

RobG66 commented 2 weeks ago

Turn off windowed full screen is correct.
Then:

Problem solved.