isjerryxiao / kmsvnc

A VNC server for DRM/KMS capable GNU/Linux devices
GNU General Public License v3.0
50 stars 6 forks source link

Some API call compatibility is not good #8

Closed tanghammer closed 10 months ago

tanghammer commented 1 year ago

My develop enviromnet is ubuntu20.04, kernel version is 5.4.0-162-generic, Refer here, SYS_pidfd_getfd syscall is avaliable since Linux 5.6.

fourcc_mod_is_vendor This macro was added 11 months ago, even ubuntu22.04 can not support.It just a simple maro:

#define fourcc_mod_is_vendor(modifier, vendor) \
        (fourcc_mod_get_vendor(modifier) == DRM_FORMAT_MOD_VENDOR_## vendor)