Nowe posty

xx Dystrybucja pod HP Omen (6)
Wczoraj o 23:30:08
xx [Poradnik] Wyszukiwanie Sterowników (2)
Wczoraj o 21:08:23
lamp Problem z Linux Lite po instalacji (0)
Wczoraj o 19:50:30
xx Ile pingwinów? (1)
Wczoraj o 08:59:24
xx konfiguracja pale moon (0)
2024-03-24, 21:53:42
xx Plasma 6 w Neonie ssie trochę mniej ... (10)
2024-03-23, 02:38:11
xx problem z instalacja sterowników do karty sieciowej (3)
2024-03-18, 18:10:16
xx Plik abc.001 (1)
2024-03-17, 17:48:27
xx Zlecę dopracowanie programu w MatLab (0)
2024-03-13, 15:28:40
xx Linux Mint 21.3 XFCE brak dźwieku po paru minutach (karta muzyczna zintegrowana) (5)
2024-03-12, 23:07:01

Autor Wątek: Wybiórcze Problemy Ze Skrzeczącym Dźwiękiem  (Przeczytany 2664 razy)

Tiritto

  • Gość
Wybiórcze Problemy Ze Skrzeczącym Dźwiękiem
« dnia: 2015-11-26, 18:09:05 »
Witam wszystkich serdecznie.
 
Pierwsza wypowiedź na forum i od razu z jakimś problemem, bo jakżeby inaczej. :) Miewam problemy z odtwarzaniem dźwięku w niektórych aplikacjach, a mianowicie dźwięk w niej przerwywa/skrzeczy (po angielsku nazwałbym to crackling) oraz jest wyraźnie przyśpieszony. Co ciekawe, problem ten pojawia się tylko w niektórych aplikacjach, kiedy tymczasem inne radzą sobie bez problemu.
 
Dźwięk działa bez jakichkolwiek zarzutów w odtwarzaczu filmów, przeglądarce i jej wtyczkach, oraz TeamSpeak'u. Działa natomiast nieprawidłowo we wszystkich uruchomionych za pośrednictwem Wine aplikacji (nie ważne czy odpalam je bezpośrednio przez Wine czy wykorzystuję np. PlayOnLinux), Genymotion oraz wtyczkach do TeamSpeaka ze wsparciem dla Linuxa. Czasem kiedy jedna z problematycznych aplikacji zacznie mieć problemy z dźwiękiem, problemy te zaczynają występować na wszystkich aplikacjach i całym systemie aż do momentu gdy wyłączę problematyczną aplikację, wówczas pozostałe procesy znów odtwarzają dźwięk prawidłowo.
 
Szukałem rozwiązania po internetach, ale żadne z rozwiazań które tam znalazłem nie pomogły mi w żaden sposób. Jedynym obejściem które mi pomaga to uruchomienie aplikacji za pośrednictwem PlayOnLinux z komendą export PULSE_LATENCY_MSEC=60, dzięki której dźwięk działa prawidłowo, ale jeśi Wine odpali kolejną pod-aplikację wówczas znowu wszystko się psuje. Poza tym, tak jak wspomniałęm wczesniej problem występuje także poza aplikacjami korzystającymi z Wine.

Ponadto, korzystam z wtyczki do GNOME (dokładnie tej: https://extensions.gnome.org/extension/858/volume-mixer/ )wyświetlającej wszystkie aktualne źródła dźwięku w systemie i zawsze kiedy pojawia się wyżej wspomniany problem, jedno ze źródeł dosłownie mryga ciągle pojawiając się i znikając z listy.

Używam z zestawu słuchawkowego (słuchawki + mikrofon) podłączonymi pod USB. Mam także podłączone do komputera głośniki, ale przeważnie z nich nie korzystam.
 
$ lspci | grep udio

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)

$ pactl list | grep module

    Nazwa: module-device-restore
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute state of devices"
        module.version = "6.0"
    Nazwa: module-stream-restore
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the volume/mute/device state of streams"
        module.version = "6.0"
    Nazwa: module-card-restore
        module.author = "Lennart Poettering"
        module.description = "Automatically restore profile of cards"
        module.version = "6.0"
    Nazwa: module-augment-properties
        module.author = "Lennart Poettering"
        module.description = "Augment the property sets of streams with additional static information"
        module.version = "6.0"
    Nazwa: module-switch-on-port-available
    Nazwa: module-udev-detect
        module.author = "Lennart Poettering"
        module.description = "Detect available audio hardware and load matching drivers"
        module.version = "6.0"
    Nazwa: module-alsa-card
    Parametr: device_id="1" name="usb-Logitech_Logitech_USB_Headset-00-Headset" card_name="alsa_card.usb-Logitech_Logitech_USB_Headset-00-Headset" namereg_fail=false tsched=nie fixed_latency_range=nie ignore_dB=nie deferred_volume=tak use_ucm=tak card_properties="module-udev-detect.discovered=1"
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "6.0"
    Nazwa: module-alsa-card
    Parametr: device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=nie fixed_latency_range=nie ignore_dB=nie deferred_volume=tak use_ucm=tak card_properties="module-udev-detect.discovered=1"
        module.author = "Lennart Poettering"
        module.description = "ALSA Card"
        module.version = "6.0"
    Nazwa: module-bluetooth-policy
        module.author = "Frédéric Dalleau"
        module.description = "When a bluetooth sink or source is added, load module-loopback"
        module.version = "6.0"
    Nazwa: module-bluetooth-discover
        module.author = "João Paulo Rechi Vita"
        module.description = "Detect available Bluetooth daemon and load the corresponding discovery module"
        module.version = "6.0"
    Nazwa: module-bluez5-discover
        module.author = "João Paulo Rechi Vita"
        module.description = "Detect available BlueZ 5 Bluetooth audio devices and load BlueZ 5 Bluetooth audio drivers"
        module.version = "6.0"
    Nazwa: module-esound-protocol-unix
        module.author = "Lennart Poettering"
        module.description = "ESOUND protocol (UNIX sockets)"
        module.version = "6.0"
    Nazwa: module-native-protocol-unix
        module.author = "Lennart Poettering"
        module.description = "Native protocol (UNIX sockets)"
        module.version = "6.0"
    Nazwa: module-default-device-restore
        module.author = "Lennart Poettering"
        module.description = "Automatically restore the default sink and source"
        module.version = "6.0"
    Nazwa: module-rescue-streams
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is removed, try to move its streams to the default sink/source"
        module.version = "6.0"
    Nazwa: module-always-sink
        module.author = "Colin Guthrie"
        module.description = "Utrzymywanie zawsze co najmniej jednego wczytanego odpływu nawet, jeśli to pusty odpływ"
        module.version = "6.0"
    Nazwa: module-intended-roles
        module.author = "Lennart Poettering"
        module.description = "Automatically set device of streams based on intended roles of devices"
        module.version = "6.0"
    Nazwa: module-suspend-on-idle
        module.author = "Lennart Poettering"
        module.description = "When a sink/source is idle for too long, suspend it"
        module.version = "6.0"
    Nazwa: module-systemd-login
        module.author = "Lennart Poettering"
        module.description = "Create a client for each login session of this user"
        module.version = "6.0"
    Nazwa: module-position-event-sounds
        module.author = "Lennart Poettering"
        module.description = "Position event sounds between L and R depending on the position on screen of the widget triggering them."
        module.version = "6.0"
    Nazwa: module-role-cork
        module.author = "Lennart Poettering"
        module.description = "Mute & cork streams with certain roles while others exist"
        module.version = "6.0"
    Nazwa: module-filter-heuristics
        module.author = "Colin Guthrie"
        module.description = "Detect when various filters are desirable"
        module.version = "6.0"
    Nazwa: module-filter-apply
        module.author = "Colin Guthrie"
        module.description = "Load filter sinks automatically when needed"
        module.version = "6.0"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
        module-stream-restore.id = "sink-input-by-application-name:ALSA plug-in [plugin-container]"
    Sterownik: module-systemd-login.c
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"
    Sterownik: module-alsa-card.c
        module-udev-detect.discovered = "1"

/etc/pulse/daemon.conf

# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

## Configuration file for the PulseAudio daemon. See pulse-daemon.conf(5) for
## more information. Default values are commented out.  Use either ; or # for
## commenting.

; daemonize = no
; fail = yes
; allow-module-loading = yes
; allow-exit = yes
; use-pid-file = yes
; system-instance = no
; local-server-type = user
; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB
; lock-memory = no
; cpu-limit = no

; high-priority = yes
; nice-level = -11

; realtime-scheduling = yes
; realtime-priority = 5

; exit-idle-time = 20
; scache-idle-time = 20

; dl-search-path = (depends on architecture)

; load-default-script-file = yes
; default-script-file = /etc/pulse/default.pa

; log-target = auto
; log-level = notice
; log-meta = no
; log-time = no
; log-backtrace = 0

; resample-method = speex-float-1
; enable-remixing = yes
; enable-lfe-remixing = no

; flat-volumes = yes

; rlimit-fsize = -1
; rlimit-data = -1
; rlimit-stack = -1
; rlimit-core = -1
; rlimit-as = -1
; rlimit-rss = -1
; rlimit-nproc = -1
; rlimit-nofile = 256
; rlimit-memlock = -1
; rlimit-locks = -1
; rlimit-sigpending = -1
; rlimit-msgqueue = -1
; rlimit-nice = 31
; rlimit-rtprio = 9
; rlimit-rttime = 200000

; default-sample-format = s16le
; default-sample-rate = 44100
; alternate-sample-rate = 48000
; default-sample-channels = 2
; default-channel-map = front-left,front-right

default-fragments = 8
default-fragment-size-msec = 10

; enable-deferred-volume = yes
; deferred-volume-safety-margin-usec = 8000
; deferred-volume-extra-delay-usec = 0

/etc/pulse/default.pa


#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
#load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink output
#set-default-source input
« Ostatnia zmiana: 2015-11-26, 18:11:55 wysłana przez Tiritto »

Tiritto

  • Gość
Odp: Wybiórcze Problemy Ze Skrzeczącym Dźwiękiem
« Odpowiedź #1 dnia: 2015-11-26, 18:10:51 »
$ lsmod

Module                  Size  Used by
vfat                   20480  1
fat                    65536  1 vfat
fuse                   94208  3
nf_conntrack_netbios_ns    16384  0
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
ip6t_rpfilter          16384  1
ip6t_REJECT            16384  2
nf_reject_ipv6         16384  1 ip6t_REJECT
xt_conntrack           16384  21
ebtable_nat            16384  1
ebtable_broute         16384  1
bridge                114688  1 ebtable_broute
ebtable_filter         16384  1
ebtables               32768  3 ebtable_broute,ebtable_nat,ebtable_filter
ip6table_nat           16384  1
nf_conntrack_ipv6      20480  12
nf_defrag_ipv6         36864  1 nf_conntrack_ipv6
nf_nat_ipv6            16384  1 ip6table_nat
ip6table_mangle        16384  1
ip6table_security      16384  1
ip6table_raw           16384  1
ip6table_filter        16384  1
ip6_tables             28672  5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
iptable_nat            16384  1
nf_conntrack_ipv4      16384  11
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 28672  2 nf_nat_ipv4,nf_nat_ipv6
nf_conntrack          106496  8 nf_conntrack_netbios_ns,nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,nf_conntrack_broadcast,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_mangle         16384  1
iptable_security       16384  1
iptable_raw            16384  1
vboxpci                24576  0
vboxnetadp             28672  0
vboxnetflt             28672  0
vboxdrv               430080  3 vboxnetadp,vboxnetflt,vboxpci
nvidia              10559488  90
snd_usb_audio         176128  7
snd_usbmidi_lib        32768  1 snd_usb_audio
snd_rawmidi            32768  1 snd_usbmidi_lib
snd_hda_codec_realtek    86016  1
snd_hda_codec_generic    73728  1 snd_hda_codec_realtek
snd_hda_intel          36864  7
coretemp               16384  0
snd_hda_codec         126976  3 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel
kvm_intel             167936  0
snd_hda_core           61440  4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep              16384  2 snd_usb_audio,snd_hda_codec
gpio_ich               16384  0
kvm                   499712  1 kvm_intel
iTCO_wdt               16384  0
snd_seq                69632  0
snd_seq_device         16384  2 snd_seq,snd_rawmidi
snd_pcm               114688  5 snd_usb_audio,snd_hda_codec,snd_hda_intel,snd_hda_core
iTCO_vendor_support    16384  1 iTCO_wdt
crc32c_intel           24576  0
tpm_infineon           20480  0
snd_timer              32768  3 snd_pcm,snd_seq
snd                    77824  38 snd_hda_codec_realtek,snd_usb_audio,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec_generic,snd_usbmidi_lib,snd_hda_codec,snd_hda_intel,snd_seq_device
drm                   335872  4 nvidia
i7core_edac            24576  0
edac_core              53248  2 i7core_edac
tpm_tis                20480  0
soundcore              16384  1 snd
lpc_ich                24576  0
shpchp                 36864  0
tpm                    36864  2 tpm_tis,tpm_infineon
i2c_i801               20480  0
acpi_cpufreq           20480  0
nfsd                  315392  1
auth_rpcgss            61440  1 nfsd
nfs_acl                16384  1 nfsd
lockd                  94208  1 nfsd
grace                  16384  2 nfsd,lockd
sunrpc                311296  7 nfsd,auth_rpcgss,lockd,nfs_acl
binfmt_misc            20480  1
uas                    24576  0
usb_storage            65536  2 uas
mxm_wmi                16384  0
8021q                  32768  0
garp                   16384  1 8021q
stp                    16384  2 garp,bridge
llc                    16384  3 stp,garp,bridge
mrp                    20480  1 8021q
serio_raw              16384  0
r8169                  81920  0
ata_generic            16384  0
pata_acpi              16384  0
pata_jmicron           16384  0
mii                    16384  1 r8169
wmi                    20480  1 mxm_wmi

$ dmesg
http://pastebin.com/fNXXGsRY