I just took on this endeavor and was able to make this work after some slight modifications. I believe the service is just not inheriting the env vars needed. Here is what worked for me.
- You have to be on x11 so ensure that is selected in raspi-config under Advanced Options -> Wayland -> select X11 then reboot.
- Disable the hyperion service `sudo systemctl disable hyperion@.service`
- You can either create a user service with the environment details (More complicated) or just create and XDG autostart entry to inherit them.
Create an autostart file
Then add the following:
Once that is in place you should be able to log into hyperion and select qt under screen capture devices.