OpenframeProject / Openframe

Openframe Frame Controller (alpha)
GNU General Public License v3.0
314 stars 18 forks source link

Image/glslviewer extensions: How to switch between Pi 4 and other versions #62

Closed jvolker closed 4 years ago

jvolker commented 5 years ago

Image extension and glslviewer extensions use different drivers for the graphics card depending on what version of the Pi they are installed. For example if you installed Openframe on a Pi 4 and want to switch to another Pi (using the same SD card or image) those extensions don't work anymore. Is there a way to reinstall/reconfigure the extensions to make them work on a different version of the Pi?

Ideally, the extensions (or Openframe) would recognise this automatically and switch to the right version.

Thanks.

jmwohl commented 5 years ago

Does just uninstalling and re-installing the extension not work?

jvolker commented 5 years ago

Good idea. Just tested it. But no, it doesn't. The install script stops if glslViewer is installed already:

# if glslViewer is already present, don't continue
if hash glslViewer 2>/dev/null; then
    exit 0
fi
jvolker commented 4 years ago

I think this is pretty low priority. Closing this issue for now.