Audio cuts out when switching desktop or using DWM

Forum Forums New users New Users and General Questions Audio cuts out when switching desktop or using DWM

  • This topic has 6 replies, 3 voices, and was last updated Dec 21-10:43 pm by anti-apXos.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #126884
    Member
    SuperRyn

      [antix-full 23 runit] If, for example, I’m using rox-icewm and I switch over to fluxbox, any applications which were using audio lose their audio. Additionally, some programs such as mpv will crash. When I log into DWM directly on a fresh boot, the audio isn’t initialized at all. Does this have something to do with startup configuration files?

      #126892
      Forum Admin
      rokytnji

        Got a

        inxi -zv7

        report so members know what you are running.

        Howdy and Welcome.

        Now that is out of the way. Took me 5 tries of making a nunit usb that acted right. Not sure why. Just that it happened.

        Sometimes I drive a crooked road to get my mind straight.
        I don't suffer from insanity. I enjoy every minute off it.
        Motorcycle racing is rocket science.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #126893
        Member
        SuperRyn

          It’s attached [if .txt files are allowed in attachments]

          • This reply was modified 6 months ago by SuperRyn. Reason: error
          • This reply was modified 6 months ago by SuperRyn.
          Attachments:
          #126931
          Forum Admin
          rokytnji
            System:
              Kernel: 6.1.42-antix.1-amd64-smp arch: x86_64 bits: 64 compiler: gcc
                v: 13.2.0 Desktop: IceWM v: 3.4.4 dm: slimski v: 1.5.0
                Distro: antiX-23-runit_x64-full Arditi del Popolo 26 August 2023
                base: Debian GNU/Linux 12 (bookworm)
            Machine:
              Type: Desktop System: Acer product: Aspire TC-885 v: N/A
                serial: <superuser required> Chassis: type: 3 serial: <superuser required>
              Mobo: Acer model: Aspire TC-885(DCH) v: V:1.1 serial: <superuser required>
                UEFI: American Megatrends v: R01-C0 date: 09/10/2019
            Battery:
              Message: No system battery data found. Is one present?
            Memory:
              RAM: total: 7.64 GiB used: 3.28 GiB (42.9%)
              RAM Report: permissions: Unable to run dmidecode. Root privileges
                required.
            CPU:
              Info: quad core model: Intel Core i3-9100 bits: 64 type: MCP
                smt: <unsupported> arch: Coffee Lake rev: B cache: L1: 256 KiB L2: 1024 KiB
                L3: 6 MiB
              Speed (MHz): avg: 800 min/max: 800/4200 cores: 1: 800 2: 800 3: 800 4: 800
                bogomips: 28800
              Flags: 3dnowprefetch abm acpi adx aperfmperf apic arat arch_capabilities
                arch_perfmon art avx avx2 bmi1 bmi2 bts clflush clflushopt cmov
                constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb
                ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase fxsr ht
                hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida intel_pt invpcid
                invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr mtrr
                nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge pln
                pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep smap
                smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow
                tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xgetbv1 xsave
                xsavec xsaveopt xsaves xtopology xtpr
            Graphics:
              Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630]
                vendor: Acer Incorporated ALI driver: i915 v: kernel arch: Gen-9.5 ports:
                active: DP-1 empty: HDMI-A-1,HDMI-A-2,HDMI-A-3 bus-ID: 00:02.0
                chip-ID: 8086:3e91 class-ID: 0300
              Device-2: Logitech C920 PRO HD Webcam type: USB
                driver: snd-usb-audio,uvcvideo bus-ID: 1-10:7 chip-ID: 046d:08e5
                class-ID: 0102 serial: <filter>
              Display: server: X.Org v: 1.21.1.7 driver: X: loaded: modesetting
                unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0.0 screens: 1
              Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
                s-diag: 582mm (22.93")
              Monitor-1: DP-1 model: ViewSonic VX2450 SERIES serial: <filter>
                res: 1920x1080 hz: 60 dpi: 93 size: 525x297mm (20.67x11.69")
                diag: 603mm (23.7") modes: max: 1920x1080 min: 720x400
              API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel UHD Graphics 630 (CFL
                GT2) direct-render: Yes
            Audio:
              Device-1: Intel Cannon Lake PCH cAVS vendor: Acer Incorporated ALI
                driver: snd_hda_intel v: kernel bus-ID: 1-10:7 chip-ID: 046d:08e5
                bus-ID: 00:1f.3 chip-ID: 8086:a348 class-ID: 0102 serial: <filter>
                class-ID: 0403
              Device-2: Logitech C920 PRO HD Webcam type: USB
                driver: snd-usb-audio,uvcvideo
              Device-3: Logitech Blue Snowball iCE type: USB
                driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-7.1.1:8
                chip-ID: 046d:0aca class-ID: 0300 serial: <filter>
              Sound API: ALSA v: k6.1.42-antix.1-amd64-smp running: yes
              Sound Server-1: PipeWire v: 1.0.0 running: yes
            Network:
              Device-1: Intel Cannon Lake PCH CNVi WiFi driver: iwlwifi v: kernel
                bus-ID: 00:14.3 chip-ID: 8086:a370 class-ID: 0280
              IF: wlan0 state: up mac: <filter>
              IP v4: <filter> scope: global broadcast: <filter>
              IP v6: <filter> type: dynamic mngtmpaddr scope: global
              IP v6: <filter> scope: link
              Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
                vendor: Acer Incorporated ALI driver: r8169 v: kernel pcie: speed: 2.5 GT/s
                lanes: 1 port: 3000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
              IF: eth0 state: down mac: <filter>
              WAN IP: <filter>
            Bluetooth:
              Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
                driver: btusb v: 0.8 bus-ID: 1-14:9 chip-ID: 8087:0aaa class-ID: e001
              Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: disabled
                rfk-block: hardware: no software: yes address: <filter>
            Logical:
              Message: No logical block device data found.
            RAID:
              Message: No RAID data found.
            Drives:
              Local Storage: total: 536.42 GiB used: 109.54 GiB (20.4%)
              ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN520
                SDAPNUW-512G-1014 size: 476.94 GiB speed: 15.8 Gb/s lanes: 2 type: SSD
                serial: <filter> rev: 20110000 temp: 45.9 C scheme: GPT
              ID-2: /dev/sdb type: USB vendor: SanDisk model: iXpand Flash Drive
                size: 59.48 GiB type: SSD serial: <filter>
              Optical-1: /dev/sr0 vendor: Slimtype model: DVD A DA8AESH rev: XA1M
                dev-links: cdrom,cdrw,dvd,dvdrw
              Features: speed: 24 multisession: yes audio: yes dvd: yes
                rw: cd-r,cd-rw,dvd-r state: running
            Partition:
              ID-1: / size: 468.13 GiB used: 105.77 GiB (22.6%) fs: ext4
                dev: /dev/nvme0n1p2 label: rootantiX23
                uuid: ec7e4d3c-1a1d-4020-b9bf-b3fd46c72b00
              ID-2: /boot/efi size: 252 MiB used: 274 KiB (0.1%) fs: vfat
                dev: /dev/nvme0n1p1 label: EFI-SYSTEM uuid: CDA6-3967
              ID-3: /media/superryn/sdb-usb-iXpand_Flash_Dri size: 59.46 GiB
                used: 3.77 GiB (6.3%) fs: vfat dev: /dev/sdb label: N/A uuid: 492F-32DB
            Swap:
              ID-1: swap-1 type: file size: 3 GiB used: 0 KiB (0.0%) priority: -2
                file: /swap/swap
            Unmounted:
              Message: No unmounted partitions found.
            USB:
              Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 16 rev: 2.0
                speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900
              Device-1: 1-2:2 info: China Resource Semico Keyboard type: Keyboard,HID
                driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s
                power: 98mA chip-ID: 1a2c:2124 class-ID: 0300
              Device-2: 1-3:3 info: Primax Acer Elite USB Optical Mouse type: Mouse
                driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s
                power: 100mA chip-ID: 0461:4e98 class-ID: 0301
              Hub-2: 1-7:4 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
                power: 100mA chip-ID: 1a40:0101 class-ID: 0900
              Hub-3: 1-7.1:6 info: Terminus Hub ports: 4 rev: 2.0 speed: 480 Mb/s
                power: 100mA chip-ID: 1a40:0101 class-ID: 0900
              Device-1: 1-7.1.1:8 info: Logitech Blue Snowball iCE type: Audio,HID
                driver: hid-generic,snd-usb-audio,usbhid interfaces: 3 rev: 2.0
                speed: 12 Mb/s power: 100mA chip-ID: 046d:0aca class-ID: 0300
                serial: <filter>
              Device-2: 1-7.1.4:10 info: SanDisk iXpand Flash Drive type: Mass Storage
                driver: usb-storage interfaces: 1 rev: 2.1 speed: 480 Mb/s power: 100mA
                chip-ID: 0781:cff8 class-ID: 0806 serial: <filter>
              Device-3: 1-9:5 info: Realtek 3-in-1 (SD/SDHC/SDXC) Card Reader
                type: Mass Storage driver: ums-realtek interfaces: 1 rev: 2.0
                speed: 480 Mb/s power: 500mA chip-ID: 0bda:0153 class-ID: 0806
                serial: <filter>
              Device-4: 1-10:7 info: Logitech C920 PRO HD Webcam type: Video,Audio
                driver: snd-usb-audio,uvcvideo interfaces: 4 rev: 2.0 speed: 480 Mb/s
                power: 500mA chip-ID: 046d:08e5 class-ID: 0102 serial: <filter>
              Device-5: 1-14:9 info: Intel Bluetooth 9460/9560 Jefferson Peak (JfP)
                type: Bluetooth driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s
                power: 100mA chip-ID: 8087:0aaa class-ID: e001
              Hub-4: 2-0:1 info: Super-speed hub ports: 6 rev: 3.1 speed: 10 Gb/s
                chip-ID: 1d6b:0003 class-ID: 0900
            Sensors:
              System Temperatures: cpu: 44.0 C pch: 61.0 C mobo: N/A
              Fan Speeds (RPM): N/A
            Repos:
              Packages: 1859 pm: dpkg pkgs: 1837 pm: flatpak pkgs: 22
              Active apt repos in: /etc/apt/sources.list.d/antix.list
                1: deb [signed-by=/etc/apt/keyrings/antix-archive-keyring.gpg] http://la.mxrepo.com/antix/bookworm bookworm main nonfree nosystemd
              Active apt repos in: /etc/apt/sources.list.d/bookworm-backports.list
                1: deb http://deb.debian.org/debian bookworm-backports main contrib non-free non-free-firmware
              Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
                1: deb http://ftp.us.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://ftp.de.debian.org/debian/ bookworm main contrib non-free non-free-firmware
                2: deb http://security.debian.org/ bookworm-security main contrib non-free non-free-firmware
              No active apt repos in: /etc/apt/sources.list.d/librewolf.list
              No active apt repos in: /etc/apt/sources.list.d/liquorix.list
              Active apt repos in: /etc/apt/sources.list.d/prebuilt-mpr.list
                1: deb [signed-by=/usr/share/keyrings/prebuilt-mpr-archive-keyring.gpg] https://proget.makedeb.org prebuilt-mpr bookworm
              Active apt repos in: /etc/apt/sources.list.d/tor.list
                1: deb [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
                2: deb-src [signed-by=/usr/share/keyrings/tor-archive-keyring.gpg] https://deb.torproject.org/torproject.org bookworm main
            Info:
              Processes: 192 Uptime: 8h 32m wakeups: 1 Init: runit v: N/A runlevel: 2
              Compilers: gcc: 12.2.0 alt: 12 Shell: Bash v: 5.2.15 running-in: roxterm
              inxi: 3.3.25
            

            There. Now members can see it. Pipewire and alsa are running. I am guessing you have sound in fluxbox and icewm and only JWM has no sound. Becgot ause your inxi report shows you were in icewm when you made the report.

            Sometimes I drive a crooked road to get my mind straight.
            I don't suffer from insanity. I enjoy every minute off it.
            Motorcycle racing is rocket science.

            Linux Registered User # 475019
            How to Search for AntiX solutions to your problems

            #126933
            Forum Admin
            rokytnji

              Inxi says you are running 3.2 gig of ram. Something is wrong unless you are doing video editing when you made the report.

              My icewm ram usage with a browser open and posting uses about 1 gig.

              Is md5sum good?

              Memory:
                RAM: total: 7.64 GiB used: 3.28 GiB (42.9%)

              Sometimes I drive a crooked road to get my mind straight.
              I don't suffer from insanity. I enjoy every minute off it.
              Motorcycle racing is rocket science.

              Linux Registered User # 475019
              How to Search for AntiX solutions to your problems

              #126949
              Forum Admin
              rokytnji

                Here is how you should be running

                https://www.antixforum.com/forums/topic/what-are-you-here-with-today/page/178/#post-126944

                That was on my chromebook. I am in the motorcycle shop with my intel NUC small computer now.

                harry@scooter:~
                $ pinxi -bop;sudo ps_mem.py 
                System:
                  Host: scooter Kernel: 5.10.153-antix.1-amd64-smp arch: x86_64 bits: 64
                  Desktop: IceWM v: 3.4.4 Distro: antiX-22_x64-full Grup Yorum 18 October
                    2022
                Machine:
                  Type: Desktop Mobo: Intel model: NUC5i3RYB v: H41000-505
                    serial: <superuser required> UEFI-[Legacy]: Intel
                    v: RYBDWi35.86A.0361.2016.1202.1005 date: 12/02/2016
                CPU:
                  Info: dual core Intel Core i3-5010U [MT MCP] speed (MHz): avg: 1996
                    min/max: 500/2000
                Graphics:
                  Device-1: Intel HD Graphics 5500 driver: i915 v: kernel
                  Display: server: X.Org v: 1.20.11 driver: X: loaded: modesetting
                    unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1920x1080~60Hz
                  API: OpenGL v: 4.6 vendor: intel mesa v: 20.3.5 renderer: Mesa Intel HD
                    Graphics 5500 (BDW GT2)
                Network:
                  Device-1: Intel Ethernet I218-V driver: e1000e
                  Device-2: Intel Wireless 7265 driver: iwlwifi
                  Device-3: Realtek RTL8191SU 802.11n WLAN Adapter driver: r8712u type: USB
                Drives:
                  Local Storage: total: 963.21 GiB used: 323.55 GiB (33.6%)
                Partition:
                  ID-1: / size: 27.69 GiB used: 7.49 GiB (27.1%) fs: ext4 dev: /dev/sda3
                  ID-2: /media/harry/OPAL size: 1.88 GiB used: 1.87 GiB (99.8%) fs: vfat
                    dev: /dev/sdc1
                  ID-3: /media/harry/TOSHIBA EXT size: 931.51 GiB used: 314.19 GiB (33.7%)
                    fs: ntfs dev: /dev/sde1
                  ID-4: swap-1 size: 1.01 GiB used: 256 KiB (0.0%) fs: swap dev: /dev/sda2
                Unmounted:
                  ID-1: /dev/sda1 size: 512 MiB fs: vfat
                Info:
                  Memory: total: 4 GiB available: 3.72 GiB used: 1.32 GiB (35.4%)
                  Processes: 177 Uptime: 23m Shell: Bash pinxi: 3.3.31-31
                [sudo] password for harry: 
                 Private  +   Shared  =  RAM used	Program
                112.0 KiB +  24.5 KiB = 136.5 KiB	sleep
                112.0 KiB +  28.5 KiB = 140.5 KiB	run-parts
                 80.0 KiB +  85.5 KiB = 165.5 KiB	sh
                 88.0 KiB +  83.5 KiB = 171.5 KiB	apt-compat
                144.0 KiB +  31.5 KiB = 175.5 KiB	seatd
                212.0 KiB +  22.5 KiB = 234.5 KiB	gpm
                216.0 KiB +  30.5 KiB = 246.5 KiB	anacron
                216.0 KiB +  43.5 KiB = 259.5 KiB	init
                220.0 KiB +  57.5 KiB = 277.5 KiB	rpc.idmapd
                264.0 KiB +  53.5 KiB = 317.5 KiB	rtkit-daemon
                292.0 KiB +  27.5 KiB = 319.5 KiB	acpid
                312.0 KiB +  47.5 KiB = 359.5 KiB	cron
                356.0 KiB + 113.5 KiB = 469.5 KiB	icewm-session
                428.0 KiB +  78.5 KiB = 506.5 KiB	dbus-launch
                440.0 KiB + 104.5 KiB = 544.5 KiB	rpcbind
                444.0 KiB + 104.5 KiB = 548.5 KiB	rpc.statd
                392.0 KiB + 184.5 KiB = 576.5 KiB	udevil
                164.0 KiB + 543.0 KiB = 707.0 KiB	saned (2)
                480.0 KiB + 427.0 KiB = 907.0 KiB	avahi-daemon (2)
                784.0 KiB + 215.5 KiB = 999.5 KiB	gconfd-2
                720.0 KiB + 402.5 KiB =   1.1 MiB	devmon
                812.0 KiB + 406.5 KiB =   1.2 MiB	desktop-session
                  1.2 MiB +  23.5 KiB =   1.2 MiB	mount.ntfs
                856.0 KiB + 418.0 KiB =   1.2 MiB	getty (6)
                856.0 KiB + 549.5 KiB =   1.4 MiB	at-spi-bus-launcher
                936.0 KiB + 476.5 KiB =   1.4 MiB	at-spi2-registryd
                  1.3 MiB +  87.5 KiB =   1.4 MiB	sshd
                  1.6 MiB +  22.5 KiB =   1.6 MiB	smartd
                  1.4 MiB + 291.5 KiB =   1.6 MiB	ntpd
                  1.3 MiB + 428.5 KiB =   1.7 MiB	dbus-daemon (3)
                  1.6 MiB + 162.5 KiB =   1.8 MiB	connmand
                  1.4 MiB + 407.5 KiB =   1.8 MiB	sudo
                  1.5 MiB + 407.5 KiB =   1.9 MiB	bash
                  1.9 MiB + 253.5 KiB =   2.2 MiB	bluetoothd
                  3.2 MiB +  17.5 KiB =   3.2 MiB	haveged
                  3.0 MiB + 381.5 KiB =   3.4 MiB	udevd
                  3.7 MiB + 351.5 KiB =   4.0 MiB	cupsd
                  3.9 MiB + 858.5 KiB =   4.7 MiB	conky
                  5.2 MiB + 498.5 KiB =   5.7 MiB	wpa_supplicant
                  6.2 MiB +   1.3 MiB =   7.6 MiB	icewm
                  8.6 MiB + 664.5 KiB =   9.3 MiB	slimski
                  8.8 MiB +   3.7 MiB =  12.5 MiB	leafpad
                 16.8 MiB +   5.0 MiB =  21.8 MiB	roxterm
                 38.5 MiB +  15.7 MiB =  54.2 MiB	Xorg
                613.3 MiB + 127.7 MiB = 741.0 MiB	firefox-esr (11)
                ---------------------------------
                                        896.6 MiB
                =================================
                harry@scooter:~
                

                Sometimes I drive a crooked road to get my mind straight.
                I don't suffer from insanity. I enjoy every minute off it.
                Motorcycle racing is rocket science.

                Linux Registered User # 475019
                How to Search for AntiX solutions to your problems

                #126958
                Member
                anti-apXos

                  I think the problem with losing pipewire when switching (or refreshing) desktops is due to starting pipewire from the ~/.desktop-session/startup script, which always restarts everything when switching.

                  One workaround is to start pipewire from another startup script, like ~/.icewm/startup. That one’s not going to work unless you always boot to IceWM first, though. Maybe there’s some other startup script you could use that I’m not aware of?

                  You can also work around it by not auto starting pipewire at all and just starting it manually when you need it. This is what I do since I rarely need pipewire and prefer to use ALSA, but obviously it may not be good for your case if you always want to use pipewire.

                  The problem with no sound in DWM is probably something else since I believe the desktop-session startup script should still run as long as you begin DWM from slimski.

                  When you have no sound in DWM, what is the output of
                  pgrep -l wire
                  and what does the PAVU Control mixer show when you open it?

                Viewing 7 posts - 1 through 7 (of 7 total)
                • You must be logged in to reply to this topic.