July 17, 2023 at 07:39 #44884
No, the sound does not work outside the session in any way at all – and via HDMI. There is no sound outside the NoMachine session and it cannot be disabled.
5.19.0-46-generic – kernel versionJuly 18, 2023 at 13:11 #44893
Do I understand correctly that there is no solution except kernel downgrade?July 19, 2023 at 10:45 #44899BritgirlParticipant
You can try to see if that helps.July 19, 2023 at 14:46 #44901
I can’t, because it could destroy all my work. Are you looking for any other solutions to the problem?August 2, 2023 at 13:11 #45052
Is there any news?
Can you please upload here the error you found in the log?August 2, 2023 at 14:51 #45056kubaszym1Participant
The error while unmuting is the following:
amixer: Control sysdefault:0 element write error: Operation not permitted
I checked on my machine that this error occurs when you use HDMI device and a new kernel.
KubaSeptember 18, 2023 at 11:02 #45387fishermanModerator
Please can you try to change key AudioInterface in node.cfg
and then restart NoMachine server using
sudo /etc/NX/nxserver --restartSeptember 18, 2023 at 11:54 #45388
This is one of the first options I tried. Anyway now it didn’t help eitherSeptember 21, 2023 at 12:31 #45415kubaszym1Participant
I would like to order things up to determine whether the bug is in Ubuntu or in NoMachine. If I understand correctly, the audio doesn’t work at all after NoMachine installation. Is it impossible to set it again from system settings? Have you tried restarting pulseaudio or alsa? It seems very strange that the sound is broken even if NoMachine is disabled. Even if the sound from the HDMI speaker is broken, you should be able to hear the audio from the default speaker (built-in device in your laptop). Have you tried to achieve working sound with another speaker (i.e. headphones?). You can uninstall NoMachine, restart your computer and check if that changes something. Also, I found a possible way to deal with such issues on Ubuntu although I’m not sure if it’ll work for you:
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX=”” to GRUB_CMDLINE_LINUX=”intel_iommu=on,igfx_off”
Save file and update grub:
If you use NVIDIA drivers, you may need to update them. Go to Software & Updates -> Additional Drivers and check if an update for NVIDIA drivers is available.
KubaSeptember 27, 2023 at 10:17 #45455
Sound does not work anywhere – not directly in the laptop, not through headphones, not through HDMI, with everything in the settings shows as if there is sound, but from the speakers it does not come.
Your colleague was able to reproduce the problem – a bug in NoMachine which is not coping with a server that has HDMI connected.
I have tried all known methods from the Internet for sound problems in Ubuntu – it didn’t help.
I have searched your entire forum and found a similar problem – it is also unsolved in the threads there.
Your last suggested method with grub did not help.
I noticed that if I set the sound to hdmi in the settings and try and try to change the configuration – the output device flies to the laptop. And at the same time when selecting the output device on hdmi, the configuration selection disappears.
Attachments:September 29, 2023 at 18:18 #45490distearthParticipant
I’m having the same problem but no external monitor.October 2, 2023 at 10:35 #45496BritgirlParticipant
Hi distearth, please provide details of your set up (Linux distribution, version, desktop environment etc etc), and steps to reproduce. This could be a different issue and in that case I will split your issue off from this one.
You must be logged in to reply to this topic.