About Store Forum Documentation Contact



Post Reply 
Esenthel on XBox
Author Message
Pherael Offline
Member

Post: #1
Esenthel on XBox
Hi, I was testing my project on XBox One X using UWP, and I was able to sucesfully launch it. Saddly some issues occured:

- Performance is bad and Xbox tool shows that only 1 GPU engine (from 8 available) is used by game. With one source of light, low setting and small scene, fps is between 50-30fps. My game is set as Game (not App) so it should have full acces to GPU power https://docs.microsoft.com/en-us/windows...allocation

- XBox gamepad is detected only about 50% times when I run game, and it seems totaly random (gamepad works since I can use home button and navigate xbox settings)

Also, how looks possibility to add DirectX 12 support to Esenthel?

Screen from Xbox tool showing GPU engines usage:
[Image: uc?export=download&id=1fBPurDH6z...BXlE-WNLZj]
09-27-2018 03:15 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Esenthel on XBox
Hi,

Thank you for sharing your test results.

I don't have an Xbox so I can't do any tests myself.

Perhaps you could try:
-Make sure your Xbox has all latest System Updates
-try running game in Release instead of Debug
-perhaps setting as "Game" instead of "App" did not succeed?

I don't have any plans for DX12 in the nearest future, as it's a very complex beast, however my estimates are that it would improve performance only by a few %.

I've read on some gamedev forum, that I quote:
Quote:It does have 8 engines, but only 1 of them is 3D. Others include copy engine, compute engine, video decode, video encode, etc. For rendering only 3D one can be used. Games will probably utilize the copy engine a little bit too, and compute engine if you use compute shaders.
It's possible the other GPU engines, are for some other stuff, and not 3D rendering.

It's also a possibility that performance could be limited on Xbox if you're not a registered developer:
https://www.xbox.com/en-us/Developers/id
https://www.xbox.com/en-US/developers/creators-program
or perhaps because you're using a normal Xbox instead of a Dev Kit, I really don't know.

As for the gamepads, you could try some debugging:
-The engine always calls at the start "ListJoypads"
https://github.com/Esenthel/EsenthelEngi...d.cpp#L554

-It also registers callbacks for gamepads added/removed:
https://github.com/Esenthel/EsenthelEngi...m.cpp#L136

-Which again call "ListJoypads"

Perhaps you could try to see why "ListJoypads" doesn't detect your gamepad successfully.
https://github.com/Esenthel/EsenthelEngi...d.cpp#L554
09-28-2018 12:13 AM
Find all posts by this user Quote this message in a reply
Pherael Offline
Member

Post: #3
RE: Esenthel on XBox
Thank you for your reply.
My Xbox has latest update, I'm am registered developer and I have dev kit. I'm sure project is set as "Game" since I can use more than 1GB RAM. Running game as release don't help much.

Quote:It's possible the other GPU engines, are for some other stuff, and not 3D rendering.
Hmm, it could be true, but still I belive I should have better performance anyway. For now I will make more test and try figure something out by myself.

About gamepad I will try some debugging, thanks for some tips.

And true that adding support for DX12 wouldn't add much performance rise on PC, but on XBox it would make difference. But I get that it would cost a lot of work, and you have other priorities right now.
09-28-2018 09:08 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Esenthel on XBox
Also what monitor /TV resolution do you have? You can use D.density to force rendering to a lower screen resolution which can give a performance boost
09-28-2018 11:59 PM
Find all posts by this user Quote this message in a reply
Post Reply