I'll just make a clean install of the latest Debian "Bullseye" ( as i need the desktop feature ) and the latest Kodi ver and will try to make it work.
may be i missed something.
will check back with the results and/or with questions.
Thank you again for your time and efforts Lightning-guy77.
saw your new reply only now.
I must run this setup on RPi since the whole thing is boxed in a very small case ( its an acrylic display for a product ) and i dont have room for a windows based pc plus i bought the rpi 4 when it was around 75$.
so Rpi based system is best for my purposes atm if i can get that thing to work