Well, as I stated above the fix is working and now VNC and RDP
connections are working again.

But I've tested gnome-remote-desktop under X11 and Wayland and there is
a real performance problem in Wayland compared to X11 (key presseds are
shown with a lag of seconds because refresh takes too much time). While
you are connected to a gnome-remote-desktop session (using VNC or RDP)
and only under Wayland the system log is populated several times per
second with these messages that may be related to the performance
problem:

...
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 4194304 
bytes), total 32768 (slots), used 14 (slots)
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 4194304 
bytes), total 32768 (slots), used 106 (slots)
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 8294400 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 8294400 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 8294400 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:08 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 8294400 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:09 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 1933312 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:09 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 4194304 
bytes), total 32768 (slots), used 14 (slots)
jun 08 10:13:09 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 4194304 
bytes), total 32768 (slots), used 106 (slots)
jun 08 10:13:09 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 8294400 
bytes), total 32768 (slots), used 2 (slots)
jun 08 10:13:13 fpgrpi kernel: swiotlb_tbl_map_single: 82 callbacks suppressed
...

These messages stops when you disconnect to gnome-remote-desktop.

Please, tell me if it's necessary to open another bug for this problem
or can be followed here.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-remote-desktop in Ubuntu.
https://bugs.launchpad.net/bugs/1970139

Title:
  VNC Connection doesn't work on arm64 (Raspberry Pi 4 8Gb) in Ubuntu
  22.04 LTS

Status in gnome-remote-desktop package in Ubuntu:
  Fix Released

Bug description:
  # lsb_release -rd
  Description:  Ubuntu 22.04 LTS
  Release:      22.04

  # apt-cache policy gnome-remote-desktop
  gnome-remote-desktop:
    Instalados: 42.0-4ubuntu1
    Candidato:  42.0-4ubuntu1
    Tabla de versión:
   *** 42.0-4ubuntu1 500
          500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages
          100 /var/lib/dpkg/status

  # uname -a
  Linux fpgrpi 5.15.0-1005-raspi #5-Ubuntu SMP PREEMPT Mon Apr 4 12:21:48 UTC 
2022 aarch64 aarch64 aarch64 GNU/Linux

  
  Summary of the bug:
  -------------------
  When I try to connect to gnome-remote-desktop using VNC to a Raspberry Pi 4 
Model B Rev 1.4 (8Gb) under Ubuntu 22.04 LTS the VNC client can't connect 
(connection is refused). The connection passes the Password check validation 
but don't connect (sometimes shows screen garbage before disconnecting).

  I've used several VNC clients (Remmina in Ubuntu and Real VNC in
  Android) getting the same problem failing either in X11 or Wayland.

  Notes: 
  - VNC connection does work in in previous Ubuntu 21.10 version with the same 
architecture (arm64) and same Raspberry Pi.
  - VNC connection also does work in amd64 machines with Ubuntu 22.04 LTS and 
gnome-remote-desktop 42.0-4ubuntu1, exactly the same software version that 
doesn't work on arm64 (Raspberry Pi).

  There is no apport info at all. Also there is almost no info in the
  journal regarding this problem. When I try to connect to VNC server it
  show this:

  On Wayland:
  -----------
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
1884160 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
4169728 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
8130560 bytes), total 32768 (slots), used 83 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
8294400 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
8294400 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
8294400 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:42 fpgrpi kernel: vc4-drm gpu: swiotlb buffer is full (sz: 
8294400 bytes), total 32768 (slots), used 3 (slots)
  abr 25 00:21:43 fpgrpi systemd[1381]: gnome-remote-desktop.service: Main 
process exited, code=killed, status=11/SEGV
  abr 25 00:21:43 fpgrpi systemd[1381]: gnome-remote-desktop.service: Failed 
with result 'signal'.
  abr 25 00:21:43 fpgrpi gnome-shell[1497]: D-Bus client with active sessions 
vanished
  abr 25 00:21:43 fpgrpi systemd[1381]: gnome-remote-desktop.service: Scheduled 
restart job, restart counter is at 1.
  abr 25 00:21:43 fpgrpi systemd[1381]: Stopped GNOME Remote Desktop.
  abr 25 00:21:43 fpgrpi systemd[1381]: Starting GNOME Remote Desktop...
  abr 25 00:21:43 fpgrpi systemd[1381]: Started GNOME Remote Desktop.
  abr 25 00:21:43 fpgrpi gnome-remote-desktop-daemon[2125]: Cannot load 
libcuda.so.1
  abr 25 00:21:43 fpgrpi gnome-remote-desktop-daemon[2125]: Cannot load 
libnvidia-encode.so.1
  abr 25 00:21:43 fpgrpi gnome-remote-de[2125]: RDP server started
  abr 25 00:21:43 fpgrpi gnome-remote-de[2125]: VNC server started

  
  On X11:
  -------
  abr 25 00:12:18 fpgrpi systemd[2859]: gnome-remote-desktop.service: Main 
process exited, code=killed, status=11/SEGV
  abr 25 00:12:18 fpgrpi gnome-shell[3044]: D-Bus client with active sessions 
vanished
  abr 25 00:12:18 fpgrpi systemd[2859]: gnome-remote-desktop.service: Failed 
with result 'signal'.
  abr 25 00:12:18 fpgrpi systemd[2859]: gnome-remote-desktop.service: Scheduled 
restart job, restart counter is at 19.
  abr 25 00:12:18 fpgrpi systemd[2859]: Stopped GNOME Remote Desktop.
  abr 25 00:12:18 fpgrpi systemd[2859]: Starting GNOME Remote Desktop...
  abr 25 00:12:18 fpgrpi systemd[2859]: Started GNOME Remote Desktop.
  abr 25 00:12:19 fpgrpi gnome-remote-desktop-daemon[23876]: Cannot load 
libcuda.so.1
  abr 25 00:12:19 fpgrpi gnome-remote-desktop-daemon[23876]: Cannot load 
libnvidia-encode.so.1
  abr 25 00:12:19 fpgrpi gnome-remote-de[23876]: RDP server started
  abr 25 00:12:19 fpgrpi gnome-remote-de[23876]: VNC server started

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-remote-desktop/+bug/1970139/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to