check gpu terminal code example Example 1: which gpu do i have linux sudo lshw -C display Example 2: check if graphic driver exists ubuntu sudo lspci -v | less