Jump to content

Nvidia Tegra 2 (tegra20): Difference between revisions

From postmarketOS Wiki
Okias (talk | contribs)
wm8994
Okias (talk | contribs)
Line 44: Line 44:
==== sound: tegra_wm8994 ====
==== sound: tegra_wm8994 ====
Sound codec used to glue WM8994 and Tegra boards. Used in Samsung P4, P4WiFi, i927.
Sound codec used to glue WM8994 and Tegra boards. Used in Samsung P4, P4WiFi, i927.
* Source: https://github.com/okias/linux/commits/i927 and https://github.com/okias/linux/commits/p4wifi two implementations, needs to be cleaned up and tested.
Source: https://github.com/okias/linux/commits/i927 and https://github.com/okias/linux/commits/p4wifi two implementations, needs to be cleaned up and tested.
Present on: [http://deviceinfohw.ru/devices/index.php?platform=platform0&cpu=cpu0&brand=brand0&filter=tegrawm8994&submit=Search device list]
* if your device has this codec, use these patches + check DTS has entry for wm8994
* if your device has this codec, use these patches + check DTS has entry for wm8994
* install alsa-utils and check sound (also you can use https://github.com/ford-prefect/xml2ucm/tree/master/src )
* install alsa-utils and check sound (also you can use https://github.com/ford-prefect/xml2ucm/tree/master/src )
* if works as expected provide "Tested-by" or "Reviewed-by" tags to author
* if works as expected provide "Tested-by" or "Reviewed-by" tags to author


== See also ==
== See also ==
* Tegra 2 is very similiar to [[Nvidia_Tegra_3_(tegra30)]]
* Tegra 2 is very similiar to [[Nvidia_Tegra_3_(tegra30)]]

Revision as of 15:19, 13 January 2020

Nvidia Tegra 2
Manufacturer Nvidia
Name Tegra 2
Architecture ARMv7
Process 40nm
Components
CPU
No data
UART
No data
Storage
No data
USB
No data
Display
No data
GPU
No data
Pinctrl
No data
I²C
No data
SPI
No data
Audio
No data
Video
No data
Thermal
No data
WiFi
No data
Bluetooth
No data
Modem
No data
GPS
No data
Camera
No data
NPU
No data
Suspend
No data
Ethernet
No data
SATA
No data


Graphics

Components (source)

  • libdrm
  • Mesa-3D (minimal implementation, not complete enough (GL 1.4) to run XWayland (requires GL 2.1 or GLES2)
  • xf86-video-tegra (2D acceleration for X11, EXA)
  • libvdpau-tegra

Usability

Wayland:

  • Phosh works, but UI is accelerated trough llvmpipe (software rendering), thus is slow.
  • Plasma mobile not tested (please update)

X11:

  • Xfce4 and Mate desktop will run on 2D acceleration.
  • Hildon requires an OpenGL backend.
    • As of cogl 1.22.2 the clutter/cogl backend requires stencil buffers (EGL_STENCIL_SIZE). This not yet implemented in the grate-driver.

Video Decoding

Video Decoder Engine (VDE) was added to mainline kernel v4.16. The grate-driver includes hardware h264 decoding with libvdpau-tegra.

The vdpau driver does not support h264 videos encoded with:

  • weighted prediction
  • CABAC

Sample video that can be decoded with hardware acceleration: https://peach.blender.org/trailer-page/

$ mpv --hwdec=vdpau trailer_720p.mov
Using hardware decoding (vdpau).
VO: [vdpau] 1280x720 vdpau[yuv420p]

Participate development

Test & Review

sound: tegra_wm8994

Sound codec used to glue WM8994 and Tegra boards. Used in Samsung P4, P4WiFi, i927. Source: https://github.com/okias/linux/commits/i927 and https://github.com/okias/linux/commits/p4wifi two implementations, needs to be cleaned up and tested. Present on: device list

See also