mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
alarm/nvidia-trimslice update firmware to r16 and new xorg.conf file
This commit is contained in:
parent
9dc69c91a8
commit
0fc9731a58
2 changed files with 121 additions and 22 deletions
|
@ -6,22 +6,35 @@
|
|||
buildarch=4
|
||||
|
||||
pkgname=('nvidia-trimslice')
|
||||
pkgver=15.1.0
|
||||
pkgver=16.1.0
|
||||
pkgrel=1
|
||||
arch=(armv7h)
|
||||
license=('GPL')
|
||||
url="http://archlinuxarm.org"
|
||||
source=('http://archlinuxarm.org/builder/src/ventana_nv-tegra_base_R15-Beta.1.0_armhf.tar.xz'
|
||||
source=('http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16_Release_v1.0/ventana_release_armhf/ventana_Tegra-Linux-R16.1.0_armhf.tbz2'
|
||||
'http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16_Release_v1.0/ventana_release_armhf/ventana_Tegra-Linux-codecs-R16.1.0_armhf.tbz2'
|
||||
'http://developer.download.nvidia.com/devzone/devcenter/tools/files/l4t/r16/ventana_Tegra-Linux-tegra_drv_abi13-R16.1.0_armhf.tbz2'
|
||||
'xorg.conf')
|
||||
md5sums=('b81218af9f6b7f05047bf27fccfc19a5'
|
||||
'0b9ab7162a59d80a2f7487561ee088d1')
|
||||
md5sums=('7cf9f75fff8ddc41910fbe7676864fcf'
|
||||
'6214f62fcd97db044a3e84152591deb6'
|
||||
'b333cd1c5c998ce2e3b3098e81b3cba3'
|
||||
'55e50a6894b95795732bdbc942e3e016')
|
||||
|
||||
options=('!distcc' '!ccache')
|
||||
|
||||
package() {
|
||||
pkgdesc="Nvidia drivers for the TrimSlice"
|
||||
|
||||
cd ${srcdir}
|
||||
cp -a usr lib ${pkgdir}/
|
||||
tar xf restricted_codecs.tbz2
|
||||
tar xf tegra_drv_abi_13.tbz2
|
||||
tar xf Linux_for_Tegra/nv_tegra/nvidia_drivers.tbz2
|
||||
mv lib/firmware usr/firmware
|
||||
mv usr/lib/libjpeg.so usr/lib/nvlibjpeg.so
|
||||
cd usr/lib/xorg/modules/drivers/
|
||||
ln -s tegra_drv.abi13.so tegra_drv.so
|
||||
cd ../../../../../
|
||||
cp -a usr ${pkgdir}/
|
||||
mkdir -p ${pkgdir}/etc/X11/
|
||||
cp xorg.conf ${pkgdir}/etc/X11/
|
||||
}
|
||||
|
|
|
@ -1,21 +1,36 @@
|
|||
# This is the minimal configuration necessary to use the Tegra driver.
|
||||
# Please refer to the xorg.conf man page for more configuration
|
||||
# options provided by the X server, including display-related options
|
||||
# provided by RandR 1.2 and higher.
|
||||
Section "Monitor"
|
||||
|
||||
# Disable extensions not useful on Tegra.
|
||||
Section "Module"
|
||||
Disable "dri"
|
||||
Disable "dri2"
|
||||
Disable "glx"
|
||||
SubSectionSub "extmod"
|
||||
Option "omit xfree86-dga"
|
||||
EndSubSection
|
||||
Identifier "HDMI"
|
||||
# ModeLine "1280x720" 74.48 1280 1336 1472 1664 720 721 724 746 -HSync +Vsync
|
||||
# ModeLine "720x480" 26.72 720 736 808 896 480 481 484 497 -HSync +Vsync
|
||||
# ModeLine "640x480" 23.86 640 656 720 800 480 481 484 497 -HSync +Vsync
|
||||
# ModeLine "720x576" 32.67 720 744 816 912 576 577 580 597 -HSync +Vsync
|
||||
# ModeLine "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118 -HSync +Vsync
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Monitor"
|
||||
Identifier "TFTLCD"
|
||||
# HorizSync 28.0 - 100.0
|
||||
# VertRefresh 43.0 - 72.0
|
||||
# ModeLine "800x600" 38.22 800 832 912 1024 600 601 604 622 -HSync +Vsync
|
||||
# ModeLine "1280x960" 102.10 1280 1360 1496 1712 960 961 964 994 -HSync +Vsync
|
||||
# ModeLine "1280x1024" 108.88 1280 1360 1496 1712 1024 1025 1028 1060 -HSync +Vsync
|
||||
# ModeLine "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087 -HSync +Vsync
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "Tegra"
|
||||
Driver "tegra"
|
||||
|
||||
Identifier "Tegra HDMI"
|
||||
Driver "tegra"
|
||||
|
||||
# VirtualDesktop indicates which virtual desktops should be used by X.
|
||||
# X will use the specified virtual desktop *and* the next one. In
|
||||
# order for an external app to share a display with the X server, it
|
||||
# needs to use the same virtual desktop. Valid values are integers 0
|
||||
# (default) or 1.
|
||||
|
||||
# Option "VirtualDesktop" "1"
|
||||
|
||||
# OverlayDepth is a 32-bit integer which is used to control overlay
|
||||
# stacking order. The overlay with the lowest depth is in front of
|
||||
|
@ -24,10 +39,81 @@ Section "Device"
|
|||
|
||||
# Option "OverlayDepth" "255"
|
||||
|
||||
# OverlayCombineMode determines how the X overlay is combined with the
|
||||
# overlay behind it during scanout. Available modes are: Opaque
|
||||
# (default), SourceAlphaBlend, and PremultSourceAlphaBlend. This
|
||||
# value has meaning only when an external process has created a
|
||||
# display which is behind the X server.
|
||||
|
||||
# Option "OverlayCombineMode" "PremultSourceAlphaBlend"
|
||||
|
||||
# ARGBHWCursor controls whether the X driver uses an overlay to
|
||||
# display 32-bit "true-color" cursors, or whether such cursors are
|
||||
# emulated in software. Valid values are "true" to enable hardware
|
||||
# cursors, and "false" (default) to disable them.
|
||||
# emulated in software. Valid values are "true" (default) to enable
|
||||
# hardware cursors, and "false" to disable them.
|
||||
|
||||
Option "ARGBHWCursor" "false"
|
||||
|
||||
# Option "ARGBHWCursor"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
|
||||
Identifier "Tegra Internal"
|
||||
Driver "tegra"
|
||||
|
||||
Option "ARGBHWCursor" "false"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
|
||||
Identifier "Screen HDMI"
|
||||
Device "Tegra HDMI"
|
||||
Monitor "HDMI"
|
||||
|
||||
DefaultDepth 24
|
||||
|
||||
SubSectionSub "Display"
|
||||
Depth 24
|
||||
ViewPort 0 0
|
||||
Virtual 3600 1080
|
||||
EndSubsection
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Screen"
|
||||
|
||||
Identifier "Screen Internal"
|
||||
Device "Tegra Internal"
|
||||
Monitor "TFTLCD"
|
||||
|
||||
DefaultDepth 24
|
||||
|
||||
SubSectionSub "Display"
|
||||
Depth 24
|
||||
ViewPort 0 0
|
||||
EndSubsection
|
||||
|
||||
EndSection
|
||||
|
||||
Section "ServerLayout"
|
||||
|
||||
Identifier "HDMI"
|
||||
Screen "Screen HDMI"
|
||||
|
||||
EndSection
|
||||
|
||||
#Section "ServerLayout"
|
||||
|
||||
# Identifier "Internal"
|
||||
# Screen "Screen Internal"
|
||||
|
||||
#EndSection
|
||||
|
||||
#Section "ServerLayout"
|
||||
|
||||
# Identifier "DualView"
|
||||
# Screen "Screen Internal"
|
||||
# Screen "Screen HDMI" RightOf "Screen Internal"
|
||||
|
||||
#EndSection
|
||||
|
|
Loading…
Reference in a new issue