Package Details: xf86-video-opentegra-git r250.3b46f6a-1

Git Clone URL: https://aur.archlinux.org/xf86-video-opentegra-git.git (read-only, click to copy)
Package Base: xf86-video-opentegra-git
Description: X.Org video driver for NVIDIA Tegra
Upstream URL: http://github.com/grate-driver/xf86-video-opentegra
Licenses: GPL
Groups: xorg, xorg-drivers
Conflicts: X-ABI-VIDEODRV_VERSION, xf86-video-opentegra, xorg-server
Submitter: aa13q
Maintainer: None
Last Packager: aa13q
Votes: 0
Popularity: 0.000000
First Submitted: 2018-06-02 11:48 (UTC)
Last Updated: 2019-05-13 20:26 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

Lone_Wolf commented on 2020-01-08 14:59 (UTC) (edited on 2020-01-08 15:01 (UTC) by Lone_Wolf)

mesa-dri was merged into mesa in december 2014 and i'll file a bug report to get mesa-dri removed from provides in mesa & lib32-mesa.

Please change the dependency to mesa.

emulti commented on 2019-05-13 23:03 (UTC) (edited on 2019-05-14 10:33 (UTC) by emulti)

testing on toshiba AC100-

[EE] Failed to load /usr/lib/xorg/modules/drivers/opentegra_drv.so: usr/lib/xorg/modules/opentegra_drv.so undefined symbol: exaDriverAlloc

Kernel 5.1.1 (stable). Compiling on AC100 (Armv7). Error is related to CFLAGS and LDFLAGS https://bugs.archlinux.org/task/54845

Temporarily removed -fno-plt from CFLAGS and CXXFLAGS, and removed LDFLAGS -z,now from /etc/makepkg.conf

Originally distributed version:

CFLAGS="-march=armv7-a -mfloat-abi=hard =mfpu=vfpv3-d16 -O2 -pipe -fstack-protector-strong -fno-plt"
CXXFLAGS="-march=armv7-a -mfloat-abi=hard -O2 -pipe -fstack-protector-strong -fno-plt"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now"

The opentegra_drv.so module now starts to load in Xorg but note in log:

It looks like the CONFIG_ARM_TEGRA_STAGING isn't enabled in the kernel config, opentegra requires it to be enabled

After recompiling kernel with this flag enabled, the driver loads and works.

glxgears with modesetting driver: about 27 ffps

glxgears with tegra driver: about 66 fps

aa13q commented on 2019-05-13 20:28 (UTC)

Thank you! Fixed. Did you tested it on a device recently? It could be outdated a bit, didn't tested it since last update.

emulti commented on 2019-05-13 20:19 (UTC)

Small typos in PKGBUILD,

prepare and check need to have

cd "${srcdir}/$_pkgname" instead of cd "${srcdir}/$_name"