SHARE
TWEET

nvidia-bumblebee.spec

a guest Oct 16th, 2018 628 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #
  2. # spec file for package nvidia-bumblebee
  3. #
  4. # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
  5. #
  6. # All modifications and additions to the file contributed by third parties
  7. # remain the property of their copyright owners, unless otherwise agreed
  8. # upon. The license for this file, and modifications and additions to the
  9. # file, is the same license as for the pristine package itself (unless the
  10. # license for the pristine package is not an Open Source License, in which
  11. # case the license is the MIT License). An "Open Source License" is a
  12. # license that conforms to the Open Source Definition (Version 1.9)
  13. # published by the Open Source Initiative.
  14.  
  15. # Please submit bugfixes or comments via http://bugs.opensuse.org/
  16. #
  17.  
  18.  
  19. Name:           nvidia-bumblebee
  20. Version:        410.66
  21. Release:        lp150.1.1
  22. Summary:        Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs
  23. License:        GPL-2.0+
  24. Group:          System/Libraries
  25. Url:            http://www.nvidia.com
  26. Source0:        README
  27. Source1:        nvidia-linux-4.16-missing-exports-for-swiotlb.patch
  28. Requires:       binutils
  29. Requires:       dkms
  30. Requires:       gcc
  31. Requires:       gtk3
  32. Requires:       kernel-default-devel
  33. Requires:       libelf-devel
  34. Requires:       make
  35. Requires:       patch
  36. Requires:       wget
  37. Conflicts:      dkms-nvidia
  38. Conflicts:      nvidia-kmp
  39. Conflicts:      nvidia-kmp-default
  40. Conflicts:      nvidia-kmp-desktop
  41. Conflicts:      nvidia-kmp-pae
  42. Conflicts:      nvidia-kmp-xen
  43. Conflicts:      x11-video-nvidia
  44. Provides:       nvidia-kernel-module = %{version}-%{release}
  45. Provides:       x11-video-nvidiaG02 = %{version}-%{release}
  46. Provides:       x11-video-nvidiaG03 = %{version}-%{release}
  47. Provides:       x11-video-bumblebee-nvidiaG02 = %{version}-%{release}
  48. Provides:       x11-video-bumblebee-nvidiaG03 = %{version}-%{release}
  49. Obsoletes:      x11-video-nvidiaG02 < %{version}-%{release}
  50. Obsoletes:      x11-video-nvidiaG03 < %{version}-%{release}
  51. Obsoletes:      x11-video-bumblebee-nvidiaG02 < %{version}-%{release}
  52. Obsoletes:      x11-video-bumblebee-nvidiaG03 < %{version}-%{release}
  53. %if 0%{?suse_version}
  54. BuildRequires:  sysconfig
  55. BuildRequires:  update-desktop-files
  56. %endif
  57.  
  58. %description
  59. This package will download and install the proprietary NVIDIA
  60. Accelerated Linux Graphics Driver that brings accelerated 2D functionality
  61. and high-performance OpenGL support to Linux x86 with the
  62. use of NVIDIA graphics processing units (GPUs).
  63.  
  64. These drivers provide optimized hardware acceleration for OpenGL and X
  65. applications and support nearly all recent NVIDIA GPU products
  66. (see README.txt, Appendix A for a complete list of supported GPUs).
  67. TwinView, TV-Out and flat panel displays are also supported.
  68.  
  69. %ifarch x86_64
  70. %package 32bit
  71. Summary:        Installer for the proprietary graphics driver for GeForce 6xxx and newer GPUs
  72. License:        GPL-2.0+
  73. Group:          System/Libraries
  74. Requires:       Mesa-libGL1-32bit
  75. Conflicts:      nvidia-utils-32bit
  76.  
  77. %description 32bit
  78. This package will download and install the proprietary NVIDIA
  79. Accelerated Linux Graphics Driver that brings accelerated 2D functionality
  80. and high-performance OpenGL support to Linux x86 with the
  81. use of NVIDIA graphics processing units (GPUs).
  82.  
  83. These drivers provide optimized hardware acceleration for OpenGL and X
  84. applications and support nearly all recent NVIDIA GPU products
  85. (see README.txt, Appendix A for a complete list of supported GPUs).
  86. TwinView, TV-Out and flat panel displays are also supported.
  87. %endif
  88.  
  89.  
  90. %prep
  91. cp %SOURCE0 README.nvidia-bumblebee
  92. cp %SOURCE1 nvidia-linux-4.16-missing-exports-for-swiotlb.patch
  93. %ifarch x86_64
  94. cp %SOURCE0 README.nvidia-bumblebee-32bit
  95. %endif
  96.  
  97.  
  98. %build
  99.  
  100.  
  101. %install
  102. mkdir -p %{buildroot}/etc/modprobe.d/
  103. echo "blacklist nouveau" >  %{buildroot}/etc/modprobe.d/51-blacklist-nouveau.conf
  104. echo "blacklist nvidia"  >> %{buildroot}/etc/modprobe.d/51-blacklist-nouveau.conf
  105.  
  106.  
  107. %pre
  108. pushd /usr/src >/dev/null 2>&1
  109. #
  110. #   Get the nVidia package and unpack
  111. #
  112. %ifarch x86_64
  113. LIB=lib64
  114. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  115. if [ -x /usr/bin/wget ] && [ ! -f $NV_NAME.run ] ; then
  116.     #
  117.     #   Get the package
  118.     #
  119.     wget -c http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/$NV_NAME.run || exit -1
  120. fi
  121. %else
  122. LIB=lib
  123. NV_NAME=NVIDIA-Linux-x86-%{version}
  124. if [ -x /usr/bin/wget ] && [ ! -f $NV_NAME.run ] ; then
  125.     #
  126.     #   Get the package
  127.     #
  128.     wget -c http://us.download.nvidia.com/XFree86/Linux-x86/%{version}/$NV_NAME.run || exit -1
  129. fi
  130. %endif
  131. #
  132. if [ -f $NV_NAME.run ] ; then
  133.     #
  134.     #   Check the nVidia package
  135.     #
  136.     sh $NV_NAME.run --check || exit -2
  137. fi
  138. #
  139. if [ ! -d $NV_NAME ] && [ -f $NV_NAME.run ] ; then
  140.     #
  141.     #   Unpack
  142.     #
  143.     sh $NV_NAME.run -x || exit -3
  144. fi
  145. #
  146. #   To be used by the new setup
  147. #
  148. if [ -f $NV_NAME.run ] ; then
  149.     mv -f $NV_NAME.run $NV_NAME.run.new
  150. fi
  151. if [ -d $NV_NAME ] ; then
  152.     mv -f $NV_NAME $NV_NAME.new
  153. fi
  154. #
  155. popd >/dev/null 2>&1
  156.  
  157.  
  158. %posttrans
  159. pushd /usr/src >/dev/null 2>&1
  160. #
  161. %ifarch x86_64
  162. LIB=lib64
  163. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  164. %else
  165. LIB=lib
  166. NV_NAME=NVIDIA-Linux-x86-%{version}
  167. %endif
  168. #
  169. #   Get the new setup
  170. #
  171. if [ -f $NV_NAME.run.new ] ; then
  172.     mv -f $NV_NAME.run.new $NV_NAME.run
  173. fi
  174. if [ -d $NV_NAME.new ] ; then
  175.     mv -f $NV_NAME.new $NV_NAME
  176. fi
  177. #
  178. if [ -d $NV_NAME ] ; then
  179.     #
  180.     #   Install dkms sources
  181.     #
  182.     rm    -rf /usr/src/nvidia-%{version}
  183.     mkdir -p  /usr/src/nvidia-%{version}
  184.     cp    -R  $NV_NAME/kernel/* /usr/src/nvidia-%{version}/
  185.     cp    -R  $NV_NAME/LICENSE /usr/src/nvidia-%{version}/
  186.     cp    -R  $NV_NAME/README.txt /usr/src/nvidia-%{version}/
  187.     # Copy patches to dkms
  188.     mkdir -p  /usr/src/nvidia-%{version}/patches
  189.     cp        /usr/share/doc/packages/nvidia-bumblebee/*.patch /usr/src/nvidia-%{version}/patches
  190.     #
  191.     pushd /usr/src/nvidia-%{version} >/dev/null 2>&1
  192.         echo "nvidia.ko external" > Module.supported
  193.         # Patch makefile for x86_64 systems
  194.         # %ifarch x86_64
  195.         # sed '34 c\ARCH = x86_64' Makefile > mk1
  196.         # mv mk1 Makefile
  197.         # %endif
  198.         ln -sf Makefile Makefile.kbuild
  199.     popd >/dev/null 2>&1
  200.     #
  201.     #   Setup dkms.conf
  202.     #
  203.     cat > /usr/src/nvidia-%{version}/dkms.conf << EOF
  204. PACKAGE_NAME=nvidia
  205. PACKAGE_VERSION=%{version}
  206. BUILT_MODULE_NAME[0]=nvidia
  207. DEST_MODULE_LOCATION[0]="/updates/"
  208. MAKE[0]="'make' KERNEL_UNAME=\${kernelver} modules"
  209. CLEAN="make clean"
  210. AUTOINSTALL="yes"
  211. PATCH[0]="nvidia-linux-4.16-missing-exports-for-swiotlb.patch"
  212. PATCH_MATCH[0]="^4\.16(\..*)?"
  213. BUILT_MODULE_NAME[1]="nvidia-uvm"
  214. DEST_MODULE_LOCATION[1]="/updates/"
  215. BUILT_MODULE_NAME[2]="nvidia-drm"
  216. DEST_MODULE_LOCATION[2]="/updates/"
  217. BUILT_MODULE_NAME[3]="nvidia-modeset"
  218. DEST_MODULE_LOCATION[3]="/updates/"
  219. EOF
  220.     #
  221.     #   Install library
  222.     #
  223.     pushd $NV_NAME >/dev/null 2>&1
  224.  
  225.     # X driver
  226.     install -D -m755  nvidia_drv.so /usr/$LIB/xorg/modules/drivers/nvidia_drv.so
  227.  
  228.     # GLX extension module for X
  229.     install -D -m755 "libglxserver_nvidia.so.%{version}" /usr/$LIB/nvidia/xorg/modules/extensions/libglxserver_nvidia.so.%{version}
  230.  
  231.     # OpenGL library
  232.     install -D -m755 "libGL.so.%{version}" /usr/$LIB/nvidia/libGL.so.%{version}
  233.  
  234.     # OpenGL core library
  235.     install -D -m755 "libnvidia-glcore.so.%{version}" /usr/$LIB/libnvidia-glcore.so.%{version}
  236.  
  237.     # OpenGL-Vulkan-SPIRV
  238.     install -D -m755 "libnvidia-glvkspirv.so.%{version}" /usr/$LIB/libnvidia-glvkspirv.so.%{version}
  239.  
  240.     # Raytracing
  241.     install -D -m755 "libnvidia-cbl.so.%{version}"    /usr/$LIB/libnvidia-cbl.so.%{version}
  242.     install -D -m755 "libnvidia-rtcore.so.%{version}" /usr/$LIB/libnvidia-rtcore.so.%{version}
  243.  
  244.     # OptiX
  245.     install -D -m755 "libnvoptix.so.%{version}" /usr/$LIB/libnvoptix.so.%{version}
  246.     ln      -sf       libnvoptix.so.%{version}  /usr/$LIB/libnvoptix.so.1
  247.  
  248.     # NVENCODE
  249.     install -D -m755 "libnvidia-encode.so.%{version}" /usr/$LIB/libnvidia-encode.so.%{version}
  250.     ln      -sf       libnvidia-encode.so.%{version}  /usr/$LIB/libnvidia-encode.so.1
  251.  
  252.     # VDPAU
  253.     install -D -m755 "libvdpau_nvidia.so.%{version}" /usr/$LIB/vdpau/libvdpau_nvidia.so.%{version}
  254.     ln      -sf       libvdpau_nvidia.so.%{version}  /usr/$LIB/vdpau/libvdpau_nvidia.so.1
  255.  
  256.     # nvidia-tls library
  257.     install -D -m755 "tls/libnvidia-tls.so.%{version}" /usr/$LIB/libnvidia-tls.so.%{version}
  258.     install -D -m755 "libnvidia-cfg.so.%{version}"     /usr/$LIB/libnvidia-cfg.so.%{version}
  259.     ln      -sf       libnvidia-cfg.so.%{version}      /usr/$LIB/libnvidia-cfg.so.1
  260.     install -D -m755 "libnvidia-ml.so.%{version}"      /usr/$LIB/libnvidia-ml.so.%{version}
  261.     ln      -sf       libnvidia-ml.so.%{version}       /usr/$LIB/libnvidia-ml.so
  262.  
  263.     # CUDA
  264.     install -D -m755 "libcuda.so.%{version}"    /usr/$LIB/libcuda.so.%{version}
  265.     ln      -sf       libcuda.so.%{version}     /usr/$LIB/libcuda.so
  266.     install -D -m755 "libnvcuvid.so.%{version}" /usr/$LIB/libnvcuvid.so.%{version}
  267.     ln      -sf       libnvcuvid.so.%{version}  /usr/$LIB/libnvcuvid.so.1
  268.     ln      -sf       libnvcuvid.so.1           /usr/$LIB/libnvcuvid.so
  269.     install -D -m755 "libnvidia-ptxjitcompiler.so.%{version}" /usr/$LIB/libnvidia-ptxjitcompiler.so.%{version}
  270.     ln      -sf       libnvidia-ptxjitcompiler.so.%{version}  /usr/$LIB/libnvidia-ptxjitcompiler.so.1
  271.  
  272.     # NVIDIA FAT binary loader library
  273.     install -D -m755 "libnvidia-fatbinaryloader.so.%{version}" /usr/$LIB/libnvidia-fatbinaryloader.so.%{version}
  274.  
  275.     #nvidia-xconfig
  276.     install -D -m755  nvidia-xconfig      /usr/bin/nvidia-xconfig
  277.     install -D -m644  nvidia-xconfig.1.gz /usr/share/man/man1/nvidia-xconfig.1.gz
  278.  
  279.     # nvidia-settings
  280.     install -D -m755  nvidia-settings                                           /usr/bin/nvidia-settings
  281.     install -D -m644  nvidia-settings.1.gz                                      /usr/share/man/man1/nvidia-settings.1.gz
  282.     install -D -m644  nvidia-settings.desktop                                   /usr/share/applications/nvidia-settings.desktop
  283.     install -D -m644  nvidia-settings.png                                       /usr/share/pixmaps/nvidia-settings.png
  284.     install -D -m755 "libnvidia-gtk3.so.%{version}"                             /usr/$LIB/nvidia/libnvidia-gtk3.so.%{version}
  285.     install -D -m644 "nvidia-application-profiles-%{version}-key-documentation" /usr/share/nvidia/nvidia-application-profiles-%{version}-key-documentation
  286.     sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i "/usr/share/applications/nvidia-settings.desktop"
  287.  
  288.     # nvidia-bug-report
  289.     install -D -m755  nvidia-bug-report.sh /usr/bin/nvidia-bug-report.sh
  290.  
  291.     # nvidia-smi
  292.     install -D -m755  nvidia-smi      /usr/bin/nvidia-smi
  293.     install -D -m644  nvidia-smi.1.gz /usr/share/man/man1/nvidia-smi.1.gz
  294.  
  295.     # OpenCL
  296.     install -D -m644  nvidia.icd                        "/etc/OpenCL/vendors/nvidia.icd"
  297.     install -D -m755 "libnvidia-compiler.so.%{version}" "/usr/$LIB/libnvidia-compiler.so.%{version}"
  298.     install -D -m755 "libnvidia-opencl.so.%{version}"   "/usr/$LIB/libnvidia-opencl.so.%{version}"
  299.     ln      -sf       libnvidia-opencl.so.%{version}     /usr/$LIB/libnvidia-opencl.so
  300.     install -D -m755 "libOpenCL.so.1.0.0"               "/usr/$LIB/nvidia/libOpenCL.so.1.0.0"
  301.  
  302.     # Links to OpenCL
  303.     ln      -sf      "/usr/${LIB}/nvidia/libOpenCL.so.1.0.0" "/usr/${LIB}/nvidia/libOpenCL.so"
  304.  
  305.     # Documentation
  306.     install -D -m644  LICENSE          /usr/share/licenses/nvidia/LICENSE
  307.     ln      -s        nvidia           /usr/share/licenses/nvidia-utils
  308.     install -D -m644  README.txt       /usr/share/doc/nvidia/README
  309.     install -D -m644  NVIDIA_Changelog /usr/share/doc/nvidia/NVIDIA_Changelog
  310.     ln      -sf       nvidia           /usr/share/doc/nvidia-utils
  311.  
  312.     # Link to libwfb.so
  313.     ln      -sf       /usr/$LIB/xorg/modules/libwfb.so /usr/$LIB/nvidia/xorg/modules/libwfb.so
  314.  
  315.     # Link to libglx.so otherwise X dont find them
  316.     ln      -sf       libglxserver_nvidia.so.%{version} /usr/$LIB/nvidia/xorg/modules/extensions/libglx.so
  317.  
  318.     # Link to libGL
  319.     ln      -sf       libGL.so.%{version} /usr/$LIB/nvidia/libGL.so.1
  320.  
  321.     popd >/dev/null 2>&1
  322. fi
  323. #
  324. set -x
  325. if [ -x /usr/sbin/dkms ] ; then
  326.     /usr/sbin/dkms add     -m nvidia -v %{version} --rpm_safe_upgrade
  327.     /usr/sbin/dkms build   -m nvidia -v %{version}
  328.     /usr/sbin/dkms install -m nvidia -v %{version}
  329. fi
  330. #
  331. popd >/dev/null 2>&1
  332.  
  333. %preun
  334. #
  335. #   Remove the module, rmmod can fail
  336. #
  337. if [ -x /sbin/rmmod ] ; then
  338.     /sbin/rmmod nvidia >/dev/null 2>&1
  339. fi
  340. #
  341. #   Remove the module from dkms
  342. #
  343. set -x
  344. if [ -x /usr/sbin/dkms ] ; then
  345.     /usr/sbin/dkms remove -m nvidia -v %{version} --all --rpm_safe_upgrade || :
  346. fi
  347.  
  348.  
  349. %postun
  350. %ifarch x86_64
  351. LIB=lib64
  352. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  353. %else
  354. LIB=lib
  355. NV_NAME=NVIDIA-Linux-x86-%{version}
  356. %endif
  357. ## Remove all files
  358. rm -f /usr/$LIB/xorg/modules/drivers/nvidia_drv.so
  359. rm -f /usr/$LIB/nvidia/xorg/modules/extensions/libglxserver_nvidia.so.%{version}
  360. rm -f /usr/$LIB/nvidia/xorg/modules/extensions/libglx.so"
  361. rm -f /usr/$LIB/nvidia/libGL.so.%{version}
  362. rm -f /usr/$LIB/nvidia/libGL.so.1
  363. rm -f /usr/$LIB/libnvidia-glcore.so.%{version}
  364. rm -f /usr/$LIB/libnvidia-glvkspirv.so.%{version}
  365. rm -f /usr/$LIB/libnvidia-cbl.so.%{version}
  366. rm -f /usr/$LIB/libnvidia-rtcore.so.%{version}
  367. rm -f /usr/$LIB/libnvoptix.so.%{version}
  368. rm -f /usr/$LIB/libnvoptix.so.1
  369. rm -f /usr/$LIB/libnvidia-encode.so.%{version}
  370. rm -f /usr/$LIB/libnvidia-encode.so.1
  371. rm -f /usr/$LIB/vdpau/libvdpau_nvidia.so.%{version}
  372. rm -f /usr/$LIB/vdpau/libvdpau_nvidia.so.1
  373. rm -f /usr/$LIB/libnvidia-tls.so.%{version}
  374. rm -f /usr/$LIB/libnvidia-cfg.so.%{version}
  375. rm -f /usr/$LIB/libnvidia-cfg.so.1
  376. rm -f /usr/$LIB/libnvidia-ml.so.%{version}
  377. rm -f /usr/$LIB/libcuda.so.%{version}
  378. rm -f /usr/$LIB/libnvcuvid.so.%{version}
  379. rm -f /usr/$LIB/libnvcuvid.so.1
  380. rm -f /usr/$LIB/libnvcuvid.so
  381. rm -f /usr/$LIB/libnvidia-ptxjitcompiler.so.%{version}
  382. rm -f /usr/$LIB/libnvidia-ptxjitcompiler.so.1
  383. rm -f /usr/$LIB/libnvidia-fatbinaryloader.so.%{version}
  384. rm -f /usr/bin/nvidia-xconfig
  385. rm -f /usr/share/man/man1/nvidia-xconfig.1.gz
  386. rm -f /usr/bin/nvidia-settings
  387. rm -f /usr/$LIB/nvidia/libnvidia-gtk3.so.%{version}
  388. rm -f /usr/share/nvidia/nvidia-application-profiles-%{version}-key-documentation"
  389. rm -f /usr/share/man/man1/nvidia-settings.1.gz
  390. rm -f /usr/share/applications/nvidia-settings.desktop
  391. rm -f /usr/share/pixmaps/nvidia-settings.png
  392. rm -f /usr/bin/nvidia-bug-report.sh
  393. rm -f /usr/bin/nvidia-smi
  394. rm -f /usr/share/man/man1/nvidia-smi.1.gz
  395. rm -f /etc/OpenCL/vendors/nvidia.icd
  396. rm -f /usr/$LIB/libnvidia-compiler.so.%{version}
  397. rm -f /usr/$LIB/libnvidia-opencl.so.%{version}
  398. rm -f /usr/$LIB/nvidia/libOpenCL.so.1.0.0
  399. rm -f /usr/$LIB/nvidia/libOpenCL.so
  400. rm -f /usr/share/licenses/nvidia/LICENSE
  401. rm -f /usr/share/licenses/nvidia-utils
  402. rm -f /usr/share/doc/nvidia/README
  403. rm -f /usr/share/doc/nvidia/NVIDIA_Changelog
  404. rm -f /usr/share/doc/nvidia-utils
  405. rm -f /usr/$LIB/nvidia/xorg/modules/libwfb.so
  406. #
  407. #   Remove the sources
  408. #
  409. rm -rf /usr/src/nvidia-%{version}
  410. rm -rf /usr/src/$NV_NAME
  411. rm -f  /usr/src/$NV_NAME.run
  412.  
  413.  
  414. %ifarch x86_64
  415. %pre 32bit
  416. LIB=lib64
  417. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  418. pushd /usr/src >/dev/null 2>&1
  419. #
  420. #   Get the nVidia package and unpack
  421. #
  422. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  423. if [ -x /usr/bin/wget ] && [ ! -f /usr/src/$NV_NAME.run ] ; then
  424.     #
  425.     #   Get the package
  426.     #
  427.     wget -c http://us.download.nvidia.com/XFree86/Linux-x86_64/%{version}/$NV_NAME.run || exit -1
  428. fi
  429. #
  430. if [ -f $NV_NAME.run ] ; then
  431.     #
  432.     #   Check the nVidia package
  433.     #
  434.     sh $NV_NAME.run --check || exit -2
  435. fi
  436. #
  437. if [ ! -d $NV_NAME ] && [ -f /usr/src/$NV_NAME.run ] ; then
  438.     #
  439.     #   Unpack
  440.     #
  441.     sh /usr/src/$NV_NAME.run -x || exit -3
  442. fi
  443. #
  444. #   To be used by the new setup
  445. #
  446. if [ -f $NV_NAME.run ] ; then
  447.     mv -f $NV_NAME.run $NV_NAME.run.new
  448. fi
  449. if [ -d $NV_NAME ] ; then
  450.     mv -f $NV_NAME $NV_NAME.new
  451. fi
  452. #
  453. popd  >/dev/null 2>&1
  454.  
  455.  
  456. %posttrans 32bit
  457. LIB=lib64
  458. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  459. pushd /usr/src >/dev/null 2>&1
  460. #
  461. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  462. #
  463. #   Get the new setup
  464. #
  465. if [ -f $NV_NAME.run.new ] ; then
  466.     mv -f $NV_NAME.run.new $NV_NAME.run
  467. fi
  468. if [ -d $NV_NAME.new ] ; then
  469.     mv -f $NV_NAME.new $NV_NAME
  470. fi
  471. #
  472. if [ -d $NV_NAME ] ; then
  473.     #
  474.     #   Install
  475.     #
  476.     pushd $NV_NAME >/dev/null 2>&1
  477.  
  478.     # OpenGL library
  479.     install -D -m755  32/libGL.so.%{version} /usr/lib/nvidia/libGL.so.%{version}
  480.  
  481.     # OpenGL Links
  482.     ln      -sf       /usr/lib/nvidia/libGL.so.%{version} /usr/lib/nvidia/libGL.so
  483.     ln      -sf       /usr/lib/nvidia/libGL.so.%{version} /usr/lib/nvidia/libGL.so.1
  484.  
  485.     # OpenGL core library
  486.     install -D -m755  32/libnvidia-glcore.so.%{version} /usr/lib/libnvidia-glcore.so.%{version}
  487.  
  488.     # VDPAU
  489.     install -D -m755  32/libvdpau_nvidia.so.%{version} /usr/lib/vdpau/libvdpau_nvidia.so.%{version}
  490.     # ln -sf libvdpau_nvidia.so.%{version} /usr/lib/vdpau/libvdpau_nvidia.so.1
  491.  
  492.     # CUDA
  493.     install -D -m755  32/libcuda.so.%{version} /usr/lib/libcuda.so.%{version}
  494.     install -D -m755  32/libnvcuvid.so.%{version} /usr/lib/libnvcuvid.so.%{version}
  495.     install -D -m755  32/libnvidia-ptxjitcompiler.so.%{version} /usr/lib/libnvidia-ptxjitcompiler.so.%{version}
  496.  
  497.     # NVIDIA FAT binary loader library
  498.     install -D -m755  32/libnvidia-fatbinaryloader.so.%{version} /usr/lib/libnvidia-fatbinaryloader.so.%{version}
  499.  
  500.     # nvidia-tls library
  501.     install -D -m755  32/tls/libnvidia-tls.so.%{version} /usr/lib/libnvidia-tls.so.%{version}
  502.  
  503.     # OpenCL
  504.     install -D -m755  32/libnvidia-compiler.so.%{version} /usr/lib/libnvidia-compiler.so.%{version}
  505.     install -D -m755  32/libnvidia-opencl.so.%{version}   /usr/lib/libnvidia-opencl.so.%{version}
  506.     install -D -m755  32/libnvidia-ml.so.%{version}       /usr/lib/libnvidia-ml.so.%{version}
  507.     install -D -m755  32/libOpenCL.so.1.0.0               /usr/lib/nvidia/libOpenCL.so.1.0.0
  508.  
  509.     # Links
  510.     ln      -sf       /usr/lib/nvidia/libOpenCL.so.1.0.0 /usr/lib/nvidia/libOpenCL.so
  511.  
  512.     popd  >/dev/null 2>&1
  513. fi
  514. #
  515. popd  >/dev/null 2>&1
  516. #
  517. /sbin/ldconfig
  518.  
  519.  
  520. %postun 32bit
  521. NV_NAME=NVIDIA-Linux-x86_64-%{version}
  522. #
  523. rm -f /usr/lib/nvidia/libGL.so.%{version}
  524. rm -f /usr/lib/nvidia/libGL.so
  525. rm -f /usr/lib/nvidia/libGL.so.1
  526. rm -f /usr/lib/libnvidia-glcore.so.%{version}
  527. rm -f /usr/lib/vdpau/libvdpau_nvidia.so.%{version}
  528. rm -f /usr/lib/vdpau/libvdpau_nvidia.so.1
  529. rm -f /usr/lib/libcuda.so.%{version}
  530. rm -f /usr/lib/libnvcuvid.so.%{version}
  531. rm -f /usr/lib/libnvidia-ptxjitcompiler.so.%{version}
  532. rm -f /usr/lib/libnvidia-fatbinaryloader.so.%{version}
  533. rm -f /usr/lib/libnvidia-tls.so.%{version}
  534. rm -f /usr/lib/libnvidia-compiler.so.%{version}
  535. rm -f /usr/lib/libnvidia-opencl.so.%{version}
  536. rm -f /usr/lib/nvidia/libOpenCL.so.1.0.0
  537. rm -f /usr/lib/nvidia/libOpenCL.so
  538. rm -f /usr/lib/libnvidia-ml.so.%{version}
  539. #
  540. /sbin/ldconfig
  541. %endif
  542.  
  543.  
  544. %files
  545. %defattr(-,root,root)
  546. %doc README.nvidia-bumblebee
  547. %doc nvidia-linux-4.16-missing-exports-for-swiotlb.patch
  548. /etc/modprobe.d/51-blacklist-nouveau.conf
  549.  
  550. %ifarch x86_64
  551. %files 32bit
  552. %defattr(-,root,root)
  553. %doc README.nvidia-bumblebee-32bit
  554. %endif
  555.  
  556. %changelog
  557. * Fri May 18 2018 Mathias.Homann@opensuse.org
  558. - Version bump to 390.59
  559. - Changelog:
  560.   * Added support for the following GPUs:
  561.   - GeForce GTX 1050 with Max-Q Design
  562.   - Quadro P3200
  563.   - Quadro P4200
  564.   * Added support for X.Org xserver ABI 24 (xorg-server 1.20).
  565.   * Improved nvidia-bug-report.sh to check for kern.log which is the default kernel log-file location for many Debian-based Linux distributions.
  566.   * 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().
  567. * Mon Apr  9 2018 w01dnick@gmail.com
  568. - Add nvidia-linux-4.16-missing-exports-for-swiotlb.patch
  569.   patch based on boo#1088651 to remove usage of missing exports for swiotlb
  570. * Sat Mar 31 2018 w01dnick@gmail.com
  571. - Update: 390.48
  572. - Chnagelog:
  573.   + Added support for the following GPUs:
  574.     Quadro GV100
  575.   + Updated the driver to prevent G-SYNC from being enabled when a Quadro Sync board is installed. G-SYNC and Quadro Sync were always mutually incompatible features, and this change makes it easier to use G-SYNC capable monitors on Quadro Sync configurations, as it is now no longer necessary to manually disable G-SYNC.
  576.   + Further improved the fix for occasional flicker when using the X driver's composition pipeline.  This was mostly fixed in 390.42, but now the fix should be more complete.
  577.   + Improved compatibility with recent Linux kernels.
  578.   + Fixed a string concatenation bug that caused libGL to accidentally try to create the directory "$HOME.nv" rather than "$HOME/.nv" in some cases where /tmp isn't accessible.
  579.   + Increased the version numbers of the GLVND libGL, libGLESv1_CM, libGLESv2, and libEGL libraries, to prevent concurrently installed non-GLVND libraries from taking precedence in the dynamic linker cache.
  580.   + 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().
  581. * Fri Mar 16 2018 w01dnick@gmail.com
  582. - Update: 390.42
  583. - Changelog:
  584.   + Fixed a regression, introduced in 390.12, that caused occasional flicker when using the X driver's composition pipeline, for example when using screen transformations like rotation, or the "ForceCompositionPipeline" or "ForceFullCompositionPipeline" options."
  585. * Wed Jan 31 2018 Mathias.Homann@opensuse.org
  586. - Update: 390.25
  587. - Changelog:
  588.  + Added support for the following GPUs:
  589.    GeForce GTX 1060 5GB
  590.    Quadro P620
  591.  + Fixed a regression introduced in 390.12 that prevented displays from working normally when running multiple X screens with emulated overlays.
  592.  + Fixed a regression introduced in 390.12 that caused occasional hangs and hard lockup messages in the system log when screen transformations are in use.
  593.  + Added new application profile settings, "EGLVisibleDGPUDevices" and "EGLVisibleTegraDevices", to control which discrete and Tegra GPU devices, respectively, may be enumerated by EGL. See the "Application Profiles" appendix of the driver README for more details.
  594.  + Corrected the SONAME of the copy of the libnvidia-egl-wayland library included in the .run installer package to libnvidia-egl-wayland.so.1. The SONAME had previously been versioned incorrectly with the full version number of the library.
  595.  + Updated nvidia.ko to veto the ACPI_VIDEO_NOTIFY_PROBE event on kernels that allow the handler for this event to be overridden, to improve interaction between the NVIDIA driver and acpi_video on display hotplug events.
  596.  + Updated the SLI Mosaic layout page in the nvidia-settings control panel to support topologies with up to 32 displays.
  597.  + Fixed a bug that prevented Xinerama Info from being handled properly in SLI or Base Mosaic layouts with more than 24 displays.
  598.  + Updated the X driver's composition pipeline (used for rotation, warp and blend, transformation matrices, etc) to also support stereo.
  599.  + Added an OpenGL stereo preview feature to the screen page in nvidia-settings.
  600.  + Fixed a bug where GetTexSubImage() would read incorrect data into a pixel buffer object when supplied with a target of GL_TEXTURE_1D_ARRAY and a non-zero yoffset value.
  601.  + Added support for generic active stereo with in-band DisplayPort signaling. The X configuration option "InbandStereoSignaling" is deprecated in favor of this stereo mode. See "Appendix B. X Config Options" in the README for more information.
  602.  + Modified the driver to avoid restoring framebuffer console modes on virtual reality head-mounted displays.
  603.  + 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().
  604. * Mon Jan  8 2018 Mathias.Homann@opensuse.org
  605. - Update: 384.111
  606. - Changelog:
  607.  + Added support for the following GPUs:
  608.    GeForce MX130
  609.    GeForce MX110
  610.    GeForce GTX 1050 Ti with Max-Q Design
  611.    Quadro P500
  612.  + Fixed a regression that prevented displays connected via some types of passive adapters (e.g. DMS-59 to VGA or DVI) from working correctly. The regression was introduced with driver version 384.98.
  613.  + Fixed a bug that caused Quadro M2200 GPUs to enter the lowest available PowerMizer performance level when under load.
  614. * Mon Nov 20 2017 jones_ld@protonmail.com
  615. - Add libnvidia-ptxjitcompiler, required for CUDA/openCL
  616. * Mon Nov 20 2017 jones_ld@protonmail.com
  617. - Update to 384.98
  618. - Changelog:
  619.  + Fixed a bug that could cause some eDP G-SYNC displays to flicker
  620.    at low refresh rates.
  621.  + Fixed a bug that could cause OpenGL applications to crash after
  622.    a prolonged DPMS sleep state on a monitor driven with PRIME Sync.
  623.  + Fixed a bug that artificially limited the maximum pixel clock
  624.    to 300 MHz when using certain more capable DisplayPort to HDMI
  625.    adapters.
  626.  + Fixed a bug that prevented the NVIDIA kernel modules from
  627.    building for non-SMP Linux kernels.
  628.  + Updated the output of `nvidia-smi nvlink --status` to include
  629.    reporting NVLink speed.
  630.  + Fixed a bug that caused incorrect PCI topology reporting in
  631.    nvidia-smi on Intel Skylake systems.
  632. * Wed Sep 27 2017 Mathias.Homann@opensuse.org
  633. - Update to 384.90: http://nvidia.custhelp.com/app/answers/detail/a_id/4544
  634. * Mon Mar 27 2017 luke.nukem.jones@gmail.com
  635. - Update to 375.39
  636. - Changelog:
  637.    + Added support for the following GPU(s):
  638.  * Quadro GP100
  639.  * Quadro P4000
  640.  * Quadro P2000
  641.  * Quadro P1000
  642.  * Quadro P600
  643.  * Quadro P400
  644.  * Quadro M1200
  645.  * Quadro M2200
  646.    + Fixed a bug that caused system hangs when resuming from
  647.    suspend with some GPUs.
  648.    + Fixed a regression that could cause corruption when hot-
  649.    plugging displays.
  650.    + Fixed a regression that prevented systems with multiple
  651.    DisplayPort monitors from resuming correctly from suspend.
  652. - Remove nvidia-linux-3.18.patch
  653. - Add nvidia-linux-4.10.patch
  654. * Sun Dec 18 2016 luke.nukem.jones@gmail.com
  655. - Update to 375.26
  656. - Changelog:
  657.  * Added support for the following GPU(s):
  658.  * Quadro M3000 SE
  659.  * Fixed a regression that prevented the backlight on some
  660.    notebook computer displays from turning back on after being
  661.    shut off.
  662.  * Fixed a regression that prevented the console from being
  663.    restored properly when using SLI.
  664.  * Fixed a bug that caused installer manifest entries for some
  665.    32-bit compatibility libraries to be duplicated in the
  666.    installer package. These entries led nvidia-installer to
  667.    issue warning messages when installing the 32-bit compatibility
  668.    libraries, for example: 'Cannot create symlink /usr/lib/libEGL.so
  669.    (File exists)'.
  670.  * Fixed a regression that could cause the nvidia-settings control
  671.    panel to crash on startup with certain GPU configurations.
  672.  * Fixed a regression that prevented the GLX_NV_swap_group extension
  673.    from working when using SLI or Quadro Sync.
  674.  * Fixed a long-standing bug that caused the NVIDIA X driver to not
  675.    correctly detect AC/battery hotplug events on notebooks.
  676.  * Fixed an interaction problem between the Linux kernel's
  677.    CONFIG_HARDENED_USERCOPY feature (new in Linux kernel 4.8) and
  678.    nvidia-drm.ko with modeset=1 enabled. This problem caused
  679.    CONFIG_HARDENED_USERCOPY to erroneously halt the system, issuing
  680.    reports of the form:
  681.  * usercopy: kernel memory overwrite attempt detected to
  682.    ffff8803e8ec7ce0 (<process stack>) (8 bytes)
  683.  * Fixed a bug that prevented nvidia-bug-report.sh from finding
  684.    relevant messages in kernel log files.
  685.  * Added support for the screen_info.ext_lfb_base field, on kernels
  686.    that have it, in order to properly handle UEFI framebuffer consoles
  687.    with physical addresses above 4GB.
  688. * Mon Oct 24 2016 luke.nukem.jones@gmail.com
  689. - Version bump to 375.10
  690. - Changelog:
  691.  Version 375.10
  692.  * Added support for the following GPUs:
  693.    Quadro P6000
  694.    Quadro P5000
  695.    GeForce GTX 1050
  696.    GeForce GTX 1050 Ti
  697.  * Added new X configuration options:
  698.    ForceCompositionPipeline
  699.    ForceFullCompositionPipelinewhich override the MetaMode tokens with the same names.
  700.  * Fixed a bug that caused issues with panning and cursor constraining when mixing PRIME-driven displays with natively driven displays.
  701.  * Fixed a bug that caused long delays when leaving the VT or disabling a display device while an OpenGL application is running.
  702.  * Improved console restore behavior on systems that use the UEFI Graphics Output Protocol, and most vesafb modes.
  703.  * Added support for the RandR TILE property added in RandR 1.5.
  704.  * Fixed a bug that prevented nvidia-bug-report.sh from finding relevant messages in kernel log files.
  705.  * Fixed a bug that allowed nvidia-installer to attempt loading kernel modules that were built against non-running kernels.
  706.  Version 367.45
  707.  * Fixed a bug that could prevent systems with GPUs configured in SLI from resuming correctly from ACPI S3/S4 sleep/hibernate states.
  708.  * Added support for NVIDIA 3D Vision 2 Stereo on Linux. This IR emitter can be used with stereo mode "10" set in the X configuration file.
  709.  * Fixed a bug in nvidia-persistenced that caused it to incorrectly delete the PID file if a second instance of the daemon is started.
  710.  * Fixed a bug that allowed nvidia-installer to attempt loading kernel modules that were built against non-running kernels.
  711. * Fri Sep  9 2016 yjcoshc@gmail.com
  712. - I forgot to remove the NVIDIA FAT binary loader library file in %%postun accordingly. Let's fix it.
  713. * Thu Sep  8 2016 luke.nukem.jones@gmail.com
  714. - Version bump to 367.27
  715. - Remove patch for 4.7 kernel - Issue fixed by Nvidia
  716. - Changelog:
  717.  Version 367.27
  718.  - -------------
  719.  * Added support for the following GPUs:
  720.  TITAN X (Pascal)
  721.    GeForce GTX 1060 6GB
  722.    GeForce GTX 1060 3GB
  723.  * Fixed a regression that caused applications using indirect GLX to crash.
  724.  * Fixed a regression introduced in 367.35 that caused the first modeset of the X server to display blank if the features requested in the X configuration file enabled the X driver's composition pipeline. This would be triggered, e.g., by MetaMode tokens such as ForceCompositionPipeline, ForceFullCompositionPipeline, Rotation, Reflection, and Transform.
  725. * Sun Aug 28 2016 yjcoshc@gmail.com
  726. - Install NVIDIA FAT binary loader library to fix the CUDA library dependency issue.
  727. * Thu Aug 11 2016 luke.nukem.jones@gmail.com
  728. - Add patch for kernel 4.7
  729.  * [Link to mailing list]
  730.    (https://lists.opensuse.org/opensuse-factory/2016-08/msg00118.html)
  731. * Wed Jun 22 2016 ronisbr@gmail.com
  732. - Add modules `nvidia-drm` and `nvidia-modeset`.
  733. - Improve .spec indenting by converting tabs to spaces.
  734. * Sat Jun 18 2016 ronisbr@gmail.com
  735. - Version bump to 367.27
  736. - Changelog:
  737.  Version 367.27
  738.  - -------------
  739.  * Added support for the following GPUs:
  740.    GeForce GTX 1080
  741.    GeForce GTX 1070
  742.  * Added support for VDPAU Feature Set H to the NVIDIA VDPAU
  743.    driver. GPUs with VDPAU Feature Set H are capable of
  744.    hardware-accelerated decoding of 8192x8192 (8k) H.265/HEVC
  745.    video streams.
  746.  * Fixed a bug that caused the X server to sometimes skip
  747.    displaying Vulkan frames when the Composite extension is
  748.    enabled.
  749.  * Fixed a bug that would cause OpenGL applications to crash
  750.    when creating a context on one X display connection, then
  751.    making it current with no associated drawable on another X
  752.    display connection.  This fixes a crash when starting some
  753.    versions of Matlab.
  754.  * Fixed OpenGL presentation to SDI through the GLX_NV_video_out
  755.    and GLX_NV_present_video extensions, which was broken by the
  756.    introduction of the nvidia-modeset kernel module in 358.09.
  757.  * Fixed a bug that caused an incorrect offset to be applied
  758.    when using the full composition pipeline on a display whose
  759.    image has both a rotation and a ViewportOut offset applied.
  760.  * Fixed a bug that could cause nvidia-settings to crash on some
  761.    systems when responding to events such as hotplugging
  762.    DisplayPort devices.
  763.  * Fixed a bug that could cause crashes in OpenGL applications
  764.    which use glTextureView() with a non-zero minlevel.
  765.  * Enhanced the Display Device information page in
  766.    nvidia-settings with additional information for DisplayPort
  767.    devices to reflect attributes which are specific to
  768.    DisplayPort connections.
  769.  * Fixed a bug which could cause deleted application profiles to
  770.    appear when editing rules in the nvidia-settings control
  771.    panel.
  772.  * Fixed a bug that caused hangs when a G-SYNC monitor is
  773.    unplugged and a non-G-SYNC monitor is connected while G-SYNC
  774.    is active.
  775.  * Fixed a bug that caused "nvidia-modeset: ERROR: GPU:0:
  776.     Activating G-SYNC failed" to be printed to the system log if
  777.    a G-SYNC monitor is connected and stereo is enabled in
  778.    xorg.conf on a configuration that doesn't support it.
  779.  * Added the NV_robustness_video_memory_purge OpenGL extension,
  780.    which allows applications to know when a mode switching or
  781.    power event purged the contents of FBOs and BOs residing in
  782.    video memory.
  783.  * Fixed a bug that prevented HDMI 2.0 4K monitors from waking
  784.    up from sleep or hot-replug.
  785.  * Fixed a bug that could lead to a system crash if there was a
  786.    peer-to-peer mapping still active during CUDA context
  787.    teardown.
  788.  Version 361.45.11
  789.  - ----------------
  790.  * Added support for the following GPUs:
  791.    Quadro M5500
  792.  * Fixed a bug that sometimes prevented flipping from being
  793.    enabled on systems with multiple displays.
  794.  * Fixed a bug that could cause applications to crash when using
  795.    the EGL_EXT_platform_device extension on a system with
  796.    multiple GPUs.
  797.  * Fixed a bug that could cause nvidia-installer's runtime
  798.    loader test to fail spuriously on some systems.
  799.  * The NVIDIA Unified Virtual Memory kernel module,
  800.    nvidia-uvm.ko, now has a minimum kernel requirement of Linux
  801.    2.6.32. On older kernel versions, nvidia-uvm.ko will be
  802.    compiled as a stub kernel module which does not provide any
  803.    functionality.
  804.  * Updated the libglvnd snapshot included in the NVIDIA driver
  805.    package to libglvnd commit
  806.    b7d75429677eecc00c3701aaa4deac1304bc51ff. This contains a new
  807.    revision of the libglvnd ABI. The driver is not compatible
  808.    with a libglvnd older than commit
  809.    c5bcda3b848fe52d6ae6ef25c917431c06d62d27.
  810. * Sun May 15 2016 ronisbr@gmail.com
  811. - FIX: After last commit, nouveau driver was not being blacklisted
  812.  anymore.
  813. * Sun May 15 2016 luke.nukem.jones@gmail.com
  814. - Blacklist nvidia driver to prevent loading on startup. For some
  815.  types of Optimus laptops this is nesessary otherwise bbswitch is
  816.  unable to unload the driver and turn off the chipset.
  817. - Version bump to 361.42
  818. - Changelog:
  819.  Version 361.42
  820.  - -------------
  821.  * Added support for the following GPUs:
  822.  - GeForce 920MX
  823.  - GeForce 930MX
  824.  - Quadro M6000 24GB
  825.  - Quadro M2000
  826.  * Limited the default concurrency level in nvidia-settings to
  827.    32, to avoid hitting the maximum tasks limit on systems with
  828.    many CPUs.
  829.  * Fixed a regression that caused GPU exceptions and incorrect
  830.    rendering when using pbuffers with EGLDevice.
  831.  * Fixed a bug that caused nvidia-settings to crash when pairing
  832.    glasses with the 3D Vision Pro transmitter on some systems.
  833.  * Fixed a bug that caused installer manifest entries for some
  834.    32-bit compatibility libraries to be duplicated in the
  835.    installer package.
  836.  * Fixed a regression that caused the HSync and VSync mode
  837.    timing polarity flags to be inverted.
  838. * Tue Mar  1 2016 ronisbr@gmail.com
  839. - Disable KMS support (don't install nvidia-modeset module).
  840.    Due to gh#Bumblebee-Project/Bumblebee#719, if KMS support is
  841.    enabled then bumblebee will not be able to turn off the
  842.    discrete GPU once nvidia module is loaded. Thus, as a temporary
  843.    workaround, this module is not installed.
  844. * Thu Feb 25 2016 ronisbr@gmail.com
  845. - Fix DKMS to work with 361.28 version.
  846. * Sun Feb 21 2016 ronisbr@gmail.com
  847. - Version bump to 361.28
  848. - Changelog:
  849.  Version 361.28
  850.  - -------------
  851.  * Added support for the following GPU:
  852.  - GeForce 945A
  853.  * Added a legacy, non-GLVND libGL.so GLX client library to the
  854.    NVIDIA Linux driver installer package, and the ability to
  855.    select between a GLVND or non-GLVND GLX client library at
  856.    installation time. This allows users to install the legacy
  857.    non-GLVND GLX client library in order to work around
  858.    compatibility issues which may arise due to GLX applications
  859.    which depend upon behaviors of the NVIDIA GLX client driver
  860.    which are not defined by the Linux OpenGL ABI version 1.0.
  861.  * By default, nvidia-installer will install the legacy,
  862.    non-GLVND GLX client libraries. The --glvnd-glx-client
  863.    command line option can be used to override the default, and
  864.    install the GLVND GLX client libraries instead. Please
  865.    contact the vendors of any applications that are not
  866.    compatible with GLVND to ensure that their applications be
  867.    updated for compatibility with GLVND.
  868.  * The presence of multiple GLX client libraries in the package
  869.    has implications for repackagers of the NVIDIA driver; see
  870.    the libGL.so entry in the "Installed Components" chapter of
  871.    the README for details.
  872.  * The OpenGL Vendor-Neutral Driver (GLVND) infrastructure is
  873.    now included and supported by the NVIDIA GLX and OpenGL
  874.    drivers.  This should not cause any visible changes in
  875.    behavior for end users, but some internal driver component
  876.    libraries have been renamed and/or moved as a result. These
  877.    changes may affect scripts that rely on the presence of
  878.    NVIDIA OpenGL driver components other than those specified in
  879.    the Linux OpenGL ABI version 1.0, maintainers of alternative
  880.    NVIDIA driver installation packages, and applications which
  881.    rely on the presence of any non- OpenGL/GLX symbols in the
  882.    libGL.so.1 library and its dependencies in any way.
  883.    Please see:
  884.    https://github.com/NVIDIA/libglvnd
  885.    For more information on the GLVND project.
  886.    The Linux OpenGL ABI version 1.0 specification is available
  887.    at:
  888.    https://www.opengl.org/registry/ABI
  889.  * Updated nvidia-installer to run ldconfig(8) and depmod(8)
  890.    after uninstalling an existing driver, instead of only
  891.    running these two commands when installing a new driver.
  892.  * Removed the VDPAU wrapper and trace libraries libvdpau.so.1
  893.    and libvdpau_trace.so.1 from the driver package.  These
  894.    libraries may be available via your distribution's package
  895.    management system, or can be compiled from the sources
  896.    available at:
  897.    http://people.freedesktop.org/~aplattner/vdpau/
  898.    Please see
  899.    http://freedesktop.org/wiki/Software/VDPAU/
  900.    for more information.
  901.  * Fixed a bug in the EGL driver where a mutex was unlocked more
  902.    than once.  This triggers undefined behavior, and in
  903.    particular, if lock elision is enabled in glibc, may result
  904.    in a segmentation fault.
  905.  Version 352.79
  906.  - -------------
  907.  * Added support for the following GPUs:
  908.  - Quadro M500M
  909.  * Fixed a bug in the EGL driver where a mutex was unlocked more
  910.    than once. This triggers undefined behavior, and in
  911.    particular, if lock elision is enabled in glibc, may result
  912.    in a segmentation fault.
  913. * Sun Feb 21 2016 ronisbr@gmail.com
  914. - Improve .spec.
  915.  * Update copyright statement.
  916.  * Improve coding indentation.
  917.  * Change code organization based on spec-cleaner.
  918. * Wed Nov 18 2015 ronisbr@gmail.com
  919. - Version bump to 352.63
  920. - Changelog:
  921.  * Added support for the following GPUs:
  922.    _ GeForce 945M
  923.    _ Quadro M5000M
  924.    _ Quadro M4000M
  925.    _ Quadro M3000M
  926.    _ Quadro M2000M
  927.    _ Quadro M1000M
  928.    _ Quadro M600M
  929.    _ NVS 810
  930.  * Fixed a regression that prevented DPMS from working correctly on some
  931.  DisplayPort displays.
  932.  * Fixed a bug that could prevent X from starting when configured with
  933.  multiple X screens, some of which scan out to display devices, and some
  934.  of which do not.
  935.  * Fixed a bug that could cause texture corruption in some OpenGL
  936.  applications when video memory is exhausted by a combination of
  937.  simultaneously running graphical and compute workloads.
  938.  * Added support for X.Org xserver ABI 20 (xorg-server 1.18).
  939. * Mon Sep  7 2015 ronisbr@gmail.com
  940. - Version bump to 352.41
  941. - Changelog:
  942.  * Added support for the following GPUs:
  943.    _ GeForce GTX 950
  944.    _ Quadro M4000
  945.    _ Quadro M5000
  946.  * Fixed a bug that caused VDPAU to only display the top half of a
  947.    video frame when decoding and displaying H.265/HEVC encoded video
  948.    streams.
  949.  * Fixed a bug that caused the X server to crash if an OpenGL
  950.    application tried to allocate a drawable when GPU-accessible
  951.    memory is exhausted.
  952. * Mon Sep  7 2015 ronisbr@gmail.com
  953. - Fix bnc#937308
  954.  - Copy libnvidia-gtk3.so.%%{version} to /usr/$LIB/nvidia
  955.  - Copy nvidia-application-profiles-%%{version}-key-documentation to
  956.    /usr/share/nvidia
  957.  - Add gtk3 as a dependency. Otherwise the nvidia-settings cannot be
  958.    opened.
  959. * Sun Jul  5 2015 arichardson.kde@gmail.com
  960. - Version bump to 352.21
  961. * Thu May 14 2015 bjoernv@arcor.de
  962. - Version bump to 346.72
  963. * Tue Apr 28 2015 bjoernv@arcor.de
  964. - Version bump to 346.59
  965. * Wed Feb 25 2015 volnes88@gmail.com
  966. - Version bump to 346.47
  967. * Tue Jan 20 2015 arnaldo.coelho@gmail.com
  968. - Fixed kernel module compilation
  969. - Added patch for kernel 3.18
  970. - Added CUDA module (nvidia-uvm) to dkms.conf
  971. * Sun Jan 18 2015 volnes88@gmail.com
  972. - Version bump to 346.35
  973. * Mon Dec  8 2014 volnes88@gmail.com
  974. - Version bump to 343.36
  975. * Fri Sep 19 2014 volnes88@gmail.com
  976. - Version bump to 343.22
  977. * Mon Sep 15 2014 bwiedemann@suse.com
  978. - Blacklist nouveau via own file (bnc#896630)
  979. * Thu Aug 21 2014 tchvatal@suse.com
  980. - Do NOT remove blacklist stuff on uninstall let user handle it
  981.  himself.
  982. * Wed Aug 20 2014 arichardson.kde@gmail.com
  983. - Version bump to 340.32
  984. * Tue Jul  8 2014 volnes88@gmail.com
  985. - Version bump to 340.24
  986. * Mon Jun  2 2014 arnaldo.coelho@gmail.com
  987. - Removed patch for kernel 3.14
  988. * Fri May 30 2014 volnes88@gmail.com
  989. - Version bump to 337.25
  990. * Tue May 27 2014 arnaldo.coelho@gmail.com
  991. - Added nouveau to blacklist at install
  992. * Wed Apr 16 2014 arnaldo.coelho@gmail.com
  993. - Added patch for kernel 3.14
  994. * Mon Mar 24 2014 arnaldo.coelho@gmail.com
  995. - Version bump to 334.21
  996. * Thu Feb 20 2014 scarabeus@opensuse.org
  997. - Version bump to 331.49:
  998.  * builds with kernel 3.13
  999. * Thu Feb 13 2014 arnaldo.coelho@gmail.com
  1000. - Fixed uninstall script
  1001. * Fri Feb  7 2014 arnaldo.coelho@gmail.com
  1002. - Initial release
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top