Small update regarding differences of the library files.
```
file  /usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.390.157 
/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.390.157 
/usr/lib/x86_64-linux-gnu/tls/libnvidia-tls.so.390.157: ELF 64-bit LSB shared 
object, x86-64, version 1 (SYSV), dynamically linked, for GNU/Linux 2.3.99, 
stripped
/usr/lib/x86_64-linux-gnu/libnvidia-tls.so.390.157:     ELF 64-bit LSB shared 
object, x86-64, version 1 (SYSV), dynamically linked, for GNU/Linux 2.2.5, 
stripped
```

As it seems difference is in binary api spec as Nvidia describes it in:
https://download.nvidia.com/XFree86/Linux-x86_64/1.0-7174/README.txt:
```
Q: I want to use Valgrind with OpenGL applications, but my
   distribution uses ELF TLS, and Valgrind cannot yet deal with NVIDIA's
   ELF TLS OpenGL.
 
A: You can set the environment variable LD_ASSUME_KERNEL to something
   below "2.3.99" (for example: `export LD_ASSUME_KERNEL 2.3.98`).
 
   NVIDIA's OpenGL libraries contain an OS ABI ELF note that indicates
   the minimum kernel version that is required to use the library.
   The ELF TLS OpenGL libraries have an OS ABI of 2.3.99 (the first
   Linux kernel that contained the necessary LDT support for ELF TLS),
   while the non ELF TLS OpenGL libraries contain an OS ABI of 2.2.5.

   The run-time loader will not load libraries with an OS ABI greater
   than the current kernel version.  The LD_ASSUME_KERNEL environment
   variable can be used to override the kernel version that the run-time 
   loader uses in this test.

   By setting LD_ASSUME_KERNEL to any kernel version below 2.3.99,
   you can force the loader to not use the ELF TLS OpenGL libraries,
   and fall back to the regular OpenGL libraries.

   If, for some reason, you need to remove this OS ABI note from the
   NVIDIA OpenGL libraries, you can do so by passing the .run file the
   "--no-abi-note" option during installation.


```

so 2.3.99 version (libnvidia-tls.so.390.157 and others?) seems to be
right one, as long a kernel above 2.3.99 is ran.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to nvidia-graphics-drivers-390 in Ubuntu.
https://bugs.launchpad.net/bugs/2016459

Title:
  NVRM: RmInitAdapter failed! , failed to copy vbios to system memory

Status in nvidia-graphics-drivers-390 package in Ubuntu:
  Confirmed

Bug description:
  Hi, just performed a do-release_upgrade -d to try 23.10 on my lenovo T430 
laptop with Nvidia chipset (NVIDIA NVS 5200M).
  Upgrade went smooth, but noticed my external displays where not seen. a 
checkup shows nvidia-settings doesn't show full as usual, and noticed messages 
in recarding NVRM which i had never before.

  ```
  [35057.710742] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
  [35057.710792] NVRM: rm_init_adapter failed for device bearing minor number 0
  [35060.706390] NVRM: failed to copy vbios to system memory.
  [35060.706501] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
  [35060.706562] NVRM: rm_init_adapter failed for device bearing minor number 0
  [35063.708929] NVRM: failed to copy vbios to system memory.
  [35063.709041] NVRM: RmInitAdapter failed! (0x30:0xffff:663)
  [35063.709087] NVRM: rm_init_adapter failed for device bearing minor number 0

  ```

  searching for nvidia
  ```
  2023-04-16T22:15:49.402742+02:00 T430-i7 kernel: [   14.428429] nvidia: 
loading out-of-tree module taints kernel.
  2023-04-16T22:15:49.402743+02:00 T430-i7 kernel: [   14.428443] nvidia: 
module license 'NVIDIA' taints kernel.
  2023-04-16T22:15:49.402757+02:00 T430-i7 kernel: [   14.528477] 
nvidia-nvlink: Nvlink Core is being initialized, major device number 234
  2023-04-16T22:15:49.402845+02:00 T430-i7 kernel: [   14.529212] nvidia 
0000:01:00.0: enabling device (0000 -> 0003)
  2023-04-16T22:15:49.402847+02:00 T430-i7 kernel: [   14.529674] nvidia 
0000:01:00.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=none:owns=none
  2023-04-16T22:15:49.402857+02:00 T430-i7 kernel: [   14.589081] 
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  
390.157  Wed Oct 12 09:15:25 UTC 2022
  2023-04-16T22:15:49.402870+02:00 T430-i7 kernel: [   14.619491] [drm] 
[nvidia-drm] [GPU ID 0x00000100] Loading driver
  2023-04-16T22:15:49.402901+02:00 T430-i7 kernel: [   14.657436] 
[drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed 
to allocate NvKmsKapiDevice
  2023-04-16T22:15:49.402903+02:00 T430-i7 kernel: [   14.659661] 
[drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 
0x00000100] Failed to register device
  2023-04-16T22:15:49.402988+02:00 T430-i7 kernel: [   15.433547] nvidia-uvm: 
Loaded the UVM driver in 8 mode, major device number 511
  2023-04-16T22:15:49.402993+02:00 T430-i7 kernel: [   15.536785] audit: 
type=1400 audit(1681676145.574:3): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="nvidia_modprobe" pid=2406 comm="apparmor_parser"
  2023-04-16T22:15:49.403000+02:00 T430-i7 kernel: [   15.536790] audit: 
type=1400 audit(1681676145.574:4): apparmor="STATUS" operation="profile_load" 
profile="unconfined" name="nvidia_modprobe//kmod" pid=2406 
comm="apparmor_parser"
  2023-04-16T22:15:49.403188+02:00 T430-i7 kernel: [   18.933794] nvidia-uvm: 
Unloaded the UVM driver in 8 mode
  2023-04-16T22:15:49.403194+02:00 T430-i7 kernel: [   18.987254] 
nvidia-modeset: Unloading
  2023-04-16T22:15:49.403195+02:00 T430-i7 kernel: [   19.023265] 
nvidia-nvlink: Unregistered the Nvlink Core, major device number 234
  2023-04-16T22:15:49.403218+02:00 T430-i7 kernel: [   19.328850] 
nvidia-nvlink: Nvlink Core is being initialized, major device number 234
  2023-04-16T22:15:49.654976+02:00 T430-i7 kernel: [   19.608711] nvidia 
0000:01:00.0: enabling device (0000 -> 0003)
  2023-04-16T22:15:49.654996+02:00 T430-i7 kernel: [   19.608847] nvidia 
0000:01:00.0: vgaarb: changed VGA decodes: 
olddecodes=none,decodes=none:owns=none
  2023-04-16T22:15:49.720716+02:00 T430-i7 systemd[1]: Starting 
nvidia-persistenced.service - NVIDIA Persistence Daemon...
  2023-04-16T22:15:49.723994+02:00 T430-i7 nvidia-persistenced: Verbose syslog 
connection opened
  2023-04-16T22:15:49.724337+02:00 T430-i7 nvidia-persistenced: Now running 
with user ID 139 and group ID 155
  2023-04-16T22:15:49.724508+02:00 T430-i7 systemd[1]: Started 
nvidia-persistenced.service - NVIDIA Persistence Daemon.
  2023-04-16T22:15:49.724577+02:00 T430-i7 nvidia-persistenced: Started (3602)
  2023-04-16T22:15:49.724717+02:00 T430-i7 nvidia-persistenced: Received signal 
15
  2023-04-16T22:15:49.724786+02:00 T430-i7 nvidia-persistenced: PID file 
unlocked.
  2023-04-16T22:15:49.724848+02:00 T430-i7 nvidia-persistenced: PID file closed.
  2023-04-16T22:15:49.724908+02:00 T430-i7 systemd[1]: Stopping 
nvidia-persistenced.service - NVIDIA Persistence Daemon...
  2023-04-16T22:15:49.724979+02:00 T430-i7 nvidia-persistenced: The daemon no 
longer has permission to remove its runtime data directory 
/var/run/nvidia-persistenced
  2023-04-16T22:15:49.725032+02:00 T430-i7 nvidia-persistenced: Shutdown (3602)
  2023-04-16T22:15:49.729555+02:00 T430-i7 systemd[1]: 
nvidia-persistenced.service: Deactivated successfully.
  2023-04-16T22:15:49.729889+02:00 T430-i7 systemd[1]: Stopped 
nvidia-persistenced.service - NVIDIA Persistence Daemon.
  2023-04-16T22:15:49.730974+02:00 T430-i7 kernel: [   19.685259] 
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  
390.157  Wed Oct 12 09:15:25 UTC 2022
  2023-04-16T22:15:49.751140+02:00 T430-i7 kernel: [   19.700617] [drm] 
[nvidia-drm] [GPU ID 0x00000100] Loading driver
  2023-04-16T22:15:49.778997+02:00 T430-i7 kernel: [   19.733083] 
[drm:nv_drm_load [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed 
to allocate NvKmsKapiDevice
  2023-04-16T22:15:49.778998+02:00 T430-i7 kernel: [   19.733404] 
[drm:nv_drm_probe_devices [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 
0x00000100] Failed to register device
  2023-04-16T22:15:49.913788+02:00 T430-i7 kernel: [   19.865100] nvidia-uvm: 
Loaded the UVM driver in 8 mode, major device number 511
  2023-04-16T22:15:49.919685+02:00 T430-i7 systemd-udevd[1030]: nvidia_uvm: 
Process '/sbin/create-uvm-dev-node' failed with exit code 1.
  2023-04-16T22:15:49.920218+02:00 T430-i7 systemd-udevd[1010]: nvidia: Process 
'/usr/bin/nvidia-smi' failed with exit code 6.
  2023-04-16T22:15:49.921522+02:00 T430-i7 systemd-udevd[1010]: nvidia: Process 
'/bin/mknod -m 666 /dev/nvidiactl c 195 255' failed with exit code 1.
  2023-04-16T22:15:49.923784+02:00 T430-i7 systemd-udevd[1010]: nvidia: Process 
'/bin/mknod -m 666 /dev/nvidia0   c 195 0' failed with exit code 1.
  2023-04-16T22:16:12.059920+02:00 T430-i7 systemd[7403]: Starting 
app-nvidia\x2dsettings\x2dautostart@autostart.service - NVIDIA X Server 
Settings...
  2023-04-16T22:16:12.221263+02:00 T430-i7 systemd[7403]: Started 
app-nvidia\x2dsettings\x2dautostart@autostart.service - NVIDIA X Server 
Settings.

  ```

  ProblemType: Bug
  DistroRelease: Ubuntu 23.04
  Package: linux-image-generic 6.2.0.20.20
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.26.1-0ubuntu2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC2:  arjan      7423 F.... wireplumber
   /dev/snd/controlC0:  arjan      7423 F.... wireplumber
   /dev/snd/controlC1:  arjan      7423 F.... wireplumber
   /dev/snd/seq:        arjan      7411 F.... pipewire
  CasperMD5CheckResult: unknown
  CurrentDesktop: KDE
  Date: Mon Apr 17 07:57:11 2023
  HibernationDevice:
   #RESUME=UUID=f520f776-6e07-49a7-9160-d7a23e936dd9
   #RESUME=/dev/mapper/ubuntu--vg-swap_1
   RESUME=/dev/mapper/ubuntu--vg-swap_encrypted
  InstallationDate: Installed on 2019-01-25 (1542 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  MachineType: LENOVO 2349G7G
  ProcFB: 0 i915drmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.2.0-20-generic 
root=/dev/mapper/ubuntu--vg-root ro 
resume=/dev/mapper/ubuntu--vg-swap_encrypted quiet splash scsi_mod.use_blk_mq=1 
intel_iommu=on mitigations=off crashkernel=512M-:192M vt.handoff=7
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  RelatedPackageVersions:
   linux-restricted-modules-6.2.0-20-generic N/A
   linux-backports-modules-6.2.0-20-generic  N/A
   linux-firmware                            20230323.gitbcdcfbcf-0ubuntu1
  SourcePackage: linux
  UpgradeStatus: Upgraded to lunar on 2023-04-16 (0 days ago)
  dmi.bios.date: 08/07/2019
  dmi.bios.release: 2.82
  dmi.bios.vendor: LENOVO
  dmi.bios.version: G1ETC2WW (2.82 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 2349G7G
  dmi.board.vendor: LENOVO
  dmi.board.version: Not Defined
  dmi.chassis.asset.tag: No Asset Information
  dmi.chassis.type: 10
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Not Available
  dmi.ec.firmware.release: 1.14
  dmi.modalias: 
dmi:bvnLENOVO:bvrG1ETC2WW(2.82):bd08/07/2019:br2.82:efr1.14:svnLENOVO:pn2349G7G:pvrThinkPadT430:rvnLENOVO:rn2349G7G:rvrNotDefined:cvnLENOVO:ct10:cvrNotAvailable:skuLENOVO_MT_2349:
  dmi.product.family: ThinkPad T430
  dmi.product.name: 2349G7G
  dmi.product.sku: LENOVO_MT_2349
  dmi.product.version: ThinkPad T430
  dmi.sys.vendor: LENOVO

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-390/+bug/2016459/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to