The sound on the server is broken

Forum / NoMachine for Linux / The sound on the server is broken

Viewing 13 posts - 16 through 28 (of 28 total)
  • Author
    Posts
  • #44884
    lumer1020
    Participant

    Hi!

    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 version

     

    #44893
    lumer1020
    Participant

    Do I understand correctly that there is no solution except kernel downgrade?

    #44899
    Britgirl
    Keymaster

    You can try to see if that helps.

    #44901
    lumer1020
    Participant

    I can’t, because it could destroy all my work. Are you looking for any other solutions to the problem?

    #45052
    lumer1020
    Participant

    Is there any news?

    Can you please upload here the error you found in the log?

    #45056
    kubaszym1
    Participant

    Hi,

    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.

    Regards,

    Kuba

    #45387
    fisherman
    Moderator

    Please can you try to change key AudioInterface in node.cfg
    AudioInterface pipewire

    and then restart NoMachine server using
    sudo /etc/NX/nxserver --restart

    #45388
    lumer1020
    Participant

    This is one of the first options I tried. Anyway now it didn’t help either

    #45415
    kubaszym1
    Participant

    Hi,

    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

    Change:

    GRUB_CMDLINE_LINUX=”” to GRUB_CMDLINE_LINUX=”intel_iommu=on,igfx_off”

    Save file and update grub:

    sudo update-grub

    reboot

    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.

    Regards,

    Kuba

     

    #45455
    lumer1020
    Participant

    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.

    #45490
    distearth
    Participant

    Hi,

    I’m having the same problem but no external monitor.

    #45496
    Britgirl
    Keymaster

    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.

    #45520
    kubaszym1
    Participant

    Hi,

    As far as I understand, you are still using pipewire sound server. You can just try to restart it this way:

    systemctl –user –now restart pipewire.{service,socket}

    Please pay attention to the output of command “pactl info”. Server String should be /run/user/1000/pulse/native and Server Name should be PulseAudio (on PipeWire 0.3.x). If the Server String is not set properly, you can set it manually this way:

    export PULSE_SERVER=/run/user/1000/pulse/native

    You are probably using WirePlumber as your session manager. You can check if it runs properly by running wpctl status. In the output you should see something like this:

    Settings
    └─ Default Configured Node Names:
    0. Audio/Sink    alsa_output.pci-0000_00_1b.0.analog-stereo
    1. Audio/Source  alsa_input.pci-0000_00_1b.0.analog-stereo.37

    If no sinks are set as default, you can set them this way:

    wpctl set-default <node-id>

    You can see the node ids in the Audio Sink/Sources section of the “wpctl status” output.

    Regards,

    Kuba

Viewing 13 posts - 16 through 28 (of 28 total)

This topic was marked as solved, you can't post.