A graphical front-end for command line emulators that hides the underlying operating system and is intended to be controlled with a joystick or gamepad.
I've compiled Attract 2.6.2 with USE_DRM=1 and SFML-pi with the SFML_DRM=1 on a Arch Linux installation with no X11/wm. I can run attract via the tty and configure stuff through the UI fine, but when I launch any game I get the error "Failed to set mode: Permission Denied" and then attract aborts with a core dump.
I think that error is being thrown by SFML-pi, specifically the call to drmModeSetCrtc.
I hoping there's a simple config change I can make to fix this?
Machine configuration:
Fresh Arch Linux install with all dependencies for Attract/SFML-pi, no X11, running directly from tty as a user (not root).
Intel iGPU i915.
I've tried the following:
Running attract as root. No difference.
Setting the environment variables for SFML-pi (e.g. SFML_DRM_DEVICE). No difference.
I've dropped some printf statements in both dvdhrm (modeset.c) and SFMI-pi (DRMContext,cpp). It shows that both use the same connector and crtc for the default card /dev/dri/card0, so they seem to be doing (approximately) the same thing.
I've compiled Attract 2.6.2 with USE_DRM=1 and SFML-pi with the SFML_DRM=1 on a Arch Linux installation with no X11/wm. I can run attract via the tty and configure stuff through the UI fine, but when I launch any game I get the error "Failed to set mode: Permission Denied" and then attract aborts with a core dump.
I think that error is being thrown by SFML-pi, specifically the call to drmModeSetCrtc.
I hoping there's a simple config change I can make to fix this?
Machine configuration: Fresh Arch Linux install with all dependencies for Attract/SFML-pi, no X11, running directly from tty as a user (not root). Intel iGPU i915.
I've tried the following:
Any thoughts?
Thanks