You are not logged in.

#1 2023-11-13 05:05:12

Je12emy
Member
Registered: 2023-10-04
Posts: 4

Qtile freezes after shutting down PulseAudio

I have been dealing with this issue for a while, I'm currently using Qtile as my window manager and I noticed that after I shutdown pulseaudio keyboard shortcuts stop working. My current uses some built-in widgets which monitor my system like CPU usage, RAM and Volume. I noticed that after waking my PC up from sleeping, my volume widget stops working. If I try to change my output device with pulsemixer I get the following error message when I open it from a terminal.

```
Failed to connect to pulseaudio: Connection refused
```

Here are a few things I've tried in the Troubleshooting page.

- https://wiki.archlinux.org/title/PulseA … _suspended
- https://wiki.archlinux.org/title/PulseA … tup_failed


But none have worked

Offline

#2 2023-11-13 13:51:30

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,234

Re: Qtile freezes after shutting down PulseAudio

How are you starting qtile? Symptoms sound like you have an unstable session, make sure you are appropriately following https://wiki.archlinux.org/title/Xinit#xinitrc if using startx -- note the boxes!

Maybe post

loginctl session-status
hostnamectl

Offline

#3 2023-11-13 21:00:21

Je12emy
Member
Registered: 2023-10-04
Posts: 4

Re: Qtile freezes after shutting down PulseAudio

Thank you for the reply! I'm using sddm, should I opt out of using a display manager?

Here are the outputs for the commands you shared.

$ loginctl session-status
loginctl session-status

8 - jeremy (1000)
           Since: Mon 2023-11-13 14:46:10 CST; 9min ago
          Leader: 172081 (sddm-helper)
            Seat: seat0; vc2
             TTY: tty2
         Service: sddm; type x11; class user
           State: active
            Idle: no
            Unit: session-8.scope
                  ├─172081 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-auth-3d4645bb-a980-416d-8603-7d7cb9804d55 --id 5 --start "qtile start" --user jeremy
                  ├─172085 /usr/bin/python /usr/bin/qtile start
                  ├─172169 picom
                  ├─172248 /usr/lib/firefox/firefox
                  ├─172337 /usr/lib/firefox/firefox -contentproc -parentBuildID 20231106235557 -prefsLen 32081 -prefMapSize 233667 -appDir /usr/lib/firefox/browser {3a66193>
                  ├─172377 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 32081 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 2023110623555>
                  ├─172443 /usr/lib/firefox/firefox -contentproc -childID 2 -isForBrowser -prefsLen 37464 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 2023110623555>
                  ├─172471 /usr/lib/firefox/firefox -contentproc -parentBuildID 20231106235557 -sandboxingKind 0 -prefsLen 37464 -prefMapSize 233667 -appDir /usr/lib/firefo>
                  ├─172685 /usr/lib/firefox/firefox -contentproc -childID 7 -isForBrowser -prefsLen 30373 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 2023110623555>
                  ├─172911 /usr/lib/firefox/firefox -contentproc -childID 10 -isForBrowser -prefsLen 30373 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─173691 /usr/lib/firefox/firefox -contentproc -childID 12 -isForBrowser -prefsLen 30373 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─174388 /usr/lib/firefox/firefox -contentproc -childID 13 -isForBrowser -prefsLen 30425 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─174517 /usr/lib/firefox/firefox -contentproc -childID 14 -isForBrowser -prefsLen 30425 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─174586 /usr/lib/firefox/firefox -contentproc -childID 15 -isForBrowser -prefsLen 30425 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─174803 /usr/lib/firefox/firefox -contentproc -childID 16 -isForBrowser -prefsLen 30425 -prefMapSize 233667 -jsInitLen 235336 -parentBuildID 202311062355>
                  ├─174986 kitty
                  ├─174997 /usr/bin/zsh
                  ├─176567 loginctl session-status
                  └─176568 less

Nov 13 14:46:10 workstation systemd[1]: Started Session 8 of User jeremy.
$ hostnamectl                
 Static hostname: workstation
       Icon name: computer-desktop
         Chassis: desktop ?️
      Machine ID: aa56c7471ef743d3beb3afe5ba297868
         Boot ID: ae29fe5e82e44e35ab956a145ef2ea62
Operating System: Arch Linux                      
          Kernel: Linux 6.6.1-arch1-1
    Architecture: x86-64
 Hardware Vendor: ASUSTeK COMPUTER INC.
  Hardware Model: ROG STRIX B350-F GAMING
Firmware Version: 4602
   Firmware Date: Thu 2019-03-07
    Firmware Age: 4y 8month 1w 1d    

Offline

Board footer

Powered by FluxBB