Xenia: Performance Boosts when Window Unmaximised

Created on 14 Jul 2018  路  4Comments  路  Source: xenia-project/xenia

Basically, I am experiencing significant performance boosts when I unmaximise the Xenia window.

Or perhaps I am having performance issues at all other times...

Either way, here is a video showcasing the issue: https://www.youtube.com/watch?v=JSGaJUcEOaI

Steps to reproduce:

  1. Xenia launches in an unmaximised window. Game runs slow.
  2. Maximise window. Game still runs slow.
  3. Unmaximise window. GAME RUNS SMOOTH. ~2.5x performance increase.
  4. Enter Fullscreen mode. Game runs slow again.

My setup is as follows:

  • Windows 10 64-bit
  • Xenia - Jul 1 2018 Build
  • Laptop with Dual Video Cards - Intel / NVIDIA

From what I understand, applications should _generally_ run faster in fullscreen mode due to Full-Screen Exclusive Mode optimisations.

I have attached a log where I open a game in Xenia, maximise the window, unmaximise the window, enter fullscreen, exit fullscreeen, and then close Xenia.

xenia.log

Any help you can provide would be very much appreciated.

bug

All 4 comments

Xenia doesn't use exclusive fullscreen.

There shouldn't be any massive performance difference.
Overhead should be in the neighborhood of single digit percentages.

Likely related to #801.

Hi All,

I have tested this issue with the latest versions of Xenia and Windows 10 (1903).

Xenia (Vulkan) - August 2 2019 - 3bcd1fb7

I can get the game to run smoothly by maximising the window and then unmaximising it.
When running smoothly (unmaximised), NVIDIA GPU is at ~60%, CPU is at ~80%.
When running poorly (maximised/fullscreen), NVIDIA GPU is at ~20%, CPU is at ~90%.
I can run the game smoothly in fullscreen if I lower my screen resolution from 1920x1080 to 1280x720.

Xenia (d3d12) - August 2 2019 - e071ca85

I cannot get the game to run smoothly at all.
NVIDIA GPU is at 100%.

My laptop is plugged in and the Power Mode is set to "Best Performance".

Any thoughts? Do you suspect that Xenia is trying to upscale the 720p game to 1080p?

I have attached a log where I open a game in Xenia, maximise the window, unmaximise the window, and then close Xenia.

xenia.log

Note: There are a lot of lines that say "0000005C XMA: Write to unhandled register (0601)".

Was this page helpful?
0 / 5 - 0 ratings