summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulian Xhokaxhiu2017-08-01 22:24:09 +0200
committerJulian Xhokaxhiu2017-08-01 22:24:09 +0200
commit241f0635dd4c78a96c9b318c6e1c3e2742c0b6c0 (patch)
treeeecc9d767522bdb8487fb1c58b94dae8ffaf87eb
parent01a7ba12fba99f9dec20edd62dc98b03533c2fb1 (diff)
downloadaur-241f0635dd4c78a96c9b318c6e1c3e2742c0b6c0.tar.gz
Switch to X.Org
It seems that standalone is not handling every GPU in the right way. Also the Audio seems to crack, where it should not.
-rw-r--r--PKGBUILD4
-rw-r--r--retroarch-standalone.service11
2 files changed, 9 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d2a5c84f36fd..47ba2cb02b48 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,12 +6,12 @@ pkgdesc="Systemd service and user to run Retroarch in stand-alone mode"
url=""
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h')
license=('MIT')
-depends=('retroarch' 'retroarch-assets-xmb' 'retroarch-autoconfig-udev')
+depends=('retroarch' 'retroarch-assets-xmb' 'retroarch-autoconfig-udev' 'xorg-server' 'xorg-xinit')
install='retroarch-standalone.install'
source=('retroarch-standalone.service'
'retroarch-standalone.sysuser'
'retroarch-standalone.cfg')
-md5sums=('f73e83f0b6d17f06354d7c3db840afa1'
+md5sums=('07380c15f8b7f158908a1a6c9ac95d29'
'dff58d483453816a80dcdbc8d272e8b8'
'560492141cfd3737f20c73ed15fe9475')
diff --git a/retroarch-standalone.service b/retroarch-standalone.service
index f3d700290dae..80f1647c5475 100644
--- a/retroarch-standalone.service
+++ b/retroarch-standalone.service
@@ -1,14 +1,17 @@
[Unit]
Description=Systemd service and user to run Retroarch in stand-alone mode
+After=systemd-user-sessions.service network.target sound.target
+Conflicts=getty@tty1.service
[Service]
User=retroarch
Group=retroarch
PAMName=login
-Type=simple
-ExecStart=/usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg
-TimeoutStopSec=30
-Restart=always
+TTYPath=/dev/tty1
+ExecStartPre=/usr/bin/sleep 2s
+ExecStart=/usr/bin/xinit /usr/bin/retroarch --appendconfig=/etc/retroarch-standalone.cfg -- :0 -nolisten tcp vt1
+Restart=on-abort
+StandardInput=tty
[Install]
WantedBy=multi-user.target