2024-04-19

current - glxgears-amd

 

 glxgears-amd

 

i put amdgpu as module on kernel, 'black screen' with Xorg, and see on dmesg need amdgpu firmware, with it, Xorg happy and glxgears also ~3300 frames in 5s, ~600 FPS ^^

Failed to load /usr/lib/X11/modules/libglamoregl.so: libepoxy.so.0: cannot open shared object file: No such file or directory

/usr/share/libdrm/amdgpu.ids: No such file or directory

glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)

AIGLX: Loaded and initialized radeonsi

vblank_mode=0 glxgears

$ grep glamor /var/log/Xorg.0.log
[ 1863.979] (II) Loading sub module "glamoregl"
[ 1863.979] (II) LoadModule: "glamoregl"
[ 1863.979] (II) Loading /usr/lib/X11/modules/libglamoregl.so
[ 1863.981] (II) Module glamoregl: vendor="X.Org Foundation"
[ 1863.996] (II) modeset(0): glamor X acceleration enabled on AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0)
[ 1863.996] (II) modeset(0): glamor initialized
[ 1864.050] (WW) modeset(0): DRI2: glamor lacks support for pixmap import/export

$ glxinfo -B | head
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD RENOIR (DRM 3.40.0, 5.10.215-slitaz64, LLVM 13.0.0) (0x1638)
Version: 21.3.5
Accelerated: yes
Video memory: 512MB
Unified memory: no

$ vblank_mode=0 glxgears
ATTENTION: default value of option vblank_mode overridden by environment.
66640 frames in 5.0 seconds = 13327.949 FPS
79353 frames in 5.0 seconds = 15870.588 FPS
71401 frames in 5.0 seconds = 14280.120 FPS
79951 frames in 5.0 seconds = 15990.154 FPS
78137 frames in 5.0 seconds = 15627.323 FPS
74431 frames in 5.0 seconds = 14886.021 FP

$ grep -A8 AIGLX /var/log/Xorg.0.log
[ 1864.056] (II) AIGLX: Loaded and initialized radeonsi
[ 1864.056] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 1864.056] (II) Initializing extension XFree86-VidModeExtension
[ 1864.056] (II) Initializing extension XFree86-DGA
[ 1864.056] (II) Initializing extension XFree86-DRI
[ 1864.056] (II) Initializing extension DRI2
[ 1864.056] (II) modeset(0): Damage tracking initialized
[ 1864.056] (II) modeset(0): Setting screen physical size to 761 x 476
[ 1864.090] (II) config/udev: Adding input device Video Bus (/dev/input/event5)