tuxedocomputers / tuxedo-control-center

A tool to help you control performance, energy, fan and comfort settings on TUXEDO laptops.
GNU General Public License v3.0
522 stars 69 forks source link

libva error when starting - no fan control (neither CPU nor GPU) #326

Closed benne3333 closed 9 months ago

benne3333 commented 1 year ago

Compiling is working with 23.10 mantic, when NODE_OPTIONS=--openssl-legacy-provider npm run build is added. However, after starting, I get: `npm run start

tuxedo-control-center@2.0.9 start electron ./dist/tuxedo-control-center

libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null) ` Afterwards tcc starts, but fan control is completely disabled.

benne3333 commented 1 year ago

After an update, TCC works for my mantic installation. However, the above error message persists.

tuxedoder commented 9 months ago

I managed to remove this libva error by compiling libva.

git clone https://github.com/intel/libva.git
git clone https://github.com/intel/libva-utils.git
sudo apt-get install libdrm-dev

# for both
./autogen.sh --prefix=/usr --libdir=/usr/lib/x86_64-linux-gnu
make -j4
sudo make install