#[Solved] nvidia doesn't work after Linux 6 upgrade
331 messages · Page 1 of 1 (latest)
Whats your nvidia driver version?
Some drivers didn't get kernel 6.0 support
Try installing linux-lts and linux-lts-headers and boot into lts kernel (might have to change GRUB_DEFAULT)
I am on nvidia nvs 540m that uses 390xx and when I checked nvidia-390xx-utils aur page I realised it hadn't gotten full Linux 6.0 support so I switched to lts and added lts to IgnorePKG for the time being
@tawny spoke
I use optimus-manager but the issue has been with nvidia drivers and not the manager
Well this happened before 6.0
I thought updating to 6.0 would fix it
I'm out right now so I'll do that when I get back home
Any chance you considered using optimus-manager instead? For me bumblebee never worked at all
Yeah this is what I used too, which is bbswitch underneath iirc
optimus-manager shouldn't have any issues, do you remeber your driver version?
Also you shouldn't be using bbswitch with optimus-manager, there is optimus-manager --switch for that
Yes but you can't just use bbswitch, optimus-manager uses it internally and both are different ways of handling
Ah
Just di optimus-manager --help
It also has a config file which you can edit to choose which cpu it should use on startup
Also there was optimus-manager-grub but that has stopped working recently as well
Edit: https://github.com/hakasapl/optimus-manager-grub/issues/2
That has been fixed
Too much info for a sick fox
I'll come back to this when I'm at home
Do you prefer to switch drivers after logging in or just selecting one when turning on?(i.e. selecting dedicated,hybrid or integrated at startup(boot) or selecting after logging in)
@tawny spoke you fixed it?
I forgor how xd
But I did one not that long ago
I do have two packages blacklisted tho
I need to blacklist another but I forgot how to lmfao, been a while since I did it
Also I'm still fresh to Linux
I am in your care
I should really clear out my package list, I got like 1100+, and a lot are garbage ones I never use
Is there a way to check "Has not be used in x amount of days" ?
Uh....I cannot type anything now
I have restarted my PC, shutdown and turn on
Uh.....
Foxy has broken her entire OS and needs help
Yeah other support ticket resolved this issue.
Ok that's cool, but I have a lot of issues rn
And half of them I don't even know why or what they are
So, saying ¨It's been solved" isn't helpful at all for me
me no nvidia
Welp
Also do ping me everytime you send a message after a while. I do not open discord unless mentioned.
I for some reason can't
What error does it show?
Also yes bloating is an issue, to fix that I just use rofi launcher and then see through the application list and whatever I think is not needed, i uninstall
Did I do it wrong?
Hm
What nvidia drivers you use?
I have no idea
yay -Qe | grep nvidia
Alright...
Figured
You can use it to check for bloat
Ahhh
You installed it through Pacman?
lspci | grep VGA
Run this
I feel quite defeated rn
The thing is, Linux 6.0 has broken most nviidia drivers
And nvidia isn't updating them
That's why I don't like nvidia 🙂
So I've heard
They will update it soon
Welp, laptop, so can't do much about that one
Till then just use lts kernel
I distinctly remember it getting stuck on this before
So just install both those packages,
It takes a long time to do that
It's hard when it shows zero feedback
Seems like you cancelled it while it was updating?
Uh hmm
Not this time
Feedback is not needed, it will output if there is something to output
Or if there is an error
But, something else happened? Idk
I can't tell if this is a good output or a bad output
The ambiguity is fucking my brain
It will say reinstall say yes
Nvidia is a pain. Because of closed source.
Thanks NVidia
I got to eat now, ttyl will ping back when I come
Aight
Till then do this and restart then try
When that all happens just run optimus-manager --status and see if it errors. If it doesn't then successs
Alright, thanks
Failed...
Oh restart
Nope, same error...
Gonna reinstall optimus-manager
Nope, same error
No need to reinstall optimus-manager
Share me output of
pacman -S linux-headers
Full output after it runs dkms-install
A lot of waiting but need to see output
@tawny spoke
Ok
Checked this file. It is because of the kernel 6 thing I mentioned.
But I'm on 5?
Run uname -R
Downgrading didn't work for me on Linux 5.13
So I just switched to Lts kernel for the time being
Well
Anyways,
Run this
history | grep grub
And send full output
If it doesn't work, run
su
Then enter password and then run that command again
@tawny spoke
🗿habits
So run the mkconfig command and then run grub-install command
Same as shown in output
In english?
I didn't know your grub path that's why told you to run su and then checking in history because atleast once you should've run that when installing.
Wait, you still in su right?
Ok then just do this instead
!14
Then after that runs show output and then do
!13
This would give you an option to boot into lts kernel in your boot menu
its or LTS?
Then after running both of these, restart and select lts
LTS
Long Term Support release.
This doesn't get much updates and is stable
Now restart and see if you get linux-lts in boot menu
If you only get 2 options, select advanced and then select lts kernel
The ! Is a bash syntax so with ! And a number you can run that specific command. Like !15 runs 15th command in history
You can use integrated GPU instead.
Hahahaha
No real need to use nvidia really unless you game
Good one
Also since you use arch Linux you have to do some DIY
Well I didn't get a 2070 laptop to watch YouTube
Otherwise if you are looking for something easier, use Zorin OS
I have used it and it worked great with nvidia drivers
Alright
I'm in lts
YUAAAAS
Worked right?
Told you, it's the Linux 6.0 thing
Fuck you Nvidia
Technically nvidia issue they didn't update
Now to be safe,
Just add linux-lts and linux-lts-headers to IgnorePKG
Where is ignorepkg
So that you don't end up accidentally upgrading it and breaking stuff
What text editor you use?
Kate
Vim? Nano?
Kate
Terminal based*
Ok use that, run
sudo kate /etc/pacman.conf
How should I seperate them?
If the windows is not an empty file, search Ignore in that file and then add linux-lts and linux-lts-headers to that
Yeah I found the file
Wdym
I'm in the pacman.conf
I only have obs in there
I'm just doing it in a text editor
Like this?
Aight
After doing it save it and run
cat /etc/pacman.conf | grep Ignore
And ensure that line is correct
Run?
Run what?
Oh
Seems correct
But when I do yay
It only shows OBS as an ignored package
If it says added Linux 6.p support or something
Now it will show linux-lts and linux-lts-headers there as well
It does not
Did you add OBS to IgnorePkg?
Yes
Check it every once in a while
Elaborate.
Share output
Oh, it will only show when there is an actually update to those packages
Ike let's say you are kn Linux 5 and have it ignored
ndi has an update and it's not showing
Do you want to update obs-ndi?
If you want to, remove it from ignored just remove it in that file
Yeah I know
No, very much not
The last OBS update broke nearly everything I had setup
So, OBS stays on 27
Keep an eye out for updates on that package, if you see it's updated.
Run full system upgrade,
Then boot into non lts kernel (Linux) and then boot into it and run optimus-manager --status
If it works out you can remove lts and lts-headers from IgnorePkg
I will definitely remember that when the time comes
On startup, do I have to select lts, or not?
Ah
Yes
I would like to change the default
If yes, share me a photo (using phone) of boot menu
Advanced or normal?
Just the normal screen?
Just send photo first
Of what
Normal
If it doesn't seem good then I will tell you to show of advanced
Whatever seems fine to you
I am looking for the boot grub entries which are the items in that menu
Ok click advanced and send photo
Try restarting and this time don't touch anything
Let it select default entry
Then run optimus manager status command
Lts is default?
No like
Since it's the first entry it seems default but let's confirm
5.15
Then lts is default
Cool
How
Also since you use Arch Linux keep in mind things might break very often
So I've learnt
Like less often (this happened the first time for nvidia)
It was like 28 oct or something
Before that my setup never breaked but it might break. So always just be ready.
Woo, proper GPU processing
In such cases, arch wiki and this sever are your best friends
Yea
Also always keep an eye out for full system upgrades
Arch wiki wasn't enough help for me for this one
If you had looked at output of when it updated nvidia, it would have shown you that
Because they are not responsible for nvidia irresponsibility
That's why I said this server is second option
Thing is, I didn't know where to look
It would have shown something like Xorg log and would have given yoh an idea
On the output of commands you run
I didn't look as well
In my case, my integrated GPU is literally blown up
So basically if nvidia doesn't work, my laptop will keep crashing
So I couldn't boot in for 2 days
And then I had to make arch Linux bootable usb and then chroot into my setup
And then had to run these commands to fix
That's why I took this thread because I exactly know the issue 🙂
Nice
To mask as solved just add [Solved] before the name of the thread
Rename the thread*
Also change thread name to this instead:
[Solved] nvidia doesn't work after Linux 6 upgrade
After that just let the thread archive and go to any other channel. It someone doesn't message here for some time it should archive the thread and you should be good.