Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Rozwiązane Pipewire - ścinanie dźwięku na YT, podczas gier, na pracy w DAWach
#8
0
Proszę:
Kod:
Audio:
  Device-1: Intel C610/X99 series HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8d20
    class-ID: 0403
  Device-2: NVIDIA vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: speed: 2.5 GT/s lanes: 8 bus-ID: 02:00.1 chip-ID: 10de:22bd
    class-ID: 0403
  Device-3: Creative Live! Cam Sync 1080p type: USB
    driver: snd-usb-audio,uvcvideo bus-ID: 3-9:3 chip-ID: 041e:409d
    class-ID: 0102 serial: Live! Cam Sync 1080p Audio
  Device-4: Solid State Logic SSL 2 type: USB driver: snd-usb-audio
    bus-ID: 5-1.2:4 chip-ID: 31e9:0001 class-ID: fe01
  Device-5: Focusrite-Novation LaunchKey Mini MK3 type: USB
    driver: snd-usb-audio bus-ID: 5-1.4.1:6 chip-ID: 1235:0102 class-ID: 0103
    serial: A4PUCJN2125DDB
  Sound Server-1: ALSA v: k6.2.0-36-generic running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.99.1 running: no
  Sound Server-4: PipeWire v: 0.3.84 running: yes

2gie polecenie zmieniłem na "journalctl -k | grep -Ei "Solid|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel" bo to SSL2 - interface używany jako główny dźwięk:
Kod:
lis 17 21:19:11 Decepticon kernel: usb 5-1.2: Manufacturer: Solid State Logic
lis 17 21:19:12 Decepticon kernel: snd_hda_intel 0000:00:1b.0: enabling device (0000 -> 0002)
lis 17 21:19:12 Decepticon kernel: snd_hda_intel 0000:02:00.1: Disabling MSI
lis 17 21:19:12 Decepticon kernel: snd_hda_intel 0000:02:00.1: Handle vga_switcheroo audio client
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0: autoconfig for ALC892: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:    mono: mono_out=0x0
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:    dig-out=0x1e/0x0
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:    inputs:
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:      Front Mic=0x19
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:      Rear Mic=0x18
lis 17 21:19:12 Decepticon kernel: snd_hda_codec_realtek hdaudioC2D0:      Line=0x1a
lis 17 21:19:12 Decepticon kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card3/input11
lis 17 21:19:12 Decepticon kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card3/input12
lis 17 21:19:12 Decepticon kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card3/input13
lis 17 21:19:12 Decepticon kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:03.0/0000:02:00.1/sound/card3/input14
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Front Mic as /devices/pci0000:00/0000:00:1b.0/sound/card2/input15
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Rear Mic as /devices/pci0000:00/0000:00:1b.0/sound/card2/input16
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Line as /devices/pci0000:00/0000:00:1b.0/sound/card2/input17
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Line Out Front as /devices/pci0000:00/0000:00:1b.0/sound/card2/input18
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Line Out Surround as /devices/pci0000:00/0000:00:1b.0/sound/card2/input19
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Line Out CLFE as /devices/pci0000:00/0000:00:1b.0/sound/card2/input20
lis 17 21:19:12 Decepticon kernel: input: HDA Intel PCH Front Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card2/input21
lis 17 21:19:12 Decepticon kernel: usbcore: registered new interface driver snd-usb-audio

I wynik 3ciego:
Kod:
alsa_monitor.properties = {
  -- Create a JACK device. This is not enabled by default because
  -- it requires that the PipeWire JACK replacement libraries are
  -- not used by the session manager, in order to be able to
  -- connect to the real JACK server.
  --["alsa.jack-device"] = false,

  -- Reserve devices via org.freedesktop.ReserveDevice1 on D-Bus
  ["alsa.reserve"] = true,
  --["alsa.reserve.priority"] = -20,
  --["alsa.reserve.application-name"] = "WirePlumber",

  -- Enables MIDI functionality
  ["alsa.midi"] = true,

  -- Enables monitoring of alsa MIDI devices
  ["alsa.midi.monitoring"] = true,
}

alsa_monitor.rules = {
  -- An array of matches/actions to evaluate.
  --
  -- If you want to disable some devices or nodes, you can apply properties per device as the following example.
  -- The name can be found by running pw-cli ls Device, or pw-cli dump Device
  --{
  --  matches = {
  --    {
  --      { "device.name", "matches", "name_of_some_disabled_card" },
  --    },
  --  },
  --  apply_properties = {
  --    ["device.disabled"] = true,
  --  },
  --}
  {
    -- Rules for matching a device or node. It is an array of
    -- properties that all need to match the regexp. If any of the
    -- matches work, the actions are executed for the object.
    matches = {
      {
        -- This matches all cards.
        { "device.name", "matches", "alsa_card.*" },
      },
    },
    -- Apply properties on the matched object.
    apply_properties = {
      -- Use ALSA-Card-Profile devices. They use UCM or the profile
      -- configuration to configure the device and mixer settings.
      ["api.alsa.use-acp"] = true,

      -- Use UCM instead of profile when available. Can be
      -- disabled to skip trying to use the UCM profile.
      --["api.alsa.use-ucm"] = true,

      -- Don't use the hardware mixer for volume control. It
      -- will only use software volume. The mixer is still used
      -- to mute unused paths based on the selected port.
      --["api.alsa.soft-mixer"] = false,

      -- Ignore decibel settings of the driver. Can be used to
      -- work around buggy drivers that report wrong values.
      --["api.alsa.ignore-dB"] = false,

      -- The profile set to use for the device. Usually this is
      -- "default.conf" but can be changed with a udev rule or here.
      --["device.profile-set"] = "profileset-name",

      -- The default active profile. Is by default set to "Off".
      --["device.profile"] = "default profile name",

      -- Automatically select the best profile. This is the
      -- highest priority available profile. This is disabled
      -- here and instead implemented in the session manager
      -- where it can save and load previous preferences.
      ["api.acp.auto-profile"] = false,

      -- Automatically switch to the highest priority available port.
      -- This is disabled here and implemented in the session manager instead.
      ["api.acp.auto-port"] = false,

      -- Other properties can be set here.
      --["device.nick"] = "My Device",
    },
  },
  {
    matches = {
      {
        -- Matches all sources.
        { "node.name", "matches", "alsa_input.*" },
      },
      {
        -- Matches all sinks.
        { "node.name", "matches", "alsa_output.*" },
      },
    },
    apply_properties = {
      --["node.nick"]              = "My Node",
      --["priority.driver"]        = 100,
      --["priority.session"]       = 100,
      --["node.pause-on-idle"]     = false,
      --["resample.quality"]       = 4,
      --["channelmix.normalize"]   = false,
      --["channelmix.mix-lfe"]     = false,
      --["audio.channels"]         = 2,
      --["audio.format"]           = "S16LE",
      --["audio.rate"]             = 44100,
      --["audio.allowed-rates"]    = "32000,96000"
      --["audio.position"]         = "FL,FR",
      --["api.alsa.period-size"]   = 1024,
      --["api.alsa.headroom"]      = 0,
      --["api.alsa.disable-mmap"]  = false,
      --["api.alsa.disable-batch"] = false,
      --["session.suspend-timeout-seconds"] = 5,  -- 0 disables suspend
    },
  },
}
Born to be root... not to reboot. Dodgy


Wiadomości w tym wątku
RE: Pipewire - ścinanie dźwięku na YT, podczas gier, na pracy w DAWach - przez Xan666 - 19-11-2023, 14:25

Skocz do:




Użytkownicy przeglądający ten wątek: 1 gości