kubaszym1

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 71 total)
  • Author
    Posts
  • in reply to: The sound on the server is broken #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

    in reply to: The sound on the server is broken #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

     

    kubaszym1
    Participant

    Hi,

    I found the issue and fixed it. Local printers on Windows should work well in the upcoming release.

    Regards,

    Kuba

    in reply to: Windows 10 client to Linux NX Server: No printers #45165
    kubaszym1
    Participant

    Hi,

    I found the issue and managed to fix it. Local printers on Windows should be visible in the upcoming release.

    Regards,

    Kuba

    in reply to: No sound from Ventura M2 #45116
    kubaszym1
    Participant

    Hi,

    I would need more information to investigate your issue. What OS is on your client machine? What version of NoMachine do you have?

    During the session you should see two NoMachine sound devices: NoMachine Audio Adapter and NoMachine Microphone Adapter. NoMachine Audio Adapter should be set as default to be able to stream the data to the client machine. Are these devices visible?

    Can you provide us any logs, so we can look for error messages?

    Regards,

    Kuba

    in reply to: The sound on the server is broken #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

    in reply to: The sound on the server is broken #44876
    kubaszym1
    Participant

    Hi,

    It seems that it’s a kernel related issue. For some reasons ubuntu 22 with linux kernel >= 5.19.0-39 sometimes does not recognize or cannot mute/unmute HDMI devices. I’m trying to figure out a workaround for this, but maybe the only option is to downgrade to kernel like, i.e, linux-image-5.19.0-21-generic. Does the sound work outside NoMachine session if you set HDMI device as defualt? Can it be muted/unmuted outside NoMachine session?

    You can check your kernel version by running:

    uname -r

    Regards,

    Kuba

    in reply to: Local Windows drive sharing to remote Linux fails #44842
    kubaszym1
    Participant

    Hi,

    We discovered an issue with forwarding devices in custom sessions. We will work on a fix. I noticed that it happens if you open the session in a floating issues. It should work if you run the custom sesssion in a virtual desktop. You can set it when you create a new custom session.

    Regards,

    Kuba

    in reply to: The sound on the server is broken #44827
    kubaszym1
    Participant

    Hi,

    I found some errors in the logs that cause the failure of unmuting process. Although their cause is really hard to track. I noticed that they may occur when HDMI or ELD devices are used. Do you use a device that is plugged in with a HDMI cable?

    Also, the output of the command below would be helpful for further investigation:

    amixer -c 0 controls | grep “Playback Volume”

    Regards,

    Kuba

    in reply to: The sound on the server is broken #44730
    kubaszym1
    Participant

    Hi,

    Which sound server do you use? Pulseaudio or pipewire? If you have pipewire, you can check this file: /usr/NX/etc/node.cfg. The parameter “AudioInterface” should be set to “pipewire” or “pulseaudio” respectively. If it’s not set in the right way, you can manually change and restart the server. Maybe this will help.

    Regards,

    Kuba

    in reply to: The sound on the server is broken #44677
    kubaszym1
    Participant

    Hi,

    NoMachine mutes the audio on the server by default. You can unmute in session settings if you want. I assume the main issue is that it stays muted even if client disconnects. It can mean two things: either our muting/unmuting script didn’t work on your machine or it wasn’t called at all while closing session. Testers tried to repeat your issue but they couldn’t. I also tried to reproduce because I have ubuntu 22 as well, but everything works fine for me. Our script uses amixer, so you can try the commands below to check if it works on your machine:

    amixer -c 0 set Master playback 0% mute
    amixer -c 0 set Master playback 100% unmute

    You can also enable debug logs in server settings. On the server side, open NoMachine and go to Settings->Server–>Status->Server logs.

    Regards,

    Kuba

     

     

     

    in reply to: Sound shuts off on host #44604
    kubaszym1
    Participant

    Hi,

    I think that you described the default behavior of sound forwarding. We mute the sound on the server by default while streaming to the client machine. You can optionally adjust it to your needs by going to the session menu -> Audio -> Change settings -> Mute audio on the server. You can also disable sound forwarding completely, either in the session menu or in the server settings (on the server side Settings -> Server settings -> Devices -> Enable audio streaming and microphone forwarding).

    in reply to: Audio flicker/judder only on Avid #44571
    kubaszym1
    Participant

    Have you tried restarting the coreaudio daemon?

    sudo pkill coreaudiod

    It’s strange that it happens only on one machine and only with Avid. Maybe restarting CoreAudio will fix the issue.

    in reply to: State of Pipewire support #44456
    kubaszym1
    Participant

    Hi,

    NoMachine connects to the default PipeWire server that is currently running. The default path of pipewire-pulse socket should be /run/user/<uid>/pulse/native. Maybe your issue is somehow specific to your Linux distribution. Can you see what happens if you just change “unix:native” to “unix:/run/user/<uid>/pulse/native”?

    Best regards,

    Kuba

    in reply to: State of Pipewire support #44421
    kubaszym1
    Participant

    Hi,

    I think setting server.address to “unix:native” should be enough, then server string is simply “/run/user/<uid>/pulse/native”. Doesn’t it work for you?

    NoMachine doesn’t require “system-wide” PipeWire. I don’t think if that would be possible, pipewire server generally runs per-user. NoMachine also creates pipewire client for the specific user when logging to the remote desktop.

    Best regards,

    Kuba

Viewing 15 posts - 31 through 45 (of 71 total)