Score:0

Upgrade system is not friendly to gpu driver

jp flag

I need help. I am on ubuntu 20.04.3 lts, and I have installed amdgpu-pro driver to have opencl support as well. But then after upgrade os offered me to do apt autoremove. I did that and it seems that it removed kernel modules. So after i reboot it will be a big problem.. I did this in the past, had to reinstall os.. now i just forget and accidentally did that again. What to do? Why updater breaks my system?! How to fix it? Why this all is so poorly organized!?? - if its being able to detect that it is active on kurrent kernel.. how it could remove my video driver?

I still not rebooted, how can i fix that? from now on i will not be able to boot any newly generated kernel versions (graphics will flicker and freeze, only older one)

~$ uname -a
Linux apc 5.11.0-41-generic #45~20.04.1-Ubuntu SMP Wed Nov 10 10:20:10 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  linux-headers-5.11.0-38-generic linux-hwe-5.11-headers-5.11.0-38
  linux-image-5.11.0-38-generic linux-modules-5.11.0-38-generic
  linux-modules-extra-5.11.0-38-generic
0 upgraded, 0 newly installed, 5 to remove and 12 not upgraded.
After this operation, 403 MB disk space will be freed.
Removing linux-headers-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
Removing linux-hwe-5.11-headers-5.11.0-38 (5.11.0-38.42~20.04.1) ...
Removing linux-modules-extra-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
Removing linux-image-5.11.0-38-generic (5.11.0-38.42~20.04.1) ...
/etc/kernel/prerm.d/dkms:
dkms: removing: amdgpu 5.11.19.98-1290604 (5.11.0-38-generic) (x86_64)

-------- Uninstall Beginning --------
Module:  amdgpu
Version: 5.11.19.98-1290604
Kernel:  5.11.0-38-generic (x86_64)
-------------------------------------

Status: Before uninstall, this module version was ACTIVE on this kernel.

amdgpu.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.11.0-38-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amdttm.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.11.0-38-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amdkcl.ko:
 - Uninstallation
   - Deleting from: /lib/modules/5.11.0-38-generic/updates/dkms/
 - Original module
   - No original module was found for this module on this kernel.
   - Use the dkms install command to reinstall any previous module version.


amd-sched.ko:
 - Uninstallation
 - Deleting from: /lib/modules/5.11.0-38-generic/updates/dkms/
 - Original module
 - No original module was found for this module on this kernel.
 - Use the dkms install command to reinstall any previous module version.
jp flag
Oh great. Fully removing propiertary driver helped. I can install it again afterwards, after succesfull reboot.. But i will appreciate if someone can manage to explain - what is going on and how this all is organized.. btw built in driver feels much slower - windows movement are much laggy not as smooth at 144 hz (despite it is set to 144)
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.