diff --git a/inxi b/inxi index 976a2a6..ff9db66 100755 --- a/inxi +++ b/inxi @@ -13023,17 +13023,19 @@ print_graphics_data() if [[ -z $glx_renderer ]];then glx_renderer='N/A' fi - if [[ -z $glx_version || -z $glx_core_version ]];then + if [[ -z $glx_version ]];then glx_version='N/A' else # non free drivers once filtered and cleaned show the same for core and compat - if [[ $glx_core_version != $glx_version ]];then + if [[ -n $glx_core_version && $glx_core_version != $glx_version ]];then glx_version=$glx_core_version if [[ $B_EXTRA_EXTRA_DATA == 'true' ]];then if [[ $glx_compat_version_nu != '' ]];then glx_version="$glx_version (compat-v$SEP3 $glx_compat_version_nu)" fi fi + elif [[ -z $glx_core_version ]];then + glx_version='N/A' fi fi