mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
(no version change, branches debugging)
This commit is contained in:
parent
b345aec205
commit
74b5708a65
8
inxi
8
inxi
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
########################################################################
|
########################################################################
|
||||||
#### Script Name: inxi
|
#### Script Name: inxi
|
||||||
#### version: 1.0.7-b1-t3
|
#### version: 1.0.7-b1-t4
|
||||||
#### Date: 13 March 2009
|
#### Date: 13 March 2009
|
||||||
########################################################################
|
########################################################################
|
||||||
#### SPECIAL THANKS
|
#### SPECIAL THANKS
|
||||||
|
@ -1894,8 +1894,8 @@ get_graphics_glx_data()
|
||||||
# A_GLX_DATA=( $( cat ../../modules/data/glxinfo-atom-1r | gawk -F ': ' '
|
# A_GLX_DATA=( $( cat ../../modules/data/glxinfo-atom-1r | gawk -F ': ' '
|
||||||
# A_GLX_DATA=( $( cat ../../modules/data/glxinfo-intel-sput | gawk -F ': ' '
|
# A_GLX_DATA=( $( cat ../../modules/data/glxinfo-intel-sput | gawk -F ': ' '
|
||||||
# there are arch bugs that make glxinfo generate bad output errors
|
# there are arch bugs that make glxinfo generate bad output errors
|
||||||
A_GLX_DATA=( $( glxinfo 2>/dev/null | gawk -F ': ' '
|
# A_GLX_DATA=( $( glxinfo | gawk -F ': ' '
|
||||||
|
A_GLX_DATA=( $( cat ../../modules/data/glxinfo-bad-rendering | gawk -F ': ' '
|
||||||
# note: function declarations go before BEGIN? It appears so, confirm.
|
# note: function declarations go before BEGIN? It appears so, confirm.
|
||||||
# the real question here though is why this function is even here, seems
|
# the real question here though is why this function is even here, seems
|
||||||
# just to be a complicated way to pack/print a variable, but maybe the
|
# just to be a complicated way to pack/print a variable, but maybe the
|
||||||
|
@ -1941,7 +1941,7 @@ get_graphics_glx_data()
|
||||||
printf( "%s\n%s\n%s\n", join( a, ", " ), join( b, ", " ), join( c, ", " ) )
|
printf( "%s\n%s\n%s\n", join( a, ", " ), join( b, ", " ), join( c, ", " ) )
|
||||||
}' ) )
|
}' ) )
|
||||||
IFS="$ORIGINAL_IFS"
|
IFS="$ORIGINAL_IFS"
|
||||||
|
echo A_GLX_DATA: ${A_GLX_DATA[@]}
|
||||||
# GLXR=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl renderer/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}')
|
# GLXR=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl renderer/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}')
|
||||||
# GLXV=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl version/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}')
|
# GLXV=$(glxinfo | gawk -F ': ' 'BEGIN {IGNORECASE=1} /opengl version/ && $2 !~ /mesa/ {seen[$2]++} END {for (i in seen) {printf("%s ",i)}}')
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue