sound through HDMI GeForce GTS 250 does not work

  • I have libreelec 8.2.5 installed on an intel 64 bit machine and unable to get sound through hdmi. I have the GeForce GTS 250 pci express card installed. I have also disabled the on-board intel sound card. aplay -l says there are no sound cards detected.

    Any help is much appreciated.