2024-01-19, 05:21
Oops. You told me. Pardon my idiocy. I didn't read correctly.
Trying!
Trying!
(2024-01-18, 06:23)fritsch Wrote: https://kodi.wiki/view/Supported_hardware#Linux
Set the mentioned environment variable to EGL and use vaapi. Vdpau has no support for 10 bit interop and will end up green.
(2024-01-20, 23:39)ptoyonj Wrote: - I pulled up an xterm window from within my batocera user session ( which showed I was in as root, apparently )
- I entered the string [export KODI_GL_INTERFACE=EGL]
- I ran printenv to confirm it was there after adding it
- I then quit the xterm window
(2024-01-21, 18:13)izprtxqkft Wrote:.Ok, so is there typically a kodi.conf file of some sort, or is it more appropriate to set the environment variable globally?(2024-01-20, 23:39)ptoyonj Wrote: - I pulled up an xterm window from within my batocera user session ( which showed I was in as root, apparently )
- I entered the string [export KODI_GL_INTERFACE=EGL]
- I ran printenv to confirm it was there after adding it
- I then quit the xterm window
export is per session, the second you closed xterm that variable was deleted
/usr/bin/kodi
. This is the script that starts the executable (or it should be).sudo nano kodi
This will open the script for editing. Cursor down until you are under one of the two export lines in that script and then add your export underneath. Save and quit the editor by pressing <ctrl> + <o> followed by <enter> and then <ctrl> + <x>.(2024-01-26, 10:18)black_eagle Wrote: Open a terminal an type in "which kodi". The response will be something like/usr/bin/kodi
. This is the script that starts the executable (or it should be).
Change into the directory with "cd /usr/bin" or whatever path you were given, and then dosudo nano kodi
This will open the script for editing. Cursor down until you are under one of the two export lines in that script and then add your export underneath. Save and quit the editor by pressing <ctrl> + <o> followed by <enter> and then <ctrl> + <x>.
You have now added your export to Kodi's start-up script, so it will be in effect the next time you start kodi.