I tried to compile DRI3 support by default and disable by config by default [1]
However, actually it cannot be disabled completely by config. Hardware
acceleration in xrdp is still bleeding-edge and it sometimes causes hang-up
like below.
[drm] GPU HANG: ecode 7:0:0x97f4ffff, in Xorg [100659], reason: Hang on rcs0, action: reset
drmn0: Resetting chip after gpu hang
drmn0: Resetting chip after gpu hang
drmn0: i915_reset_device timed out, cancelling all in-flight rendering.
Bleeding-edge features should be opt-in and the default setup should be stable,
disabling again.
[1] https://gitter.im/neutrinolabs/xrdp?at=5e5e48163ca0375cb399cdfa
Compile with DRI3 hardware acceleration again however it is opt-in.
Disabled by config by default. See pkg-message to enable.
Sponsored by: HAW International
Apply three upstream patches to x11-drivers/xf86-video-ati to fix a crash of
xorg when GPU acceleration is not available. This is needed to get this
running on powerpc64.
Reported by: jhibbits
With the advent of 1.20.x x11-server/xorg-server xorgxrdp can support
dri3/glamor [1] to enable hardware supported OpenGL acceleration with an
xorgxrdp desktop.
Also add pkg-message to explain how to enable hardware acceleration.
While here, fix misuse of "-I" flag to specify LIBDIR.
[1] https://github.com/neutrinolabs/xrdp/issues/1029
PR: 244298
Submitted by: Derek Schrock <dereks@lifeofadishwasher.com> (initial revision)
Approved by: meta (myself, maintainer)
Sponsored by: HAW International
Mark xf86-video-qxl as broken with xorg-server 1.20.7. A fix is being
worked on, but mark this as broken while it's being developed, to avoid
chatter from the build cluster.
xf86-video-ati-legacy does not currently build with xorg-server 1.20.7.
A patch to fix the build is available here,
https://reviews.freebsd.org/D23817 , but it needs more testing.
Mark this port as broken while the issues are being sorted out, to avoid
confusion and messages from the build cluster.
Mark xf86-video-s3virge as broken, it doesn't build with xserver 1.20.7, and
there is no upstream patch available to fix it.
Set it to epire on May 1, that should give any users ample time to fix it,
and it will give people using quarterly branches a heads up as well.
Mark xf86-video-tseng as broken, it doesn't build with xserver 1.20.7, and
there is no upstream patch available to fix it.
Set it to epire on May 1, that should give any users ample time to fix it,
and it will give people using quarterly branches a heads up as well.
Keep the BROKEN_arch lines as a reminder that it was broken on those arches
even before this.
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.
Use the upstream fix for glamour issues.
Use evdev xkb rules by default in xwayland [2]
Add x11-drivers/xf86-input-libinput to the list installed by default by
x11-drivers/xorg-drivers.
Fix net/tigervnc-server and emulators/virtualbox-ose
Bump portrevision of all x11 drivers, as well as other ports dependent on
xorg-server.
This represents work by many people over a long period. These include
wulf, ak, dumbbell, hselasky pete AT nomadlogic DOT org, jbeich, manu,
myself and possibly others (I tried to look through history, but might have
missed people. If so, I am sorry.)
PR: 196678 [1], 244129 [2]
Submitted by: hselasky, wulf [1], jbeich [2]
Obtained from: https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/xserver-1.20 (in part)
Remove delete xorg drivers from x11-drivers/xorg-drivers. These are no
longer available for install. Since these are not default options, no need
to bump portrevision.
Remove deprecated ports owned by x11:
* x11/xsetmode
* x11/xsetpointer
* x11/libxkbui
* x11/xrx
* x11/libXevie
* x11/liboldX
* x11-fonts/font-bitstream-speedo
* x11-fonts/libXfontcache
* x11-drivers/xf86-input-hyperpen
* x11-drivers/xf86-input-mutouch
* x11-drivers/xf86-input-acecad
* x11-drivers/xf86-input-penmount
* x11-drivers/xf86-input-fpit
Remove libraries from the USES framework and Mk/Uses/xorg.mk as needed to
adjust for their removal.
Add entries to MOVED and remove from port categories makefiles.
Depreacate various xorg input drivers, all have been deprecated upstream:
xf86-input-acecad
xf86-input-fpit
xf86-input-hyperpen
xf86-input-mutouch
xf86-input-penmount
Change the handling of xorg dependencies to use the USES framework instead
of bsd.xorg.mk. bsd.xorg.mk is split into two parts:
* USES=xorg for ports depending on xorg ports with USE_XORG
* USES=xorg-cat for xorg ports with XORG_CAT
USES=xorg is fairly straight forward. The components needed are specified
with USE_XORG, and USES=xorg is needed to pull in this part of the
framework.
USES=xorg-cat requires that the category, previously specified with
XORG_CAT, now be passed as an argument to xorg-cat, like this
USES=xorg-cat:category. Not specifying a category is an error.
Further, it is also possible to specify which build system to use. The
default if nothing is specified is autoconf, but meson will also be supported.
This is added with a second argument: USES=xorg-cat:category[,buildsystem].
Detailed changelog:
* Add support in Uses/xorg-cat.mk to specify build system. Previously, only
autoconf was supported for xorg ports, but with this change, it's possible
to use meson instead. Autoconf is still the defaultx, if nothing else is
specified. The meson support is still disabled, and requires more testing.
* Add support in Uses/xorg-cat.mk to pull sources from freedesktop.org
gitlab.
When specifying USE_GITLAB in a port using xorg-cat, then various GL_*
variables will be set up automatically, as well as needed changes to the
build.
* Switch x11-drivers/xf86-video-intel to use the USE_GITLAB framework.
* While touching xf86-video-intel, switch to USES=xorg xorg-cat:driver, and
pet portlint.
* Add compat shims and warnings to bsd.port.mk, which will handle the old
style ports Makefiles.
* Change Uses/gl.mk and Uses/motif.mk to use this new framework.
* Change Uses/autoreconf.mk to check and add dependencies later. This is
needed because xorg-cat uses autoreconf, and without this fix
dependencies were not added properly.
* Be stricter about checking for arguments in USE_XORG, previously, :build
and :run were accepted, but not supported. Only the default or :both
supported.
* Change multimedia/gstreamer1-vaapi to handle the stricter argument
checking in USE_XORG, and add USES=xorg
* change x11/xscope to get distinfo from xorg-cat, instead of rolling it's
own, and add USES=xorg-cat
PR: 238988 (exp-run)
Reviewed by: antoine, tcberner, tijl, mat, tobik
Approved by: portmgr (antoine)
Obtained from: FreeBSD Graphics Team development repo
https://github.com/FreeBSDDesktop/freebsd-ports/tree/feature/usesxorg
Sponsored by: B3 Init (zeising)
Differential Revision: https://reviews.freebsd.org/D20724
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
XA Tracker is built from Mesa sources and is required by xf86-video-vmware
in order to take advantage of accelerated graphics using the vmwgfx kernel
DRM driver.
This commit also adds libdrm as a runtime requirement for xf86-video-vmware
and patches the DRI device loading routine to work outside of Linux. If no
DRI device exists (vmwgfx kernel driver is not loaded), xf86-video-vmware
will fallback to software rendering.
The vmwgfx kernel driver is available in the drm-kmod port.
Reviewed by: zeising
Approved by: imp (mentor), zeising
Differential Revision: D20153
Update x11-drivers/xf86-input-elographics to 1.4.2.
Add LICENSE and LICENSE_FILES.
Local patches came from upstream, and are included in this release. Delete
them. This release is mostly a noop because of this.
Sponsored by: B3 Init