summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/community/nvidia-utils-beta
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-02-16 05:02:52 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-02-16 05:02:52 (GMT)
commit39c2b31a9bfb656be1c7fba9bc73d297230f6d60 (patch)
tree90406a7c1356ebdd7e48e7ee0322be05a22a8610 /abs/extra-testing/community/nvidia-utils-beta
parentee08c3133373b7a4d14d655e052c3175eaf558fe (diff)
downloadlinhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.zip
linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.gz
linhes_pkgbuild-39c2b31a9bfb656be1c7fba9bc73d297230f6d60.tar.bz2
VDPAU!
Diffstat (limited to 'abs/extra-testing/community/nvidia-utils-beta')
-rw-r--r--abs/extra-testing/community/nvidia-utils-beta/PKGBUILD79
-rw-r--r--abs/extra-testing/community/nvidia-utils-beta/nvidia.install36
-rw-r--r--abs/extra-testing/community/nvidia-utils-beta/supported-cards.txt272
3 files changed, 387 insertions, 0 deletions
diff --git a/abs/extra-testing/community/nvidia-utils-beta/PKGBUILD b/abs/extra-testing/community/nvidia-utils-beta/PKGBUILD
new file mode 100644
index 0000000..ffc8664
--- /dev/null
+++ b/abs/extra-testing/community/nvidia-utils-beta/PKGBUILD
@@ -0,0 +1,79 @@
+#Maintainer: Dan Vratil <progdan@progdansoft.com>
+
+pkgname=nvidia-utils-beta
+pkgver=180.29
+pkgrel=1
+pkgdesc="NVIDIA beta drivers utilities and libraries."
+provides=('nvidia-utils' 'libgl')
+arch=('i686' 'x86_64')
+[ "$CARCH" = "i686" ] && ARCH=x86 && NV=0
+[ "$CARCH" = "x86_64" ] && ARCH=x86_64 && NV=0
+url="http://www.nvidia.com/"
+depends=('xorg-server>=1.5')
+conflicts=('libgl' 'libgl-dri' 'ati-fglrx-utils' 'nvidia-legacy-utils' \
+ 'nvidia-71xx-utils' 'nvidia-96xx-utils')
+license=('custom')
+install=nvidia.install
+source=(ftp://download.nvidia.com/XFree86/Linux-${ARCH}/${pkgver}/NVIDIA-Linux-${ARCH}-${pkgver}-pkg${NV}.run \
+ supported-cards.txt)
+
+md5sums=('db9aa3683988b7b0872abae7182f5bc5'
+ '5b5835bdb1508a57591b812c109a2679')
+[ "$CARCH" = "x86_64" ] && md5sums=('318e36822c095fcd410161b1326797b1'
+ '5b5835bdb1508a57591b812c109a2679')
+options=(docs)
+
+build()
+{
+ # override nvida install routine and do it the long way.
+ cd $startdir/src/
+ sh NVIDIA-Linux-${ARCH}-${pkgver}-pkg${NV}.run --extract-only
+ cd NVIDIA-Linux-${ARCH}-${pkgver}-pkg${NV}/usr/
+
+ mkdir -p $startdir/pkg/usr/{lib,bin,share/applications,share/pixmaps,man/man1}
+ mkdir -p $startdir/pkg/usr/lib/xorg/modules/{extensions,drivers}
+ mkdir -p $startdir/pkg/usr/share/licenses/nvidia/
+
+ #install lib/{libGLcore,libGL,libnvidia-cfg,libcuda,tls/libnvidia-tls}.so.${pkgver} \
+ mkdir -p $startdir/pkg/usr/include/{,GL,cuda,vdpau}
+
+ install -m644 include/cuda/{cudaGL,cuda}.h $startdir/pkg/usr/include/cuda
+ install -m644 include/vdpau/{vdpau_x11,vdpau}.h $startdir/pkg/usr/include/vdpau
+ # Conflicts with MESA; if you want to develop opengl app, enable this line
+ #install -m644 include/GL/{glxext,gl,glx,glext}.h $startdir/pkg/usr/include/GL
+
+ install lib/{libGLcore,libGL,libnvidia-cfg,libcuda,tls/libnvidia-tls,libvdpau_nvidia,libvdpau,libvdpau_trace}.so.${pkgver} \
+ $startdir/pkg/usr/lib/ || return 1
+
+ install -m644 share/man/man1/* $startdir/pkg/usr/man/man1/ || return 1
+ rm $startdir/pkg/usr/man/man1/nvidia-installer.1.gz || return 1
+ install X11R6/lib/libXv* $startdir/pkg/usr/lib/ || return 1
+ install -m644 share/applications/nvidia-settings.desktop $startdir/pkg/usr/share/applications/ || return 1
+ # fix nvidia .desktop file
+ sed -e 's:__UTILS_PATH__:/usr/bin:' -e 's:__PIXMAP_PATH__:/usr/share/pixmaps:' -i $startdir/pkg/usr/share/applications/nvidia-settings.desktop
+ install -m644 share/pixmaps/nvidia-settings.png $startdir/pkg/usr/share/pixmaps/ || return 1
+ install X11R6/lib/modules/libnvidia-wfb.so.$pkgver $startdir/pkg/usr/lib/xorg/modules || return 1
+ install X11R6/lib/modules/drivers/nvidia_drv.so $startdir/pkg/usr/lib/xorg/modules/drivers || return 1
+ install X11R6/lib/modules/extensions/libglx.so.$pkgver $startdir/pkg/usr/lib/xorg/modules/extensions || return 1
+ install -m755 bin/nvidia-{settings,xconfig,bug-report.sh} $startdir/pkg/usr/bin/ || return 1
+ cd $startdir/pkg/usr/lib/
+ ln -s libGL.so.$pkgver libGL.so || return 1
+ ln -s libGL.so.$pkgver libGL.so.1 || return 1
+ ln -s libGLcore.so.$pkgver libGLcore.so.1 || return 1
+ ln -s libnvidia-cfg.so.$pkgver libnvidia-cfg.so.1 || return 1
+ ln -s libnvidia-tls.so.$pkgver libnvidia-tls.so.1 || return 1
+ ln -s libcuda.so.$pkgver libcuda.so.1 || return 1
+ ln -s libXvMCNVIDIA.so.$pkgver libXvMCNVIDIA_dynamic.so.1 || return 1
+ ln -s libvdpau.so.$pkgver libvdpau.so.1 || return 1
+ ln -s libvdpau.so.$pkgver libvdpau.so || return 1
+ cd $startdir/pkg/usr/lib/xorg/modules/extensions
+ ln -s libglx.so.$pkgver libglx.so || return 1
+
+ install -m644 $startdir/src/NVIDIA-Linux-${ARCH}-${pkgver}-pkg${NV}/LICENSE $startdir/pkg/usr/share/licenses/nvidia/ || return 1
+ ln -s nvidia $startdir/pkg/usr/share/licenses/nvidia-utils || return 1
+ install -D -m644 $startdir/src/NVIDIA-Linux-${ARCH}-${pkgver}-pkg${NV}/usr/share/doc/README.txt $startdir/pkg/usr/share/doc/nvidia/README || return 1
+ install -D -m644 $startdir/src/supported-cards.txt $startdir/pkg/usr/share/doc/nvidia/supported-cards.txt || return 1
+
+ find $startdir/pkg/usr -type d -exec chmod 755 {} \;
+}
+
diff --git a/abs/extra-testing/community/nvidia-utils-beta/nvidia.install b/abs/extra-testing/community/nvidia-utils-beta/nvidia.install
new file mode 100644
index 0000000..6f50f79
--- /dev/null
+++ b/abs/extra-testing/community/nvidia-utils-beta/nvidia.install
@@ -0,0 +1,36 @@
+# arg 1: the new package version
+post_install() {
+
+ echo -------------------------------
+ echo By using this package you accept the NVIDIA license,
+ echo which has been installed in /usr/share/licenses/nvidia/LICENSE
+ echo If you do not accept this license, you must remove the package immediately.
+ echo Dont forget to update your /etc/X11/xorg.conf
+ echo In order to use nvidia-settings, you need to install the 'gtk2' package.
+ echo In order to use nvidia-xconfig, you need to install the 'pkgconfig' package.
+ echo -------------------------------
+ echo nvidia 9746 drops support for Geforce 3 and 4 cards
+ echo If you have such a card, install the nvidia-96xx, nvidia-96xx-utils,
+ echo nvidia-96xx-ck, nvidia-96xx-beyond, nvidia-96xx-suspend2 packages
+ echo For a list of supported cards, see /usr/share/doc/nvidia/supported-cards.txt
+ echo -------------------------------
+ echo This drivers are beta. We recommend to use drivers from extra repo.
+
+# echo ":: Updating symlinks to use built-in libwfb"
+# ln -sf /usr/lib/xorg/modules/libnvidia-wfb.so.* /usr/lib/xorg/modules/libwfb.so
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ post_install $1
+}
+
+#post_remove() {
+# echo ":: Updating symlinks to use xorg-server libwfb"
+# ln -sf /usr/lib/xorg/modules/libwfb.so.* /usr/lib/xorg/modules/libwfb.so
+#}
+
+op=$1
+shift
+$op $*
diff --git a/abs/extra-testing/community/nvidia-utils-beta/supported-cards.txt b/abs/extra-testing/community/nvidia-utils-beta/supported-cards.txt
new file mode 100644
index 0000000..7dfcb45
--- /dev/null
+++ b/abs/extra-testing/community/nvidia-utils-beta/supported-cards.txt
@@ -0,0 +1,272 @@
+Archlinux currently manages three branches of the NVIDIA binary driver:
+
+nvidia (latest nvidia release)
+nvidia-96xx (96xx legacy branch)
+nvidia-71xx (71xx legacy branch)
+
+This contains GPUs currently supported by the 177.76 beta driver.
+
+______________________________________________________________________________
+
+Appendix A. Supported NVIDIA GPU Products
+______________________________________________________________________________
+
+For the most complete and accurate listing of supported GPUs, please see the
+Supported Products List, available from the NVIDIA Linux x86 Graphics Driver
+download page. Please go to http://www.nvidia.com/object/unix.html, follow the
+Archive link under the Linux x86 heading, follow the link for the 177.36
+driver, and then go to the Supported Products List.
+
+
+A1. NVIDIA GEFORCE GPUS
+
+
+ NVIDIA GPU product Device PCI ID
+ ---------------------------------- ----------------------------------
+ GeForce 9800 GTX+ 0x0613
+ GeForce 9800GT 0x0614
+ GeForce 8100P 0x0847
+ nForce 780a SLI 0x084C
+ nForce 750a SLI 0x084D
+ GeForce 9700 M GTS 0x062A
+ GeForce 9800 GX2 0x0604
+ GeForce 9800 GTX 0x0612
+ GeForce 9600 GT 0x0622
+ GeForce 9500 GT 0x0640
+ GeForce 9500M GS 0x0405
+ GeForce 8800M GTX 0x060C
+ GeForce 8800M GTS 0x0609
+ GeForce 8800 Ultra 0x0194
+ GeForce 8800 GTX 0x0191
+ GeForce 8800 GTS 512 0x0600
+ GeForce 8800 GTS 0x0193
+ GeForce 8800 GT 0x0602
+ GeForce 8800 GT 0x0611
+ GeForce 8800 GS 0x0606
+ GeForce 8800 GS 0x060D
+ GeForce 8700M GT 0x0409
+ GeForce 8600M GT 0x0407
+ GeForce 8600M GS 0x0425
+ GeForce 8600 GTS 0x0400
+ GeForce 8600 GT 0x0401
+ GeForce 8600 GT 0x0402
+ GeForce 8500 GT 0x0421
+ GeForce 8400M GT 0x0426
+ GeForce 8400M GS 0x0427
+ GeForce 8400M G 0x0428
+ GeForce 8400 SE 0x0420
+ GeForce 8400 GS 0x0404
+ GeForce 8400 GS 0x0422
+ GeForce 8400 GS 0x0424
+ GeForce 8400 GS 0x06E4
+ GeForce 8300 GS 0x0423
+ GeForce 8300 0x0848
+ GeForce 8200/ nForce 730a 0x084A
+ GeForce 8200 0x0849
+ GeForce 8200 0x084B
+ GeForce 8100 / nForce 720a 0x084F
+ GeForce 7950 GX2 0x0293
+ GeForce 7950 GX2 0x0294
+ GeForce 7950 GT 0x0295
+ GeForce 7950 GT 0x02E4
+ GeForce 7900 GTX 0x0290
+ GeForce 7900 GT/GTO 0x0291
+ GeForce 7900 GS 0x0292
+ GeForce 7900 GS 0x02E3
+ GeForce 7800 SLI 0x0095
+ GeForce 7800 GTX 0x0090
+ GeForce 7800 GTX 0x0091
+ GeForce 7800 GT 0x0092
+ GeForce 7800 GS 0x0093
+ GeForce 7800 GS 0x00F5
+ GeForce 7650 GS 0x0390
+ GeForce 7600 LE 0x0394
+ GeForce 7600 GT 0x02E0
+ GeForce 7600 GT 0x0391
+ GeForce 7600 GS 0x02E1
+ GeForce 7600 GS 0x0392
+ GeForce 7500 LE 0x01DD
+ GeForce 7350 LE 0x01D0
+ GeForce 7300 SE/7200 GS 0x01D3
+ GeForce 7300 LE 0x01D1
+ GeForce 7300 GT 0x0393
+ GeForce 7300 GT 0x0395
+ GeForce 7300 GS 0x01DF
+ GeForce 7150M / nForce 630M 0x0531
+ GeForce 7150 / NVIDIA nForce 630i 0x07E0
+ GeForce 7100 GS 0x016A
+ GeForce 7100 / NVIDIA nForce 630i 0x07E1
+ GeForce 7050 PV / NVIDIA nForce 630a 0x053A
+ GeForce 7050 PV / NVIDIA nForce 630a 0x053B
+ GeForce 7050 / NVIDIA nForce 610i 0x07E3
+ GeForce 7025 / NVIDIA nForce 630a 0x053E
+ GeForce 7000M / nForce 610M 0x0533
+ GeForce 6800 XT 0x0044
+ GeForce 6800 XT 0x0048
+ GeForce 6800 XT 0x00C3
+ GeForce 6800 XT 0x0218
+ GeForce 6800 XE 0x0043
+ GeForce 6800 Ultra 0x0040
+ GeForce 6800 Ultra 0x00F9
+ GeForce 6800 LE 0x0042
+ GeForce 6800 LE 0x00C2
+ GeForce 6800 LE 0x0212
+ GeForce 6800 GT 0x0045
+ GeForce 6800 GT 0x0046
+ GeForce 6800 GT 0x0215
+ GeForce 6800 GS 0x0047
+ GeForce 6800 GS 0x00C0
+ GeForce 6800 GS 0x00F6
+ GeForce 6800 0x0041
+ GeForce 6800 0x00C1
+ GeForce 6800 0x00F0
+ GeForce 6800 0x0211
+ GeForce 6700 XL 0x0147
+ GeForce 6610 XL 0x0145
+ GeForce 6600 VE 0x0143
+ GeForce 6600 LE 0x00F4
+ GeForce 6600 LE 0x0142
+ GeForce 6600 GT 0x00F1
+ GeForce 6600 GT 0x0140
+ GeForce 6600 0x00F2
+ GeForce 6600 0x0141
+ GeForce 6500 0x0160
+ GeForce 6250 0x0169
+ GeForce 6200SE TurboCache(TM) 0x0162
+ GeForce 6200 TurboCache(TM) 0x0161
+ GeForce 6200 LE 0x0163
+ GeForce 6200 A-LE 0x0222
+ GeForce 6200 0x00F3
+ GeForce 6200 0x014F
+ GeForce 6200 0x0221
+ GeForce 6150SE nForce 430 0x03D0
+ GeForce 6150 LE 0x0241
+ GeForce 6150 0x0240
+ GeForce 6100 nForce 420 0x03D5
+ GeForce 6100 nForce 405 0x03D1
+ GeForce 6100 nForce 400 0x03D2
+ GeForce 6100 0x0242
+ GeForce PCX 5900 0x00FB
+ GeForce PCX 5750 0x00FA
+ GeForce PCX 5300 0x00FC
+ GeForce Go 7950 GTX 0x0297
+ GeForce Go 7900 GTX 0x0299
+ GeForce Go 7900 GS 0x0298
+ GeForce Go 7800 GTX 0x0099
+ GeForce Go 7800 0x0098
+ GeForce Go 7600 GT 0x0399
+ GeForce Go 7600 0x0398
+ GeForce Go 7400 0x01D8
+ GeForce Go 7300 0x01D7
+ GeForce Go 7200 0x01D6
+ GeForce Go 6800 Ultra 0x00C9
+ GeForce Go 6800 0x00C8
+ GeForce Go 6600 TE/6200 TE 0x0146
+ GeForce Go 6600 GT 0x0149
+ GeForce Go 6600 0x0144
+ GeForce Go 6600 0x0148
+ GeForce Go 6400 0x0166
+ GeForce Go 6400 0x0168
+ GeForce Go 6200 0x0164
+ GeForce Go 6200 0x0167
+ GeForce Go 6150 0x0244
+ GeForce Go 6100 0x0247
+ GeForce FX Go5700 0x0347
+ GeForce FX Go5700 0x0348
+ GeForce FX Go5650 0x031B
+ GeForce FX Go5600 0x031A
+ GeForce FX Go53xx 0x032C
+ GeForce FX Go5250 0x0325
+ GeForce FX Go5200 32M/64M 0x0328
+ GeForce FX Go5200 0x0324
+ GeForce FX Go5100 0x032D
+ GeForce FX 5950 Ultra 0x0333
+ GeForce FX 5900ZT 0x0334
+ GeForce FX 5900XT 0x0332
+ GeForce FX 5900 Ultra 0x0330
+ GeForce FX 5900 0x0331
+ GeForce FX 5800 Ultra 0x0301
+ GeForce FX 5800 0x0302
+ GeForce FX 5700VE 0x0344
+ GeForce FX 5700LE 0x0343
+ GeForce FX 5700 Ultra 0x0341
+ GeForce FX 5700 0x0342
+ GeForce FX 5600XT 0x0314
+ GeForce FX 5600 Ultra 0x0311
+ GeForce FX 5600 0x0312
+ GeForce FX 5500 0x0326
+ GeForce FX 5200LE 0x0323
+ GeForce FX 5200 Ultra 0x0321
+ GeForce FX 5200 0x0320
+ GeForce FX 5200 0x0322
+ GeForce FX 5100 0x0327
+
+
+A1. TESLA GPUS
+
+ NVIDIA GPU product Device PCI ID
+ ---------------------------------- ----------------------------------
+ Tesla C870 0x0197
+
+
+A1. NVIDIA GEFORCE GPUS
+
+ NVIDIA GPU product Device PCI ID
+ ---------------------------------- ----------------------------------
+ Quadro FX 770M 0x065C
+ Quadro NVS 160M 0x06EB
+ Quadro NVS 150M 0x06EA
+ Quadro FX 1000 0x0309
+ Quadro FX 1100 0x034E
+ Quadro FX 1300 0x00FE
+ Quadro FX 1400 0x00CE
+ Quadro FX 1500 0x029E
+ Quadro FX 1500M 0x029B
+ Quadro FX 1600M 0x040D
+ Quadro FX 1700 0x040F
+ Quadro FX 2000 0x0308
+ Quadro FX 2500M 0x029A
+ Quadro FX 3000 0x0338
+ Quadro FX 330 0x00FC
+ Quadro FX 3450/4000 SDI 0x00CD
+ Quadro FX 350 0x01DE
+ Quadro FX 3500 0x029D
+ Quadro FX 350M 0x01DC
+ Quadro FX 3600M 0x061C
+ Quadro FX 360M 0x042D
+ Quadro FX 370 0x040A
+ Quadro FX 3700 0x061A
+ Quadro FX 4000 0x004E
+ Quadro FX 4400/Quadro FX 3400 0x00F8
+ Quadro FX 4500 0x009D
+ Quadro FX 4500 X2 0x029F
+ Quadro FX 4600 0x019E
+ Quadro FX 500/FX 600 0x032B
+ Quadro FX 540 0x014E
+ Quadro FX 540M 0x014C
+ Quadro FX 550 0x014D
+ Quadro FX 5500 0x029C
+ Quadro FX 560 0x039E
+ Quadro FX 5600 0x019D
+ Quadro FX 570 0x040E
+ Quadro FX 570M 0x040C
+ Quadro FX 700 0x033F
+ Quadro FX Go1000 0x034C
+ Quadro FX Go1400 0x00CC
+ Quadro FX Go700 0x031C
+ Quadro NVS 110M 0x01D7
+ Quadro NVS 110M 0x01DA
+ Quadro NVS 120M 0x01DB
+ Quadro NVS 130M 0x042A
+ Quadro NVS 135M 0x042B
+ Quadro NVS 140M 0x0429
+ Quadro NVS 210S 0x0245
+ NVIDIA GeForce 6150L 0x0245
+ Quadro NVS 280 PCI-E/Quadro FX 330 0x00FD
+ Quadro NVS 285 0x0165
+ Quadro NVS 290 0x042F
+ Quadro NVS 320M 0x040B
+ Quadro NVS 440 0x014A
+ Quadro NVS 55/280 PCI 0x032A
+
+