mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
Nvidia drivers for the TS are now ready and working
This commit is contained in:
parent
1ad6858aad
commit
67664eb221
2 changed files with 71 additions and 3 deletions
|
@ -3,16 +3,19 @@
|
|||
# Trim Slice NVidia HardFP drivers, July 26th release
|
||||
# Do not distribute these extensively or expect any support
|
||||
|
||||
noautobuild=1
|
||||
plugrel=1
|
||||
|
||||
pkgname=('nvidia-trimslice')
|
||||
pkgver=0.0.19
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
arch=(armv7h)
|
||||
license=('GPL')
|
||||
url="http://archlinuxarm.org"
|
||||
source=(hardfp.zip)
|
||||
md5sums=('dc646d02c4021c5e29b3ed6553b2ebca')
|
||||
source=(hardfp.zip
|
||||
xorg.conf)
|
||||
md5sums=('dc646d02c4021c5e29b3ed6553b2ebca'
|
||||
'3b4f07e7555b5b66789aade7805f8986')
|
||||
options=('!distcc' '!ccache')
|
||||
|
||||
package() {
|
||||
|
@ -25,4 +28,6 @@ package() {
|
|||
tar xjf openmax-0.0.19.tbz2
|
||||
tar xjf nvrm-0.0.19.tbz2
|
||||
cp -a usr lib ${pkgdir}/
|
||||
mkdir -p ${pkgdir}/etc/X11/
|
||||
cp xorg.conf ${pkgdir}/etc/X11/
|
||||
}
|
||||
|
|
63
aur/nvidia-trimslice/xorg.conf
Normal file
63
aur/nvidia-trimslice/xorg.conf
Normal file
|
@ -0,0 +1,63 @@
|
|||
Section "Monitor"
|
||||
Identifier "HDMI"
|
||||
HorizSync 28.0 - 100.0
|
||||
VertRefresh 43.0 - 75.0
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
|
||||
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
|
||||
# all others. This value has meaning only when multiple overlays are
|
||||
# present on a display.
|
||||
|
||||
# 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" (default) to enable
|
||||
# hardware cursors, and "false" to disable them.
|
||||
|
||||
Option "ARGBHWCursor" "false"
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Screen"
|
||||
|
||||
Identifier "Screen HDMI"
|
||||
Device "Tegra HDMI"
|
||||
Monitor "HDMI"
|
||||
|
||||
DefaultDepth 24
|
||||
|
||||
SubSectionSub "Display"
|
||||
Depth 24
|
||||
ViewPort 0 0
|
||||
EndSubsection
|
||||
|
||||
EndSection
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "HDMI"
|
||||
Screen "Screen HDMI"
|
||||
EndSection
|
Loading…
Reference in a new issue