Commit 6e02c319 authored by Qiang Yu's avatar Qiang Yu

Update README.md with xorg.conf

parent d9261677
......@@ -74,6 +74,27 @@ https://github.com/enunes/buildroot-external-lima
meson metadata with lima driver and test apps:
https://github.com/superna9999/meta-meson/tree/topic/mesa-lima
### xorg.conf
For xserver >=1.20, you can use the following xorg.conf:
```
Section "ServerFlags"
Option "AutoAddGPU" "off"
Option "Debug" "dmabuf_capable"
EndSection
Section "OutputClass"
Identifier "Lima"
MatchDriver "<display DRM driver>"
Driver "modesetting"
Option "PrimaryGPU" "true"
EndSection
```
Mali GPU is only for rendering, each SoC has its own seperated display engine. You need to find your display engine DRM driver name and replace `<display DRM driver>` with it. For example:
* Amlogic: meson
* Allwinner: sun4i-drm
* RockChip: rockchip
* Exynos: exynos
## Tool
* dump the runtime close source mali driver memory for reverse engineering
* https://gitlab.freedesktop.org/lima/mali-syscall-tracker
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment