The main highlight of this release are RandR 1.5 with reworked
multi-monitor support, GLAMOR optimizations and better generic
modesetting driver support.
1.17.4:
Fixes an uninitialized fd_set
1.17.3:
Various bugfixes across the board. The most visible changes include
fixing GLX extension setup under Xwayland and other non-Xorg servers
(enabling core contexts in more scenarios), and various stability fixes
to glamor and the Present extension.
- always include dri3 support with dri option (can still use dri2)
- always include GLAMOR support with dri option
- enable xtrans file descriptor passing
- require mesa 11
- Bump PKGREVISION
GLAMOR is experimental OpenGL accelerated 2D graphics. It works with
xf86-video-ati and xf86-video-intel but must be explicitly enabled.
Sample configuration:
---8<---
# /usr/pkg/share/X11/xorg.conf.d/20-glamor.conf
Section "Module"
Load "dri2"
Load "glamoregl"
EndSection
Section "Device"
Identifier "radeon" # or intel
Driver "radeon" # or intel
Option "AccelMethod" "glamor"
EndSection
---8<---
This picks up a pile of fixes from master. Notable highlights:
- Fix for CVE-2015-3164 in Xwayland
- Fix int10 setup for vesa
- Fix regression in server-interpreted auth
- Fix fb setup on big-endian CPUs
- Build fix for for gcc5
Complete changelog:
Aaron Plattner (2):
xfree86: Fix xf86_check_platform_slot's handling of PCI
xfree86: Add GPU screens even if there are no active GDevs
Adam Jackson (1):
xserver 1.17.2
Adel Gadllah (1):
modesetting: Fix software cursor fallback
Alan Coopersmith (2):
Clear ListenTransConns entries in CloseWellKnownConnections
Accept x86_64 as well as i*86 for $host_cpu in Solaris on x86
Brent Collins (1):
shm: Fix xselinux resource initialization for xinerama pixmaps
Chris Wilson (2):
shm: Fix use-after-free in ShmDestroyPixmap
present: Copy unflip contents back to the Screen Pixmap
Colin Harrison (2):
os/xdmcp.c: Include Xtrans.h when building for WIN32
os/utils.c: Don't try to build os_move_fd() for WIN32
Dave Airlie (2):
os/access: fix regression in server interpreted auth
glamor: don't do render ops with matching source/dest (v2)
Dima Ryazanov (1):
xwayland: Implement smooth scrolling
Egbert Eich (6):
symbols: Fix sdksyms.sh to cope with gcc5
Xephyr: Don't crash when no command line argument is specified
Xephyr: Print default server display number if none is specified
Xephyr: Fix compile when debugging is enabled
Xephyr: Fix screen image draw for the non-Glamor & non-XHSM case
Xephyr: Fix broken image when endianess of client machine and host-Xserver differ
Emil Velikov (2):
randr: remove chatty error messages
randr: use randr: prefix in ErrorF()
Hans de Goede (1):
Re-enable non serverfd input devices immediately on vtenter
Jason Gerecke (2):
xfree86: Return NULL from xf86CompatOutput if no compat_output is defined
dix: Do not allow device transform to be set on valuatorless devices
Jon TURNEY (9):
ephyr: Avoid a segfault with 'DISPLAY= Xephy -glamor'
os: XDMCP options like -query etc. should imply -listen tcp
os: Teach vpnprintf() how to handle "%*.*s"
hw/xwin/glx: Refactor parsing of the <proto> XML element
hw/xwin/glx: Improve code generator to deal with latest Khronos OpenGL registry XML
hw/xwin: Report Cygwin version information in log
glamor: Fix build when configured --enable-glamor --disable-xshmfence
hw/xwin/winclipboard: Link xwinclip with -lpthread
hw/xnest: Fix build for MinGW
Jonathan Gray (2):
glamor: remove const from the return type of glamor_get_drawable_location()
glamor: fix build when DRI3 is not defined
Jürg Billeter (1):
int10: Fix error check for pci_device_map_legacy
Keith Packard (1):
mi: Partial pie-slice filled arcs may need more space for spans
Maarten Lankhorst (4):
glamor: only use (un)pack_subimage when available
glamor: do not check for gl errors in glamor_build_program
glamor: Use GL_FRAMEBUFFER instead of GL_READ_FRAMEBUFFER
glamor: GL_TEXTURE_MAX_LEVEL is not available on GLES2
Michal Srb (1):
Expose GetMaster to modules.
Michel Dänzer (2):
Add AC_SYS_LARGEFILE defines to dix-config.h
modesetting: Include dix-config.h from dumb_bo.c
Olivier Fourdan (4):
ephyr: Fail if glamor is requested but not usable
xwayland: Add dependency on glamor libs
glamor: check max native ALU instructions
dix: Fix image byte order on big endian hardware
Ray Strode (5):
systemd-logind: filter out non-signal messages from message filter
systemd-logind: don't second guess D-Bus default timeout
xwayland: Enable access control on open sockets [CVE-2015-3164 1/3]
os: support new implicit local user access mode [CVE-2015-3164 2/3]
xwayland: default to local user if no xauth file given. [CVE-2015-3164 3/3]
Robert Ancell (1):
xwayland: Fix error strings
Rui Matos (2):
dix/events: Set currentTime to the given time stamp in NoticeTime
xwayland: Throttle our cursor surface updates with a frame callback
Vicente Olivert Riera (1):
backtrace.c: Fix word cast to a pointer
Switch if statment from a *BSD wildcard to specifically listing these operating
systems so FreeBSD & DragonFlyBSD can then use security/nettle.
Reviewed by wiz@
Please note that the previous version is still available in
x11/modular-xorg-server112 in case this version does not work for you.
This is relevant for users who need DRI1 and/or XAA as those features have
been deprecated and removed by upstream since xorg-server-1.13.
Note also that this update breaks the driver ABI and that drivers will be need
to be rebuilt.
Summary of the important changes since 1.12:
xorg-server-1.17 (4 February 2015)
- Generic DRM/KMS driver xf86-video-modesetting
xorg-server-1.16 (17 July 2014)
- XWayland DDX
- GLAMOR acceleration
- non-PCI devices support
- systemd-logind support (rootless X)
xorg-server1.15 (27 December 2013)
- DRI3
- "present" extension
xorg-server-1.14 (5 March 2013)
- XInput 2.3
xorg-server1.13 (5 September 2012)
- New DDX driver API
- DRI2
- RandR 1.4
- OpenGL 3.x+ contexts
- XAA support removed
need to link with it but might have included x11/xf86driproto's bl3.mk first,
because we have:
x11/xf86driproto/buildlink3.mk:BUILDLINK_DEPMETHOD.libpciaccess?= build
(This issue appears only on non-x86 because on x86 we get libpciaccess
through libdrm)
Bump PKGREVISION to get the dependency expressed.
of fonts required to run the X server.
AIUI we do not want the X server package to depend on these fonts
directly. (If this is not the case, or no longer is, they should be
added to DEPENDS.)
X.Org Security Advisory: Dec. 9, 2014
Protocol handling issues in X Window System servers
using the 1.16.x patches, backported to 1.12 by myself.
Review welcome.
Bump PKGREVISION.
From a4d9bf1259ad28f54b6d59a480b2009cc89ca623 Mon Sep 17 00:00:00 2001
From: Alan Coopersmith <alan.coopersmith@oracle.com>
Date: Mon, 16 Sep 2013 21:47:16 -0700
Subject: [PATCH] Avoid use-after-free in dix/dixfonts.c: doImageText()
Save a pointer to the passed in closure structure before copying it
and overwriting the *c pointer to point to our copy instead of the
original. If we hit an error, once we free(c), reset c to point to
the original structure before jumping to the cleanup code that
references *c.
Since one of the errors being checked for is whether the server was
able to malloc(c->nChars * itemSize), the client can potentially pass
a number of characters chosen to cause the malloc to fail and the
error path to be taken, resulting in the read from freed memory.
Since the memory is accessed almost immediately afterwards, and the
X server is mostly single threaded, the odds of the free memory having
invalid contents are low with most malloc implementations when not using
memory debugging features, but some allocators will definitely overwrite
the memory there, leading to a likely crash.
Reported-by: Pedro Ribeiro <pedrib@gmail.com>
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Julien Cristau <jcristau@debian.org>
Bump PKGREVISION.
to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882