#[SOLVED] Unable to get NVIDIA to work on Arch

708 messages · Page 1 of 1 (latest)

brisk lion
#

Hello, I've been struggling with this issue for several days and I don't know what to do anymore.

I have installed Arch with the mainline 6.0.10 kernel and the nvidia, nvidia-settings and lib32-nvidia-utils package like I always do.

The package installation doesn't return any error, regenerating the kernel image with the new drivers neither, regenerating the GRUB file neither.

But then, when it's time to reboot, and despite having both the loglevel=3 and quiet boot parameters disabled, the boot hangs at Triggering uevents....

I am unable to access a TTY, I am only able to chroot into the installation.

I tried installing the NVIDIA driver 470 from the AUR, knowing it supports my 3080 Ti, and got the same issue.

I also tried completely disabling Nouveau, chrooting, downloading the driver from NVIDIA's website and installing it using the run file. The installer builds the kernel modules but is unable to add them to the kernel because it says Nouveau is in the way despite it not being loaded or running at all.

I read other threads regarding NVIDIA in here but wasn't able to find any fix that worked.

My 3080 Ti used to work on 6.0 and NVIDIA 520 and now it doesn't anymore, and since I don't get any error I don't know what is happening. Manjaro works perfectly and doesn't hang on boot but I want Arch and not Manjaro.

Anyone else has that boot hanging issues and can provide help, please ?

The PC is a desktop.

brisk lion
#

6.0.10, mainline, as stated in the post.

errant sentinel
#

Ah sorry didnt see that. Hmm.

#

Did u try early loading the modules?

brisk lion
#

I always add the kernel modules to the MODULES line in mkinitcpio.conf.

#

IDK what loading early is tho.

errant sentinel
#

Thats what i mean.

#

Hmm

brisk lion
#

I also always have nvidia-drm.modeset=1 ibt=off

errant sentinel
#

Have u tried booting without those?

brisk lion
#

Yes, it still hangs but further.

errant sentinel
#

Hmm. What does it say on the screen when it hangs withiut the kernel parans

brisk lion
#

And it's stuck there

#

I read an older post on the Internet that it might be the contact with the PCIe bus that is bad and the driver unloads, but this makes no sense since Manjaro doesn't have that issue.

#

I don't think the issue is on my end tbh, and since it won't get fixed anytime soon I'm gonna reinstall Manjaro on my second NVMe SSD until we figure it out, I haven't been able to use my PC for several days because of that NVIDIA BS

errant sentinel
brisk lion
#

nvidia nvidia_modeset nvidia_uvm nvidia_drm as always and as I did on Manjaro which works, and as read in the Arch Wiki

errant sentinel
#

Try removing those for now, then mkinitcpio

thorny hatch
#

Also if its a matter of simply using the pc you can just use the intel drivers temporarily

#

I’m pretty sure they still work on nvidia cards, just with a performance hit, but at least it should boot then

#

But yeah make sure you’ve run mkinitcpio cause changing the modules does nothing until you run it

brisk lion
#

And all the / in one partition with a /boot/efi partition and a swap

thorny hatch
#

Is there a biggerlogfile you can send us

#

It looks like the important bit is getting cut off

brisk lion
#

I accidentally wiped the install with Manjaro by selecting the wrong drive, but I'll try reinstalling everything, knowing that NVIDIA 525 is now in the repos, and keep y'all updated.

#

People on other servers told me the driver in the 520 package was broken and that's what caused issue

brisk lion
#

Also I forgot to mention that Nouveau isn't an option because games won't run on it, my GPU isn't compatible enough with Nouveau for this, games throw an error and exit

brisk lion
#

UPDATE: Same issue with driver 525

#

Stuck at Triggering uevents...

brisk lion
unkempt dome
#

@brisk lion have you tried booting from an alternate kernel such as the LTS kernel

#

i'm curious to see if it'll do the same thing on LTS

brisk lion
#

I will try LTS, lemme reboot and chroot

#

I have a i9-12900K tho

unkempt dome
#

wait

brisk lion
#

Is the LTS too old ?

unkempt dome
#

do you have linux-headers installed

#

that might be part of the issue

brisk lion
#

Yes, I have installed Arch on NVIDIA several times before

#

And I have the headers for the mainline

#

I always installed Arch the same way but now it breaks because of signing error

unkempt dome
brisk lion
#

I will try it

unkempt dome
#

it might just be a bug with the current kernel

#

looks like the issue might be if you're using a RAID device or encryption

#

if the LTS doesn't help

brisk lion
#

The issue wasn't there on 6.0.7

#

It appeared since 6.0.8

unkempt dome
#

hmm

brisk lion
#

NVIDIA 470 gives the same issue

unkempt dome
#

i'd just try using LTS for a bit then if that works stick with it and maybe try the stable kernel later on when there's hopefully a fix

brisk lion
#

Despite 6.0.8 and NVIDIA 525

unkempt dome
#

i think openSUSE and Arch have slightly different kernels even on the same version

#

but yeah idk

#

i'm actually on 6.0.10 currently and don't have the issue but i'm also on linux-zen not linux

brisk lion
#

linux is 6.0.10 too

#

Same issue

unkempt dome
#

you could maybe try linux-zen but then you'd need to install nvidia-dkms instead of nvidia

brisk lion
#

I tried disabling kernel module signing at boot but it failed

unkempt dome
#

and also linux-zen-headers

brisk lion
#

I'd need to disable it and recompile the kernel

unkempt dome
#

you could use your bootable ISO then pacstrap

brisk lion
#

Nah I can just chroot

#

And use pacman

#

Also I need to mount all my subvolumes properly, which I know how to do

#

The Zen kernel didn't work, the LTS either.

urban lily
#

ive had a similar issue, no kernel > 5.15.79 will work

brisk lion
#

And Manjaro on 6.0.8 does work, so I accuse Arch Linux's kernel of being the issue

#

The only way for me to get it working would be to rebuild the kernel with custom settings disabling module signing

#

So at this point better go back to Manjaro

brisk lion
#

I'm just gonna try signing the module manually OR make the kernel ignore its verification

errant sentinel
#

I think im getting this too after the latest nvidia driver update

brisk lion
#

However how do we do this ?

wild bone
#

i have the same issue as you

#

guessing its just a kernel problem

errant sentinel
brisk lion
#

It's not a problem, it was apparently intended

#

However this is a pain because we need to either recompile the kernel without the signing enforcement option OR sign the kernel modules

wild bone
#

so how do we sign it

brisk lion
wild bone
#

i mean i can wait a week or couple weeks for new kernel which will probably fix it

brisk lion
#

No

#

It's not a bug

wild bone
#

so you have to do it manually?

brisk lion
#

NVIDIA is the issue

#

Until NVIDIA signs their modules we need to sign them manually

wild bone
#

what about older drivers

#

wouldnt those work just fine

brisk lion
#

Arch implemented kernel module signing enforcement for the kernel

#

They don't because they are not signed

wild bone
#

what if you modify the source code of kernel?

#

to allow you to sign

#

the modules

brisk lion
#

You don't need that

#

You can sign the modules yourself without recompiling the kernel, I just don't know HOW because we've never done it

#

The other option is to compile the kernel manually with the Module signing enforcement disabled before compiling

#

But compiling a kernel is a pain

#

So we need to find out how to sign modules

wild bone
#

and theres no archwiki for this?

brisk lion
#

I don't understand a single thing tho, and that,s the issue

wild bone
#

im pretty certain thats modifying grub kernel parameters?

#

idk i dont really understand that

brisk lion
#

Me neither

wild bone
#

still dont understand anything lmao

#

i mean how long could it take for nvidia driver engineers to sign the modules

#

nouveau is really the only option for now ig

#

unless someone knows how to sign kernel modules here

brisk lion
#

Nouveau is garbage on a RTX 3080 Ti

wild bone
brisk lion
#

You try to launch a game and it fails

#

Because of missing proprietary modules

wild bone
#

for me it literally just bricks arch if i install proprietary drivers

errant sentinel
#

Same.

#

It booted without drivers working until i ran mkinitcpio, then my systen just bricks

errant sentinel
#

Nouveau works.

brisk lion
#

I'm trying to compile my kernel with the Kernel Module Signing Verification disabled, it seems to be working

#

It shouldn't take that long with a i9-12900K and 64 GB of RAM

brisk lion
#

It complains about missing GPU libraries and all

errant sentinel
hollow quail
errant sentinel
brisk lion
#

So yes

brisk lion
brisk lion
#

The problem seems to be from the Arch kernel itself

#

Manjaro works but Garuda doesn't. Knowing that Garuda uses the Arch repos and packages for the kernel and drivers (unlike Manjaro), it's normal to meet the same issue on Garuda

#

You know what I'm just gonna use another distro until this issue gets fixed

brisk lion
#

Okay I had enough of this CIRCUS going on for 3 weeks, I switched back to Debian.

#

NVIDIA installed without issue 🙂

brisk lion
#

Nope it ended up breaking

brisk lion
#

I'm gonna reinstall Manjaro, I guess

#

It worked with NVIDIA

brisk lion
#

Exactly like when I tried Gentoo months ago

errant sentinel
#

Why

#

I just want to play games lol

#

Did manjaro work?

brisk lion
#

I'm at work, but I'll try it later and tell you

#

Normally it should work

#

Since the Manjaro team would not push an update to kill the kernel

brisk lion
#

Manjaro uses custom repos, so it is sensible to think that the problem might not happen on Manjaro

errant sentinel
#

Yeah. Lmk please.

brisk lion
brisk lion
#

It works

#

The KDE version of Manjaro being the best imo, from past experiences

#

Choose BTRFS at partitioning and you get system restore OOTB

brisk lion
#

Fall Guys, my favorite game, being a good test since it's a Windows-only game which requires Proton, Easy Anti Cheat...

#

The NVIDIA driver is preinstalled if you choose Boot with Proprietary drivers when launching the installation

NOTE: I am using the kernel 6.1 which is RC (I installed it) without issue

errant sentinel
#

Hmm interesting. Thanks. Maybe i will just downgrade my kernel for now.

brisk lion
#

Yeah you can try this and see if it works

brisk lion
#

Gaming works perfectly on my end

#

So I can stop tinkering

errant sentinel
#

LTS Kernel works perfectly for me :D

errant sentinel
#

@brisk lion u sure it didnt work for you? I used linux-lts + nvidia-lts

brisk lion
#

I use Intel 12th gen

#

And 12th gen's architecture only started being optimal since 5.18

brisk lion
errant sentinel
#

ah.

brisk lion
#

Putting a RC kernel in the stable repos is Manjaro's thing

#

But 5.15 LTS on Ubuntu and Mint kernel panicked on my end after NVIDIA

snow finch
#

oh it's at the top

#

okay

#

didn't expect it up here sorry 😛

#

so are you trying to get arch to work with it? and what have you tried so far?

brisk lion
#

Basically, the kernel, according to the logs, taints itself because the required key or signature in the nvidia module is missing

#

I even tried the Zen kernel, fully reinstalling Arch, I didn't try LTS because I want 6.x, being on 12th gen

#

But people tell me LTS fixes it ?!

#

This issue, for some reason, doesn't affect Manjaro on kernel 6.1 and NVIDIA 520. It happens on Garuda and Endeavour, and on Arch

snow finch
#

what driver were you using?

#

just nvidia? nvidia-open? nvidia-beta? nvidia-dkms?

brisk lion
#

nvidia

#

I also tried nvidia-dkms

#

And nvidia-beta

snow finch
brisk lion
#

The issue occured on 520 and 525 on Arch

brisk lion
#

My boot hangs at Triggering uevents..., not a black screen

#

Uninstalling the driver and installing Nouveau fixes it

#

But I tried gaming with Nouveau and the game would just not launch

snow finch
#

.s nvidia

snow finch
#

discord api moment, not allowing gifs

#

it's a shame you didn't try nvidia-open

#

if you try again try that

#

could also be some shit that's simply sorted out in a few months

#

by the way if manjaro DDOS the aur again the entire server's blaming you 😛

brisk lion
brisk lion
#

I use yay and pacman

#

Pamac is the DDOS tool

snow finch
#

the aur and manjaro are honestly a bad idea, as far as you can, avoid the aur with manjaro

brisk lion
#

I don't want Flatpk and Snp so I use the AUR, but I never had issues with it even after months in the past

snow finch
brisk lion
#

Yes I am aware of this

#

The only AUR packages I use so far are CLion, Spotify, MS Teams

snow finch
#

good, hopefully you're lucky with them

brisk lion
#

CLion which is my C++ IDE because I don't want VSCodium

#

My school has a free license with JetBrains, so...

#

Oh I have Protonup Qt from the AUR too

#

I have a bunch of packages tbh

snow finch
#

did you try running sudo mkinitcpio -P after installing the driver?

brisk lion
#

Of course

snow finch
#

well shit, I'm pretty sure scanning this thread you tried the traditional fixes

brisk lion
#

I did

#

I don't think the issue is on my end tbh

#

As I have always installed NVIDIA without issue on Arch since I started using it in 2021

snow finch
#

oh it's massively nvidia moment

brisk lion
hollow quail
#

Damn

#

Intel GPUs might be the way to go on Linux now tbh

#

Even AMD cards are having problems and have been for months without a fix

brisk lion
#

With a RTX 3080 Ti

#

And kernel 6.1

#

However if I do the same on Arch it breaks

#

And just doesn't boot

#

But yeah that could take long to solve on the Arch side, as we've seen with the ATI drivers

#

Maybe did kernel 6.1 fix the issue ?

#

Knowing I upgraded from 5.15 LTS to 6.1-rc Mainline

wild bone
#

ngl I hope Nvidia fixes this problem quickly since Microshit windows 11 keeps dying for no reason and I either have to restore point or reinstall fully windows 11

nimble epoch
#

Hey, whats the actual problem here?

#

I got 3080 on arch, 0 problems

nimble epoch
nimble epoch
snow finch
nimble epoch
wild bone
nimble epoch
#

Nonlts

wild bone
#

so linux-zen etc. or vanilla linux kernel

#

?

errant sentinel
#

For me lts works perfectly

#

zen doesnt

#

idk about vanilla

brisk lion
#

I can't use LTS

wild bone
#

so vanilla still doesnt work with proprietary drivers?

brisk lion
#

Nope

#

With 6.1 on Manjaro it works

#

But I don't think Arch has 6.1 available yet

wild bone
#

yeah i think its still 6.0.11

brisk lion
#

Why are they so slow with the kernel omg

wild bone
#

idk but ive heard its just 1 dude updating most packages

brisk lion
#

Why not put a linux-rc package in the repos

#

6.1 is not in the AUR either

#

Unless it's been updated yesterday

#

linux-git is out of date in the AUR

#

5.10-rc2

#

And I said 5 and not 6, so it's very outdated

wild bone
#

intresting

brisk lion
#

Now that I think about it I did try 6.1 on Arch using Manjaro's build of the kernel

#

It didn't fix the issue

#

While the exact same package on Manjaro, exact same damn kernel

#

Works

nimble epoch
wild bone
#

uhh

#

your using proprietary?

nimble epoch
wild bone
#

so i guess maybe nvidia signed it now

nimble epoch
#

what difference does it make?

brisk lion
#

When it didn't

nimble epoch
#

because his kernel doesnt allow signed modules or something?

brisk lion
#

It doesn't allow unsigned anymore

#

For some reason Manjaro's NVIDIA packages seem to be signed

#

Because on Manjaro 6.1 there's no issue but if I install Manjaro's 6.1 in Arch the kernel still complains, so I would think it's the NVIDIA in the Arch packages that is unsigned

snow finch
#

What I don’t understand is why so few people appear affected by this

errant sentinel
#

Mine was fixed by switching to linux-lts

nimble epoch
snow finch
nimble epoch
snow finch
nimble epoch
#

I mean this issue*

snow finch
nimble epoch
#

Because i disabled secureboot on my install (havent tried to setup it yet)

#

And nvidia works for me

granite flare
#

arch doesn't support secure boot by default

nimble epoch
snow finch
hollow treeBOT
#

Me Derp received a thank you cookie!

nimble epoch
#

Lemme read this thread again

brisk lion
#

My secure boot is off

nimble epoch
#

To be fair, i dont understand what is the problem. It does work for me a usual

brisk lion
#

I'm on Memejaro now and don't have this issue, what a meme

nimble epoch
#
  • what is the actual reaction when you try to boot? It hangs apparently, have you waited for a moment?
#

Nvidia apparently can hang on boot iirc (arch wiki has a fix for that iirc)

brisk lion
#

On my RTX 3060 Intel laptop

#

I installed Fedora KDE today

snow finch
brisk lion
#

And the driver installed, same driver, same kernel, without any issue

brisk lion
#

When for the driver to work you should need ibt=off

nimble epoch
#

I never did that

brisk lion
#

In /etc/default/grub

#

Since 5.18

nimble epoch
brisk lion
#

Otherwise it hangs on boot

brisk lion
#

In the boot parameters

snow finch
nimble epoch
#

I dont have it

snow finch
nimble epoch
brisk lion
#

Even on Fedora I need this parameter

#

On my NVIDIA RTX 30 devices

nimble epoch
#

I have 3080

#

All i have in boot params is quiet loglevel 3 and nvidia drm

brisk lion
#

I removed quiet

nimble epoch
#

Well that shouldnt matter its just for displaying logs, i guess?

brisk lion
#

Exactly

nimble epoch
#

So yeah

#

No ibt needed

#

Arch, latest kernel, 3080

#

So.. are you sure you followed arch wiki with nvidia install?

brisk lion
#

For me since 5.18 I need ibt=off

nimble epoch
#

ibt

brisk lion
#

It solves the problem with NVIDIA hanging

nimble epoch
#

Ohhh

brisk lion
#

If it happens

nimble epoch
#

Its cpu thing.

#

i dont need it because i have amd cpu

brisk lion
#

I have Intel

#

i9-12900K on desktop and i7-11800H on laptop and they both need ibt=off

nimble epoch
#

No need for that on amd cpu

brisk lion
#

Yeah you're on AMD you don't need it

#

My Arch laptop is AMD and doesn't need that

nimble epoch
#

Although.. on my xps 15 with 6th gen intel

#

It worked as well

brisk lion
#

It needs the amdgpu.ko kernel module tho

nimble epoch
#

Hm.. do i have latest microcode tho

brisk lion
#

For it's Vega iGPU

nimble epoch
brisk lion
#

My other laptop has the Intel iGPU off

nimble epoch
#

@brisk lion maybe your issue is cpu related?

#

Do you have intel ucode installed and in boot?

brisk lion
#

Yes

nimble epoch
#

Remove it and see if it boots? trollface

brisk lion
#

My PC isn't on Arch anymore

nimble epoch
#

Oh well

#

Either way. I dont think this is related to nvidia much.

brisk lion
#

It's been on Manjaro for 3 days

#

On 6.1-rc kernel

#

With NVIDIA 520

nimble epoch
#

Do you have intel microcode there tho?

brisk lion
#

Yes

nimble epoch
#

It may be arch only issue maybe?

brisk lion
#

That's what I think

#

But people think it's on my end

#

Manjaro build their own packages and kernels, so it's totally possible for them to be unaffected

nimble epoch
#

Last time i had it, no ibt needed

#

To make 960m onboard work

#

But i dont use it as primary gpu

#

Idk if that matters

brisk lion
#

I use my laptop's NVIDIA as only active GPU

#

And require ibt=off

nimble epoch
#

Does this matter here? It shouldnt

brisk lion
#

But Fedora works without issue rn on 6.0.11 and 520

brisk lion
nimble epoch
#

Right?

brisk lion
#

Yes

#

But the issue is not there with the parameter

#

So NVIDIA is used

nimble epoch
#

Anyway.. brb. Ima boot it, update it. And we will see.

brisk lion
#

I have a 11th Gen and a 12th Gen

#

So they both support IBT which must be disabled for NVIDIA to work

#

The issue only affects Intel 11th Gen and newer

#

And since 5.18

nimble epoch
#

alright

#

so:

  1. new intel issue not ibt-related
  2. ibt=off stopped working
#

anyway, booted my arch

#

on xps

#

lets goooo

#

@brisk lion is there a way to check if ibt is truely off?

#

also jesus 196 updates.. this will take a while

#

its done, no errors trollface

nimble epoch
#

so.. it works no problem...

brisk lion
#

But the log isn't the same with and without ibt=off

nimble epoch
#
  • apparently nvidia-open should work with ibt=on
brisk lion
nimble epoch
#

found no way to check that ibt is indeed off..

#

but, apparently nvidia-open works with ibt=on

brisk lion
#

Still, on Fedora there's no issue of hanging on boot at Triggering uevents...

nimble epoch
#

is it using nvidia prop driver? or the open one?

brisk lion
#

Proprietary

nimble epoch
#

if you install arch again i might help, but since you removed it no way to check

brisk lion
#

I'll use ext4 to try it tho because it's faster to mount in case of a chroot

#

And then when we get it to work I'll redo my BTRFS install

nimble epoch
brisk lion
#

With ext4 I just do mount /dev/nvme1n1p3 /mnt

#

And it mounts the / partition

brisk lion
#
/dev/nvme0n1p1  /boot/efi  512 MB  FAT16
/dev/nvme0n1p2  swap       2048 MB  
/dev/nvme0n1p3  /          Rest    ext4
#

That I will apply for the testing and troubleshooting install

#

Usually I do the same but replace ext4 with btrfs and create the @, @home and @var subvolumes inside the root partition

nimble epoch
brisk lion
#

Timeshift snapshots

brisk lion
#

Okay since I got time to come back to the issue today, I am going to retry a clean install of the Arch and see if the NVIDIA issue is fixed.

#

BTW this is the list of commands I run that lead to the system hanging at Triggering uevents.

Please note that it's always that way that I install Arch and NVIDIA, and I usually never got that hang on boot issue until recently.

These are the commands I run until the NVIDIA reboot to install Arch Linux

#

Also note that I have the exact same correct NVIDIA configuration on the working Manjaro install

brisk lion
snow finch
#

have you tried it without editing mkinitcpio?

brisk lion
#

Yes, it still won't boot with the same issue

#

However I haven't touched that issue in a few days, so I'll reinstall using my usual method and see if it's fixed, then resume on troubleshooting the issue.

wild bone
#

did arch not get 6.1 kernel still?

snow finch
wild bone
#

i guess

wild bone
brisk lion
#

But yeah I don't think it will change anything

#

Also I can assure the boot hanging doesn't come from this partitioning, since removing the NVIDIA driver reallows the system to boot

wild bone
#

oh wait your doing btrfs

brisk lion
#

This later to install Timeshift and Pacman's snapshot hook - Timeshift requires at least the @ subvolume to work properly

#

But as I said my boot issue isn't linked to the partitioning and mount points since it works without NVIDIA

wild bone
#

yeah i guess

granite flare
brisk lion
#

We tried it too

#
pacstrap /mnt base linux linux-{headers,firmware} base-devel pacman-contrib man-{db,pages,pages-fr} texinfo btrfs-progs systemd-sysvcompat intel-ucode
pacstrap /mnt zip unzip p7zip vim mc alsa-utils syslog-ng mtools dosfstools lsb-release exfatprogs bash-completion ntp cronie zsh nvidia nvidia-utils nvidia-settings lib32-nvidia-utils
``` Maybe passing it while installing the base system ?
snow finch
#

Why do you need Ntfs-3g?

brisk lion
#

Oh I can remove it, NTFS is in the kernel now

snow finch
#

Have you tried nvidia-open?

brisk lion
#

No, should I try it ?

wild bone
#

i have tried it like 2 weeks ago it dint work

#

might work now?

#

but that also was with 495 drivers i think

brisk lion
#

I haven't tried normal NVIDIA in two weeks

wild bone
#

nvidia nvidia-utils nvidia-settings lib32-nvidia-utils is this not normal?

brisk lion
#

It installs 32 and 64 bit versions of NVIDIA

#

32 bit required by Steam

wild bone
#

that still should be fine then

brisk lion
#

lib32-nvidia-utils being a dependency for Steam and other 32 bit apps

snow finch
wild bone
brisk lion
#

I'm getting the Arch ISO

brisk lion
#

Reinstalling with the drivers without the kernel modules in the mkinitcpio.conf doesn't change anything, the boot hangs at Triggering uevents...

brisk lion
#

I have chrooted into Arch from Manjaro's terminal (yes you can do that if you install the arch-install-scripts package), and checked the log

#

The log doesn't seem helpful at all

#

Module license taints kernel, how tf do I ignore the license

brisk lion
#

its as far as i can tell, a kernel issue.

brisk lion
brisk lion
# brisk lion

I found this issue in the journal, IDK if it's related

#

Low res, cant read

#

My screen is 1080p, there's no way I can make that bigger

#

First thing's first, i can see a tainted kernel error

#

The journal complains that the NVIDIA modules are not signed

#

Which makes no sense since secure boot is DISABLED

#

The kernel shouldn't block itself over an unsigned module

#

Arch has never blocked over my NVIDIA drivers until a few weeks ago

#

The kernel usually errors like that when you try to load a prop driver

#

Could you export the logs to something like pastebin or smthn

#

... paste

hybrid narwhalBOT
brisk lion
#

Fuck you

#

... pastebin

hybrid narwhalBOT
brisk lion
#

LOL

brisk lion
#

Also yes when I get home I'll export the logs and share them

brisk lion
#

No two kernels are ever the same.

#

Okay, but I didn't ask for Arch to enforce module licenses ?!

#

Nor signature

#

It used to not do it

#

Thats the kernel default behaviour 😛

#

It didn't do that on 5.16 on Arch with NVIDIA

#

It isnt supposed to happen, try installing the same drivers but from nvidia website

#

I tried and the driver just won't install

#

Why not

#

NVIDIA complains about Nouveau while Nouveau is not installed. I blacklisted it, then try rerunning the installer which fails with an unknown error

#

Also tried doing a full reinstall of Arch Linux to run into the same issue again, I tried the LTS kernel with nvidia-lts, the zen kernel with nvidia-dkms... All the same thing

errant sentinel
brisk lion
#

The .run installer?

#

Yes

#

Everytime I tried running that NVIDIA .run shit on every distro it never succeeded

#

Also the Arch wiki said to NOT use that

#

Idgaf about what arch wiki says

#

What did it error about

#

Give me the exact error

#

That was like 2 weeks ago

#

And I don't have access to the system rn. But it said that the kernel modules failed to compile, iirc

#

Despite linux-headers, required for kernel module compilation, being installed

#

The most extreme cases, you can try to configure your own kernel with the drivers built in and noveau disabled

#

It seems to be a problem on nvidia's side. There are so many reports on their forums.

#

Even gentoo masked their version and made the newer one opt in

brisk lion
#

But you can't deny the fact that Manjaro fixed that issue already trolled

#

Did they though

#

Is it the same version

#

Yes

#

Driver 525 on kernel 6.1

#

6.1????

#

Yes I installed the experimental kernel

#

How are you using an unreleased kernel

#

Uh, fhaf makes a difference in serup environments

#

My english died

#

Try rc candid's on both.

#

Kernel 6.1 releases tommorrow if i have the dates right

#

Ok yep confirmed tommorrow

brisk lion
#

Unless torvalds goes hyper and gets rc9

brisk lion
#

But 5.15 LTS on Arch gives me the issue

#

5.15 on Manjaro doesn't

#

Which makes me think a kernel tweak has been made somewhere

#

kernel differences yep.

brisk lion
#

I've been on 6.1 for 5 days already and haven't got any issue

#

Here ya go.

#

Mfs compile with gcc 😭

#

That is the patches they use and the config file contains their config options

brisk lion
#

It works with Nouveau, but not with NVIDIA

brisk lion
#

UPDATE: I tried installing a custom kernel and the NVIDIA driver for it, to see if it could fix the issue.

It did not fix the issue. I even tried without early loading the modules, and without the nvidia-drm.modeset=1 ibt=off boot parameters and it's always the same issue, stuck at Triggering uevents...

I even tried the simplest thing possible, just installing the mainline kernel and NVIDIA driver from Arch's repos, and it still fails. Zen still fails too.

nimble epoch
#

Can we go back, are you on arch? What happens?

#

Fresh install?

brisk lion
#

I remade a fresh install again

#

And installed the NVIDIA driver according to the Arch Wiki again

nimble epoch
brisk lion
#

No

nimble epoch
#

So you get no tty after boot?

brisk lion
#

The quiet is disabled so I can see the boot.

#

The boot hangs at the hooks of the kernel before booting the system

#

At Triggering uevents

#

If I uninstall the driver, or boot with nomodeset, the system boots normally

nimble epoch
#

Can you show me mkinitcpio.conf file? All of it?

#

Also driver is what? What packages?

brisk lion
#

The following drivers have been tried: 515, 520, 470, 525
The following kernels have been tried: 5.15 LTS,6.0.9,6.0.10,6.0.11,6.0.12,6.1.0,6.1.1,6.2

#

I've been getting this issue since kernel 6.0.9

nimble epoch
#

Latest driver, but what packages have you installed for nvidia?

brisk lion
#

nvidia and nvidia-dkms have been tried. nvidia-lts on the LTS kernel.

Kernel headers for the respective kernels are installed

#

Everything we have tried since the beggining of this thread still fails, and this thread's initial post is still valid

nimble epoch
#

Send content of mkinitcpio.conf file, ill brb

brisk lion
#

I'll boot into Manjaro which is on nvme0n1 and send the broken Arch's mkinitcpio.conf, Arch being on nvme1n1

nimble epoch
#

empty ok

brisk lion
#

Because Manjaro never had issues with the driver

#

Curiously

#

Same kernel and driver version

#

6.2 and 525

brisk lion
#

There is nothing in MODULES, but I also tried with nvidia nvidia_modeset nvidia_uvm nvidia_drm, since the Arch wiki says it can fix issues, and since it's what I always do, but it didn't help

#

I have chrooted into the install from Manjaro for easier troubleshooting

nimble epoch
#

change HOOKS to HOOKS=(base udev autodetect modconf block filesystems keyboard fsck)
MODULES to MODULES=( nvidia nvidia_modeset nvidia_uvm nvidia_drm ) and rebuild it, show output of rebuild pls

brisk lion
#

I will do it and show you but I already know it's gonna fail.

#

Since I already tried these MODULES in each kernel I tried

brisk lion
#

I will rebuild it for 6.1.1 too

nimble epoch
#

ok

#

try to boot

#

i guess

brisk lion
#

6.1 return an error

#

But I use 6.2

nimble epoch
#

show

#

im not sure 6.2 works, never tried it.

brisk lion
#

6.2 works

#

Lemme unmount the Arch and try booting it

nimble epoch
brisk lion
#

No need to, I can just tell you that it only complains about all the modules we added to be unexistent

#

While they are found for 6.2

brisk lion
#

I know lol, I'm an advanced user

#

I've been using Arch for a year, and researching the issue for 3 weeks

#

It worked perfectly fine until the update to 6.0.9

#

I forgot to regenerate GRUB so I have to re-chroot because it doesn't see 6.2

nimble epoch
#

idk what that locale error means tbh

brisk lion
#

I always get it, it's linked to the locale and not NVIDIA.

#

The system now boots further but hangs forther

nimble epoch
#

cant for a moment, hangs on what?

brisk lion
#

Finished Filesystem check on (a disk and its uuid)

nimble epoch
#

huh

#

whats your cmdline for grub?

#

@brisk lion

brisk lion
# nimble epoch whats your cmdline for grub?

loglevel=3 nvidia-drm.modeset=1 ibt=off

Also don't ask me to remove ibt=off, I have tried, it failed and it will always fail because it is required on 5.18+ and 12th gen Intel.

brisk lion
#

I have to go for a walk, I will explode from anger of fiddling around for 3 weeks. I will be back later

#

nvidia-drm.modeset=1, I've tried omitting it too

#

Same hang at the same place since the issue is not related to this boot parameter

nimble epoch
brisk lion
hollow treeBOT
#

Wayland enjoyer&&I use Win11BTW received a thank you cookie!

brisk lion
#

Thank you for the help

nimble epoch
#

np

brisk lion
#

BRUH

#

Reboot and now it works

#

I can now replace Manjaro with Arch after dinner

nimble epoch
#

show errors from journal tho

brisk lion
#

Yeah I will eat dinner and then go to it.

brisk lion
# brisk lion Reboot and now it works

Important to note that this kernel is a custom kernel tho, and the ones I've been using the past three weeks were stock.

I also implemented BTRFS built-in since I use BTRFS

brisk lion
#

But your help with the hooks fixed it

#

I wasn't the one who added the extra hooks

#

IDK why they appeared

nimble epoch
#

dont ask me lol

brisk lion
#

Technically I don't need ntfs-3g and btrfs-progs

#

Since I put both built-in in the kernel

granite flare
brisk lion
#

Unable to use the keyboard, I reboot, it kills itself again

#

I'll have to check the logs, I think it's the same peoprietary error

snow finch
brisk lion
snow finch
#

Nice timing

nimble epoch
brisk lion
#

I forgot to mention, if it can help, that I have, installed, the custom headers for the custom kernel

#

Since the headers are required to build kernel modules

brisk lion
#

Okay, so the boot logs complain that the kernel taints itself over licensing, since the NVIDIA modules are proprietary

#

But it shouldn't prevent the OS from booting

errant sentinel
#

@brisk lion if it works Noe please go ahead and append [SOLVED] to the name of this post.

brisk lion
#

It still remains unsolved

#

I also retried the mainline kernel and driver to run into the same issue again, same with LTS

errant sentinel
brisk lion
#

So the actual issue remains unsolved

errant sentinel
#

Oh.

brisk lion
#

Also the newer Manjaro ISO also kills itself in the exact same way lol

errant sentinel
#

So manjaro stopped working and then fixed itself?

brisk lion
#

I had to use a months old ISO and update the packages to the latest version

errant sentinel
#

Oof

#

Really strange issue

brisk lion
#

I know right

#

People on Arch who installed it before 6.0.9

#

And updated

#

Didn't get the issue either

errant sentinel
#

seems to be a skill issue

errant sentinel
#

Really weird tho.

brisk lion
#

If it was really that bad of a skill issue the issue wouldn't be unsolved after nearly 600 messages lmao

errant sentinel
#

Wdym? I was just joking

brisk lion
#

Considering Arch worked for me before 6.0.9

brisk lion
errant sentinel
#

That's why I crossed it out and said /j

#

Yeah, really weird.

#

What's the difference between an old and new manjaro iso?

brisk lion
#

If you installed Arch before kernel 6.0.9 and updated it to today's 6.1.1 with time, you won't run into the issue.

If you install Manjaro with an older 5.15 kernel before 6.0.9, and update to the latest versions of packages, it won't kill itself.

If you make a clean install of any Arch base including Manjaro with a kewrnel 6.0.9 or newer it will kill itself over NVIDIA.

nimble epoch
#

@brisk lion can you try to do stock install using stock nonlts kernel? its possible some things messed it up that added those extra hooks for example

brisk lion
nimble epoch
#

cough openssl patch cough

brisk lion
#

Problem solved

brisk lion
#

The problem is SOLVED. Now time to provide what I have done.

#
  • Removing the kms hook from the /etc/mkinitcpio.conf
#
  • Adding this:
#

[SOLVED] Unable to get NVIDIA to work on Arch

#

IN ADDITION TO THE NORMAL NVIDIA INSTALLATION PROCEDURES:

  • Installing the driver package provided by the same person who provided the custom kernel, choosing the DKMS method
  • Adding nvidia nvidia_modeset nvidia_uvm nvidia_drm to the MODULES line in /etc/mkinitcpio.conf
  • Adding nvidia-drm.modeset=1 ibt=off to the GRUB boot parameters
  • Following section 10 of NVIDIA Tips and Tricks (Arch Wiki) to preserve video memory after suspend
  • Regenerating the initcpio
  • Regenerating the GRUB file
  • Rebooting
nimble epoch
nimble epoch
nimble epoch
brisk lion
#

IBT being a new feature in these CPUs

nimble epoch
#

which why i said its the only unusual step

brisk lion
#

Oh I see

brisk lion
#

But it being present made the kernel kill itself over NVIDIA

#

Also sorry for closing the post yesterday, IDK how to use forums lol

nimble epoch
#

custom kernel only tho?

brisk lion
#

kms, not DKMS

#

Not the same thing

#

Yes my driver is installed using DKMS

#

But kms is unrelated

nimble epoch