Try this
1. Check Monitor Audio Settings
Confirm that the monitor supports audio output via the 3.5mm jack. Some monitors with DisplayPort/HDMI passthrough don’t process audio signals unless explicitly enabled in their settings.
Navigate through your monitor's on-screen display (OSD) menu and check for any audio settings. Ensure the audio output is enabled and set to the correct output (headphone or line-out).
2. Verify Audio Output on macOS
Go to System Settings > Sound (or System Preferences > Sound on older macOS versions).
Under the Output tab, select your monitor (it may show up as "G5" or something similar).
Adjust the output volume slider and ensure Mute is not checked.
3. Check the Connection
Ensure the 3.5mm cable is firmly connected to the monitor's headphone jack and the speakers.
Test the 3.5mm cable and speakers with another device (like a phone) to ensure they’re working correctly.
4. Update macOS and Drivers
Ensure your macOS is up-to-date, as updates can fix compatibility issues.
If you’re using any third-party docking station software, make sure it’s updated.
5. Test Another Display Port Cable
Try using a different DisplayPort cable to rule out any issues with the cable not transmitting audio properly.
6. Force macOS to Output Audio
If the monitor doesn’t appear to accept audio output correctly, try forcing macOS to recognize it:
Open Audio MIDI Setup (search for it using Spotlight).
Check if your monitor is listed. If it’s there, ensure the format is set to 2-channel, 16-bit, or 24-bit at 44.1kHz or 48kHz.
Test the audio output through this interface.
7. Bypass the Monitor for Audio
If the monitor doesn’t handle audio output properly, consider these alternatives:
Connect the speakers directly to the MacBook using the 3.5mm jack or a USB audio adapter.
Use Bluetooth speakers or headphones as an alternative.
If none of these steps work, let me know the exact monitor model and macOS version for further assistance.