I'm using Ubuntu 22.04 on my Razer Blade 14 (2022) laptop. When external speakers are connected through the audio jack I get this constant, loud noise that is present all the time, no matter how loud I set my system volume and no matter which audio output I set in the system settings.
(For example, if I set the audio output to be laptop speakers: I get normal sound from the laptop speakers + noise from the external speakers.)
Here are some observations:
- When I boot Windowson this machine, the audio jack works just fine. However, the noise is present when I turn off the machine with the audio jack connected.
- The noise changes a bit when I unplug the power, but is still present. (Power adds high frequency noise to the already present low frequency hum.)
- The noise is present when I disable the pulseaudio.serviceandpulseaudio.socket
- The noise is present when I change the power settings in the GUI (Power Mode,Power Saving Options)
- If I switch to the audio jack output, nothing is being played there, I can't hear anything through the noise no matter the loudness of the speakers (Which I tweak through and external knob for speakers volume)
- The output Headphones - Family 17h (Models 10h - 1fh) HD Audio Controlleris present when the speakers are plugged in the audio jack.
Here's the output of pactl list sinks:
Sink #1
    State: RUNNING
    Name: alsa_output.pci-0000_04_00.6.HiFi__hw_Generic__sink
    Description: Family 17h (Models 10h-1fh) HD Audio Controller Speaker + Headphones
    Driver: module-alsa-card.c
    Sample Specification: s16le 2ch 44100Hz
    Channel Map: front-left,front-right
    Owner Module: 24
    Mute: no
    Volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
            balance 0.00
    Base Volume: 65536 / 100% / 0.00 dB
    Monitor Source: alsa_output.pci-0000_04_00.6.HiFi__hw_Generic__sink.monitor
    Latency: 23913 usec, configured 23220 usec
    Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
    Properties:
        alsa.resolution_bits = "16"
        device.api = "alsa"
        device.class = "sound"
        alsa.class = "generic"
        alsa.subclass = "generic-mix"
        alsa.name = "ALC897 Analog"
        alsa.id = "ALC897 Analog"
        alsa.subdevice = "0"
        alsa.subdevice_name = "subdevice #0"
        alsa.device = "0"
        alsa.card = "2"
        alsa.card_name = "HD-Audio Generic"
        alsa.long_card_name = "HD-Audio Generic at 0xfc5c0000 irq 90"
        alsa.driver_name = "snd_hda_intel"
        device.bus_path = "pci-0000:04:00.6"
        sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:04:00.6/sound/card2"
        device.bus = "pci"
        device.vendor.id = "1022"
        device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
        device.product.id = "15e3"
        device.product.name = "Family 17h (Models 10h-1fh) HD Audio Controller"
        device.string = "_ucm0003.hw:Generic"
        device.buffering.buffer_size = "352768"
        device.buffering.fragment_size = "176384"
        device.access_mode = "mmap+timer"
        device.profile.name = "HiFi: hw:Generic: sink"
        device.profile.description = "Speaker + Headphones"
        alsa.mixer_device = "_ucm0003.hw:Generic"
        device.description = "Family 17h (Models 10h-1fh) HD Audio Controller Speaker + Headphones"
        module-udev-detect.discovered = "1"
        device.icon_name = "audio-card-pci"
    Ports:
        [Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
        [Out] Headphones: Headphones (type: Headphones, priority: 200, available)
    Active Port: [Out] Speaker
    Formats:
        pcm
Note: I boot from an external SSD through a USB-to-SATA connector. This particular OS wasn't initially installed on the Razer machine. I initially installed it on another desktop machine. Right now I can't use that machine but I need the environment I created on the disk for my work, so I just took out the SSD and plugged it into my laptop. Doing a fresh install is not an option for now.