Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Black Screen when loading via desktop shortcut 0.10.1 #2781

Closed
zeinlikezane opened this issue Jan 11, 2023 · 4 comments
Closed

Black Screen when loading via desktop shortcut 0.10.1 #2781

zeinlikezane opened this issue Jan 11, 2023 · 4 comments
Labels
pending This issue needs more investigation by a maintainer to triage appropriately port:Qt Affects the Qt version (the standard desktop version) severity:release blocker Major issues that prevent a release from being cut
Milestone

Comments

@zeinlikezane
Copy link

If I try running a game via a desktop/steam shortcut with the "target" being "C:\Users\x\x\mGBA\mGBA.exe" "C:\Users\x\x\x\x\Game Title.gba" OR dragging and dropping the rom file onto mgba.exe, the game will start, audio will play, but the screen is entirely black.

Emulation > Reset does not fix it, but shutting down the rom and reloading it via File > Load Rom works.
This does not occur in 0.10.0, the version I was using previously, and just tested again.

It seems to only happen to gba games, as GB/GBC games did not have the issue (though they do load with a seemingly default mgba branded sgba border before loading the game and its border, which I havent seen up until now)

bug report.zip

@endrift endrift added this to the mGBA 0.10.2 milestone Jan 18, 2023
@endrift endrift added pending This issue needs more investigation by a maintainer to triage appropriately port:Qt Affects the Qt version (the standard desktop version) labels Jan 18, 2023
@TheGershon
Copy link

I can mostly corroborate this. The only way I can get it to display properly on OpenGL driver & renderer (windows) is by launching the .exe manually with both options already set to OGL; launching through a shortcut, game launcher (playnite), or rom via filetype association OR having either option set to anything else and switching either to OGL only displays a black screen. I don't get the same behavior as OP with shutting down and reloading the rom, it has to be a cold start of the .exe with OGL already set in order to get any visuals. Can investigate when the regression happened if requested.

@endrift
Copy link
Member

endrift commented Jan 23, 2023

I'm pretty sure I can guess when the regression happened, so you don't need to poke at it. I just need to test it myself.

@endrift endrift added the severity:release blocker Major issues that prevent a release from being cut label Jan 29, 2023
@FurbyTime
Copy link

I'll add an oddity to this; I am able to see .gbc and .gb files, but NOT .gba games, when launched through a short cut (In this case, through a Steam Shortcut). Like otherwise reported, the same games work when launched through 0.10.0. This issue also is in the latest development build.

@pkmnsnfrn
Copy link

pkmnsnfrn commented Feb 4, 2023

I have a similar bug but the workaround recommended by zeinlikezane doesn't work for me. Opening .gba files at all results in a black screen, and I have to open mGBA the program on its own and then open a .gba file before I can begin the game.

https://i.imgur.com/haMJmSQ.gif

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending This issue needs more investigation by a maintainer to triage appropriately port:Qt Affects the Qt version (the standard desktop version) severity:release blocker Major issues that prevent a release from being cut
Projects
None yet
Development

No branches or pull requests

5 participants