Skip to main content
Topic: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440 (Read 1428 times) previous topic - next topic
0 Members and 4 Guests are viewing this topic.

NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

I recently had to downgrade to nvidia 440, because nvidia 450+ currently causes plasmashell to crash on my machine. While I haven't found others having issues related specifically to plasmashell, nvidia 450+ has been causing crashes in similar nature with other aspects of Plasma 5 for others: https://bbs.archlinux.org/viewtopic.php?id=258149 , https://bbs.archlinux.org/viewtopic.php?id=257327

However, while the downgrade made it so plasmashell could successfully start, nvidia isn't fully loading now. I seem to have all necessary packages installed (lib32-nvidia-utils lib32-opencl-nvidia nvidia-settings nvidia-utils cuda nvidia opencl-nvidia) at the same 440.100 version. Yet, most applications that utilize nvidia aren't recognizing it or something.
When I launch nvidia-settings, I get this:

"ERROR: Unable to load info from any available system"

When I run "prime-run glxgears", I get this:

"X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  152 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  25
  Current serial number in output stream:  26"

I am currently using nvidia-440xx-dkms and opencl-nvidia-440xx. When I install the non-dkms nvidia package from the world repository, my system isn't bootable.
Any ideas? I don't know where to turn next, as the typical solution of just using the newest drivers isn't an option with the plasmashell crashing issue. Also, I had no issues like this with nvidia 440 before upgrading to nvidia 450, and nvidia 450/455 had no issues beyond crashing plasmashell, so it's further likely something is specifically amuck with the downgrade.

- xorg.0: https://bin.snopyta.org/?9af7cd3c75bb9769#BUGrzK3k7jKzRjoZQassds9EeE3uHT63np4NAxdHx129

- xorg.1: https://bin.snopyta.org/?37685b34298df039#62ecrihUnEmzzmonMZK2VsqRRdd6WgvzUJiyQ8V3TXQz

- lspci -v: https://bin.snopyta.org/?d0af3f0a1839132e#DbmAA1Ljaa3QFrbdQ6jbBtYfjmVDozrEmi7JdyqiF1ot

- output of "DRI_PRIME=1 glxinfo | grep "OpenGL renderer"":
Code: [Select]
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)

Let me know if you need more info.

 

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #1
Have you tried prime-select?

Code: [Select]
sudo prime-select nvidia

Also check to see if there's a xorg.conf left over from the 450 driver in your system.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #2
Quote
  Kernel modules: nouveau, nvidia_drm, nvidia
Quote
(II) LoadModule: "nouveau"
[     8.632] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[     8.632] (II) Module nouveau: vendor="X.Org Foundation"
Why you load nvidia and noveau drivers together? use nvidia OR nouveau. uninstall nouveau and try start your system again.


P.S: maybe can help: https://wiki.archlinux.org/index.php/NVIDIA_Optimus

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #3
Have you tried prime-select?

Code: [Select]
sudo prime-select nvidia

Also check to see if there's a xorg.conf left over from the 450 driver in your system.
I've never had prime-select work on Arch. Its output is "sudo: prime-select: command not found". I used it on my last Ubuntu based distro. When I switched to Artix, I assumed the command just wasn't a thing because the default setup doesn't have NVIDIA directly render everything, like is the case with Ubuntu based distros.
There definitely is no leftover xorg.conf, unfortunately.
Why you load nvidia and noveau drivers together? use nvidia OR nouveau. uninstall nouveau and try start your system again.


P.S: maybe can help: https://wiki.archlinux.org/index.php/NVIDIA_Optimus
Doh! I made specific effort to blacklist nouveau as one of my first steps in troubleshooting, assuming that the nouveau package was removed long ago. Somehow, in the midst of downgrading stuff, it was reinstalled. I'll see if removing the package grants any luck.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #4
If you need to downgrade nvidia driver it is better to install older dkms version (you can find it somewhere in the archive) due to kernel.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #5
Removing nouveau did nothing :/
Though maybe I have not blacklisted it correctly. As the output of "DRI_PRIME=1 glxinfo | grep "OpenGL renderer"" is
Code: [Select]
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
If you need to downgrade nvidia driver it is better to install older dkms version (you can find it somewhere in the archive) due to kernel.

I've had "more" luck with dkms than non-dkms. I currently have nvidia-440xx-dkms and opencl-nvidia-440xx installed.

I'll post the output of "startx" next time it fails.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #6
It's quite probable the xorg is just autoprobing drivers in the log. It can't find nouveau hence why it's not loading the driver (which is a good thing in this case). No idea about this particular issue though.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #7
It's quite probable the xorg is just autoprobing drivers in the log. It can't find nouveau hence why it's not loading the driver (which is a good thing in this case). No idea about this particular issue though.
Ah, okay. What do you think of the glxinfo output?
Code: [Select]
libGL error: failed to create dri screen
libGL error: failed to load driver: nouveau
OpenGL renderer string: Mesa Intel(R) HD Graphics 630 (KBL GT2)
Could the "failed to load driver: nouveau" be caused by some sort of misconfiguration, or is it just something like autoprobing in the logs?

Here's a more recent Xorg.0.log. I'm pretty sure nothing has changed, but just in case: https://bin.snopyta.org/?12761e83e1c68813#3JY1XHDDwCFXRxeqcx6yXR5RLx9QyUMRcqoHaCBat6WJ

A system reinstall where I just install nvidia-440xx-dkms from the start would bypass all this baloney promptly. However, I don't have a drive to back everything up onto. I know it's possible to reinstall without touching /home- but I'm just not sure how. This seems useful. But, any other advice on reinstalling just the root portion would be appreciated.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #8
Somehow, it's loading intel and vesa? I guess you have an optimus machine here? I see there are two cards loaded.

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #9
in your log missing load "nvidia", so check, if nvidia-440xx-dkms is really properly compiled and installed.
please add here
Code: [Select]
dmesg 

can you define, what you excpect from your system? should start Xorg intel card, and use nvidia for 3D, or you want only nvidia or both? there are more options, and everything must be set up correctly.  see the wiki about Optimus

check your /etc/X11/xorg.conf, if really right configured

Re: NVIDIA not loading properly after downgrade from NVIDIA 450/455 to 440

Reply #10
Somehow, it's loading intel and vesa? I guess you have an optimus machine here? I see there are two cards loaded.
Yes, I'm on an optimus laptop. Intel is my VGA controller and nvidia is my 3D controller.
in your log missing load "nvidia", so check, if nvidia-440xx-dkms is really properly compiled and installed.
please add here
Code: [Select]
dmesg 

can you define, what you excpect from your system? should start Xorg intel card, and use nvidia for 3D, or you want only nvidia or both? there are more options, and everything must be set up correctly.  see the wiki about Optimus
You might be on to something there, as my system fails to boot with the nvidia package installed. But, it boots fine with nvidia-440xx-dkms. That might mean that, when nvidia-440xx-dkms is, apparently, brokenly installed, X just starts with my Intel gpu. But, with normal nvidia, it actually tries to load the driver, and fails.
When I have the nvidia-440xx-dkms package installed, this is the output of dmesg, which further incites that the driver is improperly installed: https://bin.snopyta.org/?5ee8e370562fe812#HnXNv1nX5dnWdCypMy7bWQy5UfkrYrH2dWfSSyqLyqUQ
After X crashes on boot, here is what the output of "startx" looks like when I have nvidia package installed:
https://files.catbox.moe/tbm3ns.JPG
https://files.catbox.moe/8o3l45.JPG
It's worth noting I get no "error code 10" or the like when I install the dkms version. The kernel and the driver tell me everything completed successfully in the output.
Quote
check your /etc/X11/xorg.conf, if really right configured
I don't have one.