aboutsummaryrefslogtreecommitdiff
path: root/x11/nvidia-driver-340
Commit message (Collapse)AuthorAgeFilesLines
* Update CentOS 7 ports to 7.6.1810.Tijl Coosemans2019-06-081-1/+1
| | | | | | | | | | | | | | | | | | | | | This adds some new ports: converters/linux-c7-fribidi required by x11-toolkits/linux-c7-pango. graphics/linux-c7-libglvnd required by graphics/linux-c7-dri. graphics/linux-c7-wayland required by graphics/linux-c7-dri. print/linux-c7-freetype unbundled from emulators/linux_base-c7 because it depends on graphics/linux-c7-png now. Mesa OpenGL libraries in graphics/linux-c7-dri now support libglvnd (GL Vendor-Neutral Dispatch library) which allows some applications to use Mesa while others use Nvidia OpenGL. The x11/nvidia-driver* ports have been changed so versions above 390.42 now use CentOS libglvnd and no longer install a bundled copy. PR: 229431 Submitted by: pkubaj (partly) Notes: svn path=/head/; revision=503722
* Recreate symlinks instead of renaming them, so they point to the rightTijl Coosemans2019-01-181-1/+1
| | | | | | | | | | | file. PR: 226403 Submitted by: Tatu Kilappa <tatu.kilappa@iki.fi> Approved by: maintainer timeout (10 months) Notes: svn path=/head/; revision=490643
* Install both 32 bit and 64 bit Linux libraries from the official LinuxTijl Coosemans2018-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | driver distribution instead of the ones bundled with the FreeBSD driver which are incomplete and 32 bit only. This makes amd64 Linux OpenGL programs work on FreeBSD 12.0 and recent 11-STABLE. This does not enable CUDA. - Initialise DISTFILES so a file can be added by the LINUX option. - Set EXTRACT_ONLY because the file added by the LINUX option is a self-extracting archive handled in post-extract. - The patches for <355.06 and >=355.06 are identical except for the path. Keep only one set (listed in SUB_PATCHES) because more patches have been added. Modify their path in pre-patch. The patches have been renamed from extra-patch-* to extra-patch-*.in. - Set OPTIONS_SUB and use option helpers for the LINUX option. - Define LINUX_ARCH_SUFX like ARCH_SUFX because LINUX_ARCH can be i386 on amd64. - Set LINUX_LIBDIR to the main lib directory: (/compat/linux)/usr/lib on i386 and (/compat/linux)/usr/lib64 on amd64. (The compat32 directory is (/compat/linux)/usr/lib.) - Define LINUX_LIBS, LINUX_LINKS, LINUX32_LIBS, LINUX32_LINKS, LINUX_PROGS, LINUX_MANS, and LINUX_DATA for all driver versions from 304.137 to 390.87. LINUX_LIBS and LINUX32_LIBS contain main libraries (i386/amd64) and compat32 libraries respectively. These are installed with INSTALL_LIB in post-install. LINUX_LINKS and LINUX32_LINKS contain symbolic link sources and their target. LINUX_PROGS are binaries installed with INSTALL_PROGRAM. LINUX_MANS are manuals installed with INSTALL_MAN. LINUX_DATA are data files and their destination, installed with INSTALL_DATA. The .if blocks for the different versions are sorted alphabetically on the first file. - Define PLIST_RE for all versions. These are sed commands applied to TMPPLIST in post-install. - Include bsd.port.pre.mk instead of bsd.port.options.mk to obtain LINUX_ARCH. - Adjust post-patch to disable installation of Linux libraries bundled with the FreeBSD driver. - Add post-patch-LINUX-on to setup nvidia_icd.json like nvidia-installer does on Linux. - Adjust existing post-install TMPPLIST edits to apply only to non-Linux files. - Add post-install-LINUX-on to install the Linux files. - Add files/extra-patch-src-nvidia_ctl.c.in and extra-patch-src-nvidia_dev.c.in. These patches make Linux stat(2) return the right major and minor number for /dev/nvidiactl and /dev/nvidia[0-9]+. Recent versions of the Linux libraries verify these. [1] Define the struct passed to linux_device_register_handler on the stack in nvidia_*_attach instead of as a global variable in case multiple graphics cards are attached in parallel. - Add files/extra-patch-src-nvidia_linux.c.in. It rewrites the Linux ioctl handler. The current implementation does not copyin arguments leading to kernel panics on FreeBSD 12 on machines that support Supervisor Mode Access Prevention (SMAP). - Add files/extra-patch-src-nvidia_pci.c.in. It adds a dependency on the linux_common kernel module for linux_device_register_handler. - Modify files/extra-patch-src_nvidia-modeset_nvidia-modeset-freebsd.c to add major/minor numbers (global struct here, because it is constant), rewrite ioctl, and add a dependency on linux_common for /dev/nvidia-modeset. PR: 217901 Analysed by: Alex S <iwtcex@gmail.com> [1] Tested by: Hannes Hauswedell <h2+fbsdports@fsfe.org> (390.87) Tested by: tijl (304.137) Approved by: maintainer timeout (15 days) Notes: svn path=/head/; revision=487446
* Change x11/xorgproto to become a build depNiclas Zeising2018-09-111-1/+1
| | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=479538
* Update `x11/nvidia-driver-340' to the latest version of 340.107:Alexey Dokuchaev2018-06-071-1/+1
| | | | | | | | | | - Added support for X.Org xserver ABI 24 (xorg-server 1.20) - Fixed a bug which could cause X servers that export a Video Driver ABI earlier than 0.8 to crash when running X11 applications which call XRenderAddTraps() Notes: svn path=/head/; revision=471954
* Update nVidia drivers to their latest versions which fix frequent kernelAlexey Dokuchaev2018-01-221-1/+1
| | | | | | | | | panics reported by some users. PR: 225346 Notes: svn path=/head/; revision=459638
* Update nVidia driver ports to their most recent versions, bringing assortedAlexey Dokuchaev2017-12-261-1/+1
| | | | | | | | | bugfixes and support for X.Org xserver ABI 23 (xorg-server version 1.19). PR: 224597 Notes: svn path=/head/; revision=457308
* Update nVidia drivers to their most recent versions: 375.39 (long livedAlexey Dokuchaev2017-04-031-2/+2
| | | | | | | | | branch); legacy versions: 340.102 and 304.135. PR: 216574, 217341 Notes: svn path=/head/; revision=437618
* Now that all supported FreeBSD versions support libmap.conf files installedKoop Mast2017-02-111-1/+1
| | | | | | | | | | | | | | | | | | from ports, remove the symlink dance with libGL/libEGL/libgles and the nvidia-driver ports. * Revert libGL/libEGL/libglesv2 ports to normal. * Rename the conflicting libraries from the nvidia-driver ports with a -NVIDIA prefix and install a libmap.conf file to map to these versions. * Remove the special case from Mk/Scripts/qa.sh for libGL and libEGL. * Sadly the symlink dance between nvidia-driver and xorg-server for glx.so need to stay, due to xorg-server opening that file with dlopen(3). Approved by: portmgr@ (mat@ (prio version)) Differential Revision: https://reviews.freebsd.org/D7848 Notes: svn path=/head/; revision=433892
* Update nvidia driver to 375.26 and legacy drivers to 340.101 and 304.134.Tijl Coosemans2017-01-131-2/+2
| | | | | | | | | | | This brings official support for FreeBSD 11 and Xorg server 1.19. PR: 215370 Submitted by: kbowling Approved by: danfe (maintainer) Notes: svn path=/head/; revision=431369
* Add build dependency on linux_base so the build process can run tls_test.Tijl Coosemans2016-12-191-1/+1
| | | | | | | | | | | This affects which copy of Linux libnvidia-tls gets installed. Also add a run dependency on Linux Xorg libraries needed by some of the installed libraries. PR: 215345 Notes: svn path=/head/; revision=428960
* Add libEGL to linux-c7-dri, needed by linux-c7-cairo.Tijl Coosemans2016-11-051-1/+1
| | | | Notes: svn path=/head/; revision=425385
* Allow linux-*-dri and nvidia-driver to coexist.Tijl Coosemans2016-11-031-1/+1
| | | | Notes: svn path=/head/; revision=425269
* Fix damage done in r421117: UPDATING entries do not make good `pkg-message'Alexey Dokuchaev2016-08-301-1/+1
| | | | | | | | | | | files, especially when there already is existing `files/pkg-message.in'. Unfortunately, this now requires port revision bump in all three ports. Pointy hat to: cem Notes: svn path=/head/; revision=421123
* Update nVidia legacy driver versions to 304.131 and 340.96, respectively,Alexey Dokuchaev2016-07-021-1/+1
| | | | | | | | | | | | to gain advantage of added support for X.Org X server ABI 20 (xorg-server 1.18). They also fixed a bug that could cause texture corruption in some OpenGL applications when video memory is exhausted by a combination of simultaneously running graphical and compute workloads. PR: 209027 Notes: svn path=/head/; revision=417910
* - Update x11/nvidia-driver to 346.96.Jung-uk Kim2015-09-241-1/+1
| | | | | | | | | | - Update x11/nvidia-driver-340 to 340.93. - Update x11/nvidia-driver-304 to 304.128. Approved by: danfe (maintainer) Notes: svn path=/head/; revision=397773
* - Move mainstream version to 346.xx (update to 346.35) and create anotherAlexey Dokuchaev2015-02-031-0/+11
legacy slave port `x11/nvidia-driver-340'; update top comment accordingly - No longer explicitly advertise brokenness for ${OSVERSION} > 1000041 and ${NVVERSION} <= 71.08615 combination: not only old legacy ports recently had been removed, but frankly users of those old gfx cards should either not be running FreeBSD 10.x or totally rely on self-support, thus making this BROKEN statement merely an annoyance for them (other checks for some older driver versions still remain as being functional) - Change CONFLICTS to CONFLICTS_INSTALL (honestly, this change *should* be no-op since CONFLICTS should be installation-time conflicts in the first place, but adhere to this stupidity of the framework for the time being) Notes: svn path=/head/; revision=378360