Manjaro freezing when playing music

I just installed Manjaro on a MacBook Pro from 2011. This is the first time I’ve tried Manjaro and it seems to work very well on this MacBook. However, I mainly use the computer to play music with atm. and every 10-15th minute, or so, the music stops playing for about 5-6 seconds. For some reason the screen lights up when this happens and the login screen is displayed.

Do you have any ideas what’s causing this?

Are you not using the system during this time?
Are you talking about a lockscreen after 10 minutes?
Also … might as well share information like what desktop environment and so on:

inxi -Fazy

Check your system settings - looks like the system is locking due to inactivity - yes I know playing media is not inactivity - it is the lack of physical interaction that is dectected.

1 Like

From what you’re describing, it sounds like the system is entering sleep mode, but since you’re not telling us what desktop environment you’re using and our crystal ball is in for its annual maintenance, you’re going to have to wade through whatever flavor of System Settings you have in order to disable this automatic sleep mode. For one, it’s bound to throw up trouble if it happens in the middle of an update.

Judging by your (quite common) mistake of confusing the lock screen and the login screen, my guess is that you’d be using Plasma. The login screen (sddm) and the lock screen (kscreenlocker) there do look very similar in appearance, but they are entirely different things.

No, the system is just playing music. It seems to happen every 15th minutes, or so. The screen is black and then the music stops for 6-7 seconds. The screen lights up and the clock, date and “click or press any key to unlock” message is shown.

There’s a lot of output from inxi -Faxy, but here we go :slight_smile:

System:
  Kernel: 6.1.44-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=fb3e756f-f4a1-4f2d-9e8b-b3a96a316ad4 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 44.3 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: Apple product: MacBookPro8,2 v: 1.0
    serial: <superuser required> Chassis: type: 10 v: Mac-94245A3940C91C80
    serial: <superuser required>
  Mobo: Apple model: Mac-94245A3940C91C80 v: MacBookPro8,2
    serial: <superuser required> UEFI: Apple v: MBP81.88Z.0047.B32.1702180130
    date: 02/18/17
Battery:
  ID-1: BAT0 charge: 64.6 Wh (97.1%) condition: 66.5/75.2 Wh (88.4%)
    volts: 12.1 min: 10.9 model: SMP bq20z451 type: Li-ion serial: N/A
    status: discharging cycles: 385
CPU:
  Info: model: Intel Core i7-2635QM bits: 64 type: MT MCP arch: Sandy Bridge
    gen: core 2 level: v2 built: 2010-12 process: Intel 32nm family: 6
    model-id: 0x2A (42) stepping: 7 microcode: 0x2F
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 1575 high: 2900 min/max: 800/2900 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2900 2: 800 3: 1800
    4: 800 5: 2900 6: 800 7: 800 8: 1800 bogomips: 32013
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT
    vulnerable
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: conditional, RSB filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics
    vendor: Apple driver: i915 v: kernel arch: Gen-6 code: Sandybridge
    process: Intel 32nm built: 2011 ports: active: LVDS-1
    empty: DP-1,HDMI-A-1,VGA-1 bus-ID: 00:02.0 chip-ID: 8086:0116
    class-ID: 0300
  Device-2: AMD Seymour [Radeon HD 6400M/7400M Series] vendor: Apple
    driver: N/A alternate: radeon, amdgpu arch: TeraScale-2 code: Evergreen
    process: TSMC 32-40nm built: 2009-15 pcie: gen: 2 speed: 5 GT/s lanes: 8
    link-max: lanes: 16 bus-ID: 01:00.0 chip-ID: 1002:6760 class-ID: 0300
  Device-3: Apple FaceTime HD Camera driver: uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2:3 chip-ID: 05ac:8509
    class-ID: 0e02 serial: <filter>
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.1.2
    compositor: gnome-shell driver: gpu: i915 display-ID: 0
  Monitor-1: LVDS-1 model: Apple Color LCD built: 2009 res: 1680x1050
    dpi: 129 gamma: 1.2 size: 331x207mm (13.03x8.15") diag: 390mm (15.4")
    ratio: 16:10 modes: 1680x1050
  API: OpenGL v: 3.3 Mesa 23.1.5 renderer: Mesa Intel HD Graphics 3000 (SNB
    GT2) direct-render: Yes
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1c20
    class-ID: 0403
  Device-2: AMD Caicos HDMI Audio [Radeon HD 6450 / 7450/8450/8490 OEM R5
    230/235/235X OEM] driver: snd_hda_intel v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 8 link-max: lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aa98 class-ID: 0403
  API: ALSA v: k6.1.44-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 0.3.77 status: off tools: pw-cli
  Server-3: PulseAudio v: 16.1 status: active with: pulseaudio-alsa
    type: plugin tools: pacat,pactl
Network:
  Device-1: Broadcom NetXtreme BCM57765 Gigabit Ethernet PCIe driver: tg3
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: N/A bus-ID: 02:00.0
    chip-ID: 14e4:16b4 class-ID: 0200
  IF: enp2s0f0 state: down mac: <filter>
  Device-2: Broadcom BCM4331 802.11a/b/g/n vendor: Apple AirPort Extreme
    driver: bcma-pci-bridge v: N/A modules: bcma pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14e4:4331 class-ID: 0280
  IF-ID-1: wlp3s0b1 state: up mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth Host Controller driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-1.1.3:8
    chip-ID: 05ac:821a class-ID: fe01
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 465.76 GiB used: 24.92 GiB (5.3%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MK5065GSXF
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 3.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: 5B scheme: GPT
Partition:
  ID-1: / raw-size: 465.46 GiB size: 457.09 GiB (98.20%) used: 24.92 GiB (5.5%)
    fs: ext4 dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda1 maj-min: 8:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 63.0 C mobo: 0.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 324 Uptime: 1d 23h 35m wakeups: 198 Memory: total: 8 GiB
  available: 7.67 GiB used: 2.83 GiB (36.9%) Init: systemd v: 253
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 clang: 15.0.7
  Packages: 1181 pm: pacman pkgs: 1175 libs: 324 tools: gnome-software,pamac
  pm: flatpak pkgs: 6 Shell: Zsh v: 5.9 running-in: gnome-terminal inxi: 3.3.29

Which setting should I look into?

I’m using Gnome, sorry for not stating that. Also, there are some more details in the posts above here. Thanks for the help. This is a bit annoying since it happens so frequently.