udev: use udev to find primary gpu