This may be a stupid question but I updated my Tumbleweed install today to grab the new Plasma 6.1 packages. I then eagerly installed krdp for remote desktop functionality. When I go to KDE System Settings, and then select the “Remote Desktop” sub-menu, I see the following error at the top of the window:
“Remote desktop cannot be enabled because your system does not support H264 video encoding. Please contact your distribution regarding how to enable it.”
I’m still getting the error. I’m not finding this error online, so I’m wondering maybe if I’m just need to install the right package or something. It’s a standard x86_64 Intel based Dell PC – an Optiplex 7070 to be specific.
Ideas are appreciated as I’d really like to take advantage of the remote desktop feature – I’ve been waiting for this functionality for a long time!
Looking at KRdp source, it checks whether h264 encoder is offered by PipeWire. Which shifts the question to - how to check and test whether PipeWire supports h264 encoding and what is needed for the support. Any PipeWire experts here?
My gut feeling is that openSUSE patches ffmpeg to load openh264 library on demand and checks that KRdp performs do not trigger loading of it. Internet search only finds this issue on openSUSE which indirectly confirms it.
In this case the most simple solution would be ffmpeg switch to Packman.
Whoever has this problem - do you have ffmpeg from openSUSE or Packman?
… quickly checking - yes, replacing ffmpeg packages (and only ffmpeg packages) with Packman version fixes KRdp error.
This needs bug report. If KRdp is not functional without Packman, it must be provided by Packman. If it works with openh264, it has to be fixed to work with stock openSUSE packages.
bor@uefi:~> sudo zypper in --repo packman --force $(rpm -qa --qf '[%{name} %{sourcerpm}\n]' | grep -Fw ffmpeg-6-6.1.1-5.1.src.rpm | cut -f1 -d ' ')
Loading repository data...
Reading installed packages...
Forcing installation of 'libswresample4-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libavcodec60-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libavfilter9-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libavformat60-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libavutil58-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libpostproc57-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Forcing installation of 'libswscale7-6.1.1-1699.7.pm.16.x86_64' from repository 'packman'.
Resolving package dependencies...
The following 7 packages are going to be upgraded:
libavcodec60 libavfilter9 libavformat60 libavutil58 libpostproc57 libswresample4 libswscale7
The following 7 packages are going to change vendor:
libavcodec60 openSUSE -> http://packman.links2linux.de
libavfilter9 openSUSE -> http://packman.links2linux.de
libavformat60 openSUSE -> http://packman.links2linux.de
libavutil58 openSUSE -> http://packman.links2linux.de
libpostproc57 openSUSE -> http://packman.links2linux.de
libswresample4 openSUSE -> http://packman.links2linux.de
libswscale7 openSUSE -> http://packman.links2linux.de
The following 2 NEW packages are going to be installed:
libx264-164 libx265-209
7 packages to upgrade, 2 new, 7 to change vendor.
Overall download size: 9.8 MiB. Already cached: 0 B. After the operation, additional 20.2 MiB
will be used.
Backend: classic_rpmtrans
Continue? [y/n/v/...? shows all options] (y):
Retrieving: libavutil58-6.1.1-1699.7.pm.16.x86_64 (packman) (1/9), 333.5 KiB
Retrieving: libavutil58-6.1.1-1699.7.pm.16.x86_64.rpm .......................[done (129.7 KiB/s)]
Retrieving: libx264-164-0.164+git20231001.31e19f92-1699.1.pm.1.x86_64 (packman)
(2/9), 562.2 KiB
Retrieving: libx264-164-0.164+git20231001.31e19f92-1699.1.pm.1.x86_64.rpm ...[done (361.6 KiB/s)]
Retrieving: libx265-209-3.6-1699.1.pm.1.x86_64 (packman) (3/9), 1.3 MiB
Retrieving: libx265-209-3.6-1699.1.pm.1.x86_64.rpm ............................[done (1.1 MiB/s)]
Retrieving: libswresample4-6.1.1-1699.7.pm.16.x86_64 (packman) (4/9), 63.8 KiB
Retrieving: libswresample4-6.1.1-1699.7.pm.16.x86_64.rpm .....................[done (26.5 KiB/s)]
Retrieving: libswscale7-6.1.1-1699.7.pm.16.x86_64 (packman) (5/9), 175.9 KiB
Retrieving: libswscale7-6.1.1-1699.7.pm.16.x86_64.rpm ........................[done (43.4 KiB/s)]
Retrieving: libpostproc57-6.1.1-1699.7.pm.16.x86_64 (packman) (6/9), 45.9 KiB
Retrieving: libpostproc57-6.1.1-1699.7.pm.16.x86_64.rpm ......................[done (43.4 KiB/s)]
Retrieving: libavcodec60-6.1.1-1699.7.pm.16.x86_64 (packman) (7/9), 4.9 MiB
Retrieving: libavcodec60-6.1.1-1699.7.pm.16.x86_64.rpm ........................[done (1.2 MiB/s)]
Retrieving: libavformat60-6.1.1-1699.7.pm.16.x86_64 (packman) (8/9), 1.0 MiB
Retrieving: libavformat60-6.1.1-1699.7.pm.16.x86_64.rpm .....................[done (990.9 KiB/s)]
Retrieving: libavfilter9-6.1.1-1699.7.pm.16.x86_64 (packman) (9/9), 1.4 MiB
Retrieving: libavfilter9-6.1.1-1699.7.pm.16.x86_64.rpm ......................[done (734.6 KiB/s)]
Checking for file conflicts: ..............................................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libavutil58-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(1/9) Installing: libavutil58-6.1.1-1699.7.pm.16.x86_64 ...................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libx264-164-0.164+git20231001.31e19f92-1699.1.pm.1.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(2/9) Installing: libx264-164-0.164+git20231001.31e19f92-1699.1.pm.1.x86_64 ...............[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libx265-209-3.6-1699.1.pm.1.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(3/9) Installing: libx265-209-3.6-1699.1.pm.1.x86_64 ......................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libswresample4-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(4/9) Installing: libswresample4-6.1.1-1699.7.pm.16.x86_64 ................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libswscale7-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(5/9) Installing: libswscale7-6.1.1-1699.7.pm.16.x86_64 ...................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libpostproc57-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(6/9) Installing: libpostproc57-6.1.1-1699.7.pm.16.x86_64 .................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libavcodec60-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(7/9) Installing: libavcodec60-6.1.1-1699.7.pm.16.x86_64 ..................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libavformat60-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(8/9) Installing: libavformat60-6.1.1-1699.7.pm.16.x86_64 .................................[done]
warning: /var/cache/zypp/packages/packman/Essentials/x86_64/libavfilter9-6.1.1-1699.7.pm.16.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID 1abd1afb: NOKEY
(9/9) Installing: libavfilter9-6.1.1-1699.7.pm.16.x86_64 ..................................[done]
Running post-transaction scripts ..........................................................[done]
There are running programs which still use files and libraries deleted or updated by recent upgrades. They should be restarted to benefit from the latest updates. Run 'zypper ps -s' to list these programs.
bor@uefi:~>