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 launching #3279

Closed
2 tasks done
FreakinEh opened this issue Dec 31, 2023 · 14 comments
Closed
2 tasks done

Black screen when launching #3279

FreakinEh opened this issue Dec 31, 2023 · 14 comments
Labels

Comments

@FreakinEh
Copy link

Acknowledgements

  • I have searched for duplicate or closed bug reports
  • I understand that I am supposed to provide my own legitimately obtained copy of the game

Describe the Bug

when i launch the game it boots, i get all the sounds from the game but no picture, but when i launch in debug mode it works perfect, any suggestions

How To Reproduce

when i launch the game it boots, i get all the sounds from the game but no picture, but when i launch in debug mode it works perfect, any suggestions

Does this problem occur on original hardware or PCSX2?

Didn't check

Expected Behavior

when i launch the game it boots, i get all the sounds from the game but no picture, but when i launch in debug mode it works perfect, any suggestions

Environment Information

CPU i9 9900K GPU 4070 Windows 10 open goal version 4.0

Game Version

NTSC 1.0 (black label)

Have you set the game to something other than 60fps?

No

@FreakinEh
Copy link
Author


Capture

@dallmeyer
Copy link
Contributor

dallmeyer commented Jan 17, 2024

Consistent way to reproduce (tested on 0.2.4 and 0.2.5):

  • monitor setup: I have "monitor 0" on the right, and "monitor 1" on the left
  • Boot the game in windowed mode on "monitor 0", no issues
  • Drag the window over to "monitor 1" so it updates display-settings.json (window_xpos should end up negative)
  • Reboot in debug mode or close/reopen, and it should get stuck on black screen on "monitor 1"

@xTVaser xTVaser self-assigned this Jan 17, 2024
@Zedb0T
Copy link
Contributor

Zedb0T commented Jan 17, 2024

User Minecraft Steve/coderafa was running into this issue and was open to testing out any potential fixes if they got deployed
https://discord.com/channels/756287461377703987/1182090440141447211/1182107505178988635

@xTVaser xTVaser removed their assignment Jan 17, 2024
@xTVaser
Copy link
Member

xTVaser commented Jan 17, 2024

Repro doesn't work for me, the negative coordinates are expected (global screen coordinates). The window opens as expected on the other monitor where it was previously positioned.

The only problem I saw was related to the pc-settings not behaving as I would intuitively expect (the game defaulting to windowed mode now, despite that not being the default). But this isn't exactly a new pain-point and didn't result in any unusable problems (like the screen being black). This seems to happen because there is no call to set_window_display_mode on initial boot if there is no pc-settings file.

@dallmeyer
Copy link
Contributor

dallmeyer commented Mar 3, 2024

glfw/glfw#1682 (comment)

^ For me, killing Asus Sonic and Nahimic services (some more ASUS audio crap) fixed this issue

To disable Nahimic altogether:

  • Press Windows + R to open Run dialog, type “services.msc” and press Enter.
  • Look for “Nahimic service” or anything related to “Nahimic“. You can press “n” to quickly jump to the list.
  • Right-click it and select Properties.
  • In the Nahimic Service Properties window, select Disabled in Startup type.

Apparently this service causes all sorts of headaches 🙃 https://www.reddit.com/r/ASUS/comments/asot4q/nahimic_service_causing_problems_all_around/

@xTVaser
Copy link
Member

xTVaser commented May 26, 2024

I'm going to close this, not only have we not heard any reports of this issue in months, but it was traced back (in this situation) to being completely unrelated to opengoal/sdl/etc.

@tliron
Copy link

tliron commented Aug 1, 2024

Sorry, but I am experiencing a black screen even though Nahimic service is disabled. Happy to help debug this.

My setup: AMD 5800X3D, NVIDIA RTX 4090, Windows 11, 4K TV.

@xTVaser
Copy link
Member

xTVaser commented Aug 1, 2024

@tliron If you are in the discord you can follow this conversation where I'm testing changes https://discord.com/channels/756287461377703987/1266995279232634971/1268407646440914964

If not, if your logs have the same thing mentioned here, you are likely in the same boat (the game is selecting the wrong resolution to use) #3563 (comment) that issue describes a workaround to confirm that.

@tliron
Copy link

tliron commented Aug 1, 2024

Thanks, but I do not have the pc-settings.gc file in the Jak 1 settings folder. I have only display-settings.json and input-settings.json.

@xTVaser
Copy link
Member

xTVaser commented Aug 1, 2024

I would check for the log I referenced, one of the other problems is that the pc-settings.gc file is not saved until you modify the settings in the game (can't do that if it's a black screen...).

That and the resolution bug will be addressed here #3624

Here's a default settings file you could drop-in, in the meantime.

pc-settings.zip

@tliron
Copy link

tliron commented Aug 1, 2024

Still doesn't work. Sorry, I'm not on Discord, I hope it's OK to discuss here. I put the pc-settings.gc in the zip into the settings folder, next to the other files mentioned above. I tried editing to (game-size 2840 2160) in it. Still black screen on startup.

@tliron
Copy link

tliron commented Aug 1, 2024

Attaching my latest log: jak1.2024-08-01T18-20-19.log

@xTVaser
Copy link
Member

xTVaser commented Aug 1, 2024

[end] OpenGL error 0x502 S8246 T824C: GL_INVALID_OPERATION error generated. Source and destination dimensions must be identical with the current filtering modes.

It seems to be the same issue, so hopefully when that fix is released at the end of the month it resolves the problem for you.

From your logs i also see

[PC] PC Settings found at 'C:\Users\emble\AppData\Roaming\OpenGOAL\jak1\settings/pc-settings.gc'...loading!
****** CALL TO kopen() ******
[20:20] [warn] [DISPLAY] 2840x2160 is not a supported resolution
[PC Settings]: Invalid game-size resolution 2840 x 2160, defaulting to 1536 x 864

Are you sure you don't mean to use 3840 x 2160 (actual 4k?) 2840x2160 is a very odd resolution. defaulting to 1536 x 864 implies this is the resolution that SDL thinks your monitor is already set to? Are you using a non-100% display scaling?

@tliron
Copy link

tliron commented Aug 1, 2024

LOL, that was a typo, thank you for paying attention. :) Switching to correct resolution allows the game to finally start, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

5 participants