Kodi - audio and keyboard doesn't work

I’m using Kodi from time to time, and it used to work perfectly fine. (As far as Kodi goes at least…) But recently, I think between November 2023 and January 2024 all of sudden keyboard input stopped working at all alongside with the audio, only mouse input works. I’ve tried removing all configs related to Kodi and I tried running it as a new user, but that hasn’t helped. The only way I can get Kodi to accept keyboard input and have working audio is to run it via terminal with sudo, but I don’t think that’'s how its supposed to work… I’ve tried on a separate Pc that also runs Garuda, but never had Kodi installed and yet the result was the same. I don’t think it’s a Linux version of Kodi issue as when I tried it on bootable USB with Manjaro (KDE Plasma edition, to be as close to Garuda as possible.) it worked fine without the need for sudo. (I tried with bootable USB Garuda, but after updating everything it would just crash on launch, and rebooting removes all the updates, so yeah…) I also tried the flatpak version as opposed to the offical repo, but the result was still the same. Does anyone have any clue about what might be going on and how to fix it?

garuda-inxi output:

System:
  Kernel: 6.7.4-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=0522a2df-3a77-4919-981f-38dd84af70be rw rootflags=subvol=@
    quiet quiet rd.udev.log_priority=3 vt.global_cursor_default=0 loglevel=3
    ibt=off
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
    dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
  Type: Convertible System: LENOVO product: 80X8 v: Lenovo YOGA 520-14IKB
    serial: <superuser required> Chassis: type: 31 v: Lenovo YOGA 520-14IKB
    serial: <superuser required>
  Mobo: LENOVO model: LNVNB161216 v: SDK0J40700 WIN
    serial: <superuser required> UEFI-[Legacy]: LENOVO v: 4QCN51WW(V2.15)
    date: 11/19/2019
Battery:
  ID-1: BAT1 charge: 39.1 Wh (89.3%) condition: 43.8/52.5 Wh (83.4%)
    power: 12.8 W volts: 12.0 min: 11.2 model: SIMPLO PABAS0241231 type: Li-ion
    serial: <filter> status: discharging
CPU:
  Info: model: Intel Core i3-7130U 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: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 525 high: 900 min/max: 400/2700 scaling:
    driver: intel_pstate governor: powersave cores: 1: 900 2: 400 3: 400 4: 400
    bogomips: 21599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel HD Graphics 620 vendor: Lenovo driver: i915 v: kernel
    arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports: active: eDP-1
    empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:5916 class-ID: 0300
  Device-2: Syntek EasyCamera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 174f:241a
    class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: modesetting
    alternate: fbdev,intel,vesa dri: iris gpu: i915 display-ID: :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: eDP-1 model: InfoVision Optronics/Kunshan 0x057d built: 2016
    res: 1920x1080 hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85")
    diag: 355mm (14") ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris platforms: device: 0 drv: iris
    device: 1 drv: swrast surfaceless: drv: iris x11: drv: iris
    inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 23.3.5-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 620 (KBL GT2)
    device-ID: 8086:5916 memory: 7.45 GiB unified: yes
  API: Vulkan v: 1.3.276 layers: 11 device: 0 type: integrated-gpu
    name: Intel HD Graphics 620 (KBL GT2) driver: mesa intel v: 23.3.5-arch1.1
    device-ID: 8086:5916 surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
    (LLVM 16.0.6 256 bits) driver: mesa llvmpipe v: 23.3.5-arch1.1 (LLVM
    16.0.6) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Intel Sunrise Point-LP HD Audio vendor: Lenovo
    driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_soc_avs
    bus-ID: 00:1f.3 chip-ID: 8086:9d71 class-ID: 0403
  API: ALSA v: k6.7.4-zen1-1-zen 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.3 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: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter
    vendor: Lenovo driver: ath10k_pci v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 02:00.0 chip-ID: 168c:0042 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Qualcomm Atheros driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-7:5 chip-ID: 0cf3:e500
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c0000
Drives:
  Local Storage: total: 1.03 TiB used: 832.32 GiB (79.2%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Patriot model: P300 128GB
    size: 119.24 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: S1111A0L temp: 47.9 C
    scheme: MBR
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital
    model: WD10SPZX-24Z10T0 size: 931.51 GiB block-size: physical: 4096 B
    logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5400 serial: <filter>
    fw-rev: 1A01 scheme: MBR
Partition:
  ID-1: / raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
    used: 52.72 GiB (44.2%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-2: /home raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
    used: 52.72 GiB (44.2%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /var/log raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
    used: 52.72 GiB (44.2%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-4: /var/tmp raw-size: 119.24 GiB size: 119.24 GiB (100.00%)
    used: 52.72 GiB (44.2%) fs: btrfs dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 7.62 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 47.0 C pch: 44.0 C mobo: N/A
  Fan Speeds (rpm): N/A
Info:
  Processes: 240 Uptime: 0m wakeups: 0 Memory: total: 8 GiB
  available: 7.63 GiB used: 2.5 GiB (32.8%) Init: systemd v: 255
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages: 1691
  pm: pacman pkgs: 1681 libs: 508 tools: octopi,pamac,paru pm: flatpak
  pkgs: 10 Shell: fish v: 3.7.0 default: Bash v: 5.2.26 running-in: konsole
  inxi: 3.3.31
Garuda (2.6.23-1):
  System install date:     2023-08-18
  Last full system update: 2024-02-06
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       <superuser required>
  Failed units:            

Solved

What’s the problem with not posting garuda-inxi?
It contains additional, useful information about the status of your system.

:warning: Missing information requested in the template may result in not receiving assistance

Make sure you have done the following before you post:

Issue still unresolved? Then:

  • ONE issue per topic.

  • Describe your issue in detail. The more we know, the better we can help

  • Show us the results of your searches, and what you’ve tried

  • After rebooting, post the FULL output of garuda-inxi in the body of the post (not linked externally, or collapsed with the “hide details” feature)

  • Format terminal output (including your garuda-inxi) as a code block by clicking the preformatted text button (</>) , or put three tildes (~) above and below the text

Without garuda-inxi this request will be moved to 412 Precondition Failed

2 Likes

Sorry about that, added the garuda-inxi output to the OP.

1 Like

Ok, so I’ve installed the kodi-git from AUR and it works flawless. (Though it’s a beta version of v21.0 and it doesn’t have my favourite theme.) I guess it’s that the official repository (extra) version doesn’t work well with Garuda Linux for whatever reason, since the AUR version works great after compiling it. Though I don’t think it’s the ideal solution, as the git version won’t be stable.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.