Closed npaladin2000 closed 9 months ago
Have similar issue im make modification directly on /usr/bin/emulationstation-standalone
& batocera-save-overlay
Issuing the command "cp /usr/bin/emulationstation-standalone /userdata/system/custom-es-config", without making any changes to custom-es-config, causes Xwindows to fail to start on reboot.
I believe this issue is user error and should be closed as "not a bug".
The custom-es-config should contain only commands such as "xrandr" to tailor the environment, not a complete copy of /usr/bin/emulationstation-standalone
. The emulationstation-standalone script calls custom-es-config, so installing it in that location will cause an endless loop as observed.
Issuing the command "cp /usr/bin/emulationstation-standalone /userdata/system/custom-es-config", without making any changes to custom-es-config, causes Xwindows to fail to start on reboot. When the file is deleted, X and EmulationStation immediately come up. Device is an Aya Neo. This issue resulted from another issue where the device boots up to a scrunched screen until switching video output between Auto and eDP (doesn't matter what it starts on).
Following is the transcript of some Discord conversation with Atari regarding this:
npaladin2000 — Today at 10:48 PM I was earlier when referring to the overlay file, but that's what you asked me to delete. At this point we can ignore "overlay" stuff there's a problem with /userdata/system/custom-es-config Atari — Today at 10:48 PM yep, agreed let's focus on the actual issue could you see if emulationstation is producing any logs that might be relevant? npaladin2000 — Today at 10:49 PM I don't think it's even starting X, let me look Atari — Today at 10:49 PM otherwise, you could always try manually invoking emulationstation by running batocera-es-swissknife --restart if there are any issues with ES starting it should print it out to your SSH console npaladin2000 — Today at 10:50 PM ok let me give that a shot here, ES logs would be in /var/log? Atari — Today at 10:50 PM you may need to run export DISPLAY=:0.0 before attempting any SSH command btw Atari — Today at 10:50 PM i'm not actually sure, I'm really only familiar with Batocera's logs if it's a log related to just emulationstation, I wouldn't know where to look npaladin2000 — Today at 10:51 PM Ewww getting a continuous scroll error, have to issue a stop command to the service to get it to stop. Let me get a copy/paste
X.Org X Server 1.20.11 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.15.0-156-generic x86_64 Current Operating System: Linux BATOCERA 5.12.13 #1 SMP Mon Sep 20 15:29:51 Europe 2021 x86_64 Kernel command line: BOOT_IMAGE=/boot/linux label=BATOCERA console=tty3 quiet loglevel=0 vt.global_cursor_default=0 mitigations=off initrd=/boot/initrd.gz Build Date: 20 September 2021 04:31:13PM
Current version of pixman: 0.40.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 1 22:55:08 2021 (==) Using config directory: "/etc/X11/xorg.conf.d" (==) Using system config directory "/usr/share/X11/xorg.conf.d" (II) AMDGPU(0): [KMS] Kernel modesetting enabled. /etc/X11/xinit/xinitrc: 12: ulimit: too many arguments No such file or directory Obt-Message: Failed to open an Input Method set eDP as primary /usr/bin/setxkbmap Nothing glaring