Apologise in advance for the wall of text, trying to provide as much details. Please do not ignore
I installed tumbleweed about 8 months ago. I have always updated without any problem. Upgrading to Plasma 6 was also painless and the few times I had some problems, a rollback saved me problems and headaches.
That was until last week, when I attempted the upgrade to KDE Plasma 6.0.2.
Several attempts and I was never able to upgrade successfully. Each reboot resulted in me having a black screen with a cursor, no login screen, bluetooth mouse not working but works with wired mouse (I guess Wayland was working?)
I have tried about 8 times in the past few weeks and each time the roolback to the latest working snapshot has worked. Until a few days when a combination of the update due to the xz package problem and the opensuse.org servers being unreachable last night dealt the final coup de grace.
During these weeks I blamed the packman repo I used after installing the codecs. In my previous attempts to update, I therefore tried to update while avoiding packman. Reading about the black screen and mouse cursor problem I tried investigating sddm, and again the solutions found online did not work.
In one attempt I also tried installing GNOME and gdm, resulting in a blank screen with a sad computer saying to contact my system administrator (is this a joke?).
To make a long story short, I tried it by myself and now I am very scared and I humbly ask you to help me troubleshooting the current system so that it can can be upgraded.
I have up-to-date backups, but I would like to avoid reinstalling a system that works and especially learn how to fix problems like this so that I can be independent in the future.
Today I managed to get back a very old working version and here the details:
Operating System: openSUSE Tumbleweed 20240119
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.12
Kernel Version: 6.6.11-1-default (64-bit)
Graphics Platform: X11
Processors: 24 × AMD Ryzen 9 3900X 12-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7C35
System Version: 2.0
These are the snapshot repositories. Packman is missing because I had probably added it after this snapshot.
$ zypper lr -EP
# | Alias | Name | Enabled | GPG Check | Refresh | Priority
---+----------------------------------+------------------------------------------------------+---------+-----------+---------+---------
1 | ROCm-6.0 | ROCm6.0 | Yes | (r ) Yes | No | 99
2 | amdgpu | amdgpu | Yes | (r ) Yes | No | 99
3 | download.opensuse.org-non-oss | Main Repository (NON-OSS) | Yes | (r ) Yes | Yes | 99
4 | download.opensuse.org-oss | Main Repository (OSS) | Yes | (r ) Yes | Yes | 99
5 | download.opensuse.org-tumbleweed | Main Update Repository | Yes | (r ) Yes | Yes | 99
6 | graphics_darktable_master | Darktable-Org Master snapshots (openSUSE_Tumbleweed) | Yes | (r ) Yes | No | 99
7 | openSUSE-20240119-0 | openSUSE-20240119-0 | Yes | (r ) Yes | Yes | 99
9 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes | (r ) Yes | Yes | 99
Before updating I am verifying that everything is ok, but I noticed this:
$ sudo zypper ve
[sudo] password for root:
Loading repository data...
Reading installed packages...
7 Problems:
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Problem: nothing provides 'libffi.so.7()(64bit)' needed by the to be installed openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Solution 1: deinstallation of openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64
Solution 2: break openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or skip, retry or cancel [1/2/s/r/c/d/?] (c):
Some notes:
- I had installed ROCm and amdgpu following the instructions on the AMD site; I did this to enable OPENCL to use darktable; darktable-cltest confirms that opencl is available and working.
[opencl_init] 0 'AMD Accelerated Parallel Processing gfx1031'
0.3155 [opencl_init] FINALLY: opencl is AVAILABLE and ENABLED.
- The problem with libffi.so above and openmp-extras-runtime-17.60.0.60000-sles154.91.x86_64 seems to be related to the GPU drivers.
During my research I read only today — sic — that it is not recommended to use the proprietary drivers and to use only the open source amdpro driver for my GPU:
As for AMD, AMDGPU-PRO is not supported for Tumbleweed. Tumbleweed comes with a Radeon driver installed out of the box that is usually the superior choice anyway.
Starting from this situation, how can I proceed to upgrade without breaking the system?
Does it make sense to remove the ROCm-6.0 and amdgpu repos and retry the upgrade?
What else can I do?