Finding the DRM device node corresponding to the graphics card
#DRM #DRI #udev DRM (Direct Rendering Manager) refers to a device driver for a graphics card supporting DRI (Direct Rendering Infrastructure). I think DRM and DRI should be sorted out next time. In this note, only the method of finding the DRM device node corresponding to the main graphic card is summarized. In general, it is safe to say that /dev/dri/card0 is a device node corresponding to the main graphics card....