summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11-drivers/xorgxrdp/Makefile1
-rw-r--r--x11-drivers/xorgxrdp/files/patch-xrdpdev_xorg.conf17
2 files changed, 18 insertions, 0 deletions
diff --git a/x11-drivers/xorgxrdp/Makefile b/x11-drivers/xorgxrdp/Makefile
index 854588025faa..6aef0763159a 100644
--- a/x11-drivers/xorgxrdp/Makefile
+++ b/x11-drivers/xorgxrdp/Makefile
@@ -3,6 +3,7 @@
PORTNAME= xorgxrdp
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.13
+PORTREVISION= 0
CATEGORIES= x11-drivers
DIST_SUBDIR= xrdp
diff --git a/x11-drivers/xorgxrdp/files/patch-xrdpdev_xorg.conf b/x11-drivers/xorgxrdp/files/patch-xrdpdev_xorg.conf
new file mode 100644
index 000000000000..53c918c041ca
--- /dev/null
+++ b/x11-drivers/xorgxrdp/files/patch-xrdpdev_xorg.conf
@@ -0,0 +1,17 @@
+diff --git xrdpdev/xorg.conf xrdpdev/xorg.conf
+index 8079ea8..f0d44fb 100644
+--- xrdpdev/xorg.conf
++++ xrdpdev/xorg.conf
+@@ -47,8 +47,11 @@ EndSection
+ Section "Device"
+ Identifier "Video Card (xrdpdev)"
+ Driver "xrdpdev"
++ # Change this to your actual path
+ Option "DRMDevice" "/dev/dri/renderD128"
+- Option "DRI3" "1"
++ # Change the below "0" to "1" to enable hardware acceleration
++ Option "DRI3" "0"
++ Option "DRI2" "0"
+ EndSection
+
+ Section "Screen"