Привет друзья мои!
Я уже давно был здесь.
Но вот у меня есть новостей для вам, притежателей Radeon Legacy карточки.
В /etc/portage/make.conf VIDEO_CARDS="radeon r600"
Важное!!! удалите fglrx из системы и make.conf package.use Важное!!!
В /etc/portage/package.use/use
x11-drivers/xf86-video-ati glamor udev
media-libs/mesa gbm gles2 vdpau -xorg r600-llvm-compiler opencl
x11-libs/libdrm libkms
Обновляем
emerge -uDN world
Апаратное ускорение
layman -a ROKO__
emerge x11-libs/libvdpau-va-gl x11-misc/vdpauinfo x11-libs/libva-vdpau-driver x11-libs/libvdpau
Переменные
В /etc/bash/bashrc
export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=r600
export R600_DEBUG=sb
export GALLIUM_HUD=fps
DPM
Для этого надо ядро 3.11
В /boot/grub2/grub.cfg строчку kernel добавляем radeon.dpm=1
xorg.conf
Section "Module"
Load "dri2"
Load "glamoregl"
EndSection
Section "Device"
Identifier "Radeon"
Driver "radeon"
# Option "AGPMode" "8" #not used when KMS is on
# Option "AGPFastWrite" "off" #could cause instabilities enable it at your own risk
Option "SWcursor" "off" #software cursor might be necessary on some rare occasions, hence set off by default
Option "EnablePageFlip" "on" #supported on all R/RV/RS4xx and older hardware, and set on by default
Option "AccelMethod" "EXA" #valid options are XAA, EXA and Glamor. EXA is the default
Option "RenderAccel" "on" #enabled by default on all radeon hardware
Option "ColorTiling" "on" #enabled by default on RV300 and later radeon cards
Option "EXAVSync" "off" #default is off, otherwise on. Only works if EXA activated
Option "EXAPixmaps" "off" #when on icreases 2D performance, but may also cause artifacts on some old cards. Only works if EXA activated
Option "AccelDFS" "off" #default is off, read the radeon manpage for more information
Option "MigrationHeuristic" "greedy"
Option "Tiling" "false"
Option "SwapbuffersWait" "false"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
Monitor "aticonfig-Monitor[0]-0"
DefaultDepth 24
SubSection "Display"
Depth 24
# Modes "1152x864"
EndSubSection
EndSection
Тест
root@CLDC [ 21:53:10 ] [ 09/18/13 ] [ pts/6 ] ~ # dmesg| egrep -i "radeon|drm|dpm"
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-3.11.0-calculate root=/dev/sda2 ro rw radeon.dpm=1 vga=791
[ 0.000000] Kernel command line: init=/usr/lib/systemd/systemd BOOT_IMAGE=/boot/vmlinuz-3.11.0-calculate root=/dev/sda2 ro rw radeon.dpm=1 vga=791
[ 6.868290] [drm] Initialized drm 1.1.0 20060810
[ 7.162882] [drm] radeon kernel modesetting enabled.
[ 7.164327] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
[ 7.165865] fb: conflicting fb hw usage radeondrmfb vs VGA16 VGA - removing generic driver
[ 7.166268] [drm] initializing kernel modesetting (RV730 0x1002:0x9490 0x174B:0xE100).
[ 7.166280] [drm] register mmio base: 0xDFFF0000
[ 7.166282] [drm] register mmio size: 65536
[ 7.166823] radeon 0000:02:00.0: VRAM: 512M 0x0000000000000000 - 0x000000001FFFFFFF (512M used)
[ 7.166827] radeon 0000:02:00.0: GTT: 512M 0x0000000020000000 - 0x000000003FFFFFFF
[ 7.166830] [drm] Detected VRAM RAM=512M, BAR=256M
[ 7.166832] [drm] RAM width 128bits DDR
[ 7.166909] [drm] radeon: 512M of VRAM memory ready
[ 7.166911] [drm] radeon: 512M of GTT memory ready.
[ 7.166989] [drm] GART: num cpu pages 131072, num gpu pages 131072
[ 7.171234] [drm] Loading RV730 Microcode
[ 7.294272] [drm] PCIE GART of 512M enabled (table at 0x000000000025D000).
[ 7.294310] radeon 0000:02:00.0: WB enabled
[ 7.294314] radeon 0000:02:00.0: fence driver on ring 0 use gpu addr 0x0000000020000c00 and cpu addr 0xffff880230e3fc00
[ 7.294318] radeon 0000:02:00.0: fence driver on ring 3 use gpu addr 0x0000000020000c0c and cpu addr 0xffff880230e3fc0c
[ 7.295069] radeon 0000:02:00.0: fence driver on ring 5 use gpu addr 0x000000000005c598 and cpu addr 0xffffc9001281c598
[ 7.295074] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
[ 7.295076] [drm] Driver supports precise vblank timestamp query.
[ 7.295092] radeon 0000:02:00.0: irq 44 for MSI/MSI-X
[ 7.295100] radeon 0000:02:00.0: radeon: using MSI.
[ 7.295121] [drm] radeon: irq initialized.
[ 7.341311] [drm] ring test on 0 succeeded in 1 usecs
[ 7.341369] [drm] ring test on 3 succeeded in 1 usecs
[ 7.537467] [drm] ring test on 5 succeeded in 1 usecs
[ 7.537471] [drm] UVD initialized successfully.
[ 7.537542] [drm] ib test on ring 0 succeeded in 0 usecs
[ 7.537558] [drm] ib test on ring 3 succeeded in 0 usecs
[ 7.698035] [drm] ib test on ring 5 succeeded
[ 7.698563] [drm] Radeon Display Connectors
[ 7.698566] [drm] Connector 0:
[ 7.698568] [drm] VGA-1
[ 7.698571] [drm] DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
[ 7.698574] [drm] Encoders:
[ 7.698575] [drm] CRT2: INTERNAL_KLDSCP_DAC2
[ 7.698577] [drm] Connector 1:
[ 7.698579] [drm] HDMI-A-1
[ 7.698581] [drm] HPD2
[ 7.698583] [drm] DDC: 0x7f10 0x7f10 0x7f14 0x7f14 0x7f18 0x7f18 0x7f1c 0x7f1c
[ 7.698586] [drm] Encoders:
[ 7.698587] [drm] DFP2: INTERNAL_UNIPHY1
[ 7.698589] [drm] Connector 2:
[ 7.698591] [drm] DVI-I-1
[ 7.698592] [drm] HPD1
[ 7.698594] [drm] DDC: 0x7e40 0x7e40 0x7e44 0x7e44 0x7e48 0x7e48 0x7e4c 0x7e4c
[ 7.698597] [drm] Encoders:
[ 7.698599] [drm] CRT1: INTERNAL_KLDSCP_DAC1
[ 7.698601] [drm] DFP1: INTERNAL_UNIPHY
[ 7.698620] [drm] Internal thermal controller with fan control
[ 7.700301] [drm] radeon: dpm initialized
[ 7.742501] [drm] fb mappable at 0xC035F000
[ 7.742505] [drm] vram apper at 0xC0000000
[ 7.742507] [drm] size 3145728
[ 7.742509] [drm] fb depth is 24
[ 7.742511] [drm] pitch is 4096
[ 7.742593] fbcon: radeondrmfb (fb0) is primary device
[ 7.749118] radeon 0000:02:00.0: fb0: radeondrmfb frame buffer device
[ 7.749143] radeon 0000:02:00.0: registered panic notifier
[ 7.749166] [drm] Initialized radeon 2.34.0 20080528 for 0000:02:00.0 on minor 0
root@CLDC [ 21:55:02 ] [ 09/18/13 ] [ pts/6 ] ~ #
roko__@CLDC [ 21:26:01 ] [ 09/18/13 ] [ pts/2 ] ~ % vainfo; vdpauinfo
libva info: VA-API version 0.33.0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib64/va/drivers/vdpau_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.33 (libva 1.1.1)
vainfo: Driver version: Splitted-Desktop Systems VDPAU backend for VA-API - 0.7.4
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264Baseline : VAEntrypointVLD
VAProfileH264Main : VAEntrypointVLD
VAProfileH264High : VAEntrypointVLD
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 8192 8192 NV12
422 8192 8192
444 8192 8192
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 9216 2048 1152
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_SIMPLE 1 9216 2048 1152
VC1_MAIN 2 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 8192 8192 y NV12
R8G8B8A8 8192 8192 y NV12
R10G10B10A2 8192 8192 y NV12
B10G10R10A2 8192 8192 y NV12
Bitmap surface:
name width height
------------------------------
B8G8R8A8 8192 8192
R8G8B8A8 8192 8192
R10G10B10A2 8192 8192
B10G10R10A2 8192 8192
A8 8192 8192
Video mixer:
feature name sup
------------------------------------
DEINTERLACE_TEMPORAL -
DEINTERLACE_TEMPORAL_SPATIAL -
INVERSE_TELECINE -
NOISE_REDUCTION y
SHARPNESS y
LUMA_KEY -
HIGH QUALITY SCALING - L1 -
HIGH QUALITY SCALING - L2 -
HIGH QUALITY SCALING - L3 -
HIGH QUALITY SCALING - L4 -
HIGH QUALITY SCALING - L5 -
HIGH QUALITY SCALING - L6 -
HIGH QUALITY SCALING - L7 -
HIGH QUALITY SCALING - L8 -
HIGH QUALITY SCALING - L9 -
parameter name sup min max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH y 48 2048
VIDEO_SURFACE_HEIGHT y 48 1152
CHROMA_TYPE y
LAYERS y 0 4
attribute name sup min max
-----------------------------------------------------
BACKGROUND_COLOR y
CSC_MATRIX y
NOISE_REDUCTION_LEVEL y 0.00 1.00
SHARPNESS_LEVEL y -1.00 1.00
LUMA_KEY_MIN_LUMA y
LUMA_KEY_MAX_LUMA y
roko__@CLDC [ 21:55:59 ] [ 09/18/13 ] [ pts/2 ] ~ %
roko__@CLDC [ 21:55:59 ] [ 09/18/13 ] [ pts/2 ] ~ % inxi -G
Graphics: Card: Advanced Micro Devices [AMD/ATI] RV730 XT [Radeon HD 4670]
X.Org: 1.14.3 driver: radeon Resolution: 1152x864@75.0hz
GLX Renderer: Gallium 0.4 on AMD RV730 GLX Version: 3.0 Mesa 9.3.0-devel (git-a3b51a2)
roko__@CLDC [ 21:56:43 ] [ 09/18/13 ] [ pts/2 ] ~ %