Slay the Spire

Slay the Spire

Trains 10 月 26 日 下午 12:10
Game crashes within seconds of startup
Coming back after a little while I've noticed the game throws a java platform binary error and crashes either when the screen focus changes or when selecting any options, I've verified, reinstalled but the issue continues. Any fixes for this?
< >
正在显示第 1 - 8 条,共 8 条留言
Lavie 10 月 31 日 上午 7:07 
HI!

https://slay-the-spire.fandom.com/wiki/Technical_Issues_and_Troubleshooting

Is nothing work, can you give the exact error message? And your system specifications.
最后由 Lavie 编辑于; 10 月 31 日 上午 7:09
MaracuyaN 10 月 31 日 上午 9:49 
引用自 Trains
Coming back after a little while I've noticed the game throws a java platform binary error and crashes either when the screen focus changes or when selecting any options, I've verified, reinstalled but the issue continues. Any fixes for this?
Same issue here.
MaracuyaN 10 月 31 日 上午 10:27 
Error message:

17:25:46.298 INFO desktop.DesktopLauncher> time: 1761931546298
17:25:46.306 INFO desktop.DesktopLauncher> version: 2022-12-18
17:25:46.306 INFO desktop.DesktopLauncher> libgdx: 1.9.5
17:25:46.306 INFO desktop.DesktopLauncher> default_locale: es_AR
17:25:46.306 INFO desktop.DesktopLauncher> default_charset: windows-1252
17:25:46.306 INFO desktop.DesktopLauncher> default_encoding: Cp1252
17:25:46.306 INFO desktop.DesktopLauncher> java_version: 1.8.0_144
17:25:46.306 INFO desktop.DesktopLauncher> os_arch: amd64
17:25:46.306 INFO desktop.DesktopLauncher> os_name: Windows 10
17:25:46.306 INFO desktop.DesktopLauncher> os_version: 10.0
17:25:46.307 INFO core.SystemStats> MEMORY STATS:
Free Memory: 434Mb
Max Memory: 7.196Mb
Allocated Memory: 485Mb
Unallocated Memory: 6.711Mb
Total Free Memory: 7.145Mb
Used Memory: 50Mb

17:25:46.307 INFO core.SystemStats> DISK STATS:
Total Space: 953.006Mb
Usable Space: 437.684Mb
Free Space: 437.684Mb

17:25:46.310 INFO core.DisplayConfig> Reading info.displayconfig
17:25:46.311 INFO core.DisplayConfig> DisplayConfig successfully read.
17:25:46.329 INFO desktop.DesktopLauncher> [BORDERLESS_FULLSCREEN_MODE]
17:25:46.330 INFO desktop.DesktopLauncher> Running the game in: 1920 x 1080
17:25:46.330 INFO desktop.DesktopLauncher> Settings successfully loaded
17:25:46.330 INFO desktop.DesktopLauncher> Launching application...
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: OpenGL is not supported by the video driver.
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:322)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.setupDisplay(LwjglGraphics.java:216)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:144)
at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:126)
Caused by: org.lwjgl.LWJGLException: Pixel format not accelerated
at org.lwjgl.opengl.WindowsPeerInfo.nChoosePixelFormat(Native Method)
at org.lwjgl.opengl.WindowsPeerInfo.choosePixelFormat(WindowsPeerInfo.java:52)
at org.lwjgl.opengl.WindowsDisplay.createWindow(WindowsDisplay.java:253)
at org.lwjgl.opengl.Display.createWindow(Display.java:306)
at org.lwjgl.opengl.Display.create(Display.java:848)
at org.lwjgl.opengl.Display.create(Display.java:757)
at com.badlogic.gdx.backends.lwjgl.LwjglGraphics.createDisplayPixelFormat(LwjglGraphics.java:314)
... 3 more

El juego se cerró. Presioná una tecla para salir.
Lavie 10 月 31 日 下午 12:40 
Hi!

Try this (the "deleting the Info.displayconfig) :
https://psteamcommunity.yuanyoumao.com/app/646570/discussions/0/1746765743922769184/

Same error here:
https://psteamcommunity.yuanyoumao.com/app/646570/discussions/1/1743356517522061259/

Also (the "OpenGL is not supported by the video driver If your log contains an error that looks like this:" part):
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/1605060445/1743356517517329762/
Not sure if it's related, it's about ModTheSpire, but you have the same error (OpenGL is not supported by the video driver) maybe the solution is something to try.

If this is not working for you:
- Does the game working well before?
- What your system specifications.
最后由 Lavie 编辑于; 10 月 31 日 下午 12:49
MaracuyaN 10 月 31 日 下午 12:53 
引用自 Lavie
Hi!

Try this (the "deleting the Info.displayconfig) :
https://psteamcommunity.yuanyoumao.com/app/646570/discussions/0/1746765743922769184/

Same error here:
https://psteamcommunity.yuanyoumao.com/app/646570/discussions/1/1743356517522061259/

Also (the "OpenGL is not supported by the video driver If your log contains an error that looks like this:" part):
https://psteamcommunity.yuanyoumao.com/workshop/filedetails/discussion/1605060445/1743356517517329762/
Not sure if it's related, it's about ModTheSpire, but you have the same error (OpenGL is not supported by the video driver) maybe the solution is something to try.

If this is not working for you:
- Does the game working well before?
- What your system specifications.

Hello, the game used to work fine, I have the following specs:
Ryzen 5 8400F - RX 9060XT - 32gb RAM ddr5.
I've tried all the ts recommended up there but nothing seems to work.
any helps?
MaracuyaN 10 月 31 日 下午 2:40 
引用自 Lavie
HI!

https://slay-the-spire.fandom.com/wiki/Technical_Issues_and_Troubleshooting

Is nothing work, can you give the exact error message? And your system specifications.
bro, do you have a 2k monitor?
MaracuyaN 10 月 31 日 下午 2:46 
So; here is what I've found:
The game was trying to use Microsoft’s default OpenGL driver (GDI Generic 1.1) instead of the GPU’s proper OpenGL driver.
When the game was set to fullscreen or borderless at 2560×1440, it failed to create a valid OpenGL context, resulting in:
“OpenGL is not supported / Pixel format not accelerated.”

Using Mesa3D (Zink) forces the game to run OpenGL over DirectX 12, which bypasses the broken Windows OpenGL driver and fixes the issue.

How to Fix OpenGL Error in Slay the Spire Using Mesa3D (Windows)

1. Download Mesa3D:
- Go to https://github.com/pal1000/mesa-dist-win/releases.
- Download 'mesa3d--release-msvc.7z' for 64-bit.
- Extract the archive.

2. Locate Slay the Spire Folder:
- Default path: C:\Program Files (x86)\Steam\steamapps\common\SlayTheSpire.
3. Prepare the Game's Java Runtime (JRE):

- Inside the game folder, locate the 'jre' or 'jre_backup' folder.
- If it is named 'jre_backup', rename it back to 'jre'.

4. Copy Mesa3D Driver Files:
- From 'mesa3d--release-msvc\x64\', copy the following files:
• opengl32.dll
• libgallium_wgl.dll (if available)
• dxil.dll (optional, recommended for Zink over DirectX12)
- Paste them into: SlayTheSpire\jre\bin\
- Right-click each file → Properties → If 'Unblock' appears, check it and apply.

5. (Optional) Also copy the same DLLs into the main Slay the Spire folder.

6. Create a Launch Script (BAT file) to Force Mesa (Zink):
- In the game folder, create 'SlayZink.bat' with:
@echo off
setlocal
set "PATH=%CD%\jre\bin;%CD%;%PATH%"
set MESA_LOADER_DRIVER_OVERRIDE=zink
set MESA_GL_VERSION_OVERRIDE=3.3
set MESA_GLSL_VERSION_OVERRIDE=330
set MESA_NO_ERROR=1
echo Launching Slay the Spire with Mesa Zink...
.\jre\bin\java.exe -jar desktop-1.0.jar
pause
7. Reset Display Config If the Game Crashes:
- Delete 'info.displayconfig' in the game folder to reset video settings to windowed mode.
8. IMPORTANT:
- Do NOT enable Fullscreen (exclusive) in the game — it may break OpenGL.
- Use Windowed or Borderless Windowed instead.
- Resolution 1920x1080 or native works as long as it's not exclusive fullscreen.
9. Launch the Game:
- Always start the game by using 'SlayZink.bat', not Steam directly.
- You can later add this BAT file to Steam as a 'Non-Steam Game' for convenience.
10. If the Game Fails to Start Again:
- Delete 'info.displayconfig' and relaunch with the BAT file.
- This resets video mode back to a safe windowed mode.

Hope it works, let me know if you need help with this.

Gracias.

引用自 Lavie
HI!

https://slay-the-spire.fandom.com/wiki/Technical_Issues_and_Troubleshooting

Is nothing work, can you give the exact error message? And your system specifications.
Lavie 11 月 1 日 上午 2:32 
Thanks for the detailed solution!

It seems to be a driver issue.

Usually these sorts of issues occur because a driver was updated from a manufacturer's driver to a Microsoft generic driver. This often happens in the background with no user input. Your best bet would be to go download the most up-to-date driver from the GPU maker (AMD or Nvidia) directly and install that. Choose clean installation when given the opportunity. When complete, reboot and retry

https://old.reddit.com/r/techsupport/comments/1j2l3ta/i_was_able_to_open_a_steam_game_last_week_but/
< >
正在显示第 1 - 8 条,共 8 条留言
每页显示数: 1530 50