Skip to content

Voice chat broken on PowerPC (big-endian) #422

Description

@Matias314

Hi, I was trying Abaddon on my PPC Mac, first on OS X 10.5 (with minor patches to miniaudio) and now on PPC Linux for convenience of testing.

Voice chat is unfortunately broken due to the new DAVE stuff:

Unknown event VOICE_CHANNEL_START_TIME_UPDATE
Unknown event VOICE_CHANNEL_STATUS_UPDATE
[2026-06-01 20:49:49.509] [voice] [info] Websocket opened
[2026-06-01 20:49:49.572] [voice] [info] Discovered IP and port: xxx.xxx.xxx.xxx:52840
[2026-06-01 20:49:49.573] [voice] [warning] Unhandled opcode: 18
[2026-06-01 20:49:49.573] [voice] [warning] Unhandled opcode: 20
[2026-06-01 20:49:49.581] [voice] [info] dave_protocol_version=1
[2026-06-01 20:49:49.581] [voice] [info] Creating DAVE session, protocol version=1
[2026-06-01 20:49:49.581] [voice] [info] Initializing DAVE session: channel=xxxxxxxxxxxxxxxxxx version=1 users=2
[2026-06-01 20:49:49.630] [voice] [info] Sending MLS key package, size=392
[2026-06-01 20:49:49.632] [voice] [warning] Unhandled opcode: 15
[2026-06-01 20:49:49.632] [voice] [info] Received external sender package, size=71
[2026-06-01 20:49:49.641] [voice] [info] Received proposals, size=499 connectedUsers=2
[2026-06-01 20:49:49.711] [voice] [info] Sending commit+welcome, size=1160
[2026-06-01 20:49:49.711] [voice] [info] Received welcome: transitionId=0 size=960 connectedUsers=2
[2026-06-01 20:49:49.742] [voice] [info] ProcessWelcome succeeded, roster size=2
[2026-06-01 20:49:49.742] [voice] [info] Refreshed encryptor key ratchet for new epoch
[2026-06-01 20:49:49.742] [voice] [info] DAVE encryption enabled
[2026-06-01 20:49:49.742] [voice] [info] DAVE E2EE active
[2026-06-01 20:49:49.743] [voice] [warning] Unhandled opcode: 15
[2026-06-01 20:50:12.105] [voice] [error] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/openssl_cryptor.cpp:193 Failed to finalize decryption
[2026-06-01 20:50:12.105] [voice] [warning] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/decryptor.cpp:127 Decrypt failed, no valid cryptor found, type: audio, encrypted frame size: 281, plaintext frame size: 281, number of cryptor managers: 1, pass through enabled: no
[2026-06-01 20:50:12.123] [voice] [error] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/openssl_cryptor.cpp:193 Failed to finalize decryption
[2026-06-01 20:50:12.123] [voice] [warning] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/decryptor.cpp:127 Decrypt failed, no valid cryptor found, type: audio, encrypted frame size: 210, plaintext frame size: 210, number of cryptor managers: 1, pass through enabled: no
[2026-06-01 20:50:12.144] [voice] [error] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/openssl_cryptor.cpp:193 Failed to finalize decryption
[2026-06-01 20:50:12.144] [voice] [warning] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/decryptor.cpp:127 Decrypt failed, no valid cryptor found, type: audio, encrypted frame size: 253, plaintext frame size: 253, number of cryptor managers: 1, pass through enabled: no
[2026-06-01 20:50:12.167] [voice] [error] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/openssl_cryptor.cpp:193 Failed to finalize decryption
[2026-06-01 20:50:12.167] [voice] [warning] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/decryptor.cpp:127 Decrypt failed, no valid cryptor found, type: audio, encrypted frame size: 253, plaintext frame size: 253, number of cryptor managers: 1, pass through enabled: no
[2026-06-01 20:50:12.188] [voice] [error] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/openssl_cryptor.cpp:193 Failed to finalize decryption
[2026-06-01 20:50:12.188] [voice] [warning] [DAVE] /usr/src/debug/abaddon/abaddon/subprojects/libdave/cpp/src/decryptor.cpp:127 Decrypt failed, no valid cryptor found, type: audio, encrypted frame size: 324, plaintext frame size: 324, number of cryptor managers: 1, pass through enabled: no

(IP address and channel ID have been redacted)

No audio is being transmitted and received audio triggers many of of those same DAVE errors. At first I thought Discord's libdave was to blame but the test suite appears to pass so I think it's an issue in Abaddon? However I'm not sure.

See also: discord/libdave#19

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions