Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: "Error in sound initialization" when launching with sound enabled.  (Read 1350 times)

Owul

  • Ensign
  • *
  • Posts: 5
    • View Profile
"Error in sound initialization" when launching with sound enabled.
« on: September 18, 2020, 06:34:44 AM »

I have tried all the solutions for this on the troubleshooting thread but the issue persists.

The first error message:
error init: Could not locate OpenAL library.
4420 [Thread-4] ERROR sound.B  - org.lwjgl.LWJGLException: Could not locate OpenAL library.
org.lwjgl.LWJGLException: Could not locate OpenAL library.
        at org.lwjgl.openal.AL.create(AL.java:156)
        at org.lwjgl.openal.AL.create(AL.java:102)
        at org.lwjgl.openal.AL.create(AL.java:206)
        at sound.B$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at sound.B.o00000(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

The second error message:
33685 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.UnsatisfiedLinkError: org.lwjgl.openal.AL10.nalListenerfv(IJ)V
java.lang.UnsatisfiedLinkError: org.lwjgl.openal.AL10.nalListenerfv(IJ)V
        at org.lwjgl.openal.AL10.nalListenerfv(Native Method)
        at org.lwjgl.openal.AL10.alListener(AL10.java:685)
        at sound.B.o00000(Unknown Source)
        at com.fs.starfarer.C.L.o00000(Unknown Source)
        at com.fs.starfarer.title.TitleScreenState.advance(Unknown Source)
        at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
        at com.fs.state.AppDriver.begin(Unknown Source)
        at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
        at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

If anyone could help me I would appreciate it a lot.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24112
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #1 on: September 18, 2020, 09:30:30 AM »

Hi - sorry about the trouble! Could you take a look in the troubleshooting thread? The fifth item down has some suggestions for this.

http://fractalsoftworks.com/forum/index.php?topic=2106.0
Logged

Owul

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #2 on: September 18, 2020, 02:38:39 PM »

Hi - sorry about the trouble! Could you take a look in the troubleshooting thread? The fifth item down has some suggestions for this.

http://fractalsoftworks.com/forum/index.php?topic=2106.0

Hello, sorry I already tried every solution there and none of them worked for me.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24112
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #3 on: September 18, 2020, 02:54:21 PM »

I'd really expect the error messages to at least change as a result of the attempts, so that's odd. Hmm. Did you find any OpenAL* files in your windows/ folder and its subfolders? And you've tried copying the OpenAL dlls from the game into windows/system32?

If so, the only thing that comes to mind is reinstalling the game, making sure you do it as the same user that's running it. Also, turn off anything you can that's running at the same time - antivirus, MSI afterburner, browsers, etc, just to make sure nothing is potentially interfering. Also: have you tried just rebooting? Sometimes that helps.

Basically, the error message is saying the game can't find the OpenAL dll. But since it's actually present in the game's native/windows folder, and in your windows/system32 folder (presumably, if you copied it there) - both places where the game should be able to find them - then it seems like it's maybe a permissions and/or file corruption issue.
Logged

Owul

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #4 on: September 20, 2020, 02:22:45 AM »

I did copy the files into System32 and it didn't fix anything. I have also tried reinstalling OpenAL and Starsector too but it didn't work. I also have the game set to run as an administrator. I also tried closing programs that could conflict with Starsector but the issue remains. I even reinstalled Windows on a SSD and it still gives the same error.

I copied then decided to copy my game to my laptop and it works perfectly so I decided to check the laptops System32 folder and all the files the same files that are on my desktop is present there so I really have no idea what the issue could be.

Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24112
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #5 on: September 20, 2020, 09:27:21 AM »

Hmm. It's so strange that the clean windows install didn't make a difference, either! Makes me wonder if this is somehow hardware-specific.

You don't have a third party antivirus running, do you? I mean, I assume if you did, you wouldn't have had it on the new SSD install of windows also, but not much else is coming to mind right now.

I wonder if some of the steps here may be worth going through?
https://support.microsoft.com/en-us/help/4520288/windows-10-fix-sound-problems

Nothing jumps out as "yeah, that'd fix it", but something's definitely off.
Logged

Owul

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #6 on: September 20, 2020, 10:03:31 AM »

No, I don't have anything other than the default windows antivirus. Thanks for the all help though. I will try all the troubleshooting steps you sent and see if that might fix anything.
Logged

Owul

  • Ensign
  • *
  • Posts: 5
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #7 on: September 21, 2020, 07:47:05 AM »

I tried them and it didn't help at all I guess it might be a hardware issue with my motherboard or something but I am getting a new motherboard, CPU and RAM and in a few weeks and I will see if that fixes.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24112
    • View Profile
Re: "Error in sound initialization" when launching with sound enabled.
« Reply #8 on: September 21, 2020, 08:53:06 AM »

Alright - fingers crossed!
Logged