-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
this meta-port modifies the normal metapackage to include the 99-vc4.conf file to enable x11 to use the rpi5 GPU.
- Loading branch information
1 parent
7eac4bb
commit 76f8c3e
Showing
4 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
drwxr-xr-x root/root etc/ | ||
drwxr-xr-x root/root etc/X11/ | ||
drwxr-xr-x root/root etc/X11/xorg.conf.d/ | ||
drwxr-xr-x root/root etc/X11/xorg.conf.d/99-vc4.conf/ | ||
-rw-r--r-- root/root etc/X11/xorg.conf.d/99-vc4.conf/99-vc4.conf | ||
drwxr-xr-x root/root usr/ | ||
drwxr-xr-x root/root usr/etc/ | ||
-rw-r--r-- root/root usr/etc/xorg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cb341af4428c3087f2f199ad6d1bfe7c 99-vc4.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Section "OutputClass" | ||
Identifier "vc4" | ||
MatchDriver "vc4" | ||
Driver "modesetting" | ||
Option "PrimaryGPU" "true" | ||
EndSection |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Description: x.org's implementation of X11 | ||
# URL: https://www.x.org | ||
# Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu | ||
# Depends on: xorg-xf86-input-libinput xorg-xf86-video-vesa xorg-xinit xorg-xauth xorg-rgb xkeyboard-config | ||
|
||
name=xorg | ||
version=7.7 | ||
release=2 | ||
source=(99-vc4.conf) | ||
|
||
build() { | ||
# this file enables X11 to use rpi5 gpu | ||
install -Dm0644 -t $PKG/etc/X11/xorg.conf.d/99-vc4.conf $source | ||
|
||
install -d $PKG/usr/etc | ||
echo "$name version $version" > $PKG/usr/etc/$name | ||
} |