FFMPEG no /dev/dri/renderD128 no such file or directory

Creating a bug report/issue

Required Information

  • DietPi version | cat /boot/dietpi/.version bash: G_DIETPI_VERSION_CORE=8
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN bash: bullseye:
  • Kernel version | uname -a Linux srv01 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 GNU/Linux
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3) PCx86
  • Power supply used | (EG: 5V 1A RAVpower) NA
  • SD card used | (EG: SanDisk ultra) NA

Additional Information (if applicable)

  • Software title | (EG: Nextcloud) FFMPEG
  • Was the software title installed freshly or updated/migrated? Freshly
  • Can this issue be replicated on a fresh installation of DietPi? yes reinstalled same issue
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. … I installed the intel driver in dietpi-config
  2. … I also installed these packages sudo apt install ffmpeg libav vaapi vainfo intel-media-va-driver-non-free x264 libva-dev libmfx-dev intel-media-va-driver-non-free x264 intel-media-va-driver-non-free i965-va-driver-shaders
    export LIBVA_DRIVER_NAME=iHD

Expected behaviour

  • … I cannot get FFMPEG hardware acceleration working

Actual behaviour

  • … /dev/dri/renderD128 no such file or directory

Extra details

Could this be because i have the auto start options to console ? I was able to get this working on Ubuntu 22 and Mint for testing but not sure what i am missing ?

I installed mate desktop and set the auto start option to lightdm. However vainfo shpws,
error: can’t connect to X server!
error: failed to initialize display

i followed the Debian hardware accel options here HardwareVideoAcceleration - Debian Wiki

still not getting the intel gpu to show in /dev/dri or vainfo to show its working.