From 2fa7835e8a236ac5c50b9caa1272a4c4fdb8461b Mon Sep 17 00:00:00 2001 From: Krait Bosheit Takoj Date: Sat, 25 Aug 2018 15:17:32 -0700 Subject: [PATCH] added xorg.conf: explicitly declares to not use glamor, which was causing slowdown --- device/device-nokia-n900/APKBUILD | 8 ++++++-- device/device-nokia-n900/xorg.conf | 6 ++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 device/device-nokia-n900/xorg.conf diff --git a/device/device-nokia-n900/APKBUILD b/device/device-nokia-n900/APKBUILD index 20e0e98bf..1782f0967 100644 --- a/device/device-nokia-n900/APKBUILD +++ b/device/device-nokia-n900/APKBUILD @@ -1,6 +1,6 @@ pkgname=device-nokia-n900 pkgver=2 -pkgrel=8 +pkgrel=9 pkgdesc="Nokia N900" url="https://postmarketos.org" arch="noarch" @@ -31,6 +31,7 @@ source=" i3wm/i3wm.conf i3wm/i3status.conf i3wm/bq27200_status.sh + xorg.conf " options="!check" @@ -86,6 +87,8 @@ x11() { install_if="$pkgname xorg-server" install -D -m644 "$srcdir"/40-xkb.conf \ "$subpkgdir"/etc/X11/xorg.conf.d/40-xkb.conf + install -D -m644 "$srcdir"/xorg.conf \ + "$subpkgdir"/etc/X11/xorg.conf.d/11-n900.conf } i3wm() { @@ -119,4 +122,5 @@ e023df91295fe7e410e163747d17e5b92fe3c022ff076e286778b8334368f885603b8fda65671e4a 7f48d1a044f8c02f7b1d11487ec1f83978d9b0ea12529156e7418f82be556d9baee32b70c4d911174e388bb4941dc19519e93e7551d00ffcd825c848665ff096 weston.ini 387c76ef51d08b1f397364657ab32c5915fbd62b2786e9fd61b47e9eeed36d24571e22974ea36cb1b01c25eef5789c4e8e1de9a23de3a4a9192e727ed6a7ab67 i3wm.conf 3bed8554400d6bbebf7e61b14f347a0f3e24b29be296c56fc829ed655cf67fa547c09bb715589b716d6c3f04492e9f3a12473dce6c7151bc15562b9d102bac2f i3status.conf -4e7abd1ac6223494b2ce96f7fb2dfe6116ee8a526440df07307994ed577f1860222548f7512273b5a21febac8119794774658f60e5d6976747ddc60323d26a62 bq27200_status.sh" +4e7abd1ac6223494b2ce96f7fb2dfe6116ee8a526440df07307994ed577f1860222548f7512273b5a21febac8119794774658f60e5d6976747ddc60323d26a62 bq27200_status.sh +a91f98daa60efa2beb2ff6b405097f92edca5f1bbb9e7675499139be52ca2570712f8f06f9032ef29f636f99c8f8da8b992f746eab6424aac04260c16158bcc2 xorg.conf" diff --git a/device/device-nokia-n900/xorg.conf b/device/device-nokia-n900/xorg.conf new file mode 100644 index 000000000..5d622647c --- /dev/null +++ b/device/device-nokia-n900/xorg.conf @@ -0,0 +1,6 @@ +Section "OutputClass" + Identifier "LCD" + MatchDriver "omapdrm" + Driver "modesetting" + Option "AccelMethod" "none" +EndSection