Project

General

Profile

Actions

Emulator Issues #12082

open

[Linux] Fullscreen functionality does not work in minimalist Xorg instances

Added by proteo23 about 4 years ago. Updated almost 4 years ago.

Status:
New
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

What's the problem? Describe what went wrong.

Setting "Use Fullscreen" has no effect when loading dolphin-emu or dolphin-emu-cli from an Xorg instance with no window manager or a minimalist window manager (twm). Changing aspect ratio settings also has no impact and it appears to always default to a 640x480 render window. Setting fullscreen in the UI should result in the appropriate window geometry being set in Xorg to take the entirety of the screen.

What steps will reproduce the problem?

Run dolphin-emu or dolphin-emu-cli from a minimal Xorg installation that meets all minimum requirements and tick the "Use Fullscreen" option.

Is the issue present in the latest development version? For future reference, please also write down the version number of the latest development version.

5.0-r11984

Is the issue present in the latest stable version?

Yes

What are your PC specifications? (CPU, GPU, Operating System, more)

Up-to-date Arch Linux. Outputting to a 1080p screen via HDMI cable. Machine has onboard Intel HD 5500 graphics.

Is there anything else that can help developers narrow down the issue? (e.g. logs, screenshots,
configuration files, savefiles, savestates)

Attached is a screenshot of the incorrect sized render window loading even after the "Use Fullscreen" option has been ticked. Attached is the configuration file with fullscreen set to "True".

Applying the following patch to hard code my render window size works as a hack for me when I load dolphin-emu-cli from my xinitrc:

-const ConfigInfo<int> MAIN_RENDER_WINDOW_WIDTH{{System::Main, "Display", "RenderWindowWidth"}, 640};
+const ConfigInfo<int> MAIN_RENDER_WINDOW_WIDTH{{System::Main, "Display", "RenderWindowWidth"}, 1920};
const ConfigInfo<int> MAIN_RENDER_WINDOW_HEIGHT{{System::Main, "Display", "RenderWindowHeight"},
-                                                480};
+                                                1080};

Files

Dolphin.ini (3.15 KB) Dolphin.ini proteo23, 04/30/2020 12:13 AM
dolphin_twm_1080p_compressed.png (168 KB) dolphin_twm_1080p_compressed.png proteo23, 04/30/2020 12:13 AM
Actions

Also available in: Atom PDF