Skip to content

dracut-pre-udev.service slow boot (~26s) due to nvidia_peermem in 99-nvidia.conf #4569

@Celebrium

Description

@Celebrium

Describe the bug

On every boot, dracut-pre-udev.service takes ~26 seconds due to a failed modprobe call for nvidia_peermem:

modprobe: ERROR: could not insert 'nvidia_peermem': Invalid argument

This module is included via /usr/lib/dracut/dracut.conf.d/99-nvidia.conf:

force_drivers+=" i915 amdgpu nvidia nvidia_drm nvidia_modeset nvidia_peermem nvidia_uvm "

AFAIK, nvidia_peermem is a datacenter/HPC module for NVLink/InfiniBand GPU-to-GPU communication. It has no relevance on a desktop system and fails to load with Invalid argument on consumer hardware (tested on RTX 2070).

Workaround attempts

  • modprobe.blacklist=nvidia_peermem via rpm-ostree kargs — module still loaded by dracut hook before kernel args take effect
  • /etc/dracut.conf.d/99-nvidia-override.conf with force_drivers without nvidia_peermem and omit_drivers+=" nvidia_peermem " — did not prevent the module from being included in initramfs

What did you expect to happen?

nvidia_peermem should either be removed from 99-nvidia.conf on desktop images, or only included conditionally when relevant hardware is detected.

Session Logs

https://paste.centos.org/view/e3e17b10

Hardware

  • Image: bazzite-nvidia-open:stable (43.20260404)
  • GPU: NVIDIA RTX 2070 (v595.58.03)
  • Kernel: 6.17.7-ba29.fc43.x86_64

Extra information or context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions