Comments

Log in with itch.io to leave a comment.

The dummy package without the patch like is used in the package for xf86-video-dummy-with-vt will cause problems with the console and X session interaction. It might be a good idea to compile it manually and apply the patch.


For setup, Stormux has a file in /etc/X11/xorg.conf.d. I don't think markdown is supported here, so the contents will probably not come out right, but here it is:


10-headless.conf


Section "Monitor"

        Identifier "dummy_monitor"

        HorizSync 28.0-80.0

        VertRefresh 48.0-75.0

        Modeline "1920x1080" 172.80 1920 2040 2248 2576 1080 1081 1084 1118

EndSection

                                                                                                                                                                          

Section "Device"

        Identifier "dummy_card"

        VideoRam 256000

        Driver "dummy"

EndSection

                                                                                                                                                                          

Section "Screen"

        Identifier "dummy_screen"

        Device "dummy_card"

        Monitor "dummy_monitor"

        SubSection "Display"

        EndSubSection

EndSection

xserver-xorg-video-dummy is the package in the Debian repository being used.

I installed xserver-xorg-video-dummy. Do you use the xorg.conf method to set x11 to use the dumby display, or a different one since that method is pretty well unsupported? Tried creating a file in /usr/share/X11/xorg.conf.d and it crashed the desktop session.

@jackf723 it does require a display. In Stormux, we use the xf86-video-dummy-with-vt package: https://aur.archlinux.org/packages/xf86-video-dummy-with-vt


Hopefully that will get it working for you.

Either this game doesn't like being run headless because Pygame, or something is wrong with the build.

I ran pip install -r requirements.txt --break-system-packages (which installed system packages in the user store rather than site packages).

Then pyinstaller on zombowl.spec.

The build appears successful. Now, I run in the Mate terminal ./zombowl.

I get the dreaded no available displays error. Even though hdmi-force-hotplug is set to 1 in the BTSpeak's /bott/config.txt. Does Pygame not work with that means of providing a dumby visual output?