Radeon UVD

As many may know, since kernel 3.10 theres opensource UVD support for several AMD video card generations.

According to:
[Phoronix] How-To Use Open-Source Radeon UVD On Ubuntu](http://www.phoronix.com/scan.php?page=news_item&px=MTM1NDk)

You need:

Kernel 3.10
Mesa with UVD build flag
Updated firmwares

Kernel and firmwares can be both obtained here:
Index of /repositories/Kernel:/stable/standard
3.10.2 and kernel-firmware 20130710

The only thing missing i can see is a UVD enabled Mesa build in some repository.

Any ideas or someone working on such thing?

Thanks!

Index of /repositories/home:/pontostroy:/X11 Mesa

Index of /repositories/home:/pontostroy:/drm-next - Kernel

Thanks for the reply.

Wouldn’t this two repositories enable UVD aswell and be a little more conservative and stable?

Index of /repositories/X11:/XOrg Mesa
Index of /repositories/Kernel:/stable/standard

Thats kernel 3.11 rc2 and mesa 9.2 git

As far as i can see, Mesa from X11:XOrg has --enable-vdpau flag, so that should be OK. Also, kernel:stable has “good enough” kernel.
You just need libvdpau_r600 package installed.

Well, updated to the latest of both of the above repos, not seeing drm uvd enabled on dmesg:

gabriel@linux-a7dy:~> dmesg | grep drm
   12.612334] [drm] Initialized drm 1.1.0 20060810
   13.082682] [drm] radeon kernel modesetting enabled.
   13.082761] fb: conflicting fb hw usage radeondrmfb vs VESA VGA - removing generic driver
   13.083097] [drm] initializing kernel modesetting (RV770 0x1002:0x9442 0x174B:0xE104).
   13.083110] [drm] register mmio base: 0xFEAE0000
   13.083111] [drm] register mmio size: 65536
   13.084140] [drm] Detected VRAM RAM=512M, BAR=256M
   13.084145] [drm] RAM width 256bits DDR
   13.084261] [drm] radeon: 512M of VRAM memory ready
   13.084263] [drm] radeon: 512M of GTT memory ready.
   13.084315] [drm] GART: num cpu pages 131072, num gpu pages 131072
   13.085280] [drm] enabling PCIE gen 2 link speeds, disable with radeon.pcie_gen2=0
   13.085352] [drm] Loading RV770 Microcode
   13.343218] [drm] PCIE GART of 512M enabled (table at 0x0000000000040000).
   13.343283] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
   13.343284] [drm] Driver supports precise vblank timestamp query.
   13.343349] [drm] radeon: irq initialized.
   13.389592] [drm] ring test on 0 succeeded in 1 usecs
   13.389650] [drm] ring test on 3 succeeded in 1 usecs
   13.389734] [drm] ib test on ring 0 succeeded in 0 usecs
   13.389748] [drm] ib test on ring 3 succeeded in 0 usecs
   13.389921] [drm] Radeon Display Connectors
   13.389922] [drm] Connector 0:
   13.389923] [drm]   DVI-I-1
   13.389924] [drm]   HPD2
   13.389926] [drm]   DDC: 0x7e20 0x7e20 0x7e24 0x7e24 0x7e28 0x7e28 0x7e2c 0x7e2c
   13.389926] [drm]   Encoders:
   13.389928] [drm]     CRT1: INTERNAL_KLDSCP_DAC1
   13.389929] [drm]     DFP2: INTERNAL_KLDSCP_LVTMA
   13.389929] [drm] Connector 1:
   13.389930] [drm]   HDMI-A-1
   13.389931] [drm]   HPD3
   13.389932] [drm]   DDC: 0x7e50 0x7e50 0x7e54 0x7e54 0x7e58 0x7e58 0x7e5c 0x7e5c
   13.389933] [drm]   Encoders:
   13.389934] [drm]     DFP1: INTERNAL_UNIPHY
   13.389935] [drm] Connector 2:
   13.389936] [drm]   VGA-1
   13.389937] [drm]   DDC: 0x7e60 0x7e60 0x7e64 0x7e64 0x7e68 0x7e68 0x7e6c 0x7e6c
   13.389938] [drm]   Encoders:
   13.389939] [drm]     CRT2: INTERNAL_KLDSCP_DAC2
   13.389967] [drm] Internal thermal controller with fan control
   13.390009] [drm] radeon: power management initialized
   13.431287] [drm] fb mappable at 0xD0142000
   13.431290] [drm] vram apper at 0xD0000000
   13.431291] [drm] size 4325376
   13.431292] [drm] fb depth is 24
   13.431293] [drm]    pitch is 5632
   13.431389] fbcon: radeondrmfb (fb0) is primary device
   13.639165] radeon 0000:01:00.0: fb0: radeondrmfb frame buffer device
   13.639172] [drm] Initialized radeon 2.33.0 20080528 for 0000:01:00.0 on minor 0

glxinfo

OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV770
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0-devel
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)

uname-r

3.10.3-1.gec6c1d9-desktop

Answering my own problem.

I own an ATI 4850, which boasts the RV770 chip, which is capable of UVD 2.

The UVD that was released only works from UVD 2.2 forwards, at least for now :frowning: