Forum / NoMachine for Mac / Update to NoMachine audio not working on Mojave
- This topic has 5 replies, 2 voices, and was last updated 2 years, 8 months ago by kubaszym1.
-
AuthorPosts
-
April 12, 2022 at 20:55 #38304mtosti63Participant
This is an update to the topic “NoMachine audio not working on Mojave” from Jan 17,2022″
https://forums.nomachine.com/topic/nomachine-audio-not-working-on-mojaveI cannot update the post as its closed.
I have an update to this problem.
Upon a reboot, the NoMachine driver is not loaded.
mediamac01:~ root# kextstat |grep nx
I can load it manually
mediamac01:~ root# kextload -vvvv /System/Library/Extensions/nxaudio.kext
Requesting load of /System/Library/Extensions/nxaudio.kext.
/System/Library/Extensions/nxaudio.kext loaded successfully (or already loaded).mediamac01:~ root# kextstat |grep nx
175 0 0xffffff7f84a41000 0x5000 0x5000 com.nomachine.driver.nxau (4.1.b2) 78172556-B6A4-3112-BA41-E79D18108476 <101 6 5 3 1>This error is in the system log (not sure if this error was before or after the kextload)
mediamac01:~ root# grep nx /var/log/system.log
Apr 12 10:50:15 mediamac01 nxnode.bin[727]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x7f9bd46c8c80[source], ident: 201731 / 0x31403, handler: 0x7fff5733dca7 }Still no audio, but controls are now present in the UI. If i restart the server, the audio now works.
mediamac01:~ root# /etc/NX/nxserver --restart
April 13, 2022 at 09:18 #38311kubaszym1ParticipantHi,
It’s hard to say what happened at first glance, so I would need a crash report. In the Console app you should find some crash reports or diagnostic reports. Also, I would like to know if it happens before or after kextload, so it would be nice if you reproduced the issue.
Please send all the log files as attachments.
April 14, 2022 at 08:18 #38324mtosti63ParticipantThis was in the system log on a fresh reboot – no audio kext
kextload -vvvv /System/Library/Extensions/nxaudio.kext
Apr 13 14:10:28 mediamac01 nxnode.bin[325]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x7fe1d4ece420[source], ident: 151043 / 0x24e03, handler: 0x7fff618fdca7 }
no NoMachine driver under the speaker dropdown.
/etc/NX/nxserver --restart
Apr 13 14:17:41 mediamac01 nxnode.bin[789]: BUG in libdispatch client: mach_recv, monitored resource vanished before the source cancel handler was invoked { 0x7fee23c6c190[source], ident: 208391 / 0x32e07, handler: 0x7fff618fdca7 }
Now there is a NoMachine item in the speaker dropdown and audio plays
There was no crash report.
I did find these 2 items in the system reports =========================== (attached as one file)
Attachments:
April 19, 2022 at 14:23 #38359kubaszym1ParticipantHi,
Kernel extensions should be loaded automatically by the OS. I’m still not sure whether your issue is caused by the OS or by NoMachine.
You can make sure that SIP is disabled by running:
csrutil status
Moreover, I would like to see some logs. Please set the log level to ‘9 – Debug’ and restart NoMachine server, then reboot your computer and load nxaudio.kext manually.
I would like to see .nx/nxserver.log, .nx/nxerror.log, and you can also send me this folder: /Library/Application Support/NoMachine/var/log
Send everything to forum[at]nomachine[dot]com, with the topic as reference in the subject field.
April 19, 2022 at 21:48 #38363mtosti63ParticipantLogs have been emailed. Thank you for your help
I did the following:
stopped the server
set sessionlog and websession log to 9
started the server
rebooted
kextload the driver
restarted the server via command line twice
I noticed the NoMachine device was not in the volume dropdown, but the driver was loaded.
Thanks
Mike
April 20, 2022 at 10:33 #38369kubaszym1ParticipantHi,
Here’s what you can try:
This command should show you the reason of the issue (run it after reboot):
sudo kextutil -nt /System/Library/Extensions/nxaudio.kext
The command below may help you to solve it:
sudo kextcache -prelinked-kernel /System/Library/PrelinkedKernels/prelinkedkernel /System/Library/Extensions/nxaudio.kext
To make sure whether .kext is added to the prelinked kernel:
strings /System/Library/PrelinkedKernels/prelinkedkernel | grep nxau
Please check if something is different after a reboot. If ‘sudo kextcache …’ doesn’t help, please send me the output of ‘sudo kextutil -nt /System/Library/Extensions/nxaudio.kext’
-
AuthorPosts
This topic was marked as solved, you can't post.