No description
  • C 94.2%
  • Python 2.2%
  • Roff 1.2%
  • Objective-C 1%
  • Meson 0.9%
  • Other 0.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Enrico Weigelt, metux IT consult df6dd17bf9 xwin: catch potential realloc() failure winInitializeScreens()
In the unlikely case that realloc() fails on screen init, it's better
to have a decdent error message instead of just segfault.
(at that point we don't have any serious way for recovery anyways,
thus FatalError() is appropriate here)

X-Co-Slopped-By: BigPickle
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-09 12:09:00 +02:00
.github lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
.vscode lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
composite composite: use new X_REPLY_FIELD_* macros 2026-04-28 17:30:41 +02:00
config config: Fix build with udev disabled 2026-05-20 20:01:30 +02:00
dbe dbe: use new X_REPLY_FIELD_* macros 2026-04-28 17:15:54 +02:00
dix dix/colormap: fix out-of-bounds read in FindColorInRootCmap 2026-06-05 15:02:03 +02:00
doc Fix typos 2026-04-19 12:32:26 +02:00
dri3 dri3: use new X_REPLY_FIELD_* macros 2026-04-28 17:20:01 +02:00
exa treewide: clean up includes of mipict.h 2026-04-30 14:51:33 +02:00
fb treewide: clean up includes of mipict.h 2026-04-30 14:51:33 +02:00
glamor glamor: fix an error path cleanup 2026-06-08 16:21:35 +02:00
glx glx: fix reversed length check in ChangeDrawableAttributes 2026-06-03 19:08:16 +02:00
hw xwin: catch potential realloc() failure winInitializeScreens() 2026-06-09 12:09:00 +02:00
include glamor/glamor_egl: Import pixmaps directly from dma bufs 2026-05-29 13:35:43 +02:00
man Treewide: Fix typos 2026-03-16 13:11:07 +01:00
mi mi: fail on reallocarray failure in miAppendSpans 2026-05-04 16:54:47 +02:00
miext rootless: Protect alpha channel for Render operations 2026-06-08 13:30:09 +02:00
os os: osdep.h: fix FTBS on musl 2026-06-08 11:14:56 +02:00
present present: actually return the created notifies 2026-05-21 16:50:34 +02:00
pseudoramiX pseudoramiX: drop obsolete support for internal server reset 2025-11-20 19:23:39 +01:00
randr randr/rrsdispatch: reject invalid format in SProcRRChangeProviderProperty 2026-05-22 14:04:52 +02:00
record record: fix reply structs 2025-12-03 18:00:00 +01:00
render render: fix memory leaks on XaceHook failure in resource creation 2026-05-21 16:59:36 +02:00
test test/pyxtest: add test for ScreenSaverFreeAttr stale pPriv code path 2026-06-08 14:00:03 +02:00
Xext dri2: Use booleans for (fake) front buffer tracking in do_get_buffers 2026-06-03 19:09:51 +02:00
xfixes xfixes: cursor: declare variables where needed in ReplaceCursorLookup() 2026-05-08 17:28:00 +02:00
Xi Xi: Swap property data in ProcXChangeDeviceProperty/ProcXIChangeProperty 2026-06-05 16:32:25 +02:00
xkb xkb: Add bounds check for action data in CheckKeyActions() 2026-06-05 15:03:19 +02:00
.appveyor.yml os: use internal xtrans instead of external library 2025-07-18 22:29:38 +02:00
.clang-tidy lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
.dir-locals.el
.git-blame-ignore-revs
.gitignore lint: Add .clang-tidy and analyzer scripts 2026-05-26 12:15:17 +02:00
.mailmap
CoC.md
CODE_OF_CONDUCT.md
CODE_OVERVIEW.md doc: add CODE_OVERVIEW.md 2026-04-22 19:18:03 +02:00
CONTRIBUTING.md fix minor spelling mistake in contributing guidelines 2025-09-05 15:05:37 +02:00
COPYING COPYING: add author to HPND-sell-MIT-disclaimer-xserver 2026-03-16 13:25:53 +01:00
HISTORY.md HISTORY.md: add brief overview of the XLibre fork 2025-07-25 08:06:47 -04:00
meson.build meson.build: test for possibly unsupported flags 2026-05-27 14:34:03 +02:00
meson_options.txt meson: Add -Dgbm build option 2026-05-21 20:32:54 +02:00
NEWS release 25.1 2025-12-21 15:53:30 +01:00
README.md README.md: update for one year of XLibre 2026-06-05 12:43:25 -04:00
xlibre-server.pc.in xorg-server.pc: add more variables for easier driver builds 2026-01-08 16:57:10 +01:00
xorg-server.m4 xorg-server.m4: add helper macros for driver builds 2026-01-08 17:17:12 +01:00
xorg-server.pc.in xorg-server.pc: add more variables for easier driver builds 2026-01-08 16:57:10 +01:00
xserver.ent.in

XLibre Xserver

The XLibre Xserver is the community-managed display server for the X Window System Protocol Version 11 (Wikipedia), in short, X11.

1 year of XLibre screenshot
One Year of XLibre. See more liberated screens here.

Selected Features

  • All the good things from X.Org Server, including its unreleased features
  • TearFree modesetting by default and optionally atomic modesetting
  • Support for the Nvidia drivers 340, 390, 470, 570, and newer
  • Xnamespace extension for separating X clients
  • Support for seat management via seatd besides systemd-logind
  • Xfbdev, the generic framebuffer Xserver for Linux
  • CI builds for several BSDs, Linux, MacOS, and Microsoft Windows
  • Active community, cleanups, fixes, and development based on merit

To learn more about the features and mission of XLibre, please visit our homepage.

Switching to XLibre

The easiest way to install and run XLibre is to use your distribution's provided packages. Please see the Are We XLibre Yet? - (X11Libre/xserver Wiki) page for a list of the available options. If there is no option, then go on with building and installing XLibre from source.

Building XLibre

After cloning the Xserver repository or unpacking the sources and installing the dependencies, change into the source directory and run the Meson build tool:

cd "<source dir of xserver>"
meson setup <prefix> build <meson_options>
ninja -C build install

You may specify the install <prefix> with, for example, --prefix="$(pwd)/image" and add build time <meson_options> like so: -Dxnest=false. You may also want to build and install some graphics and input drivers. Please refer to the Building XLibre (X11Libre/xserver Wiki) page for more details.

Configuring XLibre

Until XLibre releases its own, you can find a detailed description of the configuration on the Configuration - Xorg (ArchWiki) page. If you have built and installed XLibre yourself, then change into the <prefix> directory with cd <prefix> and create a directory etc/X11 with a file xorg.conf and adjust it accordingly.

Starting with version 25.0.0.16, the proprietary Nvidia driver is autodetected and handled internally without any special configuration. Please see the Compatibility of XLibre (X11Libre/xserver Wiki) page for more details on the Nvidia driver and compatibility in general.

Running XLibre

If you installed XLibre using your distribution's provided packages, then the Xserver is usually started by init (Wikipedia) on system start. On other systems it should be possible to manually start XLibre with user permissions by invoking startx. Please refer to man startx for how to use it.

If you have built and installed XLibre yourself, then you may want to shutdown other Xservers, change into the <prefix> directory, and create a simple testx.sh file with the following contents:

#!/bin/sh
./bin/X :1 vt8 -logfile /dev/stdout &
_pid=$!
sleep 10 && kill $_pid

You can adjust the :1 vt8 and other options in the testx.sh file as detailed in man Xorg. Make the testx.sh executable and run it:

chmod 0770 testx.sh
./testx.sh

This should give you 10 glorious seconds of a black and beautiful and empty screen. Afterwards the Xserver complains about being killed, but there should be no other critical errors for a "test passed." For more details, please see Building XLibre (X11Libre/xserver Wiki).

I want to help!

That's great; there's enough to do for everyone. You may consider one of the many ideas and feature requests out there. To help in testing, you may consider becoming an XLibre Test Driver. Please also have a look at the good first and help wanted issues and the Liberated Screens.

If you want to work on anything, just let us know. If you have any questions, just ask. Thank you!

Contact

XLibre Discussions at GitHub | XLibre mailing list at FreeLists | @x11dev channel at Telegram | #xlibredev space at Matrix | XLibre security contact at GitHub