You are not logged in.

#1 2023-03-27 14:15:37

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

[SOLVED]Failed to initialize the NVIDIA kernel module - No screens fou

Before going into detail, yes I've read similar posts on the forum but didn't find a solution suitable to my case, however if you think one contains a possible solution, please mention it without further ado.

Kernel: Linux 6.2.8
GPU: GTX 1650 super
driver tested: nvidia, nvidia-open.

After installing the driver, running "nvidia-xconfig" and rebooting, when I try starting Xorg (from xinit) I receive the errors I mentioned in the title in the Xorg.0.log file.

My generated /etc/X11/xorg.conf file is this one: https://pastebin.com/PZQQQxdN

if I delete the xorg.conf I'm able to boot into the graphical session with nouveau drivers (Although honestly I have no idea what these are because I don't have xf86-video-nouveau installed.

I also tried uncommenting GRUB_TERMINAL_OUTPUT=console from my etc/default/grub and then run a grub-mkconfig but anyway it didn't seem to have any effect at all.

Thanks to everyone in advance for taking their own time to help me solve this issue.

Last edited by emanuelejsk (2023-03-27 15:12:35)

Offline

#2 2023-03-27 14:22:58

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED]Failed to initialize the NVIDIA kernel module - No screens fou

emanuelejsk wrote:

driver tested: nvidia

After installing the driver, running "nvidia-xconfig"

Don't.

Just install nvidia (and enable KMS).


<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#3 2023-03-27 14:34:59

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED]Failed to initialize the NVIDIA kernel module - No screens fou

d.ALT wrote:
emanuelejsk wrote:

driver tested: nvidia

After installing the driver, running "nvidia-xconfig"

Don't.

Just install nvidia (and enable KMS).


I did that by adding nvidia_drm.modeset=1 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub

but the output of "inxi -Gx" is:

Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1650 SUPER] vendor: Micro-Star MSI
    driver: nouveau v: kernel arch: Turing bus-ID: 26:00.0 temp: 28.0 C
  Display: server: X.Org v: 21.1.7 with: Xwayland v: 23.1.0 driver: X:
    loaded: modesetting unloaded: vesa dri: nouveau gpu: nouveau
    resolution: 1920x1080~60Hz
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.

Again, I don't even have xf86-video-nouveau installed tho...

Offline

#4 2023-03-27 14:41:06

d.ALT
Member
Registered: 2019-05-10
Posts: 920

Re: [SOLVED]Failed to initialize the NVIDIA kernel module - No screens fou

You'd want to re-construct initramfs in order to purge nouveau from it (https://wiki.archlinux.org/title/Mkinit … mmon_hooks).

Post here:

$ pacman -Qs ^linux
$ pacman -Qs nvidia

<49,17,III,I>    Fama di loro il mondo esser non lassa;
<50,17,III,I>    misericordia e giustizia li sdegna:
<51,17,III,I>    non ragioniam di lor, ma guarda e passa.

Offline

#5 2023-03-27 14:46:00

emanuelejsk
Member
Registered: 2021-04-05
Posts: 10

Re: [SOLVED]Failed to initialize the NVIDIA kernel module - No screens fou

d.ALT wrote:

You'd want to re-construct initramfs in order to purge nouveau from it (https://wiki.archlinux.org/title/Mkinit … mmon_hooks).

Post here:

$ pacman -Qs ^linux
$ pacman -Qs nvidia

Ah, my bad yeah, just now I noticed I edited /etc/mkinitcpio.conf but didn't regenerated the initramfs    edit: -> which now I did and it seems to be working just fine smile

If now I wanted to swtich from nvidia to nvidia-open would : pacman -R nvidia && pacman -S nvidia-open just work?

Last edited by emanuelejsk (2023-03-27 14:49:09)

Offline

Board footer

Powered by FluxBB