ASUS N552VX: Manjaro Linux 6.18 black screen unless `maxcpus=1`

On my ASUS N552VX laptop, Manjaro’s Linux 6.1.189-1 boots normally, but Linux 6.18.55-1 reaches a black screen with no console output or journal messages from the failed attempt. The problem is reproducible. Booting Linux 6.18 with maxcpus=1 succeeds with ACPI and graphics enabled. After login, bringing CPUs 1-7 online via /sys/devices/system/cpu/cpu*/online works, and /sys/devices/system/cpu/online then shows 0-7. This suggests a problem specific to starting secondary CPUs during early boot

I have some time ago had the same issues with kernels 6.6, 6.12 and postponed moving on from kernel 6.1. If needed, I can test with those as well.

Hardware and software:

  • ASUS N552VX, firmware N552VX.304 (2019-05-08) - unfortunatley, nothing newer available
  • Intel Core i7-6700HQ (4 cores, 8 threads)
  • Manjaro Linux, x86_64
  • Working kernel: 6.1.189-1-MANJARO
  • Failing kernel: 6.18.55-1-MANJARO

Tests on 6.18:

Boot setting Result
Normal boot Black screen
maxcpus=2 Black screen
nosmt, noapic, or intremap=off Black screen
nomodeset and i915.modeset=0 Black screen
acpi=off Boots, but ACPI-dependent hardware fails
maxcpus=1 with ACPI and graphics enabled Boots; secondary CPUs can then be hotplugged online

The working 6.18 custom boot entry only needs

maxcpus=1

I can provide a link to a journalctl: pastebox.to/p/HiEryM8d

Further system info

System:
  Kernel: 6.18.55-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 16.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.18-x86_64
    root=UUID=11a2b93d-ca6b-4e6e-be2a-43e5a9a80092 rw maxcpus=1
  Desktop: i3 v: 4.25.1 with: i3bar,polybar tools: avail: i3lock,xautolock
    vt: 1 dm: SDDM Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: N552VX v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: N552VX v: 1.0 serial: <superuser required>
    part-nu: ASUS-NotebookSKU uuid: <superuser required> Firmware: UEFI
    vendor: American Megatrends v: N552VX.304 date: 05/08/2019
Battery:
  ID-1: BAT0 charge: 31.8 Wh (98.3%) condition: 32.4/48.2 Wh (67.1%)
    volts: 14.4 min: 14.4 model: ASUSTeK ASUS Battery type: Li-ion serial: N/A
    charging: status: not charging cycles: 535
  Device-1: hidpp_battery_0 model: Logitech MX Keys Wireless Keyboard
    serial: <filter> charge: 5% (should be ignored) rechargeable: yes
    status: discharging
  Device-2: hidpp_battery_1 model: Logitech MX Anywhere 3 serial: <filter>
    charge: 15% rechargeable: yes status: discharging
Memory:
  System RAM: total: 16 GiB available: 15.51 GiB used: 3.28 GiB (21.2%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 64 GiB slots: 4 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: ChannelA-DIMM0 type: DDR4 detail: synchronous size: 8 GiB
    speed: 2133 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: SK Hynix part-no: HMA41GS6AFR8N-TF serial: <filter>
  Device-2: ChannelA-DIMM1 type: no module installed
  Device-3: ChannelB-DIMM0 type: DDR4 detail: synchronous size: 8 GiB
    speed: 2133 MT/s volts: curr: 1 width (bits): data: 64 total: 64
    manufacturer: SK Hynix part-no: HMA41GS6AFR8N-TF serial: <filter>
  Device-4: ChannelB-DIMM1 type: no module installed
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: Intel Core i7-6700HQ bits: 64 type: MT MCP arch: Skylake-S
    gen: core 6 level: v3 note: check built: 2015 process: Intel 14nm family: 6
    model-id: 0x5E (94) stepping: 3 microcode: 0xF0
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    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: 800 min/max: 800/3500 scaling: driver: intel_pstate
    governor: powersave cores: 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800
    8: 800 bogomips: 41599
  Flags: 3dnowprefetch abm acpi adx aes aperfmperf apic arat
    arch_capabilities arch_perfmon art avx avx2 bmi1 bmi2 bts clflush
    clflushopt cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64
    dtherm dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu
    fsgsbase fxsr ht hwp hwp_act_window hwp_epp hwp_notify ibpb ibrs ida
    intel_pt invpcid lahf_lm lm mca mce md_clear mmx monitor movbe mpx msr
    mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge
    pln pni popcnt pse pse36 pti pts rdrand rdseed rdtscp rep_good sdbg sep
    smap smep ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2
    tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic
    xgetbv1 xsave xsavec xsaveopt xsaves xtopology xtpr
  Vulnerabilities:
  Type: gather_data_sampling status: Vulnerable: No microcode
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: KVM: Split huge pages
  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 mitigation: Clear CPU buffers; SMT vulnerable
  Type: old_microcode status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: IBRS
  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: IBRS; IBPB: conditional; STIBP: conditional;
    RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds mitigation: Microcode
  Type: tsa status: Not affected
  Type: tsx_async_abort mitigation: TSX disabled
  Type: vmscape mitigation: IBPB before exit to userspace
Graphics:
  Device-1: Intel Skylake-H GT2 [HD Graphics 530] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports:
    active: HDMI-A-1,eDP-1 empty: DP-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:191b class-ID: 0300
  Device-2: NVIDIA GM107M [GeForce GTX 950M] vendor: ASUSTeK driver: nvidia
    v: 580.178.04 alternate: nouveau,nova_core,nvidia_drm non-free: 550-580.xx+
    status: arch: Maxwell code: GMxxx process: TSMC 28nm built: 2014-2019
    pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 01:00.0 chip-ID: 10de:139a class-ID: 0302
  Device-3: SHENZHEN EMEET HD Webcam C960
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2.2.2:7 chip-ID: 328f:2013
    class-ID: 0300 serial: <filter>
  Device-4: IMC Networks USB2.0 HD UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-4:3 chip-ID: 13d3:5666
    class-ID: 0e02 serial: <filter>
  Display: unspecified server: X.Org v: 21.1.24 with: Xwayland v: 24.1.13
    compositor: Picom v: 13 driver: X: loaded: modesetting alternate: intel
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 5360x1440 s-dpi: 96 s-size: 1418x381mm (55.83x15.00")
    s-diag: 1468mm (57.81")
  Monitor-1: HDMI-A-1 mapped: HDMI-1 pos: right model: Samsung C34H89x
    serial: <filter> built: 2022 res: mode: 3440x1440 hz: 50 scale: 100% (1)
    dpi: 110 gamma: 1.2 chroma: red: x: 0.655 y: 0.329 green: x: 0.322
    y: 0.600 blue: x: 0.145 y: 0.071 white: x: 0.314 y: 0.329
    size: 797x333mm (31.38x13.11") diag: 864mm (34") modes: 3440x1440,
    2560x1440, 2560x1080, 1920x1080, 1680x1050, 1600x900, 1280x1024,
    1440x900, 1280x800, 1152x864, 1280x720, 1024x768, 832x624, 800x600,
    720x576, 720x480, 640x480, 720x400
  EDID-Warnings: 1: parse_edid: unhandled CEA mode 90
  Monitor-2: eDP-1 pos: primary,left model: LG Display 0x046f built: 2014
    res: mode: 1920x1080 hz: 60 scale: 100% (1) dpi: 142 gamma: 1.2 chroma: red:
    x: 0.639 y: 0.345 green: x: 0.333 y: 0.627 blue: x: 0.149 y: 0.051 white:
    x: 0.314 y: 0.329 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia x11: drv: iris inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.6 vendor: intel mesa v: 26.2.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel HD Graphics 530 (SKL GT2)
    device-ID: 8086:191b memory: 15.15 GiB unified: yes
  API: Vulkan v: 1.4.363 layers: 2 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 950M driver: nvidia v: 580.178.04
    device-ID: 10de:139a surfaces: N/A
  Info: Tools: api: clinfo, eglinfo, glxinfo, vulkaninfo
    de: kscreen-console,kscreen-doctor gpu: nvidia-settings,nvidia-smi
    wl: wayland-info x11: xdpyinfo, xprop, xrandr
Audio:
  Device-1: Intel 100/C230 Series Family HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: snd_soc_avs bus-ID: 00:1f.3
    chip-ID: 8086:a170 class-ID: 0403
  Device-2: SHENZHEN EMEET HD Webcam C960
    driver: hid-generic,snd-usb-audio,usbhid,uvcvideo type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-2.2.2:7 chip-ID: 328f:2013
    class-ID: 0300 serial: <filter>
  API: ALSA v: k6.18.55-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.6.9 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wireless 7265 driver: iwlwifi v: kernel pcie: gen: 1
    speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:095a class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> scope: link
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: d000 bus-ID: 03:00.1 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp3s0f1 state: down mac: <filter>
  IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
  IP v4: <filter> scope: global broadcast: <filter>
  IP v6: <filter> virtual: nodad scope: global
  IP v6: <filter> virtual: proto kernel_ll scope: link
  IF-ID-2: veth34b3d44 state: up speed: 10000 Mbps duplex: full
    mac: <filter>
  Info: services: iwd, NetworkManager, ntpd, systemd-networkd
  WAN IP: <filter>
Bluetooth:
  Device-1: Intel Bluetooth wireless interface driver: btusb v: 0.8 type: USB
    rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-9:5 chip-ID: 8087:0a2a
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.2
    lmp-v: 8 status: discoverable: no pairing: no class-ID: 6c010c
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 476.94 GiB used: 92.55 GiB (19.4%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVPV512HDGL-00000 size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: BXW7300Q temp: 33.9 C scheme: GPT
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SU-228GB rev: AS00
    dev-links: cdrom
  Features: speed: 24 multisession: yes audio: yes dvd: yes
    rw: cd-r,cd-rw,dvd-r,dvd-ram state: running
Partition:
  ID-1: / raw-size: 106.78 GiB size: 104.92 GiB (98.26%)
    used: 92.51 GiB (88.2%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
    label: N/A uuid: 11a2b93d-ca6b-4e6e-be2a-43e5a9a80092
  ID-2: /boot/efi raw-size: 260 MiB size: 256 MiB (98.46%)
    used: 34.4 MiB (13.4%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
    label: SYSTEM uuid: A2AC-CC02
Swap:
  Alert: No swap data was found.
Unmounted:
  ID-1: /dev/nvme0n1p2 maj-min: 259:2 size: 16 MiB fs: <superuser required>
    label: N/A uuid: N/A
  ID-2: /dev/nvme0n1p3 maj-min: 259:3 size: 369.89 GiB
    fs: <superuser required> label: N/A uuid: N/A
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 16 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Hub-2: 1-2:2 info: Realtek RTS5411 Hub ports: 3 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 0bda:5411
    class-ID: 0900
  Hub-3: 1-2.2:4 info: Genesys Logic Hub ports: 4 rev: 2.1
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 power: 100mA
    chip-ID: 05e3:0610 class-ID: 0900
  Device-1: 1-2.2.1:6 info: Logitech Unifying Receiver
    type: keyboard,mouse,HID driver: logitech-djreceiver,usbhid interfaces: 3
    rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1 mode: 1.1 power: 98mA
    chip-ID: 046d:c52b class-ID: 0300
  Device-2: 1-2.2.2:7 info: SHENZHEN EMEET HD Webcam C960
    type: video,audio,HID driver: hid-generic,snd-usb-audio,usbhid,uvcvideo
    interfaces: 5 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0
    power: 200mA chip-ID: 328f:2013 class-ID: 0300 serial: <filter>
  Device-3: 1-4:3 info: IMC Networks USB2.0 HD UVC WebCam type: video
    driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s (57.2 MiB/s)
    lanes: 1 mode: 2.0 power: 500mA chip-ID: 13d3:5666 class-ID: 0e02
    serial: <filter>
  Device-4: 1-9:5 info: Intel Bluetooth wireless interface type: bluetooth
    driver: btusb interfaces: 2 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s) lanes: 1
    mode: 1.1 power: 100mA chip-ID: 8087:0a2a class-ID: e001
  Hub-4: 2-0:1 info: super-speed hub ports: 8 rev: 3.0
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-5: 2-2:2 info: Realtek Hub ports: 1 rev: 3.2
    speed: 5 Gb/s (596.0 MiB/s) lanes: 1 mode: 3.2 gen-1x1 chip-ID: 0bda:0411
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 45.0 C pch: 41.5 C mobo: N/A
  Fan Speeds (rpm): cpu: 2100
Repos:
  Packages: pm: pacman pkgs: 2286 libs: 458 tools: pamac,yay pm: flatpak
    pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://ftp.snt.utwente.nl/pub/linux/manjaro/stable/$repo/$arch
    2: https://mirror.telepoint.bg/manjaro/stable/$repo/$arch
    3: https://ftp.psnc.pl/linux/manjaro/stable/$repo/$arch
    4: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    5: https://mirrors.dotsrc.org/manjaro/stable/$repo/$arch
    6: https://mirror.csclub.uwaterloo.ca/manjaro/stable/$repo/$arch
    7: https://muug.ca/mirror/manjaro/stable/$repo/$arch
    8: https://ftp.yz.yamagata-u.ac.jp/pub/linux/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 277
  1: cpu: 18.0% command: firefox pid: 3834 mem: 712.1 MiB (4.4%)
  2: cpu: 4.3% command: Xorg pid: 812 mem: 92.8 MiB (0.5%)
  3: cpu: 4.0% command: picom pid: 898 mem: 62.5 MiB (0.3%)
  4: cpu: 3.9% command: firefox pid: 16416 mem: 205.5 MiB (1.2%)
  5: cpu: 2.3% command: firefox pid: 4137 mem: 360.0 MiB (2.2%)
  Memory top: 5 of 277
  1: mem: 712.1 MiB (4.4%) command: firefox pid: 3834 cpu: 18.0%
  2: mem: 360.0 MiB (2.2%) command: firefox pid: 4137 cpu: 2.3%
  3: mem: 337.2 MiB (2.1%) command: firefox pid: 4050 cpu: 1.0%
  4: mem: 295.2 MiB (1.8%) command: firefox pid: 4384 cpu: 0.4%
  5: mem: 265.8 MiB (1.6%) command: codex pid: 2092 cpu: 0.5%
Info:
  Processes: 277 Power: uptime: 29m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 6.16 GiB
    services: power-profiles-daemon,upowerd Init: systemd v: 261
    default: graphical tool: systemctl
  Compilers: clang: 23.1.1 gcc: 16.2.1 Shell: Zsh v: 5.9.2
    running-in: alacritty inxi: 3.3.41

If you have any specific pointers to try, or know where to report/fix this upstream, kindly let me know :slight_smile: Thanks!

This seems a bit odd to me as it looks like all your cores/threads are recognized and active. No expert here, so maybe that maxcpus option is a decent workaround, until we can investigate further?

What does e.g. htop show when you are running applications? (You’ll need to install that if you haven’t already, naturally. I don’t think it is included with a default Manjaro installation).

Since, as you say, everything gets detected just fine, my best (blind) guess is a motherboard (firmware) race issue? I had the black screen issue with the 6.1 kernel for about 1/10 boots, very rarely. Maybe the activation of secondary CPUs got faster in recent kernels and now always races. Just guessing here.

Once the remaining threads are hotplugged, the system behaves normally and htop shows all threads and distributed work over all of them.

That does indeed appear to be the case here, yes. Most likely a bug in the UEFI firmware.

I’ve heard of similar problems with Asus before, yes.

I have in the past also had many problems with Chaintech motherboards — if those even still exist today. Conversely, the MSI motherboard in this computer here has been magnificent from the onset.

I feel so heard haha you can’t imagine. Tried dozens of different kernel parameters in the meantime, before an LLM suggested to limit the CPUs at boot and hotplug them later.

In any case, I’ll leave the workaround here for any other poor asus firmware/ n552vx users:

  1. Use maxcpus=1 kernel param
  2. Setup a script to hotplug the remaining cores (adjust numbers if more cores):
#!/bin/sh
set -eu

for cpu_online in /sys/devices/system/cpu/cpu[1-7]*/online; do
    [ -e "$cpu_online" ] || continue
    if [ "$(cat "$cpu_online")" = 0 ]; then
        printf '1\n' > "$cpu_online"
        printf 'Brought %s online\n' "${cpu_online%/online}"
    fi
done
  1. Setup a systemd service:
[Unit]
Description=Bring secondary CPUs online after Linux 6.18 starts
Wants=systemd-user-sessions.service
After=systemd-user-sessions.service
ConditionKernelCommandLine=maxcpus=1
ConditionPathExists=/sys/devices/system/cpu/cpu1/online

[Service]
Type=oneshot
ExecStart=/usr/local/libexec/linux618-online-cpus

[Install]
WantedBy=multi-user.target
  1. Profit :slight_smile:

I was able to pinpoint the issue to the application of microcode patches, as booting with the dis_ucode_ldr kernel param works and subsequently filed a regression. In the meantime, the documented workaround works just fine.

Update: It seems that microcode patching has been moved to an earlier stage in kernel 6.5, confirming what I am seeing here and what was reported independently for Ubuntu and OpenSUSE