[winswitch] Unable to build xpra-2.0 on Slackware64 14.2

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Wed Apr 26 15:03:10 BST 2017


OK I have upgraded the "dummy" driver from 0.3.7 to 0.3.8 on my x86 machine.
I have only upgraded the "dummy" driver on this x86 machine because from the output of my previous mail, we can see that the ABI problem was only with my x86 machine because it is just on this x86 machine that I upgraded a part of Xorg.
Indeed, on my X86_64 machine, I have the Xorg server provided by my distro.

OK, so I have done some more tests and there is a difference of behaviour on my x86 and on my x86_64 machine:
1. On my x86 machine, in a X terminal, in a window manager
2. On my x86_64 machine, in a X terminal, in a window manager

1. On my x86 machine, in a X terminal, in a window manager

$ xpra start --start=urxvt
2017-04-26 15:38:21,274 Warning: rencode import failed:
2017-04-26 15:38:21,275  No module named rencode
Entering daemon mode; any further errors will be reported to:
  /home/yugiohjcj/.xpra/S17807.log
Actual display used: :1
Actual log file name is now: /home/yugiohjcj/.xpra/:1.log

$ cat /home/yugiohjcj/.xpra/S17807.log
cat: /home/yugiohjcj/.xpra/S17807.log: No such file or directory

$ cat /home/yugiohjcj/.xpra/:1.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

X.Org X Server 1.16.0
Release Date: 2014-07-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.15.8-desktop i686 
Current Operating System: Linux laptop 3.18.20-laptop #1 SMP Tue Aug 18 16:41:13 CEST 2015 i686
Kernel command line: BOOT_IMAGE=Linux-3.18.20 ro root=802 vt.default_utf8=0
Build Date: 13 August 2014  09:03:53AM
 
Current version of pixman: 0.30.2
	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: "/home/yugiohjcj/.xpra/Xorg.S17807.log", Time: Wed Apr 26 15:38:21 2017
(++) Using config file: "/tmp/python-xpra-2.0.2/etc/xpra/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE) module ABI major version (19) doesn't match the server's version (21)
(EE) module ABI major version (19) doesn't match the server's version (21)
Using display number provided by xpra_Xdummy: :1
2017-04-26 15:38:23,438 created unix domain socket: /home/yugiohjcj/.xpra/laptop-1
2017-04-26 15:38:23,439 Warning: failed to create socket directory '/var/run/xpra'
2017-04-26 15:38:23,440  [Errno 13] Permission denied: '/var/run/xpra'
2017-04-26 15:38:23,441 Warning: cannot create socket '/var/run/xpra/laptop-1'
2017-04-26 15:38:23,441  [Errno 2] No such file or directory
2017-04-26 15:38:23,442  /var/run/xpra does not exist
2017-04-26 15:38:23,444  user 'yugiohjcj' is a member of groups: video, cdrom
2017-04-26 15:38:23,444   (missing 'xpra' group membership?)
2017-04-26 15:38:25,196 Warning: zlib is the only compressor enabled
2017-04-26 15:38:25,197  install and enable lzo or lz4 support for better performance
2017-04-26 15:38:25,197 Warning: 'rencode' packet encoder not found
2017-04-26 15:38:25,198  the other packet encoders are much slower
2017-04-26 15:38:25,345 Warning: your version of Python Imaging Library is well out of date
2017-04-26 15:38:25,346  version 1.1.7 is not supported, your mileage may vary
2017-04-26 15:38:25,535 Warning: enc_pillow failed its self test
2017-04-26 15:38:25,536  No module named numpy
2017-04-26 15:38:25,667 vpx: vp8 encoding failed: No module named numpy
2017-04-26 15:38:25,715 vpx: vp9 encoding failed: No module named numpy
2017-04-26 15:38:25,737 vpx: vp9 encoding failed: No module named numpy
2017-04-26 15:38:25,737 vpx: all the codecs have failed! (vp8, vp9, vp9)
2017-04-26 15:38:25,846 x264: h264 encoding failed: No module named numpy
2017-04-26 15:38:25,847 x264: all the codecs have failed! (h264)
2017-04-26 15:38:25,847 Warning: enc_x264 failed its self test
2017-04-26 15:38:25,967 Warning: csc_swscale failed its self test
2017-04-26 15:38:25,968  No module named numpy
2017-04-26 15:38:26,044 python netifaces package is missing
2017-04-26 15:38:26,047 failed to connect to the system dbus: org.freedesktop.DBus.Error.FileNotFound: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
2017-04-26 15:38:26,048  either start a dbus session or disable mdns support
2017-04-26 15:38:27,259 Warning: webcam forwarding is disabled
2017-04-26 15:38:27,259  the virtual video directory '/sys/devices/virtual/video4linux' was not found
2017-04-26 15:38:27,260  make sure that the 'v4l2loopback' kernel module is installed and loaded
2017-04-26 15:38:27,260 found 0 virtual video devices for webcam forwarding
2017-04-26 15:38:27,338 pulseaudio server started with pid 17830
2017-04-26 15:38:27,808 Warning: rencode import failed:
2017-04-26 15:38:27,809  No module named rencode
Warning: failed to import GStreamer 1.x:
 No module named gi
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
E: [pulseaudio] core-util.c: Failed to connect to system bus: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
2017-04-26 15:38:27,866 Error: failed to query sound subsystem:
2017-04-26 15:38:27,867  query did not return any data
2017-04-26 15:38:27,897 D-Bus notification forwarding is available
2017-04-26 15:38:27,973 xpra X11 version 2.0.2-r15657 32-bit
2017-04-26 15:38:27,975  uid=1001 (yugiohjcj), gid=1002 (yugiohjcj)
2017-04-26 15:38:27,975  running with pid 17811 on Linux Slackware  14.1
2017-04-26 15:38:27,976  connected to X11 display :1 with 24 bit colors
2017-04-26 15:38:28,067 Warning: cannot load enc_vpx video encoder:
2017-04-26 15:38:28,068  no supported encodings!
2017-04-26 15:38:28,814 printer forwarding enabled using postscript and pdf
2017-04-26 15:38:28,819 1.4GB of system memory
2017-04-26 15:38:28,835 xpra is ready.

$ ps aux | grep xpra
yugiohjcj  17811  0.4  2.6  86268 39124 ?        S    15:38   0:01 /usr/bin/python /usr/bin/xpra start --start=urxvt
yugiohjcj  17812  0.4  9.7 272996 144396 ?       Ss   15:38   0:01 Xorg-nosuid /usr/bin/Xorg -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth /home/yugiohjcj/.Xauthority -logfile /home/yugiohjcj/.xpra/Xorg.S17807.log -configdir /home/yugiohjcj/.xpra/xorg.conf.d -config /tmp/python-xpra-2.0.2/etc/xpra/xorg.conf -depth 24 -displayfd 6
yugiohjcj  17874  0.0  0.0   3980  1344 pts/0    S+   15:42   0:00 grep xpra

2. On my x86_64 machine, in a X terminal, in a window manager
-------------------------------------------------------------

$ xpra start --start=urxvt
2017-04-26 15:09:35,876 Warning: rencode import failed:
2017-04-26 15:09:35,877  No module named rencode
Entering daemon mode; any further errors will be reported to:
  /home/yugiohjcj/.xpra/S6144.log

$ cat .xpra/S6144.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Failed to rename log file "/home/yugiohjcj/.xpra/Xorg.S6144.log" to "/home/yugiohjcj/.xpra/Xorg.S6144.log": No such file or directory

X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux desktop 4.9.24-desktop #1 SMP Mon Apr 24 10:54:11 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz  root=/dev/sda3 vga=normal ro ro
Build Date: 15 April 2016  11:05:21AM
 
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: "/home/yugiohjcj/.xpra/Xorg.S6144.log", Time: Wed Apr 26 15:09:36 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S6144.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
2017-04-26 15:09:46,076 Error starting Xvfb:
2017-04-26 15:09:46,077  xpra_Xdummy did not provide a display number using -displayfd

$ ls -l /dev/tty0 
crw--w---- 1 root tty 4, 0 Apr 26 00:46 /dev/tty0

$ groups
yugiohjcj lp floppy audio video cdrom scanner

$ sudo vim /etc/group
tty:x:5: -> tty:x:5:yugiohjcj

$ groups
yugiohjcj tty lp floppy audio video cdrom scanner

$ xpra start --start=urxvt
2017-04-26 15:15:37,233 Warning: rencode import failed:
2017-04-26 15:15:37,234  No module named rencode
Entering daemon mode; any further errors will be reported to:
  /home/yugiohjcj/.xpra/S6306.log

$ cat .xpra/S6306.log
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
Failed to rename log file "/home/yugiohjcj/.xpra/Xorg.S6306.log" to "/home/yugiohjcj/.xpra/Xorg.S6306.log": No such file or directory

X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.2 Slackware Linux Project
Current Operating System: Linux desktop 4.9.24-desktop #1 SMP Mon Apr 24 10:54:11 CEST 2017 x86_64
Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz  root=/dev/sda3 vga=normal ro ro
Build Date: 15 April 2016  11:05:21AM
 
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: "/home/yugiohjcj/.xpra/Xorg.S6306.log", Time: Wed Apr 26 15:15:37 2017
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 8 (Permission denied)
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/home/yugiohjcj/.xpra/Xorg.S6306.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
2017-04-26 15:15:47,370 Error starting Xvfb:
2017-04-26 15:15:47,370  xpra_Xdummy did not provide a display number using -displayfd

$ echo "allowed_users=anybody" | sudo tee /etc/X11/Xwrapper.config
allowed_users=anybody

$ sudo chmod 660 /dev/tty[0-9]*

$ xpra start --start=urxvt

On Ctrl + Alt + F7, the Xorg server terminates.
On Ctrl + Alt + F8, the Xorg server starts.
We can see the Xorg log file to understand what happens:

$ cat /var/log/Xorg.0.log
[ 52628.616] 
X.Org X Server 1.18.3
Release Date: 2016-04-04
[ 52628.620] X Protocol Version 11, Revision 0
[ 52628.621] Build Operating System: Slackware 14.2 Slackware Linux Project
[ 52628.622] Current Operating System: Linux desktop 4.9.24-desktop #1 SMP Mon Apr 24 10:54:11 CEST 2017 x86_64
[ 52628.622] Kernel command line: BOOT_IMAGE=dev000:\EFI\SLACKWARE\vmlinuz  root=/dev/sda3 vga=normal ro ro
[ 52628.625] Build Date: 15 April 2016  11:05:21AM
[ 52628.626]  
[ 52628.628] Current version of pixman: 0.34.0
[ 52628.630] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[ 52628.630] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 52628.636] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Apr 26 15:22:52 2017
[ 52628.641] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 52628.642] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 52628.642] (==) No Layout section.  Using the first Screen section.
[ 52628.642] (==) No screen section available. Using defaults.
[ 52628.642] (**) |-->Screen "Default Screen Section" (0)
[ 52628.642] (**) |   |-->Monitor "<default monitor>"
[ 52628.643] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[ 52628.643] (==) Automatically adding devices
[ 52628.643] (==) Automatically enabling devices
[ 52628.643] (==) Automatically adding GPU devices
[ 52628.643] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 52628.643] (WW) The directory "/usr/share/fonts/local" does not exist.
[ 52628.643] 	Entry deleted from font path.
[ 52628.643] (WW) The directory "/usr/share/fonts/CID" does not exist.
[ 52628.643] 	Entry deleted from font path.
[ 52628.643] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/OTF,
	/usr/share/fonts/Type1,
	/usr/share/fonts/misc,
	/usr/share/fonts/75dpi/:unscaled,
	/usr/share/fonts/100dpi/:unscaled,
	/usr/share/fonts/75dpi,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/cyrillic
[ 52628.643] (==) ModulePath set to "/usr/lib64/xorg/modules"
[ 52628.643] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 52628.643] (II) Loader magic: 0x808c00
[ 52628.643] (II) Module ABI versions:
[ 52628.643] 	X.Org ANSI C Emulation: 0.4
[ 52628.643] 	X.Org Video Driver: 20.0
[ 52628.643] 	X.Org XInput driver : 22.1
[ 52628.643] 	X.Org Server Extension : 9.0
[ 52628.643] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 52628.646] (--) PCI:*(0:0:2:0) 8086:1902:1458:d000 rev 6, Mem @ 0xde000000/16777216, 0xc0000000/268435456, I/O @ 0x0000f000/64, BIOS @ 0x????????/131072
[ 52628.646] (II) Open ACPI successful (/var/run/acpid.socket)
[ 52628.646] (II) LoadModule: "glx"
[ 52628.647] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[ 52628.648] (II) Module glx: vendor="X.Org Foundation"
[ 52628.648] 	compiled for 1.18.3, module version = 1.0.0
[ 52628.648] 	ABI class: X.Org Server Extension, version 9.0
[ 52628.648] (==) AIGLX enabled
[ 52628.648] (==) Matched intel as autoconfigured driver 0
[ 52628.648] (==) Matched intel as autoconfigured driver 1
[ 52628.648] (==) Matched modesetting as autoconfigured driver 2
[ 52628.648] (==) Matched fbdev as autoconfigured driver 3
[ 52628.648] (==) Matched vesa as autoconfigured driver 4
[ 52628.648] (==) Assigned the driver to the xf86ConfigLayout
[ 52628.648] (II) LoadModule: "intel"
[ 52628.649] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[ 52628.649] (II) Module intel: vendor="X.Org Foundation"
[ 52628.649] 	compiled for 1.18.3, module version = 2.99.917
[ 52628.649] 	Module class: X.Org Video Driver
[ 52628.649] 	ABI class: X.Org Video Driver, version 20.0
[ 52628.649] (II) LoadModule: "modesetting"
[ 52628.649] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 52628.649] (II) Module modesetting: vendor="X.Org Foundation"
[ 52628.649] 	compiled for 1.18.3, module version = 1.18.3
[ 52628.649] 	Module class: X.Org Video Driver
[ 52628.649] 	ABI class: X.Org Video Driver, version 20.0
[ 52628.649] (II) LoadModule: "fbdev"
[ 52628.650] (WW) Warning, couldn't open module fbdev
[ 52628.650] (II) UnloadModule: "fbdev"
[ 52628.650] (II) Unloading fbdev
[ 52628.650] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 52628.650] (II) LoadModule: "vesa"
[ 52628.650] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[ 52628.650] (II) Module vesa: vendor="X.Org Foundation"
[ 52628.650] 	compiled for 1.18.0, module version = 2.3.4
[ 52628.650] 	Module class: X.Org Video Driver
[ 52628.650] 	ABI class: X.Org Video Driver, version 20.0
[ 52628.650] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[ 52628.650] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[ 52628.650] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[ 52628.650] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[ 52628.650] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 52628.650] (II) VESA: driver for VESA chipsets: vesa
[ 52628.650] (--) using VT number 7

[ 52628.667] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20160919
[ 52628.667] (WW) Falling back to old probe method for modesetting
[ 52628.667] (WW) Falling back to old probe method for vesa
[ 52628.667] (--) intel(0): gen9 engineering sample
[ 52628.667] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2; using a maximum of 2 threads
[ 52628.667] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[ 52628.667] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[ 52628.667] (==) intel(0): RGB weight 888
[ 52628.667] (==) intel(0): Default visual is TrueColor
[ 52628.668] (II) intel(0): Output HDMI1 has no monitor section
[ 52628.668] (II) intel(0): Enabled output HDMI1
[ 52628.668] (II) intel(0): Output HDMI2 has no monitor section
[ 52628.668] (II) intel(0): Enabled output HDMI2
[ 52628.668] (II) intel(0): Output DP1 has no monitor section
[ 52628.668] (II) intel(0): Enabled output DP1
[ 52628.668] (II) intel(0): Output HDMI3 has no monitor section
[ 52628.668] (II) intel(0): Enabled output HDMI3
[ 52628.668] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[ 52628.668] (II) intel(0): Output VIRTUAL1 has no monitor section
[ 52628.668] (II) intel(0): Enabled output VIRTUAL1
[ 52628.668] (--) intel(0): Output DP1 using initial mode 1920x1080 on pipe 0
[ 52628.668] (==) intel(0): TearFree disabled
[ 52628.668] (==) intel(0): DPI set to (96, 96)
[ 52628.668] (II) Loading sub module "dri2"
[ 52628.668] (II) LoadModule: "dri2"
[ 52628.668] (II) Module "dri2" already built-in
[ 52628.668] (II) Loading sub module "present"
[ 52628.668] (II) LoadModule: "present"
[ 52628.668] (II) Module "present" already built-in
[ 52628.668] (II) UnloadModule: "modesetting"
[ 52628.668] (II) Unloading modesetting
[ 52628.668] (II) UnloadModule: "vesa"
[ 52628.668] (II) Unloading vesa
[ 52628.668] (==) Depth 24 pixmap format is 32 bpp
[ 52628.668] (II) intel(0): SNA initialized with Skylake (gen9) backend
[ 52628.668] (==) intel(0): Backing store enabled
[ 52628.668] (==) intel(0): Silken mouse enabled
[ 52628.668] (II) intel(0): HW Cursor enabled
[ 52628.668] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 52628.669] (==) intel(0): DPMS enabled
[ 52628.669] (==) intel(0): Display hotplug detection enabled
[ 52628.669] (II) intel(0): [DRI2] Setup complete
[ 52628.669] (II) intel(0): [DRI2]   DRI driver: i965
[ 52628.669] (II) intel(0): [DRI2]   VDPAU driver: va_gl
[ 52628.669] (II) intel(0): direct rendering: DRI2 enabled
[ 52628.669] (II) intel(0): hardware support for Present enabled
[ 52628.669] (--) RandR disabled
[ 52628.684] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 52628.684] (II) AIGLX: enabled GLX_ARB_create_context
[ 52628.684] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 52628.684] (II) AIGLX: enabled GLX_EXT_create_context_es{,2}_profile
[ 52628.684] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 52628.684] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 52628.684] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 52628.684] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 52628.684] (II) AIGLX: enabled GLX_EXT_fbconfig_packed_float
[ 52628.684] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 52628.684] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[ 52628.684] (II) AIGLX: Loaded and initialized i965
[ 52628.684] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 52628.686] (II) intel(0): switch to mode 1920x1080 at 60.0 on DP1 using pipe 0, position (0, 0), rotation normal, reflection none
[ 52628.697] (II) intel(0): Setting screen physical size to 508 x 285
[ 52628.755] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 52628.756] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 52628.756] (**) Power Button: Applying InputClass "keyboard-all"
[ 52628.756] (**) Power Button: Applying InputClass "keyboard-all"
[ 52628.756] (II) LoadModule: "evdev"
[ 52628.756] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 52628.756] (II) Module evdev: vendor="X.Org Foundation"
[ 52628.756] 	compiled for 1.18.3, module version = 2.10.3
[ 52628.756] 	Module class: X.Org XInput Driver
[ 52628.756] 	ABI class: X.Org XInput driver, version 22.1
[ 52628.756] (II) Using input driver 'evdev' for 'Power Button'
[ 52628.756] (**) Power Button: always reports core events
[ 52628.756] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 52628.756] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 52628.756] (--) evdev: Power Button: Found keys
[ 52628.756] (II) evdev: Power Button: Configuring as keyboard
[ 52628.756] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[ 52628.756] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 52628.756] (**) Option "xkb_rules" "evdev"
[ 52628.756] (**) Option "xkb_layout" "fr"
[ 52628.756] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.771] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[ 52628.771] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 52628.771] (**) Video Bus: Applying InputClass "keyboard-all"
[ 52628.771] (**) Video Bus: Applying InputClass "keyboard-all"
[ 52628.771] (II) Using input driver 'evdev' for 'Video Bus'
[ 52628.771] (**) Video Bus: always reports core events
[ 52628.771] (**) evdev: Video Bus: Device: "/dev/input/event4"
[ 52628.771] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 52628.771] (--) evdev: Video Bus: Found keys
[ 52628.771] (II) evdev: Video Bus: Configuring as keyboard
[ 52628.771] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event4"
[ 52628.771] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 52628.771] (**) Option "xkb_rules" "evdev"
[ 52628.771] (**) Option "xkb_layout" "fr"
[ 52628.771] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.771] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 52628.771] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 52628.771] (**) Power Button: Applying InputClass "keyboard-all"
[ 52628.771] (**) Power Button: Applying InputClass "keyboard-all"
[ 52628.771] (II) Using input driver 'evdev' for 'Power Button'
[ 52628.771] (**) Power Button: always reports core events
[ 52628.771] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 52628.771] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 52628.771] (--) evdev: Power Button: Found keys
[ 52628.771] (II) evdev: Power Button: Configuring as keyboard
[ 52628.771] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4/event2"
[ 52628.771] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[ 52628.771] (**) Option "xkb_rules" "evdev"
[ 52628.771] (**) Option "xkb_layout" "fr"
[ 52628.771] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.771] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 52628.771] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 52628.771] (**) Sleep Button: Applying InputClass "keyboard-all"
[ 52628.771] (**) Sleep Button: Applying InputClass "keyboard-all"
[ 52628.771] (II) Using input driver 'evdev' for 'Sleep Button'
[ 52628.771] (**) Sleep Button: always reports core events
[ 52628.771] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 52628.771] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 52628.771] (--) evdev: Sleep Button: Found keys
[ 52628.771] (II) evdev: Sleep Button: Configuring as keyboard
[ 52628.771] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input3/event1"
[ 52628.771] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[ 52628.771] (**) Option "xkb_rules" "evdev"
[ 52628.771] (**) Option "xkb_layout" "fr"
[ 52628.771] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.772] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/event13)
[ 52628.772] (II) No input driver specified, ignoring this device.
[ 52628.772] (II) This device may have been added with another device file.
[ 52628.772] (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/js0)
[ 52628.772] (II) No input driver specified, ignoring this device.
[ 52628.772] (II) This device may have been added with another device file.
[ 52628.772] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event14)
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "keyboard-all"
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "keyboard-all"
[ 52628.772] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'
[ 52628.772] (**) Logitech USB Keyboard: always reports core events
[ 52628.772] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event14"
[ 52628.772] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c
[ 52628.772] (--) evdev: Logitech USB Keyboard: Found keys
[ 52628.772] (II) evdev: Logitech USB Keyboard: Configuring as keyboard
[ 52628.772] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:046D:C31C.0001/input/input17/event14"
[ 52628.772] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 10)
[ 52628.772] (**) Option "xkb_rules" "evdev"
[ 52628.772] (**) Option "xkb_layout" "fr"
[ 52628.772] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.772] (II) config/udev: Adding input device Logitech USB Keyboard (/dev/input/event15)
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "keyboard-all"
[ 52628.772] (**) Logitech USB Keyboard: Applying InputClass "keyboard-all"
[ 52628.772] (II) Using input driver 'evdev' for 'Logitech USB Keyboard'
[ 52628.772] (**) Logitech USB Keyboard: always reports core events
[ 52628.772] (**) evdev: Logitech USB Keyboard: Device: "/dev/input/event15"
[ 52628.772] (--) evdev: Logitech USB Keyboard: Vendor 0x46d Product 0xc31c
[ 52628.772] (--) evdev: Logitech USB Keyboard: Found absolute axes
[ 52628.772] (II) evdev: Logitech USB Keyboard: Forcing absolute x/y axes to exist.
[ 52628.772] (--) evdev: Logitech USB Keyboard: Found keys
[ 52628.772] (II) evdev: Logitech USB Keyboard: Forcing relative x/y axes to exist.
[ 52628.772] (II) evdev: Logitech USB Keyboard: Configuring as mouse
[ 52628.772] (II) evdev: Logitech USB Keyboard: Configuring as keyboard
[ 52628.772] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.1/0003:046D:C31C.0002/input/input18/event15"
[ 52628.772] (II) XINPUT: Adding extended input device "Logitech USB Keyboard" (type: KEYBOARD, id 11)
[ 52628.772] (**) Option "xkb_rules" "evdev"
[ 52628.772] (**) Option "xkb_layout" "fr"
[ 52628.772] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52628.773] (II) evdev: Logitech USB Keyboard: initialized for absolute axes.
[ 52628.773] (**) Logitech USB Keyboard: (accel) keeping acceleration scheme 1
[ 52628.773] (**) Logitech USB Keyboard: (accel) acceleration profile 0
[ 52628.773] (**) Logitech USB Keyboard: (accel) acceleration factor: 2.000
[ 52628.773] (**) Logitech USB Keyboard: (accel) acceleration threshold: 4
[ 52628.773] (II) config/udev: Adding input device PixArt Microsoft USB Optical Mouse (/dev/input/event16)
[ 52628.773] (**) PixArt Microsoft USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[ 52628.773] (II) Using input driver 'evdev' for 'PixArt Microsoft USB Optical Mouse'
[ 52628.773] (**) PixArt Microsoft USB Optical Mouse: always reports core events
[ 52628.773] (**) evdev: PixArt Microsoft USB Optical Mouse: Device: "/dev/input/event16"
[ 52628.825] (--) evdev: PixArt Microsoft USB Optical Mouse: Vendor 0x45e Product 0xcb
[ 52628.825] (--) evdev: PixArt Microsoft USB Optical Mouse: Found 3 mouse buttons
[ 52628.825] (--) evdev: PixArt Microsoft USB Optical Mouse: Found scroll wheel(s)
[ 52628.825] (--) evdev: PixArt Microsoft USB Optical Mouse: Found relative axes
[ 52628.825] (--) evdev: PixArt Microsoft USB Optical Mouse: Found x and y relative axes
[ 52628.825] (II) evdev: PixArt Microsoft USB Optical Mouse: Configuring as mouse
[ 52628.825] (II) evdev: PixArt Microsoft USB Optical Mouse: Adding scrollwheel support
[ 52628.825] (**) evdev: PixArt Microsoft USB Optical Mouse: YAxisMapping: buttons 4 and 5
[ 52628.825] (**) evdev: PixArt Microsoft USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 52628.825] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:045E:00CB.0004/input/input20/event16"
[ 52628.825] (II) XINPUT: Adding extended input device "PixArt Microsoft USB Optical Mouse" (type: MOUSE, id 12)
[ 52628.825] (II) evdev: PixArt Microsoft USB Optical Mouse: initialized for relative axes.
[ 52628.825] (**) PixArt Microsoft USB Optical Mouse: (accel) keeping acceleration scheme 1
[ 52628.825] (**) PixArt Microsoft USB Optical Mouse: (accel) acceleration profile 0
[ 52628.825] (**) PixArt Microsoft USB Optical Mouse: (accel) acceleration factor: 2.000
[ 52628.825] (**) PixArt Microsoft USB Optical Mouse: (accel) acceleration threshold: 4
[ 52628.825] (II) config/udev: Adding input device PixArt Microsoft USB Optical Mouse (/dev/input/mouse0)
[ 52628.825] (II) No input driver specified, ignoring this device.
[ 52628.825] (II) This device may have been added with another device file.
[ 52628.825] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event7)
[ 52628.825] (II) No input driver specified, ignoring this device.
[ 52628.825] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event8)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event9)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=3 (/dev/input/event10)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=7 (/dev/input/event11)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH HDMI/DP,pcm=8 (/dev/input/event12)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event5)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.826] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event6)
[ 52628.826] (II) No input driver specified, ignoring this device.
[ 52628.826] (II) This device may have been added with another device file.
[ 52628.827] (II) config/udev: Adding input device Speakup (/dev/input/event0)
[ 52628.827] (**) Speakup: Applying InputClass "evdev keyboard catchall"
[ 52628.827] (**) Speakup: Applying InputClass "keyboard-all"
[ 52628.827] (**) Speakup: Applying InputClass "keyboard-all"
[ 52628.827] (II) Using input driver 'evdev' for 'Speakup'
[ 52628.827] (**) Speakup: always reports core events
[ 52628.827] (**) evdev: Speakup: Device: "/dev/input/event0"
[ 52628.827] (--) evdev: Speakup: Vendor 0 Product 0
[ 52628.827] (--) evdev: Speakup: Found keys
[ 52628.827] (II) evdev: Speakup: Configuring as keyboard
[ 52628.827] (**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event0"
[ 52628.827] (II) XINPUT: Adding extended input device "Speakup" (type: KEYBOARD, id 13)
[ 52628.827] (**) Option "xkb_rules" "evdev"
[ 52628.827] (**) Option "xkb_layout" "fr"
[ 52628.827] (**) Option "xkb_options" "terminate:ctrl_alt_bksp"
[ 52629.036] (II) intel(0): EDID vendor "SAM", prod id 2878
[ 52629.036] (II) intel(0): Using EDID range info for horizontal sync
[ 52629.036] (II) intel(0): Using EDID range info for vertical refresh
[ 52629.036] (II) intel(0): Printing DDC gathered Modelines:
[ 52629.036] (II) intel(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz eP)
[ 52629.036] (II) intel(0): Modeline "800x600"x0.0   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 52629.036] (II) intel(0): Modeline "800x600"x0.0   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz e)
[ 52629.036] (II) intel(0): Modeline "640x480"x0.0   31.50  640 656 720 840  480 481 484 500 -hsync -vsync (37.5 kHz e)
[ 52629.036] (II) intel(0): Modeline "640x480"x0.0   31.50  640 664 704 832  480 489 492 520 -hsync -vsync (37.9 kHz e)
[ 52629.036] (II) intel(0): Modeline "640x480"x0.0   30.24  640 704 768 864  480 483 486 525 -hsync -vsync (35.0 kHz e)
[ 52629.036] (II) intel(0): Modeline "640x480"x0.0   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz e)
[ 52629.036] (II) intel(0): Modeline "720x400"x0.0   28.32  720 738 846 900  400 412 414 449 -hsync +vsync (31.5 kHz e)
[ 52629.036] (II) intel(0): Modeline "1280x1024"x0.0  135.00  1280 1296 1440 1688  1024 1025 1028 1066 +hsync +vsync (80.0 kHz e)
[ 52629.036] (II) intel(0): Modeline "1024x768"x0.0   78.75  1024 1040 1136 1312  768 769 772 800 +hsync +vsync (60.0 kHz e)
[ 52629.036] (II) intel(0): Modeline "1024x768"x0.0   75.00  1024 1048 1184 1328  768 771 777 806 -hsync -vsync (56.5 kHz e)
[ 52629.036] (II) intel(0): Modeline "1024x768"x0.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 52629.036] (II) intel(0): Modeline "832x624"x0.0   57.28  832 864 928 1152  624 625 628 667 -hsync -vsync (49.7 kHz e)
[ 52629.036] (II) intel(0): Modeline "800x600"x0.0   49.50  800 816 896 1056  600 601 604 625 +hsync +vsync (46.9 kHz e)
[ 52629.036] (II) intel(0): Modeline "800x600"x0.0   50.00  800 856 976 1040  600 637 643 666 +hsync +vsync (48.1 kHz e)
[ 52629.036] (II) intel(0): Modeline "1152x864"x0.0  108.00  1152 1216 1344 1600  864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 52629.036] (II) intel(0): Modeline "1280x720"x60.0   74.48  1280 1336 1472 1664  720 721 724 746 -hsync +vsync (44.8 kHz e)
[ 52629.036] (II) intel(0): Modeline "1280x800"x0.0   83.50  1280 1352 1480 1680  800 803 809 831 -hsync +vsync (49.7 kHz e)
[ 52629.036] (II) intel(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 52629.036] (II) intel(0): Modeline "1440x900"x0.0  106.50  1440 1520 1672 1904  900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 52629.036] (II) intel(0): Modeline "1600x900"x60.0  119.00  1600 1696 1864 2128  900 901 904 932 -hsync +vsync (55.9 kHz e)
[ 52629.036] (II) intel(0): Modeline "1680x1050"x0.0  146.25  1680 1784 1960 2240  1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 52643.523] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 52653.362] (II) Open ACPI successful (/var/run/acpid.socket)
[ 52653.362] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 52655.850] (EE) 
Fatal server error:
[ 52655.850] (EE) EnterVT failed for screen 0
[ 52655.850] (EE) 
[ 52655.850] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[ 52655.850] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[ 52655.850] (EE) 
[ 52655.850] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 52655.850] (WW) intel(0): drmDropMaster failed: Invalid argument
[ 52655.872] (EE) Server terminated with error (1). Closing log file.

$ ps aux | grep xpra 
yugiohjcj   6515  0.4  1.4 467656 58648 ?        S    15:23   0:00 /usr/bin/python /usr/bin/xpra start --start=urxvt
yugiohjcj   6516  0.2  0.5 153424 21664 tty8     Ssl+ 15:23   0:00 Xorg-nosuid /usr/libexec/Xorg -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth /home/yugiohjcj/.Xauthority -logfile /home/yugiohjcj/.xpra/Xorg.S6511.log -configdir /home/yugiohjcj/.xpra/xorg.conf.d -config /tmp/python-xpra-2.0.2/etc/xpra/xorg.conf -depth 24 -displayfd 6

So now xpra is running on both x86 and x86_64 machines (at least it is listed in the processes).
But on the x86 machine there is a problem with vpx/x264/encoding whereas on the x86_64 machine there is a problem in relationship with EnterVT.
I solved some permission problems (on /dev/tty* files) and on the Xorg ABI problem but it seems that I need to solve other problems now.

Do you have any idea how to fix these new problems please?

On Wed, 26 Apr 2017 17:53:47 +0700
Antoine Martin <antoine at nagafix.co.uk> wrote:

> On 26/04/17 17:40, YuGiOhJCJ Mailing-List wrote:
> > Oh, OK I got it.
> > So, xpra is using the "dummmy" driver.
> > From the output in my previous mail, I only see "xpra_Xdummy" referring to the "dummy" driver so it was a bit difficult to understand that the "dummy" driver was used by xpra.
> > 
> > I only have upgraded a part of Xorg:
> Bad idea.
> (..)
> 
> > It means that I have not upgraded the "dummy" driver because Xorg was working without it:
> > - xf86-video-dummy-0.3.7
> Since you're going to upgrade the dummy driver, you may want to upgrade
> to a better version than 0.3.7. 0.3.8 is out, and you can apply some
> patches on top of that to get better support (DPI, 30bpp, etc):
> https://xpra.org/trac/wiki/Xdummy#Status
> 
> Cheers
> Antoine
> 
> > So, the "dummy" driver on my system is not compatible with my other packages.
> > The xpra program expects that I have a fully not broken Xorg and that's why there is a failure.
> > Well, I will upgrade my "dummy" driver and I hope it is the only one driver used by xpra and not upgraded on my system.
> > 
> > On Wed, 26 Apr 2017 11:34:03 +0700
> > Antoine Martin <antoine at nagafix.co.uk> wrote:
> > 
> >> On 26/04/17 02:37, YuGiOhJCJ Mailing-List wrote:
> >>> That's weird because my Xorg server is working fine when I am using it without xpra.
> >>> Usually, I type "startx" then I launch some applications like "urxvt" or "firefox".
> >>> The errors in my previous mail only happen when I am using xpra.
> >> That's not weird at all: you've broken the Xorg driver used by xpra
> >> (dummy) but not the others.
> >>
> >> My guess is that you're trying to use a patched dummy driver, which
> >> would be a good thing if you built it properly.
> >>
> >> Cheers
> >> Antoine
> >>
> >>
> >>>
> >>> On Tue, 25 Apr 2017 07:18:34 +0700
> >>> Antoine Martin via shifter-users <shifter-users at lists.devloop.org.uk> wrote:
> >>>
> >>>> On 25/04/17 01:54, YuGiOhJCJ Mailing-List wrote:
> >>>>> OK, now I am using the "--without-dec_avcodec2" and "--without-enc_ffmpeg" options and it compiles fine.
> >>>>> However, I am not able to use xpra.
> >>>> FYI: those errors have nothing to do with xpra, but here are some
> >>>> answers anyway.
> >>>>
> >>>> (snip)
> >>>>> 1. On my i686 machine, in an X terminal, in a window manager
> >>>>> X.Org X Server 1.16.0
> >>>> (..)
> >>>>> (EE) module ABI major version (14) doesn't match the server's version (18)
> >>>>> (EE) module ABI major version (19) doesn't match the server's version (21)
> >>>>> (EE) module ABI major version (19) doesn't match the server's version (21)
> >>>>> (EE) 
> >>>>> Fatal server error:
> >>>>> (EE) no screens found(EE) 
> >>>> Your system is misconfigured. The xorg modules you're trying to use
> >>>> don't match the server ABI version. You have 3 different versions!
> >>>> Make sure you build those drivers (keyboard, mouse, dummy) against the
> >>>> correct Xorg version.
> >>>>
> >>>>> 2. On my i686 machine, in an interactive login shell, without any X
> >>>> xerver launched
> >>>>> (EE) module ABI major version (14) doesn't match the server's version (18)
> >>>>> (EE) module ABI major version (19) doesn't match the server's version (21)
> >>>>> (EE) module ABI major version (19) doesn't match the server's version (21)
> >>>> Same problem.
> >>>>
> >>>>> 3. On my x64 machine, in an interactive login shell, without any X xerver launched
> >>>>> Fatal server error> (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
> >>>> tty issues usually occur on distributions that change Xorg tty
> >>>> permissions. You will have to figure out what the permissions are vs
> >>>> should be, or switch to Xvfb instead of Xdummy.
> >>>>
> >>>>> 4. On my x86_64 machine, in an X terminal, in a window manager
> >>>>> (EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or directory)
> >>>> Same problem.
> >>>>
> >>>>> From above, I see some errors like:
> >>>>> * server already running
> >>>> Fix your other real problems and this will probably be fine.
> >>>>> * no screens found
> >>>> That's a generic error message, your drivers are broken as per above.
> >>>>> * xpra_Xdummy did not provide a display number using -displayfd
> >>>> That's a generic error message, we can't get a display because your Xorg
> >>>> server setup is fundamentally broken.
> >>>>> * parse_vt_settings: Cannot open /dev/tty0
> >>>> See above.
> >>>>
> >>>>> But I am not sure to understand what I am doing wrong.
> >>>>> Can you explain me please?
> >>>> Your Xorg setup is broken. Either rebuild your Xorg modules properly, or
> >>>> use your distribution's packages.
> >>>>
> >>>> Cheers
> >>>> Antoine
> >>>>
> >>>>
> >>>>>
> >>>>> On Mon, 24 Apr 2017 12:37:37 +0700
> >>>>> Antoine Martin <antoine at nagafix.co.uk> wrote:
> >>>>>
> >>>>>> On 23/04/17 19:59, YuGiOhJCJ Mailing-List wrote:
> >>>>>>> OK, now I am using xpra 2.0.2 and the "--without-strict" option:
> >>>>>>> ---
> >>>>>>> $ python setup.py install --without-strict
> >>>>>> (snip)
> >>>>>>> gcc -pthread -shared build/temp.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.o -L/usr/lib64 -lavutil -lpython2.7 -o build/lib.linux-x86_64-2.7/xpra/codecs/libav_common/av_log.so -Wall
> >>>>>>> building 'xpra.codecs.dec_avcodec2.decoder' extension
> >>>>>>> creating build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2
> >>>>>>> gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xpra/codecs/dec_avcodec2/decoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/dec_avcodec2/decoder.o -Wall -fPIC
> >>>>>>> xpra/codecs/dec_avcodec2/decoder.c: In function ‘__pyx_pf_4xpra_6codecs_12dec_avcodec2_7decoder_7Decoder_26decompress_image’:
> >>>>>>> xpra/codecs/dec_avcodec2/decoder.c:8244:23: warning: implicit declaration of function ‘avcodec_send_packet’ [-Wimplicit-function-declaration]
> >>>>>>>          __pyx_v_ret = avcodec_send_packet(__pyx_v_self->codec_ctx, (&__pyx_v_avpkt));
> >>>>>>>                        ^
> >>>>>>> xpra/codecs/dec_avcodec2/decoder.c:8425:23: warning: implicit declaration of function ‘avcodec_receive_frame’ [-Wimplicit-function-declaration]
> >>>>>>>          __pyx_v_ret = avcodec_receive_frame(__pyx_v_self->codec_ctx, __pyx_v_self->av_frame);
> >>>>>>>                        ^
> >>>>>>
> >>>>>> (snip)
> >>>>>>> building 'xpra.codecs.enc_ffmpeg.encoder' extension
> >>>>>>> creating build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg
> >>>>>>> gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c xpra/codecs/enc_ffmpeg/encoder.c -o build/temp.linux-x86_64-2.7/xpra/codecs/enc_ffmpeg/encoder.o -Wall -fPIC
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_2init_encoder’:
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7934:15: warning: implicit declaration of function ‘avcodec_parameters_from_context’ [-Wimplicit-function-declaration]
> >>>>>>>    __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, __pyx_v_self->video_ctx);
> >>>>>>>                ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7934:73: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> >>>>>>>    __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->video_stream->codecpar, __pyx_v_self->video_ctx);
> >>>>>>>                                                                          ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:7953:78: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> >>>>>>>      __pyx_t_2 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->video_stream->codecpar)); if (unlikely(!__pyx_t_2)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 926; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> >>>>>>>                                                                               ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:8367:75: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> >>>>>>>      __pyx_v_r = avcodec_parameters_from_context(__pyx_v_self->audio_stream->codecpar, __pyx_v_self->audio_ctx);
> >>>>>>>                                                                            ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:8386:80: error: ‘AVStream {aka struct AVStream}’ has no member named ‘codecpar’
> >>>>>>>        __pyx_t_4 = __Pyx_PyInt_FromSize_t(((uintptr_t)__pyx_v_self->audio_stream->codecpar)); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 957; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> >>>>>>>                                                                                 ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function ‘__pyx_pf_4xpra_6codecs_10enc_ffmpeg_7encoder_7Encoder_32compress_image’:
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:12372:23: warning: implicit declaration of function ‘avcodec_send_frame’ [-Wimplicit-function-declaration]
> >>>>>>>          __pyx_v_ret = avcodec_send_frame(__pyx_v_self->video_ctx, __pyx_v_frame);
> >>>>>>>                        ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:12572:25: warning: implicit declaration of function ‘avcodec_receive_packet’ [-Wimplicit-function-declaration]
> >>>>>>>            __pyx_v_ret = avcodec_receive_packet(__pyx_v_self->video_ctx, (&__pyx_v_avpkt));
> >>>>>>>                          ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c: In function ‘initencoder’:
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16412:36: error: ‘FF_PROFILE_H264_MULTIVIEW_HIGH’ undeclared (first use in this function)
> >>>>>>>    __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_MULTIVIEW_HIGH); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 449; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> >>>>>>>                                     ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16412:36: note: each undeclared identifier is reported only once for each function it appears in
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16448:36: error: ‘FF_PROFILE_H264_STEREO_HIGH’ undeclared (first use in this function)
> >>>>>>>    __pyx_t_3 = __Pyx_PyInt_From_int(FF_PROFILE_H264_STEREO_HIGH); if (unlikely(!__pyx_t_3)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 452; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> >>>>>>>                                     ^
> >>>>>>> xpra/codecs/enc_ffmpeg/encoder.c:16731:36: error: ‘AV_OPT_TYPE_BOOL’ undeclared (first use in this function)
> >>>>>>>    __pyx_t_4 = __Pyx_PyInt_From_int(AV_OPT_TYPE_BOOL); if (unlikely(!__pyx_t_4)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 478; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
> >>>>>>>                                     ^
> >>>>>>> error: command 'gcc' failed with exit status 1
> >>>>>>> ---
> >>>>>>>
> >>>>>>> Is there an incompatibility between my ffmpeg and my xpra versions?
> >>>>>> Yes. We require ffmpeg 3.1 or later.
> >>>>>>
> >>>>>>> I am using ffmpeg-2.8.7 (built from source code, not the one provided by my distro).
> >>>>>> (strange choice, since the latest version from the 2.8 branch is 2.8.11)
> >>>>>>
> >>>>>> In any case, you have to use a supported version of ffmpeg or disable
> >>>>>> the codec that break: --without-dec_avcodec2 --without-enc_ffmpeg
> >>>>>>
> >>>>>> Cheers
> >>>>>> Antoine
> >>>>
> >>>> _______________________________________________
> >>>> shifter-users mailing list
> >>>> shifter-users at lists.devloop.org.uk
> >>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> >>
> 



More information about the shifter-users mailing list