Bug 1214224 - nvidia won't work after upgrade again
Summary: nvidia won't work after upgrade again
Status: RESOLVED INVALID
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: X11 3rd Party Driver (show other bugs)
Version: Current
Hardware: x86-64 openSUSE Tumbleweed
: P3 - Medium : Normal (vote)
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-13 14:22 UTC by Dmitry Markov
Modified: 2023-08-29 16:30 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
additional info (5.14 KB, text/plain)
2023-08-21 13:36 UTC, Dmitry Markov
Details
zypper update kernel & nvidia (1.15 MB, application/zstd)
2023-08-27 15:52 UTC, Dmitry Markov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Markov 2023-08-13 14:22:57 UTC
after upgrade nvidia driver not load

> [werwolf@home] ~  
> ❯ LANG=c zypper info kernel-default nvidia-driver-G06-kmp-default
> Repository 'KDE:Qt5' is out-of-date. You can run 'zypper refresh' as root to update it.
> Loading repository data...
> Reading installed packages...
> 
> 
> Information for package kernel-default:
> ---------------------------------------
> Repository     : repo-oss
> Name           : kernel-default
> Version        : 6.4.9-1.1
> Arch           : x86_64
> Vendor         : openSUSE
> Installed Size : 286.1 MiB
> Installed      : Yes
> Status         : out-of-date (version 6.3.9-1.1 installed)
> Source package : kernel-default-6.4.9-1.1.nosrc
> Upstream URL   : https://www.kernel.org/
> Summary        : The Standard Kernel
> Description    : 
>     The standard kernel for both uniprocessor and multiprocessor systems.
> 
> 
>     Source Timestamp: 2023-08-09 05:07:55 +0000
>     GIT Revision: 5b9ad204d9b588ce9f24cf685a1bb1e46b48ac2b
>     GIT Branch: stable
> 
> 
> Information for package nvidia-driver-G06-kmp-default:
> ------------------------------------------------------
> Repository     : NVIDIA
> Name           : nvidia-driver-G06-kmp-default
> Version        : 535.86.05_k6.4.3_1-10.1
> Arch           : x86_64
> Vendor         : obs://build.suse.de/Proprietary:X11:Drivers
> Installed Size : 162.9 MiB
> Installed      : Yes
> Status         : out-of-date (version 535.54.03_k6.3.9_1-10.13 installed)
> Source package : nvidia-driver-G06-535.86.05-10.1.nosrc
> Upstream URL   : https://www.nvidia.com/object/unix.html
> Summary        : NVIDIA graphics driver kernel module for GeForce 700 series and newer
> Description    : 
>     This package provides the closed-source NVIDIA graphics driver kernel
>     module for GeForce 700 series and newer GPUs.
> 
> 
> [werwolf@home] ~  
> ❯ inxi -Gxxx       
> Graphics:
>   Device-1: NVIDIA GP104 [GeForce GTX 1060 3GB] driver: nvidia v: 535.54.03
>     arch: Pascal pcie: speed: 8 GT/s lanes: 16 ports: active: none
>     off: DP-3,DVI-D-1,HDMI-A-1 empty: DP-1,DP-2 bus-ID: 02:00.0
>     chip-ID: 10de:1b84 class-ID: 0300
>   Device-2: Realtek FULL HD 1080P Webcam driver: snd-usb-audio,uvcvideo
>     type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 2-1.6:6
>     chip-ID: 0bda:58b0 class-ID: 0102 serial: 200901010001
>   Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
>     compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
>     display-ID: :0 screens: 1
>   Screen-1: 0 s-res: 3840x1080 s-dpi: 81 s-size: 1204x343mm (47.40x13.50")
>     s-diag: 1252mm (49.29")
>   Monitor-1: DP-3 mapped: DP-5 note: disabled pos: right model: Haier 43 TV
>     res: 1920x1080 hz: 60 size: N/A modes: max: 1920x1080 min: 640x480
>   Monitor-2: DVI-D-1 mapped: DVI-D-0 note: disabled pos: primary,left
>     model: BenQ GW2760HS serial: 68G05416SL0 res: 1920x1080 hz: 60 dpi: 82
>     size: 598x336mm (23.54x13.23") diag: 686mm (27") modes: max: 1920x1080
>     min: 640x480
>   Monitor-3: HDMI-A-1 mapped: HDMI-0 note: disabled pos: right model: LG
>     (GoldStar) IPS FULLHD res: 1920x1080 hz: 60 dpi: 102
>     size: 480x270mm (18.9x10.63") diag: 551mm (21.7") modes: max: 1920x1080
>     min: 640x480
>   API: OpenGL v: 4.6.0 NVIDIA 535.54.03 renderer: NVIDIA GeForce GTX 1060
>     3GB/PCIe/SSE2 direct-render: Yes


new kernel version: 6.4.9
driver for kernel version: k6.4.3
as far as I understand the nvidia driver is behind the kernel again. this happens quite often and constantly makes you want to speak loudly and obscenely about proprietary drivers.
Comment 1 hui 2023-08-13 17:01:24 UTC
Works flawlessly here....

ich@rennsemmel:~> LANG=c zypper info kernel-default nvidia-driver-G06-kmp-default
Loading repository data...
Reading installed packages...


Information for package kernel-default:
---------------------------------------
Repository     : Haupt-Repository (OSS)
Name           : kernel-default
Version        : 6.4.9-1.1
Arch           : x86_64
Vendor         : openSUSE
Installed Size : 286.1 MiB
Installed      : Yes
Status         : up-to-date
Source package : kernel-default-6.4.9-1.1.nosrc
Upstream URL   : https://www.kernel.org/
Summary        : The Standard Kernel
Description    : 
    The standard kernel for both uniprocessor and multiprocessor systems.


    Source Timestamp: 2023-08-09 05:07:55 +0000
    GIT Revision: 5b9ad204d9b588ce9f24cf685a1bb1e46b48ac2b
    GIT Branch: stable


Information for package nvidia-driver-G06-kmp-default:
------------------------------------------------------
Repository     : nVidia Graphics Drivers
Name           : nvidia-driver-G06-kmp-default
Version        : 535.86.05_k6.4.3_1-10.1
Arch           : x86_64
Vendor         : obs://build.suse.de/Proprietary:X11:Drivers
Installed Size : 162.9 MiB
Installed      : Yes
Status         : up-to-date
Source package : nvidia-driver-G06-535.86.05-10.1.nosrc
Upstream URL   : https://www.nvidia.com/object/unix.html
Summary        : NVIDIA graphics driver kernel module for GeForce 700 series and newer
Description    : 
    This package provides the closed-source NVIDIA graphics driver kernel
    module for GeForce 700 series and newer GPUs.

ich@rennsemmel:~> 

ich@rennsemmel:~> inxi -Gxxx 
Graphics:
  Device-1: NVIDIA GA102 [GeForce RTX 3080 Ti] vendor: Palit Microsystems
    driver: nvidia v: 535.86.05 arch: Ampere pcie: speed: 2.5 GT/s lanes: 16
    ports: active: none off: DP-3 empty: DP-1,DP-2,HDMI-A-1 bus-ID: 01:00.0
    chip-ID: 10de:2208 class-ID: 0300
  Display: x11 server: X.Org v: 21.1.8 with: Xwayland v: 23.1.2
    compositor: kwin_x11 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,vesa alternate: nouveau,nv
    gpu: nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 2560x1440 s-dpi: 108 s-size: 602x342mm (23.70x13.46")
    s-diag: 692mm (27.26")
  Monitor-1: DP-3 mapped: DP-4 note: disabled model: VG27B
    serial: N1LMQS064188 res: 2560x1440 dpi: 109 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") modes: max: 2560x1440 min: 640x480
  API: OpenGL v: 4.6.0 NVIDIA 535.86.05 renderer: NVIDIA GeForce RTX 3080
    Ti/PCIe/SSE2 direct-render: Yes
ich@rennsemmel:~>
Comment 2 Dmitry Markov 2023-08-21 13:36:33 UTC
Created attachment 868913 [details]
additional info

inxi -Gxxx
rpm -qa | grep kernel
rpm -qa | grep nvidia
dmesg -T | grep error

nvidia again not work
Comment 3 Stefan Dirsch 2023-08-26 12:50:18 UTC
Driver version numbers look consistent.

What happens if you run (as root)

lsmod

dmesg -c > /dev/null
modprobe nvidia
lsmod
dmesg
Comment 4 Dmitry Sidorov 2023-08-26 12:54:35 UTC
Me too, nvidia stops working with kernel version 6.4.11 and nvidia-driver-kmp 6.4.3
Comment 5 Dmitry Markov 2023-08-27 15:52:19 UTC
Created attachment 869044 [details]
zypper update kernel & nvidia

for experiment i decided to update only kernel & packages related to nvidia driver
the log of this action is already questionable: [attachment]
i see many errors & fails

and the result of trying to do `modprobe nvidia` looks like this:
[   91.469970] Loading of module with unavailable key is rejected


i had to compress the text file otherwise it was too big for bugzilla
Comment 6 Stefan Dirsch 2023-08-27 19:06:12 UTC
Looks like you're using Secureboot mode. During installation of the nvidia kernel module package the modules are built and signed with a freshly generated key. After installation you need to accept to add this key to the firmware. Seems you haven't done this. More details on

  https://en.opensuse.org/SDB:NVIDIA_drivers#Secureboot
Comment 7 Stefan Dirsch 2023-08-27 19:08:38 UTC
Please check this and let me know about the results.
Comment 8 Dmitry Markov 2023-08-29 16:11:05 UTC
(In reply to Stefan Dirsch from comment #7)
> Please check this and let me know about the results.

Well. it really helped. I am very ashamed that I did not think of checking the documentation myself, but in the 15 years that I have been using opensuse, nvidia has let me down so often that this time I could not even think that it was not a bad code or a forgotten assembly.
thanks for your help
Comment 9 Dmitry Markov 2023-08-29 16:11:56 UTC
maybe you should have added an echo with this information to the post install script in the package.
Comment 10 Stefan Dirsch 2023-08-29 16:30:52 UTC
Actually I can't change this.