Skip to content

Commit

Permalink
Enable 2D accelerate on Ahead
Browse files Browse the repository at this point in the history
  • Loading branch information
nekorouter committed Jan 16, 2024
1 parent ac852fc commit 6b0b772
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkrootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ after_mkrootfs()
# Fix cann't connect bluetooth headphone
sed -i 's/load-module module-bluetooth-policy/load-module module-bluetooth-policy auto_switch=false/g' "$CHROOT_TARGET"/etc/pulse/default.pa

# Fix cursor offset using software cursor
if [ "${BOARD}" == "lpi4a" ]; then
# Using on chip 2D accelerator for quicker window & menu drawing
if [ "${BOARD}" == "lpi4a" ] || [ "${BOARD}" == "ahead" ]; then
cat << EOF > "$CHROOT_TARGET"/usr/share/X11/xorg.conf.d/10-gc620.conf
Section "Device"
Identifier "dc8200"
Expand Down

0 comments on commit 6b0b772

Please sign in to comment.