Skip to content

Update to X.Org X Server 1.20.2 #939

Merged
merged 14 commits into from Oct 25, 2018
Merged

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Oct 17, 2018

Update X.Org X Server and DDX driver amdgpu, nouveau and proprietary Nvidia driver.

Install with sudo ./scripts/update-graphics-and-x-stack.sh.

  • Look into conflict below.

      installing /src/mariux/beeroot/packages/xorg-server-1.20.1-0.x86_64.bee.tar.bz2 ..
          Conflicts with installed package found: tigervnc-1.8.0-2.x86_64:
              /usr/lib/xorg/protocol.txt
    

    Introduced by tigervnc: fix typo in be0 file #716, and fixed in TigerVNC 1.9.0 package.

  • Update proprietary Nvidia driver

  • Rebuild TigerVNC against X.Org X Server

Tested on keineahnung (Intel IGD), three PC pool systems sigint (Nvidia), theinternet (Nvidia), and inbetweenmove (AMD graphics card). With libX11 1.6.7 @donald’s mouse problem couldn’t be reproduced.

@pmenzel pmenzel mentioned this pull request Oct 17, 2018
2 tasks
xorgproto replaces all the other proto recipes [1].

[1]: https://bugs.freedesktop.org/show_bug.cgi?id=105287
> I'm pleased to announce the 18.1.0 release of xf86-video-amdgpu, the
> Xorg driver for AMD Radeon GPUs supported by the amdgpu kernel driver.
> This release supports xserver versions 1.13-1.20.
>
> Highlights:
>
> * When using DC as of Linux 4.17:
>   - Support advanced colour management functionality.
>   - Support gamma correction and X11 colormaps when Xorg runs at depth
>     30 as well.
> * Support for leasing RandR outputs to clients.
> * Various robustness fixes for TearFree. In particular, fixed several
>   cases in which disabling TearFree at runtime would result in the Xorg
>   process freezing or crashing.
> * Fixed some m4 related build issues with older versions of autotools.
Announcement:

> Lots of bugfixes all over the map. Thanks to all for testing and
> patches!
>
> Adam Jackson (8):
>       modesetting: Lie less in the man page
>       modesetting: Document Option "DoubleShadow" in the man page
>       xfree86: Fix Option "MaxClients" validation
>       modesetting: Don't free(dst) in drmmode_prop_info_copy
>       glamor_egl: Don't initialize on llvmpipe
>       glamor/egl: Avoid crashing on broken configurations
>       fbdevhw: Refuse to touch PCI devices on the fallback probe path
>       xserver 1.20.2
>
> Alex Goins (1):
>       randr: rrCheckPixmapBounding should only increase screen size
>
> Alexander Volkov (1):
>       os/xdmcp: Don't create a new socket in XdmcpReset()
>
> Cedric Roux (1):
>       miext/damage: take care of the coordinate mode in damagePolyPoint
>
> Dave Airlie (9):
>       shm: move shmsize verify before allocating the drawable.
>       xi: free modifiers_failed on error path. (v2)
>       fboverlay: move bpp checks above malloc
>       glamor: fix leak of fs_getcolor_source.
>       modesetting: get pEnt after error checks
>       posix_tty: free leak of xf86SetStrOption return value.
>       xkb: fix what looks to be a copy-paste error with first vs firstMM
>       mibltblt: free prgnSrcClip on error path.
>       devices: break after finding and removing device from lists
>
> Jim Qu (1):
>       modesetting: code refactor for PRIME sync
>
> Lionel Landwerlin (2):
>       present: fix freed pointer access
>       xwayland: fix access to invalid pointer
>
> Olivier Fourdan (3):
>       glx: check for indirect context in CreateContextAttribsARB()
>       xwayland: Remove xwl_present_window from privates on cleanup
>       xwayland: Use `double` for `xwl_tablet_tool`
>
> Peter Hutterer (1):
>       dix: check_modmap_change() returns Success, not true
>
> Pierre Ossman (1):
>       Switch automatic composite update to WorkQueue
>
> Scott Anderson (1):
>       xwayland: use wayland axis_discrete event
[Release notes][1]:

> The new TigerVNC 1.9.0 is now available. Lots of changes have been
> made since the last release, but the highlights are:
>
>  *  Alternative, "raw" keyboard mode in the native client and all servers
>  *  CapsLock/NumLock/ScrollLock synchronisation in the native client and all servers
>  *  Automatic "repair" of JPEG artefacts on screen in all servers
>  *  Support for UNIX sockets in the native client and in the UNIX servers
>  *  Both clients now warn when sending the password over a possibly insecure channel
>  *  Performance improvements in the Java client
>  *  The Java client now requires Java 7
>  *  Improved high latency handling in all servers
>  *  Better keyboard handling in the native client on Windows
>  *  Slightly better keyboard handling in x0vncserver
>  *  x0vncserver now supports cursors and screen resize
>  *  Xorg 1.20 can now be used as a base for Xvnc/libvnc.so

This rebuilds against X.Org X Server 1.20.1.

Additionally, as systemd with libsystemd is now used on all systems,
TigerVNC will be built against systemd too.

[1]: https://github.com/TigerVNC/tigervnc/releases
[Fix the error below.][1]:

```
Making all in dri3
make[1]: Entering directory '/dev/shm/bee-root/tigervnc/tigervnc-1.9.0-0/build/unix/xserver/dri3'
  CC       dri3.lo
  CC       dri3_screen.lo
  CC       dri3_request.lo
dri3.c:29:10: fatal error: drm_fourcc.h: No such file or directory
 #include <drm_fourcc.h>
          ^~~~~~~~~~~~~~
compilation terminated.
dri3_screen.c:32:10: fatal error: drm_fourcc.h: No such file or directory
 #include <drm_fourcc.h>
          ^~~~~~~~~~~~~~
compilation terminated.
dri3_request.c:33:10: fatal error: drm_fourcc.h: No such file or directory
 #include <drm_fourcc.h>
          ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:663: dri3.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:663: dri3_screen.lo] Error 1
make[1]: *** [Makefile:663: dri3_request.lo] Error 1
make[1]: Leaving directory '/dev/shm/bee-root/tigervnc/tigervnc-1.9.0-0/build/unix/xserver/dri3'
```

[1]: https://github.com/TigerVNC/tigervnc/issues/740
This file is provided by the package `xorg-server`.

    $ sudo bee query /var/lib/xkb/README.compiled
    tigervnc-1.8.0-2.x86_64
      /var/lib/xkb/README.compiled
    xorg-server-1.20.1-0.x86_64
      /var/lib/xkb/README.compiled
[Work around a build failure.][1]

    [BEE] make -j100 TIGERVNC_SRCDIR=/dev/shm/bee-root/tigervnc/tigervnc-1.9.0-0/source
    [BEE] […]
    [BEE] make[2]: Entering directory '/dev/shm/bee-root/tigervnc/tigervnc-1.9.0-0/build/unix/xserver/hw/vnc'
    [BEE]   CC       libvnc_la-vncModule.lo
    [BEE]   CC       libvnccommon_la-vncExt.lo
    [BEE]   CXX      libvnccommon_la-vncExtInit.lo
    [BEE]   CC       libvnccommon_la-vncSelection.lo
    [BEE]   CC       libvnccommon_la-vncHooks.lo
    [BEE] make[2]: *** No rule to make target '/dev/shm/bee-root/tigervnc/tigervnc-1.9.0-0/source/common/network/libnetwork.la', needed by 'libvnc.la'.  Stop.

[1]: https://github.com/TigerVNC/tigervnc/issues/742
@pmenzel pmenzel force-pushed the update-to-xorg-server-1.20.2 branch from 40168a0 to d511666 Compare October 18, 2018 15:21
@pmenzel pmenzel force-pushed the update-to-xorg-server-1.20.2 branch from d511666 to 15259f3 Compare October 18, 2018 15:22
@pmenzel
Copy link
Collaborator Author

pmenzel commented Oct 18, 2018

The branch is up to date now, and should be ready for merging.

@pmenzel pmenzel merged commit 59ce6fd into master Oct 25, 2018
@pmenzel
Copy link
Collaborator Author

pmenzel commented Oct 25, 2018

This also fixes an XScreenSaver issue on bacon where the unlock window is not visible, and the mouse cursor is locked in that area.

@pmenzel
Copy link
Collaborator Author

pmenzel commented Oct 30, 2018

I manually ran

$ sudo bee remove libxcb-1.13-0.x86_64 printproto-1.0.4-0.x86_64 recordproto-1.14.2-0.x86_64 resourceproto-1.2.0-0.x86_64 scrnsaverproto-1.2.2-0.x86_64 xcmiscproto-1.2.2-0.x86_64 xextproto-7.3.0-0.x86_64 xf86bigfontproto-1.2.0-1.x86_64 xf86dgaproto-2.1-1.x86_64 xf86vidmodeproto-2.3-1.x86_64 xineramaproto-1.2.1-0.x86_64

on the distmaster to fix part of @donald’s findings below. (libxcb belongs to another pull request for example.)

buczek@deinemuddah:~/git/bee-files (master)$ git pull
X11 forwarding request failed on channel 0
Already up to date.
buczek@deinemuddah:~/git/bee-files (master)$ scripts/check-installed
# package in system but not in git: libxcb-1.13-0.x86_64
# package in system but not in git: printproto-1.0.4-0.x86_64
# package in system but not in git: recordproto-1.14.2-0.x86_64
# package in system but not in git: resourceproto-1.2.0-0.x86_64
# package in system but not in git: scrnsaverproto-1.2.2-0.x86_64
# package in system but not in git: waterfox-56.2.2-0.x86_64
# package in system but not in git: xcmiscproto-1.2.2-0.x86_64
# package in system but not in git: xextproto-7.3.0-0.x86_64
# package in system but not in git: xf86bigfontproto-1.2.0-1.x86_64
# package in system but not in git: xf86dgaproto-2.1-1.x86_64
# package in system but not in git: xf86vidmodeproto-2.3-1.x86_64
# package in system but not in git: xineramaproto-1.2.1-0.x86_64
# package in git but not in system: libxcb-1.13.1-0.x86_64 (libxcb.be0)
# package in git but not in system: nvidia_linux-4.14.74-227-390.87-0.x86_64 (nvidia_linux-4.14.74-227-390.87-0.bee)
# package in git but not in system: waterfox-56.2.3-0.x86_64 (waterfox.be0)
buczek@deinemuddah:~/git/bee-files (master)$ 

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant