When using Xephyr, hardware acceleration will not work. this is probably worth mentioning in the readme, and is stated in the arch wiki.
When using systemd-nspawn, I recieved the following four errors any time I tried to run glxgears or any graphical application.
The application would run, but without hardware acceleration.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: rockchip
libGL error: failed to open /dev/dri/card0: Operation not permitted
libGL error: failed to load driver: rockchip
For these reasons, manually mounting everything and running chroot seems to be the only viable method to get the chroot fully working. Attached are the files I use to run my chroot. (I had to rename them to .txt to upload them)
launch.txt
gaming-chroot-terminal.txt
When using Xephyr, hardware acceleration will not work. this is probably worth mentioning in the readme, and is stated in the arch wiki.
When using systemd-nspawn, I recieved the following four errors any time I tried to run glxgears or any graphical application.
The application would run, but without hardware acceleration.
libGL error: glx: failed to create dri3 screen
libGL error: failed to load driver: rockchip
libGL error: failed to open /dev/dri/card0: Operation not permitted
libGL error: failed to load driver: rockchip
For these reasons, manually mounting everything and running chroot seems to be the only viable method to get the chroot fully working. Attached are the files I use to run my chroot. (I had to rename them to .txt to upload them)
launch.txt
gaming-chroot-terminal.txt