Ryzee119 / LithiumX

A simple dashboard, mainly developed for the Original Xbox console, but it can be compiled for Windows and Linux for rapid development and testing.
MIT License
72 stars 8 forks source link

Images not loading until some key is pressed #27

Closed vsilvalopes closed 1 year ago

vsilvalopes commented 1 year ago

On the version 0.9.1 I've noticed a behavior, that none of the images load after the aplication startup. If I touch any button on the controller (Black, White, Directional Keys, Start, Back) the game cover image loads instantly.

I'm running on :

Thanks in advance!

Screenshots atached bellow

IMG-20230813-WA0033 IMG-20230813-WA0035

Ryzee119 commented 1 year ago

I think ive fixed this with https://github.com/Ryzee119/LithiumX/commit/3d662a6739a6d3e5bde3dbb58bb832a3d322283a

Can you check the build artifact here: https://github.com/Ryzee119/LithiumX/actions/runs/5854374242

vsilvalopes commented 1 year ago

Hi @Ryzee119 !

Thanks for the fast reply !

Tested it, and the image loading problem, is gone!

But, I've noticed an error on the Cover art scaling:

IMG-20230814-WA0007

When a game is not selected, a black border apears on the Left side and the botom of the space for the art :

Captura de tela 2023-08-14 091021

And when I select the game, the image resizes to the correct aspect.

Ryzee119 commented 1 year ago

Damn made a new problem I guess. I'll check that out tomorrow

vsilvalopes commented 1 year ago

No problem! Just update here and I test it! Thanks for the work! :D

Ryzee119 commented 1 year ago

Could you try this one? https://github.com/Ryzee119/LithiumX/actions/runs/5876502130

vsilvalopes commented 1 year ago

Hi @Ryzee119 tested it, and at first everything seems ok! The problem with the pictures is solved.

But I've got two crashes launching games, one after a Coolboot, and another after a softreset.

So I will do more testing, and report back to you!

vsilvalopes commented 1 year ago

Hi @Ryzee119 did some more tests, and can confirm. Some games simply doesn't start.

So I have to power off and on the Xbox, and try again. I'm suspecting this an issue with LithiumX, because when I try again the game works flawlessly. And I didn't noticed this behavior using UnleashX for example.

If there's some debug that I can send you, let me know!

vsilvalopes commented 1 year ago

Hi @Ryzee119 did some more tests, and I think everything is fine now!

What I did was a reflash of the latest Cerbios (2.3.1) but this time using UDMA-2, instead of the UDMA-4. Played a couple of games, changed then using softreset, and I had not a single hang on LithiumX.

So, I think that this version is indeed good!

Thanks for the support, and sorry for the confusion about Cerbios.

Ryzee119 commented 1 year ago

Great glad its working