muammar / mkchromecast

Cast macOS and Linux Audio/Video to your Google Cast and Sonos Devices
http://mkchromecast.com
Other
2.21k stars 137 forks source link

sys tray disappears after searching for devices #438

Open zany130 opened 9 months ago

zany130 commented 9 months ago
pacman -Qi mkchromecast-git
Name            : mkchromecast-git
Version         : 0.3.8.1.r222.g621058ed-1

Sys tray disappears after selecting the search for devices option

mkchromecast -t --debug
ALSA device name: None
Google Cast name: None
backend: parec
USER =zany130
PATH =/home/zany130/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/Fishbowl/client/bin:/opt/android-sdk/platform-tools:/home/zany130/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/opt/flutter/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
ALSA device name: None
Google Cast name: None
backend: parec
Mkchromecast v0.3.9
ALSA device name: None
Google Cast name: None
backend: parec
:::audio::: chunk_size, frame_size, buffer_size: 64, 2048, 8192
ALSA device name: None
Google Cast name: None
backend: parec
:::audio::: Program /usr/bin/parec found in /usr/bin/parec
:::audio::: backend dictionary {'parec': 'parec', '/usr/bin/parec': 'parec'}
Selected backend: /usr/bin/parec
Selected audio codec: mp3
Using bitrate: 192k
Using sample rate: 44100Hz
:::audio::: command ['lame', '-b', '192', '-r', '-']
ALSA device name: None
Google Cast name: None
backend: parec
ALSA device name: None
Google Cast name: None
backend: parec
ALSA device name: None
Google Cast name: None
backend: parec
ALSA device name: None
Google Cast name: None
backend: parec
:::systray::: self.notifications disabled
:::systray::: self.searchatlaunch disabled
:::systray::: self.colors black
:::systray::: Screen resolution:  2048 864
:::systray::: High-DPI screen detected...
ALSA device name: None
Google Cast name: None
backend: parec
:::systray::: self.notifications disabled
:::systray::: self.searchatlaunch disabled
:::systray::: self.colors black
self.cclist [[0, 'SHIELD', 'Gcast'], [1, 'Miranda’s room speaker', 'Gcast'], [2, 'Andres Bedroom speaker 2', 'Gcast'], [3, 'Andres Bedroom speaker', 'Gcast'], [4, 'Bedroom Audio', 'Gcast']]
elif len(self.cclist) != 0 and self.mkcc.select_device == True  and self.mkcc.tray == True:

List of Devices Available in Network:
-------------------------------------

Index   Types   Friendly Name
=====   =====   =============
0   Gcast   SHIELD
1   Gcast   Miranda’s room speaker
2   Gcast   Andres Bedroom speaker 2
3   Gcast   Andres Bedroom speaker
4   Gcast   Bedroom Audio
available_devices received
ALSA device name: None
Google Cast name: None
backend: parec
:::systray::: self.notifications disabled
:::systray::: self.searchatlaunch disabled
:::systray::: self.colors black
Available Media Streaming Devices [[0, 'SHIELD', 'Gcast'], [1, 'Miranda’s room speaker', 'Gcast'], [2, 'Andres Bedroom speaker 2', 'Gcast'], [3, 'Andres Bedroom speaker', 'Gcast'], [4, 'Bedroom Audio', 'Gcast']]
garuda-inxi
System:
  Kernel: 6.6.6-1-cachyos arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-linux
    root=UUID=53e270ad-dfd5-4874-a125-69d21ada6b8d rw rootflags=subvol=@
    rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    sysrq_always_enabled=1 amdgpu.ppfeaturemask=0xffffffff tsc=reliable
    clocksource=tsc nowatchdog nmi_watchdog=0
    initrd=@\boot\initramfs-linux-cachyos.img
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.11 wm: kwin_wayland vt: 1
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Desktop Mobo: ASRock model: X470 Taichi serial: <superuser required>
    UEFI: American Megatrends v: P5.10 date: 10/20/2022
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
    serial: <filter> charge: 10% (should be ignored) rechargeable: yes
    status: discharging
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 2 microcode: 0xA20120A
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 3669 high: 4013 min/max: 2200/4650 boost: enabled
    scaling: driver: acpi-cpufreq governor: performance cores: 1: 3658 2: 3600
    3: 3599 4: 3608 5: 3648 6: 3656 7: 3664 8: 3598 9: 3640 10: 4013 11: 3658
    12: 3686 bogomips: 88808
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
    vendor: Gigabyte driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
    process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1,DP-2,HDMI-A-2 empty: HDMI-A-1
    bus-ID: 10:00.0 chip-ID: 1002:73df class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.9 with: Xwayland v: 23.2.2
    compositor: kwin_wayland driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
    gpu: amdgpu d-rect: 4980x2513 display-ID: 0
  Monitor-1: DP-1 pos: bottom-r res: 2048x864 size: N/A modes: N/A
  Monitor-2: DP-2 pos: primary,top-left res: 1396x785 size: N/A modes: N/A
  Monitor-3: HDMI-A-2 pos: middle-c res: 1536x864 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
    device: 1 drv: swrast gbm: drv: kms_swrast surfaceless: drv: radeonsi
    wayland: drv: radeonsi x11: drv: radeonsi
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.2.1-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (navi22 LLVM
    16.0.6 DRM 3.54 6.6.6-1-cachyos) device-ID: 1002:73df memory: 11.72 GiB
    unified: no display-ID: :0.0
  API: Vulkan v: 1.3.269 layers: 22 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 23.2.1-arch1.2
    device-ID: 1002:73df surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 256 bits) driver: mesa llvmpipe
    v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 10:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: ASRock
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 12:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Sony INZONE H9 / H7
    driver: cdc_acm,hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 5-3:3 chip-ID: 054c:0e53
    class-ID: 0a00
  API: ALSA v: k6.6.6-1-cachyos status: kernel-api with: aoss
    type: oss-emulator tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0
    chip-ID: 8086:24fb class-ID: 0280
  IF: wlp8s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASRock driver: igb v: kernel
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 0a:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp10s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
  Device-1: Edimax Bluetooth Adapter driver: btusb v: 0.8 type: USB rev: 1.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-5:3 chip-ID: 7392:c611
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.1
    lmp-v: 10 status: discoverable: yes pairing: yes class-ID: 7c0104
Drives:
  Local Storage: total: 2.96 TiB used: 3.63 TiB (122.8%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:4 vendor: Samsung model: SSD 980 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3B4QFXO7 temp: 37.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO 250GB
    size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 2B2QEXE7 temp: 27.9 C
    scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000DX002-2DV164
    size: 1.82 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 7200 serial: <filter> fw-rev: CC41 scheme: GPT
Partition:
  ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 845.2 GiB (90.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:6
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 37.4 MiB (12.5%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:5
  ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 845.2 GiB (90.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:6
  ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 845.2 GiB (90.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:6
  ID-5: /var/tmp raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 845.2 GiB (90.8%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:6
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.26 GiB used: 1.42 GiB (4.5%)
    priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12
    dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 53.0 C mobo: 35.0 C gpu: amdgpu temp: 55.0 C
    mem: 58.0 C
  Fan Speeds (rpm): cpu: 1967 fan-1: 0 fan-3: 1301 fan-4: 1312 fan-5: 1485
    gpu: amdgpu fan: 0
  Power: 12v: N/A 5v: N/A 3.3v: 3.17 vbat: 3.28 gpu: amdgpu watts: 27.00
Info:
  Processes: 558 Uptime: 25m wakeups: 0 Memory: total: 32 GiB
  available: 31.26 GiB used: 15.34 GiB (49.1%) Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 16.0.6
  Packages: 2859 pm: pacman pkgs: 2813 libs: 627 tools: octopi,paru
  pm: appimage pkgs: 0 pm: flatpak pkgs: 46 Shell: fish v: 3.6.4
  running-in: alacritty inxi: 3.3.31
Garuda (2.6.19-2):
  System install date:     2023-09-26
  Last full system update: 2023-12-12
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units: