sudo apt build-dep simplescreenrecorder
sudo apt install git mesa-utils simplescreenrecorder
git clone --depth=1https://github.com/MaartenBaert/ssr
cd ssr
sudo --reset-timestamp
ENABLE_32BIT_GLINJECT=FALSE ./simple-build-and-install
# press Ctrl+C when it asks password
LD_PRELOAD=build-release/glinject/libssr-glinject.so /usr/bin/true
# no segmentation fault!
build-release/src/simplescreenrecorder &
LD_PRELOAD=build-release/glinject/libssr-glinject.so glxgears
# works and can record opengl
simplescreenrecorder &
LD_PRELOAD=build-release/glinject/libssr-glinject.so glxgears
# simplescreenrecorder from apt also works and can record opengl

Reply via email to