113 Commits

Author SHA1 Message Date
Enrico Weigelt, metux IT consult
b5f8a10dc9 configure.ac: increase minimum xserver version to 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-19 16:13:24 +01:00
Enrico Weigelt, metux IT consult
05af7c08c5 release 25.0.0
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:59:43 +01:00
Enrico Weigelt, metux IT consult
90e694a380 configure.ac: formatting cleanups
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 18:59:16 +01:00
Enrico Weigelt, metux IT consult
487bdf93b1 configure.ac: tiny formatting cleanup
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 17:28:34 +01:00
Enrico Weigelt, metux IT consult
4916908ce5 configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 13:15:40 +01:00
Enrico Weigelt, metux IT consult
f94d45667b drop support for ancient pre-7.1 xextproto
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-18 12:03:00 +01:00
Enrico Weigelt, metux IT consult
3a0548404c release 1.0.19
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-16 15:20:10 +01:00
Enrico Weigelt, metux IT consult
86549a89bc configure.ac: fix package name and issue tracker URL
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-12-15 19:09:54 +01:00
b-aaz
5c8c46e929 configure: Automatically detect the default xorg-module-dir.
The module directory has changed to a per ABI folder in the xlibre-xserver.
Now the default value of `xorg-module-dir` will be detected from the `moduledir` variable in xorg-server.pc.

Signed-off-by: b-aaz <b-aazbsd.proton.me>
2025-07-29 18:46:37 +02:00
Matt Turner
8bf766606f xf86-video-nouveau 1.0.18
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/13>
2024-11-07 21:04:20 -05:00
Enrico Weigelt, metux IT consult
7d29f5c439 drop check for xorg_list_init()
Since we're relying on at least xserver version 1.8 and it's present
there, no need for extra checks and workarounds.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8>
2024-11-07 22:20:43 +00:00
Enrico Weigelt, metux IT consult
4063c70c1a bump minimal xorg version to 1.18
1.18 was released a decade ago, so it seems reasonable stop supporting
older ones.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Part-of: <https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/-/merge_requests/8>
2024-11-07 22:20:43 +00:00
Alan Coopersmith
cdd503430b Build xz tarballs instead of bzip2
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2022-01-22 13:35:44 -08:00
Ilia Mirkin
c398974665 Bump version to 1.0.17
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
2021-01-23 12:24:42 -05:00
Ilia Mirkin
ec2b45d1bf Bump version to 1.0.16
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
2019-01-28 23:25:58 -05:00
Rhys Kidd
8a90309401 config: Suggest upstream to find macros in case they are missing
Added upstream suggestion to error message in case xorg macros or
xserver macros are missing. No actual package manager references in
suggestion since these are 'user' and/or 'distribution' preferences.

(Cherry picked from xf86-video-intel 90538ecfff9c324d61419f451d41d26ab026f232)

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
fcddd2c8e6 config: Complete bug report URL for Xorg DDX nouveau driver
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
a566c883b3 config: Set automake options consistently in one location
Avoid use of two manners of setting automake configuration options,
and consolidate them into AM_INIT_AUTOMAKE macro.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
56e67e0992 config: remove unused sdkdir=$(pkg-config...) statement
The sdkdir variable is not used, so remove the statement.

(Copied from xf86-video-ati 36bd69affc996c92c40b7360a7fbaa1a3a46abfd)

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
db51fcf520 config: Remove unrequired AC_SUBST for LIBDRM_NOUVEAU and LIBUDEV
These macros are called by the PKG_CHECK_MODULES macro, for all
versions of pkg-config >= 0.24.0 (released May 23, 2010).

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
f5250b1d46 config: Add comments for main statements
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
ed653f76b1 config: Use LT_INIT option instead of AC_DISABLE_STATIC
Since libtool 2.2 (released March 2008) the preferred initiation of
libtool is with the LT_INIT() macro, instead of AC_PROG_LIBTOOL.

As we are using LT_INIT anyway we might as well pass the disable-static
option directly to it instead of using the AC_DISABLE_STATIC macro.

See:
- https://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html
- https://www.x.org/wiki/NewModuleGuidelines/

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
caaac38112 config: remove unrequired AC_HEADER_STDC
Autoconf says:
"This macro is obsolescent, as current systems have conforming
header files. New programs need not use this macro".

Was previously required to ensure the system has C header files conforming
to ANSI C89 (ISO C90). Specifically, this macro checks for stdlib.h,
stdarg.h, string.h, and float.h.

This autoconf option was used to provide conditional fallback support
via defined STDC_HEADERS.

xf86-video-nouveau does not do so, so this macro is obsolete and unused,
so let's drop it.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
4cf6d02ecb config: Use XORG_DEFAULT_OPTIONS which replaces six XORG_* macros
This macro expands into several macros and provide several build functions [0].
Refer to the module generated aclocal.m4 file as this is subject to change.

At present, this includes:
- XORG_CWARNFLAGS: platform adjusted compiler warning flags
- XORG_STRICT_OPTION: additional warning flags
- XORG_RELEASE_VERSION: defines variables for major, minor and patch level
- XORG_CHANGELOG: contains a makefile rule which creates the ChangeLog file from Git
- XORG_INSTALL: contains a makefile rule which provides the INSTALL file in the module root directory
- XORG_MANPAGE_SECTIONS: platform adjusted man page section number

The above macros invoke the following Autoconf macros:
- AC_PROG_INSTALL
- AC_PROG_CC_C99
- AC_PROG_SED
- AC_CANONICAL_HOST

[0] https://www.x.org/wiki/NewModuleGuidelines/

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
945f95775a config: libtoolize: put macros in AC_CONFIG_MACRO_DIR, 'm4'
As suggested by one tool called by autoreconf. Necessitates change to:
- configure.ac: Call AC_CONFIG_MACRO_DIR()
- Makefile.am: Set ACLOCAL_AMFLAGS = -I m4
- Create placeholder m4 folders
- Update gitignore files

>From the autoconf documentation:

 "Starting from version 2.58, autoconf provide the macro AC_CONFIG_MACRO_DIR
  to declare where additional macro files are to be put and found. The
  argument passed to this macro is commonly m4."
  https://autotools.io/autoconf/macros.html

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
1761769d43 config: remove AC_PROG_CC as it overrides AC_PROG_C_C99
XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls
AC_PROG_C_C99. This sets gcc with -std=gnu99.
If AC_PROG_CC macro is called afterwards, it resets CC to gcc.

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
e27c0bb6c7 config: Rely upon list.h as at least xorg-server 1.8 required
Fixes: edd1608 ("xorg_list: define the xorg_list* symbols")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
6700548071 config: Only check for presence of libdrm package once
After a version-conditioned check for libdrm was added, no longer necessary
to check a second time, especially without a version number check.

Fixes: 779b8d4 ("Link against libdrm")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
9b2b008eb7 config, nv: Use xorg-macros PACKAGE_VERSION_{MAJOR, MINOR, PATCHLEVEL}
Use xorg-macros provided PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} rather
than rolling our own in xf86-video-nouveau.

Macro has been available since xorg-macros 1.1.5 (we rely on >= 1.8)
provided that XORG_DEFAULT_OPTIONS is called.

Fixes: b82aacd ("configure: require xorg-macros 1.8")
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
b098bdae32 config: Fix typo in comment
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-21 21:29:55 -05:00
Rhys Kidd
cc284803fd Check for xf86CursorResetCursor()
If it's available, xorg-server calls it on each mode configuration change. It
does what xf86_reload_cursors does (and more), so we don't need to call
the latter anymore.

Avoids gcc 8.2 warning:

drmmode_display.c: In function ‘drmmode_set_mode_major’:
drmmode_display.c:525:2: warning: ‘xf86_reload_cursors’ is deprecated [-Wdeprecated-declarations]
  xf86_reload_cursors(crtc->scrn->pScreen);
  ^~~~~~~~~~~~~~~~~~~
In file included from nv_type.h:10,
                 from nv_include.h:69,
                 from drmmode_display.c:36:
/usr/include/xorg/xf86Crtc.h:1068:37: note: declared here
 static _X_INLINE _X_DEPRECATED void xf86_reload_cursors(ScreenPtr screen) {}
                                     ^~~~~~~~~~~~~~~~~~~

(Ported from radeon commit d670c5c9851b4eff21c845d26c7d7e4eb5ee0fa9)

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
2019-01-20 21:09:30 -05:00
Lyude
a7c190e0c2 Bump version to 1.0.15
Signed-off-by: Lyude <lyude@redhat.com>
2017-04-21 14:44:28 -04:00
Lyude
b71de83b7f Bump version to 1.0.14
Signed-off-by: Lyude <lyude@redhat.com>
2017-03-07 18:45:37 -05:00
Ilia Mirkin
e6479845ec Bump version to 1.0.13
- Fixes for reverse prime offload
 - ABI 23 support for Xorg 1.19

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu
2016-09-20 00:31:06 -04:00
Ben Skeggs
b18bc036bf Bump version to 1.0.12
Various random fixes have been pending for a long while now...

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2015-12-08 15:53:04 +10:00
Ilia Mirkin
1f8b2b3485 glamor: remove
If you want glamor, just use modesetting instead. It's hooked up
incorrectly in nouveau, and there doesn't seem to be any point in fixing
it when the modesetting driver does it all properly.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
2015-09-13 15:23:33 -04:00
Maarten Lankhorst
91e51a7571 Use drmGetRenderDeviceNameFromFd to obtain the dri3 node. 2015-03-20 23:17:44 +01:00
Mario Kleiner
3cd4c8494c Bump version to 1.0.11 for release.
Highlights:

- Support for server managed fd's.
- Glamor support.
- Maxwell support.
- DRI3 and initial Present support.
- vsync'ed kms pageflip performance fixes when running on Linux 3.13+
- Multi-display vsync, vblank, swap scheduling, timestamping fixes.
- Multi x-screen support fixes.
- ZaphodHead support on for multiple outputs per x-screen.
- EXA nv-10 fixes.
- Enable sync of swaps to vblank by default (Option GLXVblank "on").
- Disable pseudo-triplebuffering by default (Option SwapLimit "1").

Signed-off-by: Mario Kleiner <mario.kleiner.de@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2014-09-01 08:51:09 +10:00
Ben Skeggs
17de663a71 fix glamor header check
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2014-08-11 09:48:42 +10:00
Emil Velikov
edd1608c39 xorg_list: define the xorg_list* symbols
...when building against pre 1.12 x.
The build will fail as earlier versions of X were missing the xorg_
prefix of the symbols - struct and util functions.

Reported-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2014-07-03 10:09:34 +10:00
Marcin Slusarz
41c1c4ee86 glamor: fix build without glamor.h
xorg-server can be built without glamor, which leads to:

  CC       nouveau_xv.lo
In file included from nouveau_xv.c:41:0:
nouveau_glamor.h:12:20: fatal error: glamor.h: No such file or directory
compilation terminated.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2014-06-24 19:21:38 +10:00
Ben Skeggs
86024ceef0 glamor: initial support (no dri)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2014-06-19 15:57:35 +10:00
Ben Skeggs
480f0998ff bump to 1.0.10 for release
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2013-11-07 14:56:48 +10:00
Dave Airlie
300c5a32d7 bump to 1.0.9 for release
Signed-off-by: Dave Airlie <airlied@redhat.com>
2013-07-30 15:28:06 +10:00
Sven Joachim
779b8d44b5 Link against libdrm
The DDX uses symbols from libdrm but currently does not link against
it, but rather relies on indirect linkage from libdrm_nouveau.  This
could lead to insufficient dependencies in distribution packages, seen
in http://bugs.debian.org/633786.

Signed-off-by: Sven Joachim <svenjoac@gmx.de>
2013-06-17 13:39:23 +02:00
Maarten Lankhorst
e96ae2b129 fixup the dri2 check
Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
2013-06-12 11:05:33 +02:00
Maarten Lankhorst
7f20a6af25 bump to 1.0.8 2013-06-12 10:46:39 +02:00
Emil Velikov
1fda669c0e configure: printout the configuration info
Let the bikeshedding begin

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-06-12 10:43:10 +02:00
Emil Velikov
45dbcaac30 nouveau: mandate dri2 build
Building nouveau without dri2 is just silly

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-06-12 10:42:56 +02:00
Emil Velikov
ea8d225fe1 dri1: purge the final references
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
2013-06-12 10:42:44 +02:00