Xorg-server has been installed.
If your kernel is compiled with the EVDEV_SUPPORT option enabled
(default starting from FreeBSD 12.1) it is recommended to enable evdev mode in
pointer device drivers like ums(4) and psm(4). This will give improvements like
better tilt wheel support for mice and centralized gesture support via
xf86-input-synaptics or libinput drivers for touchpads.
This is also needed for PS/2 devices to be properly detected by Xorg when
moused service is disabled in /etc/rc.conf and kernel is compiled with
EVDEV_SUPPORT.
To enable evdev in such a device, run the following:
# sysctl kern.evdev.rcpt_mask=6
To make it persistent across reboots, add the following to /etc/sysctl.conf:
kern.evdev.rcpt_mask=6
In case you're using a serial mouse or any other mouse that *only* works over
sysmouse(4) and moused(8) on an evdev enabled kernel, please run this:
# sysctl kern.evdev.rcpt_mask=3
To make it persistent across reboots, add to this /etc/sysctl.conf:
kern.evdev.rcpt_mask=3
Affects: updating x11-servers/xorg-server from a port
Author: se@FreeBSD.org
Reason:
The xorg-server port now has a library dependency on x11/libxcvt,
which cannot be installed when the previous version of xorg-server
is present. To be able to update xorg-server from a port, the
previous version needs to be manually deinstalled to allow libxcvt
to be installed.
Number of commits found: 245 (showing only 100 on this page) #
x11-servers/xorg-server: fix wrong types string instead of bool
meson has a bug which makes those wrong type being ignored, but muon
chokes on it.
No functional changes intented.
x11-servers/xorg-server: Add upstream patch for xkbcomp directory
Add a patch commited upstream but not present in any releases (except
Xwayland ones) as xorg-server releases stopped a while ago. This adds
a fallback to use $XDG_RUNTIME_DIR for xkbcomp result file if the user
can't write to the configured directory, which is unlikely for xorg-server
as it's SUID but it is likely for xephyr or xvfb.
While here use the meson default for xkb_dir as it's the same as the one we
provide and use also the default for xkb_output_dir which defaults to
xkb_dir/compiled which is a link to /var/lib/xkb (setup by the xkeyboard-config
port).
Differential Revision: https://reviews.freebsd.org/D44697
Reviewed by: bapt
Sponsored by: Beckhoff Automation GmbH & Co. KG
*/*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
Also move conditional flags for non sparc64/arm ARCH to fixed flags.
Reviewed by: brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
x11-servers/xorg-server: fix build on armv6/armv7
This reinstates USE_DEV_IO=1 on arm, a patch that was dropped in the
switch from autotools to meson.
Approved by: portmgr (build fix blanket)
MFH: 2023Q4
x11/xtrans: Don't unlink X11 Unix sockets.
Without this change calling `Xorg -displayfd ..` would always make X to use
:0 as the DISPLAY. This was a showstopper for running parallel desktop sessions.
The leftover UDS' are cleaned up during system's boot by the /etc/rc.d/cleartmp
service.
Based on work of jbeich and Olivier Certner <olivier.freebsd@free.fr>.
PR: 253277
Approved by: manu
Sponsored by: Serenity Cybersecurity, LLC
Differential Revision: https://reviews.freebsd.org/D30557
x11-servers/xorg-server: unbreak nvidia-driver < 410 after 88b0ae2bb9c6
Restore libglx.so -> .nvidia/libglx.so hardlink as symlink when
xorg-server is reinstalled after nvidia-driver.
PR: 271629
Reported by: gallatin
x11-servers/xorg-server: add missing features for PRIME
Modern PRIME X11 setups autoconfigure themselves, which internally
uses the udev and udev_kms options to do so. These options are required
for X to find the available DRM devices. This is needed for PRIME on
FreeBSD.
This is also adds the DRM platform code, taken from X commit:
https://gitlab.freedesktop.org/xorg/xserver/-/commit/5468123822bbe8cd0a0abe07bbbd3a9cb14ed2cb
Differential Revision: https://reviews.freebsd.org/D39886
Which is in master but not yet in any releases. This adds the platform
code to the build for DRM so that PRIME setups can work.
x11-servers/xorg-server: update to 21.1.8
This fixes:
* ZDI-CAN-19866/CVE-2023-1393: X.Org Server Overlay Window
Use-After-Free Local Privilege Escalation Vulnerability
If a client explicitly destroys the compositor overlay window (aka
COW), the Xserver would leave a dangling pointer to that window in the
CompScreen structure, which will trigger a use-after-free later.
PR: 270540
Approved by: x11 (maintainer)
MFH: 2023Q2
Security: 96d84238-b500-490b-b6aa-2b77090a0410
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
xorg: upgrade to 21.1.4
Port changes:
- flavorize the port
- decouple Xwayland as it has been split from Xorg
- switch to meson
- cleanup non necessary patches anymore
- stop butchering the build system to play with Xorg.wrap but do it
in post-install
- remove dmx (no longer existing)
- use libmd for sha1 (remove dependency on open/libre ssl)
- always activate RPC security
- simplify postinstall/deinstall script and make them cross install friendly
- remove the SUID option and make it the default, we cannot startx as user
without it
- only keep the mesa-dri dependency on xorg-server not others
(Only the first 15 lines of the commit message are shown above )
x11-servers: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Ade Lovett <ade@FreeBSD.org>
* Eric Anholt <anholt@FreeBSD.org>
* grog
* jabley@clear.co.nz
* lesi@FreeBSD.org
With hat: portmgr
x11-servers/xorg-server: patch to utilize CLOCK_MONOTONIC_FAST for the clock
This patches the X server to use CLOCK_MONOTONIC_FAST instead of
CLOCK_MONOTONIC for the clock. This is basically a reintroduction of
r208485 by jkim@ that was removed by accident(?).
Since the X server is fine with the Linux _COARSE clock the accuracy of
the FreeBSD _FAST clock should work too. I have run with this patch for
a long time without ill effects.
PR: 252816
Reviewed by: imp, markj, jkim, mhorne
Approved by: x11
graphics/mesa-libs: Bump reverse deps for libglvnd
Per discussion with bapt on helping pkg handle the changing of these
deps and avoiding impossible upgrade senarios.
PR: 246767
Reviewed by: manu, bapt
Approved by: x11
Differential Revision: https://reviews.freebsd.org/D30824
x11/libxcvt: avoid conflict with xorg-server
Nowadays, kde5 depends on both xorg-server and xwayland-devel.
Once upstream of both switches to libxcvt and xwayland-devel is
updated it'd make kde5 uninstallable. Backporting to xorg-server
is complicated by numerious patch conflicts and autotools.
Stop installing cvt(1) as Xwayland doesn't use xorg.conf(5).
x11/libxcvt: add new port
libxcvt is a library providing a standalone version of the X server
implementation of the VESA CVT standard timing modelines generator.
libxcvt also provides a standalone version of the command line tool
cvt copied from the Xorg implementation and is meant to be a direct
replacement to the version provided by the Xorg server.
https://gitlab.freedesktop.org/ofourdan/libxcvt
xorg-server: Add patches to fix security issues
Patch xorg-server (and sub ports) to fix recently discovered security isses:
CVE-2020-14360 and CVE-2020-25712.
These issues can lead to privileges elevations for authorized clients
on systems where the X server is running privileged.
Tested by: adridg, tcberner, mikael
MFH: 2020Q4
Security: 76c8b690-340b-11eb-a2b7-54e1ad3d6335
x11-servers/xorg-server: Fix several security issues
Fix several security issues in x11-servers/xorg-server and slave ports which
ultimately can lead to local privilege escalations if xorg-server is running
privileged.
More info:
https://lists.x.org/archives/xorg-announce/2020-August/003058.html
MFH: 2020Q3 (implicit, security update)
Security: ffa15b3b-e6f6-11ea-8cbf-54e1ad3d6335
xserver: default to libinput if no driver is found
Make xorg-server default to try the xf86-input-libinput driver if a
configured driver can't be found. This only applies if a specific driver
for an input device has been configured manually in xorg, but that driver
can't be found when starting xorg.
Discussed with: manu, jbeich
MFH: 2020Q2
xorg-server: Do not send spurious focus events
Apply an upstream patch to avoid sending focus evens when grab actually does
not change. This fixes certain full screen applications. [1]
Ensure that we actually don't try to find and link against HAL even if it's
around on the system we're compiling on [2]
Add CPE information [3]
PR: 245854 [1] (with changes), 245604 [2], 197712 [3]
Submitted by: naddy@ [1], mi@ [2], arrowd [3]
Reported by: shun [3]
MFH: 2020Q2
x11-servers/xwayland: expose x11/nvidia-driver support
Disabled for now as runtime wasn't tested. EGLStreams is supported by
x11-wm/mutter and x11-wm/plasma5-kwin.
PR: 244242
Approved by: zeising (x11)
graphics/mesa-libs: Change default to use DRI3
Change the default mesa configuration to use DRI3 rather than the older DRI2
interface. This should improve performance somewhat, and alleviates the need
for the FIXDRM option in x11-servers/xorg-server.
Remove the FIXDRM option from x11-servers/xorg-server.
Add an UPDATING entry for the change.
For users of graphics/drm-legacy-kmod or the base graphics drivers, this might
cause regressions. If you experience problems when running OpenGL applications
please force the use of the DRI2 backend by setting the LIBGL_DRI3_DISABLE
environment variable to 1 before starting any OpenGL application. This is
easiest done by adding it to your shell startup file or .xinitrc.
Add UPDATING entry for xorg-server, detailing the change of device
configuration backend.
PR: 196678, 244306 (for tracking)
x11-servers/xorg-server: Restore FIXDRM as an off-by-default knob
This is a workaround for a problem with certain systems [1] after
x11-servers/xorg-server was upgraded to 1.20.7. Other workarounds are
described in PR 244306.
[1]
These systems have been reported to have problems:
Sandy Bridge
Ivy Bridge
Broadwell
Kaby Lake
Whiskey Lake
PR: 244306
Submitted by: wulf
Reported by: philippe.michel7@free.fr
Approved by: x11 (zeising)
Differential Revision: https://reviews.freebsd.org/D23834
x11-servers/xorg-server: fix build on GCC architectures
Use C11 compiler:
In file included from glxserver.h:70,
from singlepix.c:35:
../include/glx_extinit.h:33: error: redefinition of typedef '__GLXscreen'
glxscreens.h:119: error: previous declaration of '__GLXscreen' was here
Update xorg x11 servers to 1.20.7
Update xorg x11 servers to 1.20.7. This updates x11-servers/xorg-server,
xephyr, xorg-dmx, xorg-nestserver, xorg-vbserver and xwayland.
Enable the UDEV backend by default, instead of the DEVD backend, for
autoconfiguration of input devices on FreeBSD 12 and later.
FreeBSD 11 lacks the needed support in base and will keep on using the DEVD
backend.
Support for the HAL backend is dropped completely, it has been deprecated
for a long time.
Update and improve the DEVD backend.
Add a pkg message about sysctl configuration that might be needed when using
UDEV.
(Only the first 15 lines of the commit message are shown above )
x11-servers/xorg-server: expose UDEV support for evdev hotplug
UDEV builds Xorg against libudev-devd, allowing automatic detection of
/dev/input/* (evdev) devices with xf86-input-libinput or xf86-input-evdev.
PR: 222609
Submitted by: Greg V <greg@unrelenting.technology>
Tested by: Ivan <bsd@abinet.ru>, manu
Approved by: x11 (bapt via IRC)
Add etc/X11/fontpath.d as a catalogue fontpath by default.
This allows a port/package to install a symlink pointing
the real font directory managed by core XLFD (aka fonts.dir).
Adding a new entry of "FontPath" into the system-wide
xorg.conf or "xset fp" by users manually is no longer needed.
When both USES=fonts and ${FONTPATHSPEC} are defined,
the post-install target will install ${FONTPATHSPEC} into
${FONTPATHD} directory as a symlink to ${FONTSDIR}.
The symlink name has the following syntax:
<identifier>:[attribute:]pri=<priority>
Details can be found in xorg.conf(5). A typical example
for a bitmap font is as follows:
FONTPATHSPEC= ${PORTNAME}:unscaled:pri=60
No objection on: x11
Switch all ports to use USES=xorg-cat
Change all ports to use USES=xorg-cat instead of the old XORG_CAT
Add USES=xorg and USES=gl as needed to x11@ ports
x11-servers/xorg-server: Packport intel PCI IDs
Backport PCI IDs for various intel graphics cards, to enable MESA with these
graphics cards. According to upstream, it is safe to backport PCI IDs,
worst case is MESA fails to initialize and fall back to software rendering,
which would be the case without this patch anyway.
PR: 233221
Tested by: Yuri Pankov
Fix illegal instruction when running in kvm/qemu
Fix illegal instruction when running xserver in kvm or qemu (and possibly
others) virtualisation. This is solved by disabling sse instructions while
compiling the xf86SlowBcopy (don't ask) function.
This fix was originally committed by dim as r396167 in 2015, and then most
likely accidentally removed in r433863 in 2017.
Bump portrevision
Original commit message:
> Disable use of SSE instructions in Xorg's xf86SlowBcopy() function.
>
> When such instructions are used to copy data from/to mapped video
> memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate
> SIGILL or SIGBUS exceptions, causing Xorg to crash.
PR: 202643
Reported by: nogcjx@fastmail.fm
Requested by: dim
Diagnose and fix by: dim
MFH: 2019Q1
Change x11/xorgproto to become a build dep
Change x11/xorgproto to become a build time dependency when added to
USE_XORG. Change the dependency to be on the port, rather than a file the
port installs.
Fix fallout.
Bump portrevision on depending ports.
PR: 230909
Reviewed by: eadler
Approved by: portmgr (antoine)
Obtained
from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xorgproto
exp-run: antoine
Differential Revision: https://reviews.freebsd.org/D16906
Switch to xorgproto instead of individual packages
Upstream used to distribute protocol headers as separate packages, but has
decided to merge those to a common package, named xorgproto. This update
tracks that change.
* Add a new port, x11/xorgproto, with are protocol headers for xorg.
* Hook the new protocol port to the build and to infrastructure in
bsd.xorg.mk.
* Update all ports with a dependency on any of the old *proto packages to
instead depend on xorgproto. Bump portrevision.
* Delete the old *proto packages, update MOVED.
PR: 230023
Submitted by: zeising
Approved by: portmgr (antoine)
exp-run by: antoine
x11-servers/xorg-server: Enable SECURITY extension
Enabling the SECURITY extension will make ssh -X work in most cases.
This extension is enabled in many Linux distros.
PR: 221984
Submitted by: Anton Yuzhaninov
x11-servers/xorg-server: Backport security fixes
Backport security fixes for CVE-2017-10971 and CVE-2017-10972 (yes, 2017).
For some reason this was not done when the vulnerabilities were documented
in VuXML, and a typo in the version range in VuXML meant that the entries
never matched.
This fixes a memory disclosure and a couple of buffer overruns.
PR: 220584
Reported by: Vladimir Krstulja
MFH: 2018Q2
Security: ab881a74-c016-4e6d-9f7d-68c8e7cedafb
x11-servers/xorg-server: Fix dashed/dotted line rendering with GLAMOR.
When drawing dashed lines with GLAMOR, they were drawn partially or as
a regular (solid) line, depending on the OpenGL backend. It behaved
so because screen pixmap was bound as the dash and sampling its alpha,
which is usually just 1.0 (no dashing at all).
Upstream bug: https://bugs.freedesktop.org/show_bug.cgi?id=99708
Fixed by: Eric Anholt (it's a pity that anholt@ no longer works
on FreeBSD)
Silence from: x11@
Fix security issues: CVE-2017-12176 through CVE-2017-12187 in xorg-server.
Bump all the slaves due to not being sure where the shared code is used.
MFH: 2017Q4
Security: 7274e0cc-575f-41bc-8619-14a41b3c2ad0
Fix security issues: CVE-2017-13721 and CVE-2017-13723 in xorg-server.
Bump all the slaves due to not being sure where the shared code is used.
MFH: 2017Q4
Security: 4f8ffb9c-f388-4fbd-b90f-b3131559d888
Revision bump of all ports with USE_GL after consolidation of mesa-libs
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D10845
Explicitly disable use of udev to fix build with libudev-devd present.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9719
XWayland is an X Server running as a Wayland client, thus capable of displaying
native X11 client applications in a Wayland compositor environment.
WWW: https://wayland.freedesktop.org/xserver.html
Remove post-patch cruft accidentally introduced into patch-configure files
with the previous commit. Thanks to tijl for noticing what I overlooked.
Approved by: swills (mentor)
Differential Revision: https://reviews.freebsd.org/D9544
Fix usage of WITH_OPENSSL_BASE, WITH_OPENSSL_PORT and OPENSSL_PORT.
WITH_OPENSSL_* can't be set after bsd.port.pre.mk.
Fold all other usage into using SSL_DEFAULT == foo
PR: 210149
Submitted by: mat
Exp-run by: antoine
Sponsored by: The FreeBSD Foundation, Absolight
Differential Revision: https://reviews.freebsd.org/D6577
Xorg-server update to 1.17.2 with related driver updates and bumps.
Update fontproto to 2.1.3.
Update libXfont to 1.5.1.
Update xf86-input-keyboard 1.8.1.
Update xf86-input-vmmouse to 13.1.0.
Update xf86-input-void to 1.4.1.
Update xf86-video-chips to 1.2.6.
Update xf86-video-cirrus to 1.5.3.
Update xf86-video-mach64 to 6.9.5.
Update xf86-video-neomagic to 1.2.9.
Update xf86-video-r128 to 6.10.0.
Update xf86-video-s3virge to 1.10.7.
Update xf86-video-savage to 2.3.8.
Update xf86-video-siliconmotion to 1.7.8.
(Only the first 15 lines of the commit message are shown above )
Disable use of SSE instructions in Xorg's xf86SlowBcopy() function.
When such instructions are used to copy data from/to mapped video
memory, some hypervisors (e.g. KVM, Microsoft Hyper-V) can generate
SIGILL or SIGBUS exceptions, causing Xorg to crash.
Reported by: nogcjx@fastmail.fm
Approved by: x11 (bapt)
PR: 202643
MFH: 2015Q3