Skip to content

Commit 0efb5fa

Browse files
committed
remove patch, mesa notes
1 parent 1f199b7 commit 0efb5fa

File tree

2 files changed

+10
-181
lines changed

2 files changed

+10
-181
lines changed

README.md

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -80,28 +80,26 @@ things missing.
8080
- Cameras, sensors (accelerometer/gyro/...)
8181
- Possibly other things - TBD
8282

83-
### Software patches
83+
### Software notes
8484

85-
Everything currently runs more or less on upstream, with the exceptions below.
85+
If you're porting a distribution or setting up a rootfs, there are some things
86+
to keep in mind.
8687

8788
#### Mesa
8889

89-
**Only for version 18.1.0, patch is in git master now and will be
90-
present in 18.1.1 bugfix release.**
90+
You need Mesa 18.1.1 at minimum. 18.1.0 lacks certain patches needed for proper
91+
function under a recent kernel and Xorg; they were introduced later and are
92+
currently present in git as well as in the latest release.
9193

92-
As of right now, a patch for Mesa is needed to get X11 to start up and render
93-
correctly. Without patching, Xorg 1.19.x and older will start, but won't draw
94-
properly, Xorg 1.20 and later will just not start at all.
95-
96-
All you need to do is apply the contents of the `patches/mesa` directory using
97-
the usual means and build Mesa. You will need at very least the following
98-
options for Mesa configuration:
94+
When building, you need at least the following options for `configure`:
9995

10096
```
10197
--with-gallium-drivers=tegra,nouveau
10298
```
10399

104-
The rest is up to you or up to your distribution packaging.
100+
The `tegra` driver is for scanout and `nouveau` is for the GPU, both need to
101+
be enabled. It's also good to build a software rasterizer (`swrast`) as a
102+
fallback.
105103

106104
## Installation
107105

patches/mesa/tegra-modifiers-scanout.patch

Lines changed: 0 additions & 169 deletions
This file was deleted.

0 commit comments

Comments
 (0)