latest nvidia drivers locks resolution

Today I received some updates on nvidia drivers (Leap.2), and after that the resolutions break.
It is lock as 640*480. nvidia-setting doesnt start, and nvidia-smi said the library/driver not match.

My pc has only one grafic card, Nvidia driver was installed as the wiki instruction via zypper. Any ideas/suggestions are really appreciated.

~ $ sudo lspci | grep VGA
04:00.0 VGA compatible controller: NVIDIA Corporation GP107 [GeForce GTX 1050 Ti] (rev a1)
~ $ zypper se -ir NVIDIA
Loading repository data...
Reading installed packages...

S  | Name                      | Summary             | Type
---+---------------------------+---------------------+--------
i  | nvidia-computeG05         | NVIDIA driver for-> | package
i  | nvidia-gfxG05-kmp-default | NVIDIA graphics d-> | package
i  | nvidia-glG05              | NVIDIA OpenGL lib-> | package
i+ | x11-video-nvidiaG05       | NVIDIA graphics d-> | package

~ $ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

~ [255] $ nvidia-settings

ERROR: An internal driver error occurred


ERROR: Unable to load info from any available system

Possibly a similar problem here https://forums.opensuse.org/showthread.php/541474-Installed-nVidia-propiertary-driver-couldn-t-adjust-screen-resolution/page2
If there is a version mismatch, please show the result of:

zypper se -is nvidia

and, BTW, welcome to the Forums!

@OrsoBruno Thanks for the kind and quick reply.

I quickly checked the other thread, however, currently no solution there.

nvidia-computeG05 is the new driver, and it might breaks something. Previously it is not included (if I remembered correctly.)


S  | Name                      | Type    | Version                            | Arch   | Repository
---+---------------------------+---------+------------------------------------+--------+-----------
i  | nvidia-computeG05         | package | 450.57-lp152.28.1                  | x86_64 | NVIDIA
i  | nvidia-gfxG05-kmp-default | package | 450.57_k5.3.18_lp152.19-lp152.28.1 | x86_64 | NVIDIA
i  | nvidia-glG05              | package | 450.57-lp152.28.1                  | x86_64 | NVIDIA
i+ | x11-video-nvidiaG05       | package | 450.57-lp152.28.1                  | x86_64 | NVIDIA


Unless something changed recently, nvidia-compute is only needed when you need OpenCL via the graphics chip. You may try to uninstall that and see if you revert to the correct behaviour before the update.
nvidia-compute had permission problems in the past, preventing proper operation, but I thought that problem was solved long ago…

nvidia-computeG05 is needed for x11-video-nvidiaG05, see below. And what about the nvidia-glG05, it seems unrelevent to
x11-video-nvidiaG05, should I uninstall it?


~ $ sudo zypper rm nvidia-computeG05
[sudo] password for root:
Reading installed packages...
Resolving package dependencies...

The following 2 packages are going to be REMOVED:
  nvidia-computeG05 x11-video-nvidiaG05

2 packages to remove.
After the operation, 386.5 MiB will be freed.


~ [104] $ sudo zypper rm nvidia-glG05
Reading installed packages...
Resolving package dependencies...

The following package is going to be REMOVED:
  nvidia-glG05

1 package to remove.
After the operation, 126.3 MiB will be freed.

Hi
See https://bugzilla.opensuse.org/show_bug.cgi?id=1174204 if it works (or doesn’t), post back in the bug report.

It seems all nvidia packages will be removed, do you mean only remove nvidia-gfxG05-kmp-default but keep others, how to do it?
Or do you mean completely remove nvidia and re-installed it?

/l/modules [4] $ sudo zypper rm  nvidia-gfxG05-kmp-default
Reading installed packages...
Resolving package dependencies...

The following 4 packages are going to be REMOVED:
  nvidia-computeG05 nvidia-gfxG05-kmp-default nvidia-glG05 x11-video-nvidiaG05

4 packages to remove.
After the operation, 575.3 MiB will be freed.
Continue? [y/n/v/...? shows all options] (y): v

The following 4 packages are going to be REMOVED:
  nvidia-computeG05          450.57-lp152.28.1
  nvidia-gfxG05-kmp-default  450.57_k5.3.18_lp152.19-lp152.28.1
  nvidia-glG05               450.57-lp152.28.1
  x11-video-nvidiaG05        450.57-lp152.28.1

4 packages to remove.
After the operation, 575.3 MiB will be freed.

Hi
Yes, I would remove them all, clean up as per the bug report and re-install.

@malcolmlewis, the solution from bugzilla works here, i.e., remove all nividia driver, then find /lib/modules -name “nvidia*.ko” -delete, reboot, reinstall nvidia.
Thank you all for help.

ps. I didn’t find a button to edit the title. Do I need to add [SOLVED] to title.?

No, we don’t use that here. Nice to read you are good to go again.