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
#1
Photo 
0
Witam,
mam super PCta ale mam ścinki audio z dźwiękiem w grach i na YT. Sekundowe, ścina i wraca. Nieraz w ogóle interface SSL potrafi zniknąć i reboot serwisu i pipewire nie działa.
Jakich danych ode mnie potrzebujecie?



Kod:
pactl info
Ciąg serwera: /run/user/1000/pulse/native
Wersja protokołu biblioteki: 35
Wersja protokołu serwera: 35
Czy jest lokalny: tak
Indeks klienta: 8226
Rozmiar kafla: 65472
Nazwa użytkownika: satagiah
Nazwa komputera: Decepticon
Nazwa serwera: PulseAudio (on PipeWire 0.3.79)
Wersja serwera: 15.0.0
Domyślne określenie próbki: float32le 2 k 48000 Hz
Domyślna mapa kanałów: front-left,front-right
Domyślny odpływ: alsa_output.usb-Solid_State_Logic_SSL_2-00.analog-stereo
Domyślne źródło: alsa_input.usb-Solid_State_Logic_SSL_2-00.analog-surround-40
Ciasteczko: e604:5ee0

Grata GF RTX4060 Ti 6GB
Interface: SSL2, głośniki po kablach KRK Rokit Gen5. To samo dzieje się na Microlabach Solo 9

Kod:
pactl info
Ciąg serwera: /run/user/1000/pulse/native
Wersja protokołu biblioteki: 35
Wersja protokołu serwera: 35
Czy jest lokalny: tak
Indeks klienta: 8226
Rozmiar kafla: 65472
Nazwa użytkownika: satagiah
Nazwa komputera: Decepticon
Nazwa serwera: PulseAudio (on PipeWire 0.3.79)
Wersja serwera: 15.0.0
Domyślne określenie próbki: float32le 2 k 48000 Hz
Domyślna mapa kanałów: front-left,front-right
Domyślny odpływ: alsa_output.usb-Solid_State_Logic_SSL_2-00.analog-stereo
Domyślne źródło: alsa_input.usb-Solid_State_Logic_SSL_2-00.analog-surround-40
Ciasteczko: e604:5ee0

PW_TOP:
https://imgur.com/a/n7kPXTu

htop nie pokazuje nic szczególnego, rdzeni mam 16, RAMU 80GB. 4 dyski SSD.

W FF włączyłem też (a raczej wyłączyłem parę opcji i wygląda to obecnie tak:
reader.parse-on-load.enabled false
media.webspeech.synth.enabled false

Dodatkowo zrobiłem to ze stronki: https://github.com/wwmm/easyeffects/issues/900
Kod:
sudo cp -a /usr/share/wireplumber/main.lua.d/50-alsa-config.lua /etc/wireplumber/main.lua.d/50-alsa-config.lua

Kod:
alsa_monitor.rules = {
 
  -- (...abbreviated for legibility...)
 
  {
    apply_properties = {
      -- (...abbreviated for legibility...)
      ["session.suspend-timeout-seconds"] = 0, -- default is 5
    },
  },
}



Podam wszystko co jest potrzebne. To samo: Tuc Guitar działa, Instalka na Wine Guitar Pro 5.2 odpala się ale na każdej możliwej opcji dziękowej - dźwięku nie ma nic, a nic.
Podam wszelkie info jak coś. Proszę tylko: jakie potrzebujecie.

Pozdrawiam i tak w ogóle: Witam wszystkich.
Born to be root... not to reboot. Dodgy
#2
0
Oprócz standardowych z inxi pytania zasadnicze:
  • system nówka sztuka, czy po aktualizacji (jeśli tak to z jakiej - bo podejrzewam, że wtedy wszystko było ok). 
  • dźwięk nie działa ogólnie, czy tylko w wybranych aplikacjach? - piszesz o FF, można spróbować inną przeglądarką, by "usunąć" jej wpływ,
  • zrób też test na na wersji Live i przez tryb odzyskiwania (i z niego uruchomienie) - pozwoli to ograniczyć wpływ specyficznych plików konfiguracyjnych w systemie.
Kernel: 6.2.0-32-generic x86_64 Desktop: Xfce 4.18.1 Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
#3
0
Ad. 1. Nówka
Ad. 2. FF, czasem podczas grania w gry np. Dota 2, BG3 itp.
Ad. 3 Na live nie ma domyślnie pipewire ustawionego, 3a by było kombinować...
Born to be root... not to reboot. Dodgy
#4
0
I skoro nie ma Pipewire to na live działa FF YT bez ścinki? Możesz też zrobić testowo nowe konto użytkownika - jeśli na nim będzie działać ok, to coś nie tak jest w konfiguracji na użytkowniku.
Kernel: 6.2.0-32-generic x86_64 Desktop: Xfce 4.18.1 Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
#5
0
Rzucę na to okiem rano i dam znać. Zobaczę jak to z DAWem np. Reaperem na którego mam licencję działa bo to najważniejsze póki co dla mnie.
Born to be root... not to reboot. Dodgy
#6
0
Nadal to samo. Jeśli są experci od pipewire i pro audio - prosze o kontakt i wypowiedź. Używam interface-u SSL2 do nagrywania gitar, wokalu i basu i zależy mi na pro audio, a także na dobrym działaniu audio ogólnie. Działałem z configami pipewire z poradników od Arch-masterów ale nic to nie dało. Z chęcią udostępnię pulpit przez Team Viewer-a itp. celem diagnozy, opisania problemu i jego rozwiązania później na forum.
Born to be root... not to reboot. Dodgy
#7
0
Witam
Zainstaluj "pavucontrol"
Podaj wyniki po ścince
Kod:
inxi -Axxx
journalctl -k | grep -Ei "ALSA|HDA|sof[-]|HDMI|snd[_-]|sound|hda.codec|hda.intel"
cat /usr/share/wireplumber/main.lua.d/50-alsa-config.lua
na temat dźwięku https://forums.linuxmint.com/viewtopic.p...8&t=389383, zobacz czy nie masz możliwości zmiany kernela na wyższy numerek w systemie, w linku masz instrukcje.
#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
#9
0
Spróbuj w ostatnim poleceniu zmienić
Kod:
--["session.suspend-timeout-seconds"] = 5
na
Kod:
--["session.suspend-timeout-seconds"] = 0
zapisz i reboot a jak nie pomoże to podnieś kernel bo wydaje się że on tym zarządza
#10
0
Zdajesz sobie sprawę, że wszystko tu jest wykomentowane więc nie wiem na co wpłynie ta zmiana. No chyba, że się mylę?
Born to be root... not to reboot. Dodgy


Skocz do:




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