• Activity
  • Votes
  • Comments
  • New
  • All activity
  • Showing only topics in ~tech with the tag "resolved". Back to normal view / Search all groups
    1. [RESOLVED] Tech support request: my game stream is lagging every five minutes

      The Issue I'm streaming games from a desktop PC hardwired into my router (running Sunshine) to a laptop wirelessly (using Moonlight). It works beautifully. Except, every five minutes, the stream...

      The Issue

      I'm streaming games from a desktop PC hardwired into my router (running Sunshine) to a laptop wirelessly (using Moonlight). It works beautifully.

      Except, every five minutes, the stream chugs: my framerate drops precipitously, and Moonlight gives me a warning telling me I should lower my bitrate. This happens for only a few seconds, before it resolves and goes back to normal.

      I timed the interval between the chugs several times and got approximately 5:07 between each slowdown. It is remarkably consistent.

      Because it's so consistent, I assume there's some scheduled task or something running every five minutes that's causing it to chug. Dropping the bitrate makes the chugging less noticeable, but it still happens.


      Ruling Things Out

      I think it's safe to rule out the idea that it's my router or the host PC.

      I have a smaller 13" laptop that I used to stream to, and I just recently bought a 17" to replace it. The five-minute issue only happens on the 17", even with identical stream settings (same resolution, FPS, and bitrate).

      The computers are obviously different hardware, but they're also running two different linux distros.

      The 13" Laptop is running MX Linux 23.5 (KDE). This is the one that works.

      inxi -Fxz
      System:
        Kernel: 6.1.0-32-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
          Desktop: KDE Plasma v: 5.27.5 Distro: MX-23.5_KDE_x64 Libretto September 15
          2024 base: Debian GNU/Linux 12 (bookworm)
      Machine:
        Type: Laptop System: Dell product: Latitude 7370 v: N/A
          serial: <superuser required>
        Mobo: Dell model: 0XFY7T v: A00 serial: <superuser required> UEFI: Dell
          v: 1.28.3 date: 02/07/2022
      Battery:
        ID-1: BAT0 charge: 12.6 Wh (62.1%) condition: 20.3/34.0 Wh (59.6%)
          volts: 8.1 min: 7.6 model: SMP DELL WY7CG58 status: charging
      CPU:
        Info: dual core model: Intel Core m5-6Y57 bits: 64 type: MT MCP
          arch: Skylake rev: 3 cache: L1: 128 KiB L2: 512 KiB L3: 4 MiB
        Speed (MHz): avg: 2496 high: 2758 min/max: 400/2800 cores: 1: 2400 2: 2758
          3: 2400 4: 2429 bogomips: 11999
        Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
      Graphics:
        Device-1: Intel HD Graphics 515 vendor: Dell driver: i915 v: kernel
          arch: Gen-9 bus-ID: 00:02.0
        Device-2: Realtek Integrated_Webcam_HD type: USB driver: uvcvideo
          bus-ID: 1-9:5
        Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 driver: X:
          loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915
          resolution: 1920x1080~60Hz
        API: OpenGL v: 4.6 Mesa 24.2.8-1mx23ahs renderer: Mesa Intel HD Graphics
          515 (SKL GT2) direct-render: Yes
      Audio:
        Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
          v: kernel bus-ID: 00:1f.3
        API: ALSA v: k6.1.0-32-amd64 status: kernel-api
        Server-1: PipeWire v: 1.0.0 status: active
      Network:
        Device-1: Intel Wireless 8260 driver: iwlwifi v: kernel bus-ID: 6c:00.0
        IF: wlan0 state: up mac: <filter>
      Bluetooth:
        Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8
          bus-ID: 1-2:2
        Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 2.1
          lmp-v: 4.2
      RAID:
        Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
          v: 3.0 bus-ID: 00:17.0
      Drives:
        Local Storage: total: 238.47 GiB used: 31.99 GiB (13.4%)
        ID-1: /dev/sda vendor: Toshiba model: KSG60ZMV256G M.2 2280 256GB
          size: 238.47 GiB
      Partition:
        ID-1: / size: 232.43 GiB used: 31.47 GiB (13.5%) fs: ext4 dev: /dev/dm-0
          mapped: luks-a8eaaa90-b4ba-4943-8c1d-ddace5892f40
        ID-2: /boot size: 973.4 MiB used: 524.1 MiB (53.8%) fs: ext4
          dev: /dev/sda2
        ID-3: /boot/efi size: 252 MiB used: 274 KiB (0.1%) fs: vfat dev: /dev/sda1
      Swap:
        ID-1: swap-1 type: file size: 3 GiB used: 3.8 MiB (0.1%) file: /swap/swap
      Sensors:
        System Temperatures: cpu: 80.0 C pch: 68.0 C mobo: 48.0 C
        Fan Speeds (RPM): N/A
      Info:
        Processes: 251 Uptime: 33m Memory: 7.65 GiB used: 3.56 GiB (46.6%)
        Init: SysVinit runlevel: 5 Compilers: gcc: 12.2.0 Packages: 2789 Shell: Bash
        v: 5.2.15 inxi: 3.3.26
      
      /etc/crontab
      17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
      25 6    * * *   root    test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.daily; }
      47 6    * * 7   root    test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.weekly; }
      52 6    1 * *   root    test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.monthly; }
      

      The 17" Laptop is running Linux Mint 22.1 (Cinnamon). This is the one that has the five minute chugs.

      inxi -Fxz
      System:
        Kernel: 6.8.0-58-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0
        Desktop: Cinnamon v: 6.4.8 Distro: Linux Mint 22.1 Xia
          base: Ubuntu 24.04 noble
      Machine:
        Type: Laptop System: Dell product: Inspiron 7773 v: N/A
          serial: <superuser required>
        Mobo: Dell model: 0R58C3 v: A00 serial: <superuser required> UEFI: Dell
          v: 1.19.0 date: 12/15/2021
      Battery:
        ID-1: BAT0 charge: 34.9 Wh (97.5%) condition: 35.8/56.0 Wh (63.9%)
          volts: 16.0 min: 15.2 model: Samsung SDI DELL W7NKD7B status: discharging
      CPU:
        Info: quad core model: Intel Core i7-8550U bits: 64 type: MT MCP
          arch: Coffee Lake rev: A cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
        Speed (MHz): avg: 658 high: 867 min/max: 400/4000 cores: 1: 400 2: 800
          3: 400 4: 400 5: 800 6: 800 7: 867 8: 800 bogomips: 31999
        Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
      Graphics:
        Device-1: Intel UHD Graphics 620 vendor: Dell driver: i915 v: kernel
          arch: Gen-9.5 bus-ID: 00:02.0
        Device-2: NVIDIA GP108M [GeForce MX150] vendor: Dell driver: nvidia
          v: 550.120 arch: Maxwell bus-ID: 01:00.0
        Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB
          bus-ID: 1-5:2
        Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X:
          loaded: modesetting,nvidia unloaded: fbdev,nouveau,vesa dri: iris gpu: i915
          resolution: 1920x1080~60Hz
        API: EGL v: 1.5 drivers: iris,nvidia,swrast platforms:
          active: gbm,x11,surfaceless,device inactive: wayland,device-2
        API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa
          v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4 direct-render: yes renderer: Mesa
          Intel UHD Graphics 620 (KBL GT2)
      Audio:
        Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel
          v: kernel bus-ID: 00:1f.3
        API: ALSA v: k6.8.0-58-generic status: kernel-api
        Server-1: PipeWire v: 1.0.5 status: active
      Network:
        Device-1: Intel Wireless 3165 driver: iwlwifi v: kernel bus-ID: 02:00.0
        IF: wlp2s0 state: up mac: <filter>
      Bluetooth:
        Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
          bus-ID: 1-7:3
        Report: hciconfig ID: hci0 rfk-id: 4 state: up address: <filter> bt-v: 4.2
          lmp-v: 8
      Drives:
        Local Storage: total: 238.47 GiB used: 36.5 GiB (15.3%)
        ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB256HBHQ-000H1
          size: 238.47 GiB temp: 25.9 C
      Partition:
        ID-1: / size: 229.63 GiB used: 36.21 GiB (15.8%) fs: ext4 dev: /dev/dm-1
          mapped: vgmint-root
        ID-2: /boot size: 1.61 GiB used: 291.7 MiB (17.7%) fs: ext4
          dev: /dev/nvme0n1p2
        ID-3: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat
          dev: /dev/nvme0n1p1
      Swap:
        ID-1: swap-1 type: partition size: 1.91 GiB used: 0 KiB (0.0%)
          dev: /dev/dm-2 mapped: vgmint-swap_1
      Sensors:
        System Temperatures: cpu: 30.0 C pch: 32.5 C mobo: N/A
        Fan Speeds (rpm): N/A
      Info:
        Memory: total: 16 GiB available: 15.36 GiB used: 1.82 GiB (11.9%)
        Processes: 338 Uptime: 2h 38m Init: systemd target: graphical (5)
        Packages: 1996 Compilers: gcc: 13.3.0 Shell: Bash v: 5.2.21 inxi: 3.3.34
      
      /etc/crontab
      17 *	* * *	root	cd / && run-parts --report /etc/cron.hourly
      25 6	* * *	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.daily; }
      47 6	* * 7	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.weekly; }
      52 6	1 * *	root	test -x /usr/sbin/anacron || { cd / && run-parts --report /etc/cron.monthly; }
      

      Help Request

      Anyone have any ideas for tracking down what might be causing this? I was going to just wipe the machine and replace Linux Mint with MX Linux to rule that out, but I figured I'd ask here before doing that, especially because it could be the hardware and not the distro that's causing the issue.

      20 votes