evdi: failed to validate module [evdi] BTF: -22

  • Linux distribution and its version
    • Arch
  • Linux kernel version
    • 5.19.3-arch1-1
  • Desktop environment in use
    • KDE Plasma

I am unable to load evdi kernel module Tested with evdi 1.11.0 and latest 1.12.0 both gave the same error when executing modprobe evdi

sudo modprobe evdi 
modprobe: ERROR: could not insert 'evdi': Invalid argument

Kernel logs

Aug 25 07:25:28 brunb500 kernel: evdi: loading out-of-tree module taints kernel.
Aug 25 07:25:28 brunb500 kernel: evdi: module verification failed: signature and/or required key missing - tainting kernel
Aug 25 07:25:28 brunb500 kernel: BPF: [112087] ENUM perf_event_task_context 
Aug 25 07:25:28 brunb500 kernel: BPF: size=4 vlen=4
Aug 25 07:25:28 brunb500 kernel: BPF:  
Aug 25 07:25:28 brunb500 kernel: BPF: Invalid btf_info kind_flag
Aug 25 07:25:28 brunb500 kernel: BPF: 
Aug 25 07:25:28 brunb500 kernel: failed to validate module [evdi] BTF: -22

I already tried the following without success

  • Uninstall and reinstall evdi
  • Rollback kernel to 5.19.2 and 5.19.1, issue persists

It stopped working after I updated my packages yesterday morning. Before that, it worked with kernel 5.19.2 and evdi 1.11.0. Also, my colleague from work, with a similar setup, does not have the issue.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15

Most upvoted comments

Yes I can confirm. all good.

I tried the steps from @DreamTexX, It still fail with the same error

It didn’t work for me either the first time. The second time I rebooted before step 4 and this time evdi module was able to load properly.

Yeah I think I already uninstalled evdi yesterday and just did the cleanup today after reboot, I’m not sure so a reboot after uninstall (and/or cleanup) might be necessary

Same here, worked with evdi 1.11.0 and kernel 5.19.2 but after upgrading on 5.19.3 everything broke and I cannot get it working anymore.