XUbuntu 22.04 beta (early April 2022) had some issues for me:
[*] Allejo's snap client (2.4.22) install but would fail to load runtime with mismatched library versions
[*] apt install bzflag installs and would run, but freeze up before play
The XUbuntu I installed is a beta and so I hope all that gets fixed on the XUbuntu side.
But, this also suggests that upgrades might not go smoothly....
Meanwhile to get bzflag working, I compiled from source.
Possibly "Important":
[*] Don't forget to save your `config.cfg` bzflag configuration file from your old system if you have bzflag settings that you like.
[*] In ubuntu, you'll want to install the proprietary nvidia drivers if you have a nvidia GPU. The default driver is the open source nouveau driver, and may be too slow for gaming.
Here's what I needed to do to compile on xubuntu 22.04.
Code: Select all
apt install -y git build-essential libtool zlib1g-dev \
libc-ares-dev libcurl4-gnutls-dev mesa-utils libglu1-mesa-dev \
freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev \
libao-dev libmpg123-dev libghc-sdl2-dev
git clone https://github.com/BZFlag-Dev/bzflag
cd ./bzflag
# now we can follow the instructions in README.md
./autogen.sh
./configure
make -j4
# sudo su here if necessary; make install wants to write to /usr/local
make install
Not exactly the ideal method but it worked...
A medium article by Gursimar Singh about how to run X11 apps from docker led me to write this `Dockerfile`.
Code: Select all
FROM ubuntu:22.04
RUN apt update && apt install -y git build-essential libtool zlib1g-dev \
libc-ares-dev libcurl4-gnutls-dev mesa-utils libglu1-mesa-dev \
freeglut3-dev mesa-common-dev libglew-dev libglfw3-dev libglm-dev \
libao-dev libmpg123-dev libghc-sdl2-dev
RUN groupadd --gid 8888 bzflag && \
useradd --home-dir /bzflag --create-home --uid 8888 \
--gid 8888 --shell /bin/bash --skel /dev/null bzflag
USER bzflag
WORKDIR /bzflag
RUN mkdir /bzflag/src
WORKDIR /bzflag/src
RUN git clone https://github.com/BZFlag-Dev/bzflag
WORKDIR /bzflag/src/bzflag
RUN ./autogen.sh && \
./configure && \
make -j4
USER root
RUN make install
USER bzflag
Also docker adds another layer that adds lag. Besides, snap is "marketed" as containerization for linux games and is probably
better integrated with X and sound and lighter on lag...
Rotten Pineapple