Please boot to recovery mode (hold shift on boot for the grub menu to appear), then run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.
Thank you for you prompt attention.
I was able to make the requested file but could not find a way to get it to put here.
I managed to get into ubuntu once and searched for the file. While it was searching I ran the .run driver file which complained that I was running a X server and referred my to the driver download page.
I will try your second link. I never completed the file search as it was taking a long long time)
Don’t use the runfile. In ubuntu desktop, start Software&Drivers application and select the driver version you want.
The upload buttons is in the row of formatting options when you create a post. Horizontal bar with upward arrow.
Yes, I previously tried Software&Drivers application when I ‘accidently’ got back into the system and again it still returned the same errors.
I meant I could not get the file from ubuntu after making it in recovery mode.
From the url you posted I gather that:
Then I moved the old configuration files of lightdm:
mv /var/lib/lightdm/.Xauthority /var/lib/lightdm/.Xauthority_bk
mv /var/lib/lightdm/.dbus/session-bus/ /var/lib/lightdm/.dbus/session-bus_bk/
Then reconfigure and restart the service:
dpkg-reconfigure lightdm
service lightdm restart
Are the relevant parts, am I correct and should I try that?
Looks like your on-board intel gpu is still active but the driver for the nvidia gpu is missing so I suspect on normal boot, the desktop is running on the intel. You could either connect your monitor to the mainboard or set kernel parameter “nomodeset” to get a desktop without recovery boot. To check the nvidia driver, please post the output of
dkms status
Please try reinstalling the kernel headers by running
sudo apt install linux-headers-$(uname -r)
afterwards, please check dkms status again if the state changed from “added” to “installed”.
Also, please run
sudo prime-select nvidia
to cope with the intel gpu.
makem@makems-TUF:~$ sudo apt install linux-headers-$(uname -r)
Package linux-headers-5.13.0-051300-generic is not available, but is referred to by another package.
E: Package ‘linux-headers-5.13.0-051300-generic’ has no installation candidate
makem@makems-TUF:~$ sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Edit: I swapped the monitor to the nvidia card but it still gave same errors as initially.
In windows 10 device manager I see nvidia geforce RTX 3060 and ‘this device is working properly.’
Intel UHD 750 is also working correctly and can be disabled there.
makem@makems-TUF:~$ sudo apt install linux-headers-$(uname -r)
Package linux-headers-5.13.0-051300-generic is not available, but is referred to by another package.
E: Package ‘linux-headers-5.13.0-051300-generic’ has no installation candidate makem@makems-TUF:~$
makem@makems-TUF:~$ sudo prime-select nvidia
Info: selecting the nvidia profile
Deleting /lib/modprobe.d/nvidia-runtimepm.conf
Updating the initramfs. Please wait for the operation to complete:
Windows device manager says the nvidia card is working correctly.
The intel gpu can be disabled.
Thank you mart. I am running a relatively new kernel (cant look as am in windows atm) from ubuntu mainline.
Also I am following help from generix and at this stage don’t want to change tack.
Sorry but as soon as I saw ‘compile’ I baulked, not knowing how to compile software and not realising it was following generix.
Can you confirm what to do when I have the package?
Edit: I see that the package installer deals with it. and have installed the package.
makem@makems-TUF:~$ dkms status
nvidia, 470.86, 5.13.0-051300-generic, x86_64: installed
makem@makems-TUF:~$