this post was submitted on 25 Oct 2023
19 points (95.2% liked)

Linux

47341 readers
1370 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

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.

top 7 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 11 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] 2 points 11 months ago (1 children)

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

[–] [email protected] 3 points 11 months ago (1 children)

Installing the DKMS drivers fixed it!

Thanks!

[–] [email protected] 2 points 11 months ago

You're welcome

Have fun playing Starfield :)

[–] [email protected] 2 points 11 months ago* (last edited 11 months ago) (1 children)

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)

[–] [email protected] 2 points 11 months ago (1 children)

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

[–] [email protected] 2 points 11 months ago* (last edited 11 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