X won't start after installing missing libraries for Davinci Resolve

Hello,
Any idea how to unistall latest libraries requred fo Davinci Resolve?
During instalation one of libraries, screen went black, cucrsor pulising and computer restarted.
I am able to logi to shell after reboot and X wont run.

Can you check what it was you installed?

grep " install " /var/log/dpkg.log

Should I get rid all libraries installed at 19:50 and later?

No, not yet.
I do not think that they specifically broke the system and xcb removal can actually result in further breakage.

Let's first rebuild your graphics stack and compositing
sudo apt remove --purge '^nvidia-.*' '^libnvidia-.*'

sudo apt install nvidia-driver-580 nvidia-dkms-580

sudo apt install --reinstall xorg xserver-xorg-core xinit

sudo systemctl restart display-manager

If that final command does not load into X, then reboot and see if you reach the desktop normally.

Hello, run all your commands, went successfully how ever X still won't start even after reboot.

In the picture message after loging to shell

Well, we can check what that update is, in case it is related:

apt list -u

List of Warning after typing sudo startx

No return after this comand.

Listing... Done that's it

What about:

cat /var/log/Xorg.0.log | grep -E "(EE)|((WW))"

Looking for fatal errors with X...

Hmmm...
(EE) open /dev/dri/card0: No such file or directory

And you performed
sudo apt remove --purge '^nvidia-.*' '^libnvidia-.*'

sudo apt install nvidia-driver-580 nvidia-dkms-580
From above?

Yes, all commands were successful

I can try again if needed.

When you installed additional things for Davinci Resolve... Which is always problematic software, anyway... What led you to starting this process and what method did you use to get the dependencies?

I am not to worry about the system can reinstall again. But more interested ho to get Davici Resolve running on Zorin.

If you are not too busy some day we can remotely try to achieve the goal. There are many libraries required additionally by installer of DaVinci.

I have installed each missing library just reading what was missing one by one I am very very old school and not as good as you.

Then suddenly screen went black with cursor and computer rebooted

Believe me... It can happen to me, too. And I am puzzled by how you got this result.
What you were doing should have been safe - since you were installing from APT in terminal and not installing downloaded packages meant for different distributions...
I know that Davinci Resolve is troublesome...

Have you added any third party repositories or other Distro Repositories?

cat /etc/apt/sources.list

ls /etc/apt/sources.list.d

I am back on Windows :frowning: As you know not all features will work correctly on VM so I play arround with real systems on real hardware. I do not care how many times it will brake, we will ge there. As you possibly know there is massive movements in Europe from Windows and we are quietly tesing your distributin :slight_smile:

1 Like

Not just Windows OS... :wink:

True. Both LiveUSB (with or without persistence) and VM can be a lot less stable than a bare metal install.

1 Like

I accoually downloaded linux installer from their website. Went to terminal and run install command. what was missing I installed by APT, then suddenly BOOM