I am having the following issue with my nVidia GeForce 9300M GS GPU, which is built-in to a Hewlett Packard TouchSmart, Model IQ840, Desktop PC. I have installed openSUSE Leap 15.1 Linux in the beginning of January 2020. Before this, I had openSUSE Leap 15.0 Linux installed on this system, which ran great with the nVidia GeForce 9300M GS GPU.
Graphics Display works fine until after 5 minutes Display freezes, whole computer locks up and cannot escape out of it except for cold reboot (Power Down). The display is very clean, no garbage displayed when lock up occurs. This freeze up issue happens consistently either with compositor enabled or disabled and when no other video graphics driver is installed.
Steps to Reproduce:
- sudo zypper ar -cfp 95 https://download.nvidia.com/opensuse/leap/15.1 nVidia
- sudo zypper ref
- sudo zypper install nvidia-gfxG03-kmp-default-340.108_k4.12.14_lp151.27-lp151.12.1.x86_64.rpm nvidia-uvm-gfxG03-kmp-default-340.108_k4.12.14_lp151.27-lp151.12.1.x86_64.rpm nvidia-glG03-340.108-lp151.12.1.x86_64.rpm nvidia-computeG03-340.108-lp151.12.1.x86_64.rpm
- Reboot the system.
The system will boot up fine with nice high-resolution graphics and mouse working. Login as normal user and display works fine until after a few minutes then display will freeze completely with keyboard and mouse frozen as well. Can not exit out of it. Only cold reboot (Power Down).
Graphics display should not freeze at all. The third party nVidia drivers worked fine with openSUSE Leap 15.0.
Hewlett Packard TouchSmart Desktop Computer
Model Number: IQ840
CPU: Intel Core 2 Duo T6400 running @ 2GHz.
Memory: 7.8 Gig of RAM
GPU: nVidia G98M [GForce 9300M GS]
openSUSE Leap 15.1
KDE Plasma Version 5.12.8
KDE Framework Version 5.55.0
Qt Version 5.9.7
Kernel Version 4.12.14-lp151.28.36-default
OS Type 64-bit
I have tried attaching the nvidia-bug-report.log.gz file from this run with the use of the nVidia 340.108 rpm packaged version installed. However, the NVIDIA DEVELOPER Forum web site won’t allow me to upload this file to post it.
Anyway, I was advised by a openSUSE Support person to remove the rpm packaged nVidia gfxG03-340-108 drivers and download the manual nVidia driver directly from https://nvidia.if-not-true-then-false.com. I installed this version on the openSUSE Leap 15.1 Linux but the same exact freeze up display issue occurred with this driver also. I understand that the 340.108 is the last 340.xx driver still supporting my GPU, which NVIDIA released. Anyway, I removed this 340.108 version and installed the mouveau driver temporary, which doesn’t support OpenGL > 1.0 and I need OpenGL 4.0 for a 3D CAD application that I am working on. So I downloaded the 340.107 version driver to try.
Well, I ran into a slight problem manually installing the nVidia-340-107 version driver with openSUSE Leap 15.1 kernel version 4.12.14.
I made sure to uninstall the mouveau driver from the system by using the yast software package manager and removing all mouveau software packages that were installed.
I even added a “blacklist mouveau” line to the /etc/modprobe.d/50-blacklist.conf file before rebooting the system.
At the grub boot loader menu, I highlighted openSUSE Leap 15.1 with kernel 4.12.14 and pressed “E” for edit. Then I moved the cursor down to the line beginning with the word “linux” and pressed the “End” key to move the cursor to the end of the line and entered a space and the number 3 to enter into lever 3 mode.
I press function key “F10” to proceed to boot with this kernel 4.12.14 version.
I login as root in text mode and cd /usr/src/nvidia where I had the NVIDIA-Linux-x86_64-340.107.run executable file stored.
I typed in sh ./NVIDIA-Linux-x86_64-340-107.run and pressed enter and it showed me the license agreement. After accepting it, then it prompted me to continue, which I did. However, it detected that the nouveau driver was still loaded in the system, which I checked by using lspci | grep VGA and it showed no driver loaded.
So I tried typing: nvidia-installer -a --add-this-kernel and pressed the enter key and it started building the kernel and modules until it got to the final process as follows:
ERROR: Unable to build the NVIDIA kernel module interface.
ERROR: Unable to add a precompiled kernel interface for the running kernel.
Then I actually went the long route and recompiled the whole kernel-4.12.17 from scratch yesterday and it compiled fine without any errors. I rebooted the computer and went into runlevel3 mode and manually installed the nVidia 340.107 driver by executing:
sh ./NVIDIA-Linux-x86_64-340.107.run -a
and continued with the installation text screen, which ran through the installation process fine without any issue. It registered the Kernel Source Modules with DKMS and installed the 32-bit Compatibility Libraries as well as Built the Kernel Module and backup the Xorg Config file.
Attached is the NVIDIA-Installer.log file of this process to this forum posting for you to view:
nvidia-installer.log (865.0 KB)
After the nVidia driver installation process was completed, I ran:
grub2-mkconfig -o /root/grub2/grub.cfg
to insure the new kernel-4.12.17 with the nVidia driver would boot. Then I typed in:
systemctl set-default graphical.target
to insure the system would go into runlevel5 mode on boot up.
I then rebooted the system and it booted up smoothly without any issues and it went into graphical mode fantastic after I login. However, once the complete work desktop appeared on screen, the computer froze and I couldn’t exit it. The screen froze, mouse and keyboard as well. I let the system run for about ten minutes to see what happens and to generate log files. I then killed the power to the system. Lucky I have installed a second Linux system to boot up from and I used that to examine the log files from and write this report from. However, I wasn’t able to run the nvidia-bug-report.sh program to package these log files into one nvidia-bug-report.log.gz compressed file and so I uploaded each file manually to post them.
There are more log files to include but this forum is restricted to 3 links I am allowed to post in this session. I will include these additional log files at a later date. All these files are from this run current period. Maybe these log files would give you a clue to what’s going on?
I am tempted to try an earlier kernel version prior to 4.12.17 to see if it freezes. Although after testing previous versions of the nVidia driver prior to the latest 340.108, I discovered that the freeze up display problem with nVidia’s GForce 9300M GS GPU found in Hewlett Packard TouchSmart Desktop PCs and Laptops is related to the new kernel revisions prior to version 4.11.x. This display freeze up issue occurs also with Red Hat Fedora 31 using kernel version 5.6.8 within five minutes of the execution of startx when using the nVidia driver. So the issue has to do with the recent kernel revisions starting from late December 2019 on.
David A. Smith