Hi, I would like to do an xpra connection to an xpra server running under a different account on the same host. I am running Debian unstable and have xpra 2.4.2. The box is a strong Six-Core machine with plenty of free RAM and a fast SSD.
Running a Firefox browser over this connection is quite slow. I have to wait multiple hundreds of milliseconds before the reaction to a click can be seen. Scrolling a window takes like ten seconds until the picture is completely re-drawn at full resolution. Is that the expected behavior on a local host with no network involved, plenty of CPU and plenty of RAM? I notice that the server complains twice on startup: 2018-12-08 20:19:08,741 cannot use uinput for virtual devices: 2018-12-08 20:19:08,741 [Errno 13] Failed to open the uinput device: Permission denied WARNING: no 'numpy' module, HyBi protocol will be slower python-numpy 1.15.4-2 is installed, and the /dev/uinput device is root:root 600, so it is not accessible by a regular user. Should I make /dev/uinput root:uinput 660 and put myself into the uinput group? Or is that a security disk? What is the recommended way to handle uinput? I don't even know what that is... Here is what the server logs: marc@fan:~$ xpra start --daemon=no --speaker=off --webcam=no --mdns=no --pulseaudio=no --start=konsole :100 2018-12-08 20:20:27,121 cannot use uinput for virtual devices: 2018-12-08 20:20:27,121 [Errno 13] Failed to open the uinput device: Permission denied X.Org X Server 1.20.3 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.9.0-8-amd64 x86_64 Debian Current Operating System: Linux fan 4.18.0-3-amd64 #1 SMP Debian 4.18.20-2 (2018-11-23) x86_64 Kernel command line: BOOT_IMAGE=/vmlinuz-4.18.0-3-amd64 root=/dev/mapper/root ro splash console=ttyS0,57600n8 quiet Build Date: 25 October 2018 06:15:23PM xorg-server 2:1.20.3-1 (https://www.debian.org/support) Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: "/run/user/1002/xpra/Xorg.:100.log", Time: Sat Dec 8 20:20:27 2018 (++) Using config file: "/etc/xpra/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" 2018-12-08 20:20:28,913 created unix domain socket: /run/user/1002/xpra/fan-100 2018-12-08 20:20:28,913 created unix domain socket: /run/xpra/fan-100 2018-12-08 20:20:29,096 pointer device emulation using XTest 2018-12-08 20:20:31,107 OpenGL is supported on this display WARNING: no 'numpy' module, HyBi protocol will be slower 2018-12-08 20:20:31,186 serving html content from: /usr/share/xpra/www 2018-12-08 20:20:31,516 D-Bus notification forwarding is available 2018-12-08 20:20:31,691 xpra X11 version 2.4.2-r21077M 64-bit 2018-12-08 20:20:31,691 uid=1002 (marc), gid=1002 (marc) 2018-12-08 20:20:31,691 running with pid 4804 on Linux Debian unstable sid 2018-12-08 20:20:31,692 connected to X11 display :100 with 24 bit colors 2018-12-08 20:20:31,896 xpra is ready. 2018-12-08 20:20:39,158 printer forwarding enabled using postscript and pdf 2018-12-08 20:20:39,189 15.7GB of system memory (after client connection): 2018-12-08 20:23:56,917 New unix-domain connection received on /run/user/1002/xpra/fan-100 2018-12-08 20:23:56,924 Handshake complete; enabling connection 2018-12-08 20:23:56,934 automatic picture encoding enabled, also available: 2018-12-08 20:23:56,934 h264, vp9, vp8, png, png/P, png/L, webp, rgb24, rgb32, jpeg, h265, mpeg1, mpeg2 2018-12-08 20:23:56,935 Python/Gtk2 Linux Debian unstable sid x11 client version 2.4.2-r21077 64-bit 2018-12-08 20:23:56,935 connected from 'fan' as 'marc' - 'Marc Haber' 2018-12-08 20:23:57,109 setting key repeat rate from client: 600ms delay / 40ms interval 2018-12-08 20:23:57,111 setting keymap: rules=evdev, model=pc101, layout=de 2018-12-08 20:23:57,161 setting keyboard layout to 'de' 2018-12-08 20:23:57,226 client root window size is 4352x1728 with 1 display: 2018-12-08 20:23:57,226 :0.0 (1439x571 mm - DPI: 76x76) workarea: 4352x1690 2018-12-08 20:23:57,226 monitor 1 3072x1728 (941x529 mm - DPI: 82x82) 2018-12-08 20:23:57,227 monitor 2 1280x960 at 3072x0 (408x306 mm - DPI: 79x79) 2018-12-08 20:23:57,313 server virtual display now set to 4352x2048 (best match for 4352x1728) 2018-12-08 20:23:57,355 client @09.168 Xpra X11 server version 2.4.2-r21077 64-bit 2018-12-08 20:23:57,356 client @09.169 running on Linux Debian unstable sid 2018-12-08 20:23:57,360 DPI set to 51 x 48 (wanted 54 x 77) 2018-12-08 20:23:57,361 you may experience scaling problems, such as huge or small fonts, etc 2018-12-08 20:23:57,361 to fix this issue, try the dpi switch, or use a patched Xorg dummy driver 2018-12-08 20:23:57,417 client @09.176 Attached to localhost:22 via ssh 2018-12-08 20:23:57,417 client @09.177 (press Control-C to detach) 2018-12-08 20:23:57,510 client @09.284 server does not support xi input devices 2018-12-08 20:23:57,513 client @09.284 server uses: xtest 2018-12-08 20:23:57,706 New unix-domain connection received on /run/user/1002/xpra/fan-100 2018-12-08 20:23:57,708 New unix-domain connection received on /run/xpra/fan-100 2018-12-08 20:24:06,527 Warning: limited clipboard support for CLIPBOARD 2018-12-08 20:24:06,528 virtual method Gtk.Widget.selection_get not implemented And here is what the client logs: [19/5150]mh@fan:~ $ xpra attach ssh:marc@localhost:100 2018-12-08 20:23:48,174 Xpra gtk2 client version 2.4.2-r21077M 64-bit 2018-12-08 20:23:48,175 running on Linux Debian unstable sid 2018-12-08 20:23:48,176 window manager is 'KWin' 2018-12-08 20:23:51,994 GStreamer version 1.14.4 for Python 2.7.15 64-bit 2018-12-08 20:23:52,191 No OpenGL_accelerate module loaded: No module named OpenGL_accelerate 2018-12-08 20:23:52,554 OpenGL enabled with Radeon RX 580 Series (POLARIS10, DRM 3.26.0, 4.18.0-3-amd64, LLVM 7.0.1) 2018-12-08 20:23:52,671 Connected (version 2.0, client OpenSSH_7.9p1) 2018-12-08 20:23:54,937 Authentication (publickey) successful! 2018-12-08 20:23:55,045 keyboard settings: rules=evdev, model=pc101, layout=de 2018-12-08 20:23:55,067 desktop size is 5440x2160 with 1 screen: 2018-12-08 20:23:55,067 :0.0 (1439x571 mm - DPI: 96x96) workarea: 5440x2112 2018-12-08 20:23:55,067 monitor 1 3840x2160 (941x529 mm - DPI: 103x103) 2018-12-08 20:23:55,067 monitor 2 1600x1200 at 3840x0 (408x306 mm - DPI: 99x99) 2018-12-08 20:23:55,067 upscaled by 125%, virtual screen size: 4352x1728 2018-12-08 20:23:55,068 :0.0 (1439x571 mm - DPI: 76x76) workarea: 4352x1690 2018-12-08 20:23:55,068 monitor 1 3072x1728 (941x529 mm - DPI: 82x82) 2018-12-08 20:23:55,068 monitor 2 1280x960 at 3072x0 (408x306 mm - DPI: 79x79) 2018-12-08 20:23:57,343 enabled remote logging 2018-12-08 20:23:57,343 Xpra X11 server version 2.4.2-r21077 64-bit 2018-12-08 20:23:57,344 running on Linux Debian unstable sid 2018-12-08 20:23:57,351 Attached to localhost:22 via ssh 2018-12-08 20:23:57,352 (press Control-C to detach) 2018-12-08 20:23:57,459 server does not support xi input devices 2018-12-08 20:23:57,460 server uses: xtest In the panel applet, I have set Picture => Fixed speed to "Lowest latency". The session information claims that I have 60 ms frame total latency, but it feels like a multiple of that. Any networked RDP session to a Windows machine feels much faster. This is not fun at all. What am I doing wrong? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 _______________________________________________ shifter-users mailing list shifter-users@lists.devloop.org.uk http://lists.devloop.org.uk/mailman/listinfo/shifter-users