Skip to content

Instantly share code, notes, and snippets.

@tiagoapimenta
Last active May 18, 2020 18:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagoapimenta/10dcc839ae68ec9695bf3cb2118189f2 to your computer and use it in GitHub Desktop.
Save tiagoapimenta/10dcc839ae68ec9695bf3cb2118189f2 to your computer and use it in GitHub Desktop.
OpenGL metrics
# Installed packages
* sys-kernel/linux-firmware
* sys-kernel/debian-sources
* app-editors/vim
* app-admin/sudo
* sys-boot/grub
* sys-boot/os-prober
* media-sound/alsa-utils
* net-misc/networkmanager
* x11-base/xorg-server
* x11-base/xorg-x11
* x11-drivers/xf86-video-amdgpu
* x11-base/xorg-drivers
* lxde-base/lxde-meta
* x11-misc/lightdm
* x11-misc/lightdm-gtk-greeter
* www-client/firefox
* x11-apps/mesa-progs
$ uname -r
5.6.7_p1-debian-sources
$ cat /etc/os-release
ID="funtoo"
NAME="Funtoo GNU/Linux"
PRETTY_NAME="Linux"
VERSION="2020-02-04"
VERSION_ID="amd64-zen-2020-02-04"
ANSI_COLOR="0;34"
HOME_URL="www.funtoo.org"
BUG_REPORT_URL="bugs.funtoo.org"
$ X -version 2>&1 | sed '2!d'
X.Org X Server 1.20.5
$ lspci | fgrep VGA
25:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c3)
$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x4b cap: 0x0 crtcs: 6 outputs: 6 associated providers: 0 name:Radeon RX Vega @ pci:0000:25:00.0
$ glxinfo | fgrep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: Mesa Project
$ glxinfo | fgrep 'renderer string'
OpenGL renderer string: Software Rasterizer
$ glxinfo | fgrep rendering
direct rendering: Yes
$ vblank_mode=0 timeout 11s glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
2991 frames in 5.0 seconds = 598.071 FPS
3002 frames in 5.0 seconds = 600.204 FPS
$ fgrep amdgpu /proc/modules
amdgpu 5369856 2 - Live 0x0000000000000000 (E)
gpu_sched 40960 1 amdgpu, Live 0x0000000000000000 (E)
ttm 118784 1 amdgpu, Live 0x0000000000000000 (E)
drm_kms_helper 237568 1 amdgpu, Live 0x0000000000000000 (E)
drm 593920 6 amdgpu,gpu_sched,ttm,drm_kms_helper, Live 0x0000000000000000 (E)
i2c_algo_bit 16384 1 amdgpu, Live 0x0000000000000000 (E)
mfd_core 20480 1 amdgpu, Live 0x0000000000000000 (E)
$ egrep -H . /sys/module/amdgpu/parameters/*_support
/sys/module/amdgpu/parameters/cik_support:0
/sys/module/amdgpu/parameters/exp_hw_support:0
/sys/module/amdgpu/parameters/hws_gws_support:N
/sys/module/amdgpu/parameters/si_support:0
$ cat /sys/module/amdgpu/parameters/dc
-1
$ xrandr --props | fgrep TearFree
TearFree: off
TearFree: off
TearFree: off
TearFree: off
TearFree: off
TearFree: off
$ fgrep DRI /var/log/Xorg.0.log
[ 33.808] (==) AMDGPU(0): DRI3 disabled
[ 33.830] (II) Initializing extension DRI3
[ 33.831] (II) AIGLX: Screen 0 is not DRI2 capable
[ 33.831] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 33.831] (II) Initializing extension XFree86-DRI
[ 33.834] (II) Initializing extension DRI2
$ xvinfo | head -10
X-Video Extension version 2.2
screen #0
no adaptors present
$ xdpyinfo | fgrep -B2 resolution
screen #0:
dimensions: 1920x1080 pixels (508x285 millimeters)
resolution: 96x96 dots per inch
$ xrdb -query
Xcursor.size: 18
Xcursor.theme: DMZ-White
Xcursor.theme_core: true
$ glxinfo | fgrep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: VMware, Inc.
$ glxinfo | fgrep 'renderer string'
OpenGL renderer string: llvmpipe (LLVM 10.0.0, 128 bits)
$ glxinfo | fgrep rendering
direct rendering: Yes
$ vblank_mode=0 timeout 11s glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
7925 frames in 5.0 seconds = 1584.819 FPS
8108 frames in 5.0 seconds = 1621.535 FPS
$ vblank_mode=0 timeout 21s glmark2
ATTENTION: default value of option vblank_mode overridden by environment.
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: llvmpipe (LLVM 10.0.0, 128 bits)
GL_VERSION: 3.1 Mesa 20.0.0-devel - padoka PPA
=======================================================
** GLX does not support GLX_EXT_swap_control or GLX_MESA_swap_control!
** Failed to set swap interval. Results may be bounded above by refresh rate.
[build] use-vbo=false:X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Serial number of failed request: 57
Current serial number in output stream: 58
$ vblank_mode=0 timeout 21s glmark2-es2
libEGL warning: DRI2: failed to authenticate
ATTENTION: default value of option vblank_mode overridden by environment.
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: VMware, Inc.
GL_RENDERER: llvmpipe (LLVM 10.0.0, 128 bits)
GL_VERSION: OpenGL ES 3.1 Mesa 20.0.0-devel - padoka PPA
=======================================================
[build] use-vbo=false: FPS: 403 FrameTime: 2.481 ms
[build] use-vbo=true: FPS: 400 FrameTime: 2.500 ms
$ uname -r
5.3.0-51-generic
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.4 LTS"
$ X -version 2>&1 | sed '2!d'
X.Org X Server 1.20.5
$ lspci | fgrep VGA
25:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XT [Radeon RX Vega 64] (rev c3)
$ xrandr --listproviders
Providers: number : 1
Provider 0: id: 0x5b cap: 0x9, Source Output, Sink Offload crtcs: 6 outputs: 6 associated providers: 0 name:Radeon RX Vega @ pci:0000:25:00.0
$ glxinfo | fgrep vendor
server glx vendor string: SGI
client glx vendor string: Mesa Project and SGI
OpenGL vendor string: X.Org
$ glxinfo | fgrep 'renderer string'
OpenGL renderer string: Radeon RX Vega (VEGA10, DRM 3.33.0, 5.3.0-51-generic, LLVM 10.0.0)
$ glxinfo | fgrep rendering
direct rendering: Yes
$ vblank_mode=0 timeout 11s glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
38820 frames in 5.0 seconds = 7763.878 FPS
39126 frames in 5.0 seconds = 7825.000 FPS
$ vblank_mode=0 timeout 21s glmark2
ATTENTION: default value of option vblank_mode overridden by environment.
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: Radeon RX Vega (VEGA10, DRM 3.33.0, 5.3.0-51-generic, LLVM 10.0.0)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 20.0.0-devel - padoka PPA
=======================================================
[build] use-vbo=false: FPS: 7380 FrameTime: 0.136 ms
[build] use-vbo=true: FPS: 8592 FrameTime: 0.116 ms
$ vblank_mode=0 timeout 21s glmark2-es2
ATTENTION: default value of option vblank_mode overridden by environment.
=======================================================
glmark2 2014.03+git20150611.fa71af2d
=======================================================
OpenGL Information
GL_VENDOR: X.Org
GL_RENDERER: Radeon RX Vega (VEGA10, DRM 3.33.0, 5.3.0-51-generic, LLVM 10.0.0)
GL_VERSION: OpenGL ES 3.2 Mesa 20.0.0-devel - padoka PPA
=======================================================
[build] use-vbo=false: FPS: 7429 FrameTime: 0.135 ms
[build] use-vbo=true: FPS: 8925 FrameTime: 0.112 ms
$ fgrep amdgpu /proc/modules
amdgpu 4112384 24 - Live 0x0000000000000000
amd_iommu_v2 20480 1 amdgpu, Live 0x0000000000000000
gpu_sched 32768 1 amdgpu, Live 0x0000000000000000
i2c_algo_bit 16384 1 amdgpu, Live 0x0000000000000000
ttm 102400 1 amdgpu, Live 0x0000000000000000
drm_kms_helper 180224 1 amdgpu, Live 0x0000000000000000
drm 491520 8 amdgpu,gpu_sched,ttm,drm_kms_helper, Live 0x0000000000000000
$ egrep -H . /sys/module/amdgpu/parameters/*_support
/sys/module/amdgpu/parameters/cik_support:1
/sys/module/amdgpu/parameters/exp_hw_support:0
/sys/module/amdgpu/parameters/hws_gws_support:N
/sys/module/amdgpu/parameters/si_support:1
$ cat /sys/module/amdgpu/parameters/dc
-1
$ xrandr --props | fgrep TearFree
TearFree: auto
TearFree: auto
TearFree: auto
TearFree: auto
TearFree: auto
TearFree: auto
$ fgrep DRI /var/log/Xorg.0.log
[ 7.454] (II) AMDGPU(0): [DRI2] Setup complete
[ 7.454] (II) AMDGPU(0): [DRI2] DRI driver: radeonsi
[ 7.454] (II) AMDGPU(0): [DRI2] VDPAU driver: radeonsi
[ 7.455] (==) AMDGPU(0): DRI3 enabled
[ 7.473] (II) Initializing extension DRI3
[ 7.484] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 7.484] (II) Initializing extension XFree86-DRI
[ 7.484] (II) Initializing extension DRI2
$ xvinfo | head -10
X-Video Extension version 2.2
screen #0
Adaptor #0: "GLAMOR Textured Video"
number of ports: 16
port base: 63
operations supported: PutImage
supported visuals:
depth 24, visualID 0x21
number of attributes: 5
"XV_BRIGHTNESS" (range -1000 to 1000)
$ xdpyinfo | fgrep -B2 resolution
screen #0:
dimensions: 1920x1080 pixels (508x285 millimeters)
resolution: 96x96 dots per inch
$ xrdb -query
*customization: -color
Xcursor.size: 18
Xcursor.theme: DMZ-White
Xcursor.theme_core: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment