MX 23 Going back to pulseaudio (step-by-step tutorial)

Here is where you can post tips and tricks to share with other users of MX. Do not ask for help in this Forum.
Message
Author
User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#21 Post by CyberGhost »

@MadMax Ok I tried your method because after installing MX 23 I was having clipping and choppy audio artifacts when watching YouTube with Chrome and Firefox, watching a movie on VLC, and listening to music on Strawberry. It sounds like when a scratched CD skips. Anyway, I applied your method, rebooted, and I'm still having the same problem. So I'm going to try and bypass pulseaudio like @Charlie Brown mentioned in this thread next. Will report back soon. If that fails, I may try an Alsa only setup or just reverting back to MX 21.3. It could also be kernel related I'm thinking as well. I do recall someone else mentioning that. Here's my QSI just in case anyone would like to inspect:

***EDIT*** I tried the bypass pulse audio solution and I'm still having the same problem. I think I'll just reinstall MX 21.3. It could be that the kernel MX 21.3 used played better with my system. I'm not sure that using a different kernel on MX 23 would be a good idea or if it would cause complications with other things.

Code: Select all

[CODE]Snapshot created on: 20230817_1038
System:
  Kernel: 6.1.0-11-amd64 [6.1.38-4] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-11-amd64 root=UUID=<filter> ro quiet splash
    init=/lib/systemd/systemd
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23_x64 Libretto August 17  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 81FF v: 75.24 serial: <superuser required> UEFI: Insyde v: F.30
    date: 06/25/2018
Battery:
  ID-1: BAT0 charge: 15.8 Wh (91.3%) condition: 17.3/17.3 Wh (100.0%) volts: 11.9 min: 10.9
    model: 131-42-6E HS03031 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i7-7500U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check
    gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 9 microcode: 0xF4
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1325 high: 2900 min/max: 400/3500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 2900 4: 800 bogomips: 23199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:5916 class-ID: 0300
  Device-2: Microdia HP Webcam type: USB driver: uvcvideo bus-ID: 1-7:3 chip-ID: 0c45:651b
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 339x212mm (13.35x8.35") s-diag: 400mm (15.74")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: LEDTV built: 2016 res: 1280x800 hz: 60 dpi: 28
    gamma: 1.2 size: 1150x650mm (45.28x25.59") diag: 1321mm (52") ratio: 16:9 modes: max: 1366x768
    min: 720x400
  Monitor-2: eDP-1 pos: primary model: AU Optronics 0x229e built: 2015 res: 1280x800 hz: 60
    dpi: 85 gamma: 1.2 size: 382x214mm (15.04x8.43") diag: 438mm (17.2") ratio: 16:9 modes: 1600x900
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.1.0-11-amd64 status: kernel-api with: apulse type: pulse-emulator
    tools: alsamixer,amixer
  Server-1: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8136
    class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8188EE Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8188ee
    v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0
    chip-ID: 10ec:8179 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 72.76 GiB (7.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB block-size:
    physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 4C
    scheme: GPT
Partition:
  ID-1: / raw-size: 931.26 GiB size: 915.57 GiB (98.31%) used: 72.76 GiB (7.9%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 39.0 C pch: 34.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2034 pm: dpkg pkgs: 2029 libs: 1006 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 5
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 203 Uptime: 1h 13m wakeups: 1 Memory: 7.63 GiB used: 2 GiB (26.2%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
[/code]

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#22 Post by CyberGhost »

OK I'm sure my QSi has changed a bit since I've been tinkering around a bit. I ended up removing all pulse audio and pipewire. Then had no sound. So I reinstalled pipewire and pulse audio. I have sound again. I still have the same sound clipping artifacts. Plus, now when the audio does that, it's making the video do the same thing. Almost like it's repeating itself for a brief second. Maybe I messed something up with my tinkering. I guess I'll just reinstall MX 21.3 in the morning. Hopefully the sound and video will be fine after that. Really sux though because everything else is working fine with MX 23 and I have everything configured and setup the way I want it. I don't understand why the move to pipewire by the Debian devs in the first place? I'm not opposed to change but it doesn't seem as though it was thoroughly tested. If everything was working fine before then why change it? It's like the old adage goes, "If it ain't broke, then don't (try to or why) fix it." Posting QSI again:

Code: Select all

[CODE]Snapshot created on: 20230817_1038
System:
  Kernel: 6.1.0-11-amd64 [6.1.38-4] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-11-amd64 root=UUID=<filter> ro quiet splash
    init=/lib/systemd/systemd
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23_x64 Libretto August 17  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: HP product: HP Notebook v: Type1ProductConfigId serial: <superuser required>
    Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 81FF v: 75.24 serial: <superuser required> UEFI: Insyde v: F.30
    date: 06/25/2018
Battery:
  ID-1: BAT0 charge: 15.9 Wh (91.4%) condition: 17.4/17.4 Wh (100.0%) volts: 11.9 min: 10.9
    model: 131-42-6E HS03031 type: Li-ion serial: <filter> status: not charging
CPU:
  Info: model: Intel Core i7-7500U bits: 64 type: MT MCP arch: Amber/Kaby Lake note: check
    gen: core 7 level: v3 note: check built: 2017 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 9 microcode: 0xF4
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
    desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 800 min/max: 400/3500 scaling: driver: intel_pstate governor: powersave
    cores: 1: 800 2: 800 3: 800 4: 800 bogomips: 23199
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: IBRS
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: IBRS, IBPB: conditional, STIBP: conditional, RSB filling,
    PBRSB-eIBRS: Not affected
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Hewlett-Packard driver: i915 v: kernel arch: Gen-9.5
    process: Intel 14nm built: 2016-20 ports: active: HDMI-A-1,eDP-1 empty: none bus-ID: 00:02.0
    chip-ID: 8086:5916 class-ID: 0300
  Device-2: Microdia HP Webcam type: USB driver: uvcvideo bus-ID: 1-7:3 chip-ID: 0c45:651b
    class-ID: 0e02 serial: <filter>
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X:
    loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1280x800 s-dpi: 96 s-size: 339x212mm (13.35x8.35") s-diag: 400mm (15.74")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 model: LEDTV built: 2016 res: 1280x800 hz: 60 dpi: 28
    gamma: 1.2 size: 1150x650mm (45.28x25.59") diag: 1321mm (52") ratio: 16:9 modes: max: 1366x768
    min: 720x400
  Monitor-2: eDP-1 pos: primary model: AU Optronics 0x229e built: 2015 res: 1280x800 hz: 60
    dpi: 85 gamma: 1.2 size: 382x214mm (15.04x8.43") diag: 438mm (17.2") ratio: 16:9 modes: 1600x900
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    direct-render: Yes
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    alternate: snd_soc_skl,snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.1.0-11-amd64 status: kernel-api with: apulse type: pulse-emulator
    tools: alsamixer,amixer
  Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active tools: pw-cat,pw-cli,wpctl
  Server-2: PulseAudio v: 16.1 status: off (using pipewire-pulse) tools: pacat,pactl,pavucontrol
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Hewlett-Packard driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 4000 bus-ID: 01:00.0 chip-ID: 10ec:8136
    class-ID: 0200
  IF: eth0 state: up speed: 100 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8188EE Wireless Network Adapter vendor: Hewlett-Packard driver: rtl8188ee
    v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 3000 bus-ID: 02:00.0
    chip-ID: 10ec:8179 class-ID: 0280
  IF: wlan0 state: down mac: <filter>
  IF-ID-1: nordlynx state: unknown speed: N/A duplex: N/A mac: N/A
Drives:
  Local Storage: total: 946.04 GiB used: 74.77 GiB (7.9%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB block-size:
    physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 4C
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Cruzer Glide size: 14.53 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 931.26 GiB size: 915.57 GiB (98.31%) used: 74.77 GiB (8.2%) fs: ext4
    dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 43.0 C pch: 36.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2042 pm: dpkg pkgs: 2037 libs: 1009 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 5
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
    1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http://repository.spotify.com stable non-free
Info:
  Processes: 229 Uptime: 50m wakeups: 1 Memory: 7.63 GiB used: 3.15 GiB (41.3%) Init: systemd
  v: 252 target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
[/code]

User avatar
MadMax
Posts: 483
Joined: Wed Aug 04, 2021 3:25 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#23 Post by MadMax »

Did you install rtkit? Choppy audio sounds like the typical performance problem that comes from the soundsystem not being able to gain higher CPU priority.
If it ain't broke, don't fix it.
Main: MX 23 | Second: Mint 22 | HTPC: Linux Lite 7 | VM Machine: Debian 12 | Testrig: Arch/FreeBSD 14 | Work: RHEL 8

Charlie Brown

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#24 Post by Charlie Brown »

I was just going to ask that. In the meantime I saw it was installed by itself a few days ago, that's why I didn't.

It may also be kernel related, nothing to lose to install antiX 5.10 with 2 clicks, then boot with (via "Advanced Options" on Grub).. if still not: open alsamixer and play with the bars ...

MXRobo
Posts: 1834
Joined: Thu Nov 14, 2019 12:09 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#25 Post by MXRobo »

Does rtkit help, or work in pulse audio?
I installed it recently in MX-21 Xfce just to see if it would stop clicking in a receiver when I connect to the laptop but I have really used it yet.
Cheers.

User avatar
CharlesV
Global Moderator
Posts: 7413
Joined: Sun Jul 07, 2019 5:11 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#26 Post by CharlesV »

@CyberGhost You may also want to try a liquorix kernel, they have less "lag" and are built for speed over power savings. I have found all versions to be better on my machines. (6.2.14 and 6.4.9 are very nice and may help with this too.
*QSI = Quick System Info from menu (Copy for Forum)
*MXPI = MX Package Installer
*Please check the solved checkbox on the post that solved it.
*Linux -This is the way!

Charlie Brown

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#27 Post by Charlie Brown »

Charlie Brown wrote: Sat Aug 19, 2023 5:37 am... saw it was installed by itself a few days ago ...
More precisely: "by itself" I mean during updates (not by me) , and from zero:

2023-08-10 23:22:19 install rtkit:amd64 <none> 0.13-5

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#28 Post by CyberGhost »

MadMax wrote: Sat Aug 19, 2023 5:34 am Did you install rtkit? Choppy audio sounds like the typical performance problem that comes from the soundsystem not being able to gain higher CPU priority.
Yes I installed rtkit per your suggestion. Still same problem.

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#29 Post by CyberGhost »

CharlesV wrote: Sat Aug 19, 2023 11:18 am @CyberGhost You may also want to try a liquorix kernel, they have less "lag" and are built for speed over power savings. I have found all versions to be better on my machines. (6.2.14 and 6.4.9 are very nice and may help with this too.
Yes but aren't those kernels for newer machines? My HP laptop was made probably back in 2017 or so.

User avatar
CyberGhost
Posts: 210
Joined: Thu Jan 10, 2019 9:27 pm

Re: MX 23 Going back to pulseaudio (step-by-step tutorial)

#30 Post by CyberGhost »

Charlie Brown wrote: Sat Aug 19, 2023 5:37 am I was just going to ask that. In the meantime I saw it was installed by itself a few days ago, that's why I didn't.

It may also be kernel related, nothing to lose to install antiX 5.10 with 2 clicks, then boot with (via "Advanced Options" on Grub).. if still not: open alsamixer and play with the bars ...
Yeah I thought about doing that next. I'm probably going to try that now. If that doesn't work I may try the liquorix kernels.

Post Reply

Return to “Tips & Tricks by users (not for help)”