Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Loading hangs if sound is enabled  (Read 430 times)

giggily

  • Ensign
  • *
  • Posts: 3
    • View Profile
Loading hangs if sound is enabled
« on: September 13, 2019, 07:31:34 PM »

Every time I launch the game with sound enabled I get a black screen. As far as I can tell it isn't crashing, either.

Code
0    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Starting Starsector 0.9.1a-RC8 launcher
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Running in C:\Games\Starsector\starsector-core
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - OS: Windows 7 6.1
1    [main] INFO  com.fs.starfarer.StarfarerLauncher  - Java version: 1.7.0_79 (64-bit)
6    [main] INFO  com.fs.starfarer.settings.StarfarerSettings  - Loading settings
9    [main] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
71   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 640x480, 60Hz, 16bpp
71   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 640x480, 60Hz, 32bpp
71   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x576, 50Hz, 16bpp
71   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x480, 59Hz, 16bpp
72   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x480, 60Hz, 16bpp
72   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x480, 59Hz, 32bpp
72   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x480, 60Hz, 32bpp
72   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 720x576, 50Hz, 32bpp
72   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 800x600, 56Hz, 32bpp
73   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 800x600, 60Hz, 32bpp
73   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 800x600, 56Hz, 16bpp
73   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 800x600, 60Hz, 16bpp
73   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1024x768, 60Hz, 32bpp
73   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1024x768, 60Hz, 16bpp
74   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1152x864, 60Hz, 16bpp
74   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1152x864, 60Hz, 32bpp
74   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x768, 60Hz, 32bpp
74   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x800, 60Hz, 16bpp
74   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x800, 60Hz, 32bpp
75   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x768, 60Hz, 16bpp
75   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 60Hz, 32bpp
75   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x960, 60Hz, 32bpp
75   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x1024, 60Hz, 16bpp
75   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 59Hz, 32bpp
76   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 50Hz, 32bpp
76   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x1024, 60Hz, 32bpp
76   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x960, 60Hz, 16bpp
76   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 60Hz, 16bpp
76   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 59Hz, 16bpp
77   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1280x720, 50Hz, 16bpp
77   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1360x768, 60Hz, 32bpp
77   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1360x768, 60Hz, 16bpp
77   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1366x768, 60Hz, 32bpp
77   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1366x768, 60Hz, 16bpp
78   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1440x900, 60Hz, 16bpp
78   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1440x900, 60Hz, 32bpp
78   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1024, 60Hz, 32bpp
78   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1024, 59Hz, 32bpp
78   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1200, 60Hz, 16bpp
79   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1024, 60Hz, 16bpp
79   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1024, 59Hz, 16bpp
79   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x1200, 60Hz, 32bpp
79   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x900, 60Hz, 16bpp
80   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x900, 59Hz, 16bpp
80   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x900, 60Hz, 32bpp
80   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1600x900, 59Hz, 32bpp
80   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1680x1050, 59Hz, 32bpp
81   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1680x1050, 60Hz, 32bpp
81   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1680x1050, 59Hz, 16bpp
81   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1680x1050, 60Hz, 16bpp
81   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1920x1080, 60Hz, 16bpp
81   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1920x1080, 50Hz, 16bpp
82   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1920x1080, 60Hz, 32bpp
82   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 1920x1080, 50Hz, 32bpp
82   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 2715x1527, 60Hz, 16bpp
82   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 2715x1527, 50Hz, 16bpp
83   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 2715x1527, 60Hz, 32bpp
83   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 2715x1527, 50Hz, 32bpp
83   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 3840x2160, 50Hz, 16bpp
83   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 3840x2160, 60Hz, 16bpp
83   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 3840x2160, 50Hz, 32bpp
84   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Found display mode: 3840x2160, 60Hz, 32bpp
84   [main] INFO  com.fs.starfarer.launcher.opengl.GLLauncher  - Assuming native monitor resolution is 3840x2160
228  [Thread-2] INFO  com.fs.graphics.L  - Using refresh rate:60
530  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/launcher_bg.jpg (using cast)
542  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/launch_button_bg.png (using cast)
546  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/play_button0.png (using cast)
549  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/play_button1.png (using cast)
552  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/buttons/toggleA20x_on.png (using cast)
554  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/buttons/toggleA20x_off.png (using cast)
557  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/ui/buttons/arrow_down.png (using cast)
559  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/fx/scanline11.png (using cast)
572  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/fonts/orbitron24aabold_0.png (using cast)
593  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/fonts/orbitron20aa_0.png (using cast)
612  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/fonts/insignia15LTaa_0.png (using cast)
634  [Thread-2] INFO  com.fs.graphics.TextureLoader  - Cleaned buffer for texture graphics/fonts/orbitron12_0.png (using cast)
2418 [Thread-4] INFO  com.fs.starfarer.StarfarerLauncher  - Running vanilla game with no mods.
2418 [Thread-4] INFO  com.fs.starfarer.settings.StarfarerSettings  - Loading settings
2420 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [ABSOLUTE_AND_CWD: null (data/config/settings.json)]
2441 [Thread-4] INFO  com.fs.graphics.L  - Using refresh rate:60

At that point it stops loading. The game loads and runs as expected with sound disabled. If I delete the OpenAL .dll files in the game's folders it will also actually start loading before running into errors and crashing.

I've tried uninstalling and reinstalling OpenAL a couple of times and using different versions of its .dlls in the windows folders without any luck. I have OpenAl Soft set up, but I don't know how or why that would be causing this issue.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Loading hangs if sound is enabled
« Reply #1 on: September 13, 2019, 08:15:44 PM »

Hi - sorry about the trouble! That's an odd one, haven't seen this specific kind of issue before.

It does seem like OpenALSoft could potentially cause a conflict, though. I'm not sure exactly how windows handles dll loading in that particular, but if the game ends up trying to use the OpenALSoft implementation instead of the OpenAL dlls it come with, that seems like that would be a problem.

Aside from that, the thing to try would be to have the game with its proper DLL files (probably via reinstall, just to make sure), and then remove any OpenAL dll files from the windows/system32 folder, reboot, and then try running the game. And then after uninstalling OpenALSoft, if that's an option for you.
Logged

giggily

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: Loading hangs if sound is enabled
« Reply #2 on: September 13, 2019, 09:16:51 PM »

It's working now, the problem was alsoft.ini in AppData/Roaming, a config file for OpenAl Soft. I hadn't realized it was there when I tried uninstalling OpenAl Soft earlier.

I don't know why it was there, since that's not where alsoft.ini is supposed to be, or why it was causing a problem since it appears that the game does work with OpenAl Soft's .dll files. Removing that instance of alsoft.ini fixed things.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23988
    • View Profile
Re: Loading hangs if sound is enabled
« Reply #3 on: September 13, 2019, 09:39:23 PM »

Glad you worked it out! Thank you for sharing what the issue was.
Logged