LINUX.ORG.RU

Сообщения iliayar

 

Arch Аппаратное ускорение AMD

Форум — General

Видео карта обнаруживается но аппартное ускорение не включено. Использую драйвер radeon. vdpauinfo и vainfo выдают ошибки.

➜  iliayar LIBGL_DEBUG=verbose glxinfo > /dev/null
libGL: screen 0 does not appear to be DRI2 capable
libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
libGL: Can't open configuration file /etc/drirc: No such file or directory.
libGL: Can't open configuration file /root/.drirc: No such file or directory.
glxinfo:
➜  iliayar glxinfo
name of display: :0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
    ...
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: VMware, Inc. (0xffffffff)
    Device: llvmpipe (LLVM 7.0, 256 bits) (0xffffffff)
    Version: 18.3.1
    Accelerated: no
    Video memory: 7864MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 3.3
    Max compat profile version: 3.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: VMware, Inc.
OpenGL renderer string: llvmpipe (LLVM 7.0, 256 bits)
OpenGL core profile version string: 3.3 (Core Profile) Mesa 18.3.1
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    ...
OpenGL version string: 3.1 Mesa 18.3.1
OpenGL shading language version string: 1.40
OpenGL context flags: (none)
OpenGL extensions:
    ...
vainfo и vdpauinfo:
➜  iliayar vainfo
vaInitialize failed with error code 2 (resource allocation failed),exit
➜  iliayar vdpauinfo
display: :0   screen: 0
Error creating VDPAU device: 23
lspci:
➜  iliayar lspci -knnn | grep vga -i -A 3  
00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [8086:0412] (rev 06)
	Subsystem: Gigabyte Technology Co., Ltd Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller [1458:d000]
	Kernel driver in use: i915
	Kernel modules: i915
--
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] [1002:665f] (rev 81)
	Subsystem: Gigabyte Technology Co., Ltd Tobago PRO [Radeon R7 360 / R9 360 OEM] [1458:22ba]
	Kernel driver in use: radeon
	Kernel modules: radeon, amdgpu
При запуске прописано VDPAU_DRIVER=radeonsi LIBVA_DRIVER_NAME=radeonsi

Конфиги Xorg:

Section "Device"
    Identifier "Radeon"
    Driver "radeon"
    Option "SwapbuffersWait" "off"
    Option "ColorTiling" "on"
    Option "ColorTiling2D" "on"
    Option "EnablePageFlip" "on"
    Option "AccelDFS" "on"
    Option "XV_VSYNC" "on
    Option "AccelMethod" "glamor"
    #Option "AccelMethod" "EXA"
EndSection

Section "Module"
    Load "dri2"
    Load "glamoregl"
EndSection

Как я понял это OpenGL vendor string: VMware, Inc. значит что аппаратное ускорение не включено. Как следствие всякие WebGL и игры подтармаживают.

➜  iliayar glmark2 --fullscreen
** 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 2017.07
=======================================================
    OpenGL Information
    GL_VENDOR:     VMware, Inc.
    GL_RENDERER:   llvmpipe (LLVM 7.0, 256 bits)
    GL_VERSION:    3.1 Mesa 18.3.1
=======================================================
** 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: FPS: 121 FrameTime: 8.264 ms
=======================================================
                                  glmark2 Score: 121 
=======================================================
На ноуте где вроде как используется интегрированная видюха Intel около 300

 , ,

iliayar
()

RSS подписка на новые темы