Skip to content
This repository has been archived by the owner on Dec 9, 2021. It is now read-only.

Crack-Attack doesn't start on Retropie 4.4 #286

Open
justnibio opened this issue May 18, 2018 · 2 comments
Open

Crack-Attack doesn't start on Retropie 4.4 #286

justnibio opened this issue May 18, 2018 · 2 comments

Comments

@justnibio
Copy link

Retropie 4.4 - Raspberry pi3 b +
I did "Install from binary".
By launching the game, I return this error (runcommand.log):

Parameters:
Executing: LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xinit c
rack-attack

X.Org X Server 1.19.2
Release Date: 2017-03-02
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.9.41-v7+ armv7l Raspbian
Current Operating System: Linux retropie 4.14.30-v7+ #1102 SMP Mon Mar 26 16:45:
49 BST 2018 armv7l
Kernel command line: 8250.nr_uarts=0 bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight
=984 bcm2708_fb.fbswap=1 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000
dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=PARTUUID=f2d3cb4f-02
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait loglevel=3 consolebl
ank=0 plymouth.enable=0
Build Date: 18 October 2017 04:55:30PM
xorg-server 2:1.19.2-1+rpt1+deb9u2 (https://www.debian.org/support)
Current version of pixman: 0.34.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: "/home/pi/.local/share/xorg/Xorg.0.log", Time: Fri May 18 10:43:2
3 2018
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
libEGL warning: DRI3: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
libEGL warning: DRI2: xcb_connect failed
LIBGL: Error while gathering supported extension (eglInitialize: EGL_NOT_INITIAL
IZED), default to none
(EE)
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/home/pi/.local/share/xorg/Xorg.0.log" f
or additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
LIBGL: Initialising gl4es
LIBGL: v1.0.7 built on May 18 2018 08:00:58
LIBGL: framebuffer output enabled
LIBGL: Using GLES 1.1 backend
LIBGL:loaded: libbcm_host.so
LIBGL:loaded: libvcos.so
LIBGL:loaded: libGLESv1_CM.so.1
LIBGL:loaded: libEGL.so.1
LIBGL: Using GLES 1.1 backend
LIBGL: Targeting OpenGL 1.5
LIBGL: glXMakeCurrent FBO workaround enabled
LIBGL: Current folder is:/home/pi
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

@justnibio
Copy link
Author

If you edit the /opt/retropie/configs/ports/crack-attack/emulators.cfg file as follows:

crack-attack = "LD_LIBRARY_PATH=/opt/retropie/supplementary/glshim LIBGL_FB=1 xi
nit crack-attack -- vt1 -keeptty"
default = "crack-attack"

the game starts, but once you click on "Start game" the window disappears and it is no longer possible to restore it. However if you launch the game from LXDE it works perfectly.

@zerojay
Copy link
Owner

zerojay commented Aug 6, 2018

This makes me think that maybe a window manager is required. I would suggest taking a look at some of the other ports that use one (do a search for "matchbox" to find them) and see if the same technique I used for those works for this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants