plasmoapp / plasmo-voice

Proximity voice сhat mod for Minecraft
GNU Lesser General Public License v3.0
233 stars 65 forks source link

Crash on the latest version of Fedora Linux KDE immediately when someone starts talking #319

Open 222username opened 1 year ago

222username commented 1 year ago

Minecraft version: 1.19.4 (FABRIC) PlasmoVoice version: 2.0.3 Fedora Linux 38, KDE Plasma

After logging on to the server, when someone starts talking, Minecraft immediately hangs and then crashes. Only this line appears in the console, nothing else:

> Fatal (internal) error in celt/celt_decoder.c, line 118: assertion failed: st->mode == opus_custom_mode_create(48000, 960, NULL)

Wincohax commented 1 year ago

I was going to write the same issue yesterday.

Isn't only in KDE, it also happens in Workstation Edition and probably all the other Fedora Spins/Variants.

We should check if it's Fedora only.

If so, maybe would be something related to the codecs?

222username commented 1 year ago

I was going to write the same issue yesterday.

Isn't only in KDE, it also happens in Workstation Edition and probably all the other Fedora Spins/Variants.

We should check if it's Fedora only.

If so, maybe would be something related to the codecs?

Yes, as it turns out it is not only in KDE. I checked PlasmoVoice on my laptop with the latest installed version of Ubuntu on it, and the mod works fine there. I also think the problem is hiding in the codecs, but it is not clear which side (the operating system or the mod itself)

Hlofiys commented 1 year ago

Resolved this issue via installing codecs from rpm fusion repository. sudo dnf swap libavcodec-free libavcodec-freeworld --allowerasing for removing libavcodec-free and installing libavcodec-freeworld. And then sudo dnf groupupdate multimedia sound-and-video to install other codecs Not sure if the second one is necessary

222username commented 1 year ago

Resolved this issue via installing codecs from rpm fusion repository. sudo dnf swap libavcodec-free libavcodec-freeworld --allowerasing for removing libavcodec-free and installing libavcodec-freeworld. And then sudo dnf groupupdate multimedia sound-and-video to install other codecs Not sure if the second one is necessary

Unfortunately, it didn't work for me. The problem persists.

CPlayxs commented 1 year ago

Resolved this issue via installing codecs from rpm fusion repository. sudo dnf swap libavcodec-free libavcodec-freeworld --allowerasing for removing libavcodec-free and installing libavcodec-freeworld. And then sudo dnf groupupdate multimedia sound-and-video to install other codecs Not sure if the second one is necessary

This worked for me, and the sudo dnf groupupdate multimedia sound-and-video indeed is necessary (tested it without it and didn't work) Thank you so much for the solution

222username commented 1 year ago

upd: reinstalled the system (Fedora 38 KDE), then installed these codecs again sudo dnf swap libavcodec-free libavcodec-freeworld --allowerasing , sudo dnf groupupdate multimedia sound-and-video and everything works fine for me now. I don't know what the problem was before. Thank you Hlofiys

dakiba commented 11 months ago

Have the same issue. Use a modified Fedora version (Nobara release 38) its based on KDE too. The dnf swap and groupupdate didn't worked. And I don't plan to reinstall the whole system. Any idea what I can do?

Apehum commented 11 months ago

Try with 2.1.0: https://github.com/plasmoapp/plasmo-voice/releases/tag/2.1.0-SNAPSHOT

If this version doesn't help, try adding -Dplasmovoice.disable_natives=true to java args

qawsedrftgzh commented 3 months ago

Same issue on nixos here