Alan Coopersmith
5080439ce9
COPYING: Add NVIDIA/Khronos license for glxvnd server module
...
Fixes: 8753218be ("glx: Import glxvnd server module (v2)")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
d264a27018
COPYING: add BSD-2-clause license for hw/xfree86/common/modeline2c.awk
...
Fixes: aa0dfb3f4 ("Remove Perl dependency from the build...")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
c3db28770d
COPYING: add ISC license for os/timingsafe_memcmp.c
...
Fixes: d7ac755f0 ("Use timingsafe_memcmp() to compare MIT-MAGIC-COOKIES...")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
12644fb77a
COPYING: add yet another MIT variant for hw/xfree86/parser/InputClass.c
...
Fixes: 42e8c9224 ("xfree86: Introduce InputClass configuration")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
e07903b058
COPYING: add yet another MIT variant for config/fdi2iclass.py
...
Fixes: 842625928 ("config: Script to convert HAL fdi settings to InputClass sections")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
28bffa4d4a
COPYING: add BSD-3-clause license for os/xserver_poll.c
...
Fixes: 711c36558 ("os: Add poll emulation for mingw [v2]")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
85bd00f1f2
COPYING: remove credit for BSD tsort code
...
Code was removed in 2012 for xorg-server-1.13.0
Fixes: 817110860 ("Loader: Remove extension initialisation sorting")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
582aedc861
COPYING: drop copyright & license notice for removed i2c multimedia modules
...
Code was dropped in 2014 for xorg-server-1.17
Fixes: 83701c4ee ("xfree86: Remove i2c multimedia modules")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
e1ea09a27d
COPYING: drop copyright for removed Darwin code in Xquartz
...
Code was dropped in 2007 for xorg-server-1.5.0
Fixes: bcbaf2a0c ("Darwin: Dead code removal, Code cleanup...")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
6d9270c522
COPYING: drop copyright for removed kdrive AGP code
...
Code was dropped in 2009 for xorg-server-1.7
Fixes: 970725d23 ("kdrive: Nuke dead AGP and VGA code. (#19921 )")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
70fa9d74cd
COPYING: drop copyright & license notice for removed fbcompose.c
...
fbcompose.c was removed in 2007 for xorg-server-1.4.0
Fixes: 998164bac ("Move fbCompositeGeneral() to fbpict.c and remove fbcompose.c")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
090673fec5
COPYING: drop copyright for removed fbmmx.[ch] files
...
Code was removed in 2007 for xorg-server-1.4
Fixes: 78179ae82 ("Remove fbmmx.[ch] files")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
8df5351239
COPYING: drop copyright & license notice for removed dmx input drivers
...
Drivers were removed in 2017 for xorg-server-1.20
Fixes: d740e1830 ("dmx: Remove non-evdev hardware input drivers")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
186dd79c31
COPYING: drop copyright & license notice for removed lnx_font.c
...
Code was removed in 2009 for xorg-server-1.8
Fixes: c61e77c77 ("Remove lnx_font.c and lnx.h")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
e7e7c7e6d3
COPYING: drop copyright & license notice for removed extmod code
...
Code was removed in 2012 for xorg-server-1.13
Fixes: a7a2f9f66 ("Remove the last remnants of extmod")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
a48175f392
COPYING: drop copyright & license notice for removed SysV os-support code
...
Code was removed in 2010 for xorg-server-1.10
Fixes: 6ce1908ba ("xfree86: Remove os-support/sysv")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
8fc9a8dcdb
COPYING: drop copyright & license notice for removed mibstore.h
...
Removed in 2012 for xorg-server-1.14
Fixes: 1cb0261ef ("dix: Delete mibstore.h")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
662626f249
COPYING: drop copyright & license notice for removed assyntax.h
...
Removed in 2008 for xorg-server-1.6
Fixes: 593144ddd ("Remove some unused assembly code and assyntax.h")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
d7b67e33d2
COPYING: drop copyright & license notice for removed xorgcfg code
...
Removed in 2008 for xorg-server-1.6
Fixes: 5c1e254cc ("Remove xorgcfg")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
813c027c0a
COPYING: drop copyright & license notice for removed DMX code
...
Removed in 2021 for xorg-server-21.1
Fixes: b3b81c8c2 ("Drop DMX DDX")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
1ef19db9a2
COPYING: drop copyright & license notice for removed glxvisuals.c
...
Removed in 2007 for xorg-server-1.5
Fixes: 7d7469053 ("Simplify and clean up GLX visual initialization.")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
13cf605359
COPYING: drop copyright & license notice for removed dlloader code
...
Removed in 2010 for xorg-server-1.10
Fixes: 2a24a013b ("loader: Merge dlloader directly into the loader")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
a37103e410
COPYING: drop copyright for removed xf8_16bpp overlay module
...
Removed in 2010 for xorg-server-1.10
Fixes: b85f9063c ("xfree86: Remove the xf8_16bpp overlay module")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
0268f0cb46
COPYING: drop copyright & license notice for removed USL code
...
Code was removed in 2008 for xorg-server-1.6
Fixes: 446fe9eec ("Dead code removal")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Alan Coopersmith
b9ae6bac9b
COPYING: drop copyright & license notice for removed SCO code
...
Code was removed in 2010 for xorg-server-1.10
Fixes: f28e48834 ("Remove SCO support")
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2220 >
2026-06-12 18:24:49 +02:00
Enrico Weigelt, metux IT consult
ff7ab3bd33
.github: job for automatically restarting jobs on transient failure
...
Build X servers / drivers-build-ubuntu (video-rendition:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-s3virge:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-savage:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-siliconmotion:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sis:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sisusb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg14:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg3:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg6:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunffb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunleo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suntcx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-tdfx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-trident:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-v4l:25.0.1) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vbox:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vesa:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vmware:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-voodoo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-xgi:25.0.0) (push) Has been cancelled
Build X servers / xserver-build-mingw32-ubuntu (push) Has been cancelled
Build X servers / xserver-build-macos (push) Has been cancelled
Build X servers / xserver-build-freebsd (push) Has been cancelled
Build X servers / xserver-build-dragonflybsd (push) Has been cancelled
Build X servers / xserver-build-netbsd (push) Has been cancelled
Build X servers / xserver-build-cygwin (push) Has been cancelled
Build X servers / xserver-build-arch (push) Has been cancelled
Build X servers / Check Signed-Off-By (push) Has been cancelled
Build X servers / Release pushed tag (push) Has been cancelled
check PRs for merge conflicts / notify (push) Has been cancelled
Runs every 15 mins, checks for jobs with transient failure (job broke
after 20mins) and automatically restarts those.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-12 13:04:59 +02:00
Enrico Weigelt, metux IT consult
b524471bc7
xquartz: osxcompat.h: guard HAS_LIBDISPATCH to avoid -Wmacro-redefined
...
Build X servers / drivers-build-ubuntu (video-rendition:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-s3virge:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-savage:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-siliconmotion:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sis:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sisusb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg14:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg3:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suncg6:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunffb:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-sunleo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-suntcx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-tdfx:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-trident:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-v4l:25.0.1) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vbox:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vesa:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-vmware:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-voodoo:25.0.0) (push) Has been cancelled
Build X servers / drivers-build-ubuntu (video-xgi:25.0.0) (push) Has been cancelled
Build X servers / xserver-build-mingw32-ubuntu (push) Has been cancelled
Build X servers / xserver-build-macos (push) Has been cancelled
Build X servers / xserver-build-freebsd (push) Has been cancelled
Build X servers / xserver-build-dragonflybsd (push) Has been cancelled
Build X servers / xserver-build-netbsd (push) Has been cancelled
Build X servers / xserver-build-cygwin (push) Has been cancelled
Build X servers / xserver-build-arch (push) Has been cancelled
Build X servers / Check Signed-Off-By (push) Has been cancelled
Build X servers / Release pushed tag (push) Has been cancelled
check PRs for merge conflicts / notify (push) Has been cancelled
The header defines HAS_LIBDISPATCH (empty value) while the build system
passes -DHAS_LIBDISPATCH on the command line, which Clang expands to
Add an #ifndef guard and explicit value so both definitions agree.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-11 16:22:46 +02:00
Enrico Weigelt, metux IT consult
160195ee47
.github: switch arch build job to callmetango's archlinux-build-package-action
...
My onwn fork isn't needed anymore, switch to upstream.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-10 16:53:16 +02:00
stefan11111
d482f4482b
glamor/glamor_egl: Set gl vendor to "nvidia" by default for nvidia cards
...
Also pick an `EGLDeviceEXT` suitable for nvidia's gl library.
For nvidia 470 and below, there isn't an official gbm backend.
If the dumb backend is used, we can't initialze on the gbm platform.
If the mesa backend is used, we can initialize on the gbm platform,
but if we do, we risk EGL internally picking the wrong `EGLDeviceEXT`
See: https://github.com/X11Libre/xserver/pull/2847
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
c26aa9e5fa
glamor/glamor_egl: Only try the fast bo import path on the gbm platform
...
Even on the gbm platform, it is questionable if gbm bo's are native pixmaps.
However, I don't see any way that they could be native pixmaps on the device platform.
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
ae9ed0b4b8
glamor/glamor_egl: Free the result from drmGetRenderDeviceNameFromFd
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
b6b9338059
glamor/glamor_egl: Fix glamor_egl_device_get_fd error return value
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
7c6a3be672
glamor/glamor_egl: Update glamor_egl_can_texture_gbm_bo
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
abfd0aee2d
glamor/glamor_egl: Actually fall back to GLES if creating a GL context fails
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
e760fc9ef6
kdrive/fbdev: Log info about glamor DRI3 capabilities
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
dd77c3ff51
kdrive/fbdev: Use the gbm_forbidden and partial_dri_allowed glamor egl options
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
d38e1bd238
glamor/glamor_egl: Improve nvidia detection
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
4345efa8f8
glamor/glamor_egl: Use the return value of glamor_create_texture_from_image
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
206b8d1094
glamor/glamor_egl: Add flag to explicitly disable libgbm
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
f833931dfa
glamor/glamor_egl: Allow missing GL_OES_EGL_image
...
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
stefan11111
f69b5a3fb4
glamor/glamor_egl: Decouple DRI3 from gbm
...
glamor_egl's DRI3 implementation now works even without libgbm.
Notably, this allows glamor to work with the nvidia 470 kernel driver
Further patches will refine this.
Signed-off-by: stefan11111 <stefan11111github@gmail.com>
2026-06-10 16:19:13 +02:00
Enrico Weigelt, metux IT consult
e1e57f1939
xquartz: remove unused variable 'i' in QuartzHide()
...
The variable 'i' was left over from before the DIX_FOR_EACH_SCREEN()
macro replaced the manual loop. Remove it to fix -Wunused-variable.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-10 16:18:17 +02:00
Michel Dänzer
6928daf585
dri2: Deduplicate attachments in do_get_buffer
...
It was always the intention of the DRI2 protocol that there's at most
one instance of each attachment, and that's how it was implemented in
Mesa.
Since that wasn't enforced though, there might be other clients in the
wild which (e.g. accidentally) request the same attachment multiple
times. So starting to a raise a protocol error in this case now risks
breaking such clients.
Instead, just deduplicate the attachments using a bit-set.
This has a couple of desirable side effects:
* destroy_buffer cannot be called multiple times for the same
DRI2BufferPtr.
* The client cannot cause the server to allocate a buffers array with
more entries than there are attachments (currently 11).
changes by mtx: fix FTBS by dropping now unused have_fake_front variable.
Signed-off-by: Michel Dänzer <mdaenzer@redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2228 >
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-10 15:52:17 +02:00
Enrico Weigelt, metux IT consult
b158f35a6d
meson: fix features requiring >= 1.0.0 to keep minimum 0.61.0
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-10 13:01:22 +02:00
Enrico Weigelt, metux IT consult
69705d1291
meson_options.txt: fix boolean option value type
...
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-09 17:12:10 +02:00
Enrico Weigelt, metux IT consult
1bc5ad67a9
test: pyxtest: fix meson.build
...
fallout of picking from Xorg: we don't have build_xwayland anymore.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-09 12:09:13 +02:00
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
b-aaz
a7f884f66e
Adds #mesondefine for conf variable added in a86be24e.
...
This configuration variable was getting defined in `include/meson.build`
but it didn't have a #mesondefine "anchor" in
`hw/xfree86/xlibre-server.h.meson.in`, so it did not end up in the
configuration headers, and lead to broken builds (due
to a double define of `pci_device_is_boot_display`) with libpciaccess
version 19.
Added the appropriate #mesondefine line to fix it.
Signed-off-by: b-aaz <b-aazbsd@proton.me>
2026-06-08 18:51:55 +02:00
Peter Hutterer
cb363306b5
glamor: fix an error path cleanup
...
The GL_OUT_OF_MEMORY error path returns NULL without freeing the
allocated `bits` buffer or deleting the GL texture.
Assisted-by: Claude:claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2233 >
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-08 16:21:35 +02:00
Peter Hutterer
dc9c2f802f
test/pyxtest: add test for ScreenSaverFreeAttr stale pPriv code path
...
Add TestScreenSaverFreeAttr which exercises the ScreenSaverFreeAttr
code path by setting attributes, activating the screen saver, then
closing the client connection (triggering resource cleanup).
While ScreenSaverFreeAttr currently does not dereference pPriv after
CheckScreenPrivate, this test verifies the code path is safe and
would catch regressions if future code changes introduced a stale
pointer dereference (same pattern as ZDI-CAN-30168).
Assisted-by: Claude:claude-opus-4-6
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2228 >
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2026-06-08 14:00:03 +02:00