Voxelum / x-minecraft-launcher

An Open Source Minecraft Launcher with Modern UX. Provide a Disk Efficient way to manage all your Mods!
https://xmcl.app/
MIT License
726 stars 105 forks source link

Provides the option to use System OpenAL in linux systems #841

Open mojujul opened 5 days ago

mojujul commented 5 days ago

As the title suggests, the option to use System OpenAL in Linux systems is provided.

Here's why: When I used the OpenAL library in the game instance, the game would not start, and the game log would output the following message: "Failed to set real-time priority for thread". The same problem will occur when the System OpenAL is not checked in hmcl. After the check is made, the problem disappears and the game can be started normally.

ci010 commented 1 day ago

I wonder what's the root cause of this? Of course I can apply the hmcl method to patch openal. I just wonder how can the launcher know whether the PC need to patch openAL so user don't need to enable config by themselves