UltraStar-Deluxe / USDX

The free and open source karaoke singing game UltraStar Deluxe, inspired by Sony SingStarâ„¢
https://usdx.eu
GNU General Public License v2.0
846 stars 161 forks source link

UltraStar Deluxe is not opening #587

Closed kxtlu closed 3 years ago

kxtlu commented 3 years ago

Please, do not create duplicate issues

Actual behaviour

Yesterday I downloaded UltraStar Deluxe. I'm starting the app by clicking on ultrastardx and I get this text:

''Sorry, an error occurred! Please report this error to the game-developers. Also check the Error.log file in the game folder. Stacktrace: Exception class: EAccessViolation Message: AccessViolation $00000000 $127123BB $12709392 $12705D5C $12708854 $6578E794 $6578E97E $6576A6DA2 $657A7BAE $657A70E5 $757B781E $6675DF7E $0044A4A7 INITIALIZESCREEN, line 653 of base/UGraphic.pas $00449C70 INITIALIZE3D, line 480 of base/UGraphic.pas $0044E334 MAIN, line 202 of base/UMain.pas $00402B72 main, line 411 of ultrastardx.dpr

Expected behaviour

The game should be working.

Steps to reproduce

Details

Provide some additional information:

This is how it looks like: image

basisbit commented 3 years ago

did you possibly add a custom theme, which is not compatible with that UltraStar Deluxe version? Also, please attach the whole log file as file attachment, thanks!

s09bQ5 commented 3 years ago

@basisbit, line 653 in UGraphic.pas calls SDL_CreateWindow.

basisbit commented 3 years ago

then the log file would probably show that no OpenGL hardware acceleration is available. You might have to either download and install current graphics card drivers from the support website of your hardware vendor, or rename the opengl32_.dll file to opengl32.dll in the UltraStar Deluxe install folder, then restart the game.

kxtlu commented 3 years ago

then the log file would probably show that no OpenGL hardware acceleration is available. You might have to either download and install current graphics card drivers from the support website of your hardware vendor, or rename the opengl32_.dll file to opengl32.dll in the UltraStar Deluxe install folder, then restart the game.

Yes renaming worked, thank you so much!

s09bQ5 commented 3 years ago

This is not a fix. This is a workaround with performance impact. What GPU do you have?

wipe2000 commented 1 year ago

Sorry 'bout opening the duplicate #736, didn't notice this thread even tried to search.

Anyway, it also helped for me to disable OpenGL acceleration by renaming the dll. Now USDX is working but it starts with a warning of lowered performance, as you said.

Before renaming I tried to update all the drivers with Lenovo's update app, it didn't seem to help anyhow. Well, app only updated GPU driver to version 527.99 while latest Nvidia driver seems to be 537.13. RTX3060 in my Laptop.

basisbit commented 1 year ago

Could you try installing an older version of the official gpu drivers? (preferably from the nvidia website, not from lenovo)