NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1) does not work on Ubuntu / Debian with 340.108

Hi there,

I’m trying to bring back to life a old laptop that I have with Linux. Unfortunately, the Graphics card was not working with the nouveau, the only way to boot it successfully (in order to make changes to the driver) was by adding nomodeset to the linux cmdline.

The Distro that I installed (based on Debian testing) didn’t support the nvidia-legacy-304xx-driver out of the box, so I tried to use some packages from Debian sid which didn’t work. I though it might have been an incompatibility issue (still took notes of the errors I was having).

Then I tried to install Debian Buster (to prevent using the testing or unstable) and even though the driver is tested with this release, it didn’t work either. I had the same errors as before. At this point and after reading through some posts on this forum, I though the GPU was dead or not having any power.

So I decided to install (just to derisk the GPU being dead) with Wgindows 10 and Windows 7. Both worked with the driver advised by the NVIDIA’s page. So def the GPU is not dead.

Next I tried it out with Ubuntu as I’ve seen there’s a lot of support around old hardware. The results were the exact same as the Debian and the other Distro.

Seems like the best option that I have is to ask the great minds of this forum for some guidance :D
Do you have any ideas of what it might be?


Info:

  • BIOS does not include any option to allow decoding of the GPU memory over 4G

  • I only tried 340.108 and newer, didn’t attempt with older 340 drivers

  • Behavior and output errors were the same on all distros

  • lspci

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 671MX
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS968 [MuTIOL Media IO] (rev 01)
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 IDE Controller (rev 01)
00:03.0 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.1 USB controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
00:03.3 USB controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] 191 Gigabit Ethernet Adapter (rev 02)
00:05.0 SATA controller: Silicon Integrated Systems [SiS] AHCI IDE Controller (0106) (rev 03)
00:06.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:07.0 PCI bridge: Silicon Integrated Systems [SiS] PCI-to-PCI bridge
00:09.0 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller
00:09.1 SD Host controller: ENE Technology Inc ENE PCI SmartMedia / xD Card Reader Controller
00:09.3 FLASH memory: ENE Technology Inc ENE PCI Secure Digital / MMC Card Reader Controller
00:0f.0 Audio device: Silicon Integrated Systems [SiS] Azalia Audio Controller
01:00.0 VGA compatible controller: NVIDIA Corporation G98M [GeForce 9300M GS] (rev a1)
  • nvidia-smi -q
Unable to determine the device handle for GPU 0000:01:00.0: The NVIDIA kernel module detected an issue with GPU interrupts.Consult the "Common Problems" Chapter of the NVIDIA Driver README for
details and steps that can be taken to resolve this issue.
  • dmesg
[  219.269875] caller os_map_kernel_space+0x94/0xd0 [nvidia] mapping multiple BARs
[  223.664089] NVRM: RmInitAdapter failed! (0x12:0x2b:1915)
[  223.664136] NVRM: rm_init_adapter failed for device bearing minor number 0
[  223.664214] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  235.100454] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c4000-0x000c7fff window]
[  235.100476] caller os_map_kernel_space+0x94/0xd0 [nvidia] mapping multiple BARs
[  239.523450] NVRM: RmInitAdapter failed! (0x12:0x2b:1915)
[  239.523496] NVRM: rm_init_adapter failed for device bearing minor number 0
[  239.523575] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
[  617.970975] resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c4000-0x000c7fff window]
[  617.970996] caller os_map_kernel_space+0x94/0xd0 [nvidia] mapping multiple BARs
[  622.395757] NVRM: RmInitAdapter failed! (0x12:0x2b:1915)
[  622.395868] NVRM: rm_init_adapter failed for device bearing minor number 0
[  622.395946] NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
  • journalctl --follow
dez 31 09:59:08 l-h4x0r kernel: resource sanity check: requesting [mem 0x000c0000-0x000fffff], which spans more than PCI Bus 0000:00 [mem 0x000c4000-0x000c7fff window]
dez 31 09:59:08 l-h4x0r kernel: caller os_map_kernel_space+0x94/0xd0 [nvidia] mapping multiple BARs
dez 31 09:59:08 l-h4x0r systemd-udevd[2077]: NVIDIA ACPI Video Driver: Process '/bin/systemctl start --no-block nvidia-persistenced.service' failed with exit code 5.
dez 31 09:59:13 l-h4x0r kernel: NVRM: RmInitAdapter failed! (0x12:0x2b:1915)
dez 31 09:59:13 l-h4x0r kernel: NVRM: rm_init_adapter failed for device bearing minor number 0
dez 31 09:59:13 l-h4x0r kernel: NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
dez 31 09:59:13 l-h4x0r systemd-udevd[2079]: NVIDIA ACPI Video Driver: Process '/bin/systemctl stop --no-block nvidia-persistenced' failed with exit code 5.
dez 31 09:59:19 l-h4x0r PackageKit[1955]: daemon quit
  • X server logs

Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(GPU-0): The NVIDIA kernel module does not appear to be receiving
Dec 31 09:41:26 l-h4x0r kernel: NVRM: RmInitAdapter failed! (0x12:0x2b:1915)
Dec 31 09:41:26 l-h4x0r kernel: NVRM: rm_init_adapter failed for device bearing minor number 0
Dec 31 09:41:26 l-h4x0r kernel: NVRM: nvidia_frontend_open: minor 0, module->open() failed, error -5
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(GPU-0):     interrupts generated by the NVIDIA GPU at PCI:1:0:0.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(GPU-0):     Please see Chapter 8: Common Problems in the README for
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(GPU-0):     additional information.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(GPU-0): Failed to initialize the NVIDIA graphics device!
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) NVIDIA(0): Failing initialization of X screen 0
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (II) UnloadModule: "nvidia"
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (II) UnloadSubModule: "wfb"
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (II) UnloadSubModule: "fb"
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) Screen(s) found, but none have a usable configuration.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE)
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: Fatal server error:
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) no screens found(EE)
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE)
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: Please consult the The X.Org Foundation support
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]:          at http://wiki.x.org
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]:  for help.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE)
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12123]: (EE) Server terminated with error (1). Closing log file.
Dec 31 09:41:26 l-h4x0r /usr/lib/gdm3/gdm-x-session[12120]: Unable to run X server
  • uname -a
Linux hostname 5.15.0-56-generic #62~20.04.1-Ubuntu SMP Tue Nov 22 21:24:20 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

I think it’s simplay broken RmInitAdapter failed! (0x12:0x2b:1915)
0x12 is a very early driver init stage. Additionally, it also doesn’t even work with nouveau, which usually works with even slightly broken nvidia gpus.

Yeah, after testing a really early versions of Ubuntu and Debian (and then upgrading kernels one by one) I found that it worked with the 4.14 kernel. With that kernel version, 304 was able to work with the XServer but 340.107 didn’t. Even though the 304 (don’t remember the patch version) was able to start, the windows manager froze every time except for the mouse.

Ended up installing windows up until I get a possibility to give a try.