ps2homebrew / Open-PS2-Loader

Game and app loader for Sony PlayStation 2
https://ps2homebrew.github.io/Open-PS2-Loader/
Academic Free License v3.0
2.22k stars 280 forks source link

[ISSUE]: OPL freezes when enabling SMB #1384

Open hardlevel opened 1 week ago

hardlevel commented 1 week ago

Checks

Describe the issue

Hi! Since the build 2170, OPL freezes on enabling or acessing the SMB storage. It was normal in the previous builds, some subscribers on my channel related the same issue.

Console model

SCPH-50001

OPL version / revision

opl 1.2.0 2172

In which device(s) have you experienced this issue?

SMB

Context and extra information

No response

AKuHAK commented 1 week ago

@hardlevel can you check https://github.com/AKuHAK/Open-PS2-Loader/actions/runs/11797666755 in artifacts section OPNPS2LD-DEBUG attaached. there will be 2 elfs called opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-f985.elf opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-main.elf check if both resolve your issue

Wolf3s commented 1 week ago

@hardlevel can you check https://github.com/AKuHAK/Open-PS2-Loader/actions/runs/11797666755 in artifacts section OPNPS2LD-DEBUG attaached. there will be 2 elfs called opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-f985.elf opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-main.elf check if both resolve your issue

I think that was only me who noticed that.

J013k commented 1 week ago

I have the same issue.

Kunihiko1897 commented 1 week ago

@hardlevel can you check https://github.com/AKuHAK/Open-PS2-Loader/actions/runs/11797666755 in artifacts section OPNPS2LD-DEBUG attaached. there will be 2 elfs called opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-f985.elf opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-main.elf check if both resolve your issue

None of those files start the games, they keep freezing, only the opl v1.2.0 beta 2173 works, but it does not load the images or the apps that are on the internal hard drive of the PS2, Why is this happening? Any solution?

super16bit commented 1 week ago

Test system - PS2 Slim SCPH-77001

BDM/MX4SIO loads games properly from exFAT 128GB Samsung SD (using OPNPS2LD-v1.2.0-Beta-2165-9996f1f.ELF).
SMB authenticating (DHCP IP to FreeBSD server by IP) and loading games properly (using OPNPS2LD-v1.2.0-Beta-2165-9996f1f.ELF). USB storage not being used at the moment - experimenting with PADEMU & PS3 Dualshock Bluetooth.

_'opl-ingamedebug-v1.2.0-Beta-2173-4f6509d-f985.elf' testing results: BDM/MX4SIO loads games list, art for disc and box properly - Games launch and run properly. SMB authenticates and populates game list with disc images, but box art is blank (edit: resolved with OPLM) - Games launch and run properly.

_'opl-ingamedebug-v1.2.0-Beta-2173-4f6509d-main.elf' testing results: BDM/MX4SIO loads intermittently - sometimes alleviated with reseating MX4SIO card, sometimes not - when it does work: games list loads correctly, art for disc and box load properly - Games launch and run properly. SMB authenticates and populates game list with disc images, but box art is blank (edit: resolved with OPLM) - Games launch and run properly.

Other test results (for reference) OPNPS2LD-v1.2.0-Beta-2169-5a3ef8a.ELF = BDM/MX4SIO non-functional (shows 'Config Loaded from mc0', but games do not display or load) / SMB working properly. OPNPS2LD-v1.2.0-Beta-2171-285a9e4.ELF and OPNPS2LD-v1.2.0-Beta-2172-0032c50.ELF = BDM/MX4SIO non-functional (shows 'Config Loaded from mc0', but games do not display or load) / SMB locks at authentication to server.

AKuHAK commented 1 week ago

@super16bit thanks for testing. As confirmed these bugs are result of 2 @israpps PRs: #1378 and https://github.com/ps2dev/ps2sdk/pull/625 . While first one were fully reverted in #1895, the ps2sdk one was reverted only partially in https://github.com/ps2dev/ps2sdk/pull/676 @fjtrujy @uyjulian can you revert that PR completely as DEV9 now is completely broken and other devices are borken partially?

J013k commented 1 week ago

I did not try the debug version, but I try OPL-v1.2.0-Beta-2173-4f6509d.

I finally can connect through ETH (SMB). The only cons that I have with this version is that I cannot turn off OPL: https://i.postimg.cc/5Nxg7Jb7/poweroff.png

fjtrujy commented 1 week ago

@super16bit thanks for testing. As confirmed these bugs are result of 2 @israpps PRs: #1378 and ps2dev/ps2sdk#625 . While first one were fully reverted in #1895, the ps2sdk one was reverted only partially in ps2dev/ps2sdk#676 @fjtrujy @uyjulian can you revert that PR completely as DEV9 now is completely broken and other devices are borken partially?

I will try to improve existing code to behave as it was before. Thanks!

KrahJohlito commented 1 week ago

In regards to box art not working that may also just a result of JPG not longer being supported in latest versions, please make sure your ART is PNG.. latest OPLM will sort this out for you if you still have some JPGs

super16bit commented 1 week ago

In regards to box art not working that may also just a result of JPG not longer being supported in latest versions, please make sure your ART is PNG.. latest OPLM will sort this out for you if you still have some JPGs

That makes sense - I hadn't processed my SMB share with OPLM yet. Getting back into this after a three year break, so I'm putting myself through a crash course on OPL. Edit: Processed all files in SMB share - art and themes working now.

fjtrujy commented 1 week ago

I have created this PR, where I want to identify what are the driver functions that are required to return a concrete value to make OPL work again.

Cheers.

Wolf3s commented 1 week ago

I have created this PR, where I want to identify what are the driver functions that are required to return a concrete value to make OPL work again.

Cheers.

I will test it tomorrow.

Wolf3s commented 1 week ago

Seriouly, When i downloaded my pademu pr binary the opl has mot saving nothing.

AKuHAK commented 1 week ago

beta 2173 should work with SMB at least

Wolf3s commented 1 week ago

beta 2173 should work with SMB at least

Will attempt later, But i´m trobule shooting with SMB because it was some years that i didn´t use eth option. However, sometimes was really PS2SDK´s problem.

Wolf3s commented 1 week ago

There´s a guy relating that his games was not saving on MC0: but instead HDD.

fran23vb commented 5 days ago

¿Puede verificar https://github.com/AKuHAK/Open-PS2-Loader/actions/runs/11797666755 en la sección de artefactos OPNPS2LD-DEBUG adjunto? habrá 2 elfos llamados opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-f985.elf opl-ingame_debug-v1.2.0-Beta-2173-4f6509d-main.elf verifique si ambos resuelven su problema

Tengo el problema que al cargar un juego por SMB la pantalla se ponía un color rosado/violeta y se congelaba la pantalla, simplemente el juego no cargaba, daba lo mismo si bajaba de versión. la única solución que había encontrado fue en la oficial 1.1.0 ahí si funcionaba perfecto SMB. Estos elf solucionaron el problema, volvió a funcionar el método SMB ejecutando desde un Pendrive. Pero el problema vuelve si copio y ejecuto el ELF en la MC ya sea el ultima o estas versiones, todo desde OpenTuna

I have the problem that when loading a game via SMB the screen would turn pink/purple and the screen would freeze, the game simply wouldn't load, it didn't matter if I downgraded the version. The only solution I had found was in the official 1.1.0, there SMB worked perfectly. These elf solved the problem, the SMB method worked again running from a Pendrive. But the problem returns if I copy and run the ELF on the MC, whether it's the latest or these versions, all from OpenTuna