Is anyone able to point me in the right direction to solve this issue please?

I installed the nvidia-beta drivers (Arch) and tested out Starfield. All is good. Then next time I try to startx, I get X failed to start etc.

Following the logs I get to:

` [ 1711.739] (II) NVIDIA dlloader X Driver 545.23.06 Sun Oct 15 17:26:55 UTC 2023

[ 1711.740] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the

[ 1711.740] (EE) NVIDIA: system’s kernel log for additional error messages and

[ 1711.740] (EE) NVIDIA: consult the NVIDIA README for details.

`

Wierd. Install nvidia instead, y to remove conflicts/nvidia-utils etc, and it’s all working. Try to install beta drivers again, same issue, rebooted, etc.

The beta drivers definitely did work. But now they magically aren’t.

Any tips?

I did try running sudo mkinitcpio -P but no change.

  • @[email protected]
    link
    fedilink
    48 months ago

    Maybe some sort of DKMS issue? Hard to tell without the “other” side of the logs. Check dmesg, usual syslogs, X, wm logs…etc. I’m not sure I remember seeing that Nvidia had their own logs for the driver on startup, just building.

  • @[email protected]
    link
    fedilink
    2
    edit-2
    8 months ago

    I installed the nvidia-beta drivers (Arch) and tested out Starfield. All is good. Then next time I try to startx, I get X failed to start etc.

    Did you reboot after changing to the beta driver? If you did not you were still using the previously installed nvidia driver, unless you manually reloaded the nvidia kernel modules via rmmod and modprobe (I’d discourage doing this though, rebooting is way less error prone)

    • ∟⊔⊤∦∣≶OP
      link
      28 months ago

      Yes, definitely rebooted. I just reinstalled the betas, so I can try get more logs.

      • @[email protected]
        link
        fedilink
        2
        edit-2
        8 months ago

        [ 1711.740] (EE) NVIDIA: system’s kernel log for additional error messages and

        Maybe try this then? Kernel log can be read via

        $sudo dmesg

        or

        $journalctl -k

        I’d recommend journalctl, best to also append -b to only get the kernel logs for the current boot

        For easier navigation enter a / and input nvidia, this will search your journal. Press n to go to the next result and shift + n to go to the previous one

  • @[email protected]
    link
    fedilink
    28 months ago

    Sorry for double commenting but you could also try this instead of the aur nvidia-beta package

    And I’d generally recommed using -dkms versions of the nvidia driver