Hello all,
Sorry to trouble everyone, but earlier today I received a pop up to upgrade Zorin OS, and as I wasnt doing anything important I upgraded. However, after the reboot I was no longer able to login. I used the option on first boot up to troubleshoot, but saw nothing out of the ordinary. After a few moments I decided to unplug the HDMI cable to my second monitor and low and behold I was finally able to login.
I checked my video drivers and it looks like the upgrade uninstalled the driver. Instead I am using a manually installed driver.
When I tried to install the nvidia driver in terminal I received the following;
root@bricklypickly:/home/brick# ubuntu-drivers install nvidia:550
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
linux-modules-nvidia-550-6.8.0-55-generic : Depends: linux-image-6.8.0-55-generic but it is not installable or
linux-image-unsigned-6.8.0-55-generic but it is not installable
Depends: linux-signatures-nvidia-6.8.0-55-generic (= 6.8.0-55.57~22.04.1+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I am on Pro and opened a ticket, but would still love to hear anyone's thoughts or advice.
Thanks in advance for any and all help.
Please open a terminal and run:
(You can copy and paste)
sudo apt remove --purge '^nvidia-.*'
sudo apt --fix-broken install && sudo apt update
sudo apt install nvidia-driver-550 nvidia-dkms-550
If all goes well, reboot and test.
If not, please relay any errors here.
6 Likes
@Aravisian = the best
First and foremost, thank you very much for the quick reply.
Secondly, this worked like a treat. I am back up and running.
Thank you for your help and I hope you have an excellent weekend.
2 Likes
For info, I've had the same problem, after a software updater warning about a partial upgrade. Aravisian's fix worked for me too - successfully on nvidia-driver-550
1 Like
I have the same problem but this solution doesn't change anything for me. I'm not quite a novice, but not too proficient.
Are you logging in on Wayland?
I ask because in your case, you are on GT 710.
OK, I guess I am more of a novice than I said. I don't know what that means.
I have seen references to Wayland, but I don't know it is. I am logging in the same way I did before the update.
How the desktop display is managed is by the Display Protocol.
The long time standard is Xorg (X11) Display protocol.
Starting at Zorin OS 17, the default was changed from Xorg to Wayland.
Wayland is a newer protocol that you can read into the pros and cons of but for this topic; Wayland's structure and implementation is written in a more restrictive way; making it difficult for other drivers or applications to be compatible with it.
Nvidia in particular has struggled to meet Wayland compatibility. Wayland compositor has strict frame scheduling policies which negate Nvidia optimizations which causes tearing crashing and lag.
While Wayland uses Generic Buffer Management; Nvidia relied on EGLStreams for buffering, which Wayland refused to have anything to do with.
While Nvidia has introduced GBM over EGLstreams post driver 550 and improved driver support for Wayland in recent times; it is still a tense situation.
So many Nvidia users will see better performance on X11 than Wayland.
You can select which protocol you are using at your log in screen.
If you click the Gear cog icon; you will see the option to log in on Zorin Desktop (Default Wayland) or Zorin On Xorg.
If you do not see the gear cog icon - click as if logging in as another user - and it should appear - then you can select your display protocol, then log in normally as your normal user.
Either way I log in, I am stuck with 800x600 resolution and the additional drivers section that I cannot change as shown in the screen capture above.
Logging in on Xorg is the first step.
The next step is to correct your driver packages.
So can you please open terminal, now logged in on Xorg and run each of the following terminal commands one at a time:
sudo apt --fix-broken install
sudo apt remove --purge '^nvidia-.*'
sudo apt clean
sudo apt update && sudo apt upgrade
The 470 driver should be used for the gt 710 card. Which means you will not really be able to use the later drivers with Wayland support.
sudo apt install nvidia-driver-470 nvidia-dkms-470
That did it. I did see that I could not get the gear icon to come up now at login. Hopefully, I don't need it. Thank you for the help. Without the help of you guys on the forum, I would have to go back to Windows (shudders.)
2 Likes
I too, had the same issue; after ZorinOS partial upgrade my second monitor went black and the display resolution was locked at some 4x3 resolution that made my PC unusable, and my proprietary drivers showed my device is using a manually installed driver(no doubt caused by some past experiment), and I could not choose any of the drivers listed(greyed out).
And so I thank you very much for the working solution, @Aravisian !
Because I use a Quadro K4000, I had to change the line from 550 to 470.
After fighting with the issue for an hour I was very happy when your solution was absolutely correct and perfect in every way and required very little skill to implement.
edit
I forgot to also mention that I did not have to log in using Xorg or any special moves to make your solution work.
also I tried the solution before noticing that you also provided the command for 470 driver a few comments below, but I figured that out fairly easily(I just copied the 470 number from the greyed-out "additional drivers" list in Software & Updates)
1 Like