Project

General

Profile

How do I enable hardware acceleration (for a Radeon HD 6310 card)?

masochism-os - 11 months ago -

RAM usage skyrockets when I play a video with vlc, mpv, or mplayer.

Here's the graphics packages I have installed:
extra/glu 9.0.2-3 [installed]
extra/libva-mesa-driver 23.0.2-2 [installed]
extra/mesa 23.0.2-2 [installed]
extra/mesa-utils 9.0.0-2 [installed]
extra/mesa-vdpau 23.0.2-2 [installed]
extra/vulkan-mesa-layers 23.0.2-2 [installed]
extra/vulkan-radeon 23.0.2-2 [installed]

mpv's output:

libEGL warning: DRI2: failed to authenticate
[vo/gpu/opengl] Suspected software renderer or indirect context.
[vo/gpu] VT_GETMODE failed: Inappropriate ioctl for device
[vo/gpu/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
radeon: Failed to get PCI ID, error number -13
radeon: Failed to get PCI ID, error number -13
[vo/gpu/opengl] Failed to set CRTC for connector 46: Permission denied
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
[vo/gpu/libplacebo] Found no suitable device, giving up.
[vo/gpu/libplacebo] Failed initializing vulkan device
[vo/gpu/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
libEGL warning: DRI2: failed to authenticate
[vo/gpu-next/opengl] Suspected software renderer or indirect context.
[vo/gpu-next] Can't handle VT release - signal already used
[vo/gpu-next/opengl] Failed to set up VT switcher. Terminal switching will be unavailable.
radeon: Failed to get PCI ID, error number -13
radeon: Failed to get PCI ID, error number -13
[vo/gpu-next/opengl] Failed to set CRTC for connector 46: Permission denied
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
[vo/gpu-next/libplacebo] Found no suitable device, giving up.
[vo/gpu-next/libplacebo] Failed initializing vulkan device
[vo/gpu-next/libplacebo] EnumeratePhysicalDevices(inst, &num, NULL): VK_ERROR_INITIALIZATION_FAILED (../src/vulkan/context.c:907)
[vo/vdpau] Error when calling vdp_device_create_x11: 23
[vo/xv] No Xvideo support found.
[vaapi] Failed to initialize VAAPI: unknown libva error
[vo/x11] Warning: this legacy VO has bad performance. Consider fixing your graphics drivers, or not forcing the x11 VO.
[ffmpeg] AVHWDeviceContext: Cannot load libcuda.so.1
[ffmpeg] AVHWDeviceContext: Could not dynamically load CUDA
[ffmpeg/video] h264_v4l2m2m: Could not find a valid device
[ffmpeg/video] h264_v4l2m2m: can't configure decoder
Could not open codec.

vainfo output:
Trying display: wayland
Trying display: x11
vaInitialize failed with error code -1 (unknown libva error),exit

No errors in my xorg log but there are warnings:

[ 21087.487] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 21087.504] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 21087.531] (WW) RADEON: 3 ZaphodHeads crtcs unavailable. Some outputs will stay off.
[ 21087.561] (WW) RADEON: Direct rendering disabled

in the xorg.conf.d folder, I have this file:
Section "Device"
Identifier "Radeon 6310"
Driver "radeon"
EndSection
Section "dri"
Mode 0666
EndSection


Replies (1)

RE: How do I enable hardware acceleration (for a Radeon HD 6310 card)? - KaKooDa - 10 months ago -

This is not an answer or solution for your problem, I'm merely sharing experience. The Radeon cards I've tested so far (6370, 5370 and 3000) cards don't work on free distros (Because they depend on non-free firmware), However Trisquel, since version 11.0 Aramo, seems to have found a workaround to make them working! (Not perfectly, but much better than before!). I suggest you to try it.

    (1-1/1)