Cover photo
Boudhayan Gupta
Attends NIIT University
Lives in Neemrana, RJ, IN
113 followers|35,597 views


Boudhayan Gupta

commented on a video on YouTube.
Shared publicly  - 
Because you don't need the Internet to chat. Also, because Microsoft Office helps your kids learn Karate.
Add a comment...

Boudhayan Gupta

Tutorials/Videos  - 
All in an afternoon's work - enabled UVD on the open-source Radeon drivers. This is how I did it:

UVD on the free radeon drivers requires three parts - an updated mesa package, updated firmware, and linux-3.10.

I already have the latest mesa running because I don't use the official mesa packages from arch; rather, I use the excellent mesa-git repository which does a pretty good job of tracking and updating the mesa packages from git every few days. You can get the repository from here:

You also need updated firmware for your radeon cards. Thankfully, the current linux-firmware package includes all the required firmware, so you don't need to hunt for any more packages - simply run pacman -Syu

The third bit you need is linux-3.10. In my case, installing linux-3.10 is a complete no-no, because I don't use the stock kernel, I use linux-ck (which includes the bfs scheduler and the bfq io scheduler, two things that I actually need to avoid lockups on my system). Turns out there's a way to get away with using linux-3.9 - backports.

What you need to do is the follwing:

1. Head to and get the latest stable release. As of now, it's backports-3.10-rc1-2. Download the tarball and keep it somewhere.

2. Ensure you have a compiler, your linux-headers package, and ncurses installed.

3. Extract the tarball with tar -xvjf backports-1.10-rc1-2.tar.bz2

4. Head into the kconfig directory and edit the Makefile. In line 6, (the first line that starts with mconf: ....), remove the "-ltinfo" at the end. This is because most distributions nowadays build ncurses as two libraries - libncurses and libtinfo (which includes the terminfo bits separately), but Arch does not.

5. Now run make menuconfig. Disable everything except Direct Rendering Manager, and inside it, only (repeat only) ATI Radeon. Leave ATI Rage and everything else well alone. Leave userspace modesetting disabled. Again, disable everything else.

6. now run make && sudo make install. This will build your modules and install them into the /lib/modules/<your-kernel-version>/updates directory, and run depmod for you automatically. If you need to remove the backports, simply remove this updates directory and run sudo depmod -a. No other files are touched.

7. Rebuild your initramfs - something like sudo mkinitcpio -p linux should do. (replace linux with your kernel variant. Mine is linux-ck).

8. Reboot!

9. Once rebooted, open a terminal and run dmesg | grep -i uvd. You should see a line like this: [drm] UVD initialized successfully.

10. Now install vdpauinfo and run VDPAU_DRIVER=r600 vdpauinfo. This should list quite a few video modes available under Decoder Capabilities - there should be modes for MPEG1/2/4, VC1 and H.264.

11. If it works, add the line VDPAU_DRIVER=r600 into /etc/environment. Congratulations, you have enabled hardware accelerated video decoding using the open source drivers on your radeon card!

Now - you need to rebuild the backports every time you update the kernel, until you get 3.10. UVD support is included in 3.10, so once you get it, you can let go of the backports. The line in /etc/environment needs to be kept added, however, because otherwise vdpau will default to looking for nvidia drivers, which obviously don't exist on an AMD system.

/CC +Michael Larabel and +Swapnil Bhartiya 
Alok Pai's profile photo
Hey Super cool. Looks i can finally do away with catalyst and being stuck with 1.17 and 3.4. Btw you should also make a post on ways to enable radeon.dpm. thats the one final thing holding  me back.
Add a comment...
Have him in circles
113 people
Debarka Mukhopadhyay's profile photo
Runa Bhattacharjee's profile photo
Shayon Pal's profile photo
navamita chandra's profile photo
Are there any Arch mirrors that support HTTPS?

I've got proxies at my college that block FTP and intercept all HTTP traffic, first downloading the file and "checking for viruses" before they let me download the file from the proxy server. It's a Forefront TMG proxy.

Thankfully HTTPS traffic is not intercepted, so using a mirror that supports HTTPS should, in theory, work.
Martin Herndl's profile photoJulian Kippels's profile photoBoudhayan Gupta's profile photoDmitrij Czarkoff's profile photo
Add a comment...
When does gnome 3.8 appear in the stable repos?
Anne O'neam's profile photoNicolas Robaux's profile photoRowan Lewis's profile photoJosh Sabboth's profile photo
You just CAN’T use a "stable" repo AND ask to have such massive update AT ONCE.
You can’t.
Or use "unstable" ones and enjoy.
Add a comment...

Boudhayan Gupta

Discussion  - 
Namoshkar from Kolkata, India!
Add a comment...
Have him in circles
113 people
Debarka Mukhopadhyay's profile photo
Runa Bhattacharjee's profile photo
Shayon Pal's profile photo
navamita chandra's profile photo
Consulting Developer
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Neemrana, RJ, IN
Kolkata, WB, IN - Guwahati, AS, IN
Other profiles
I am the Stig
I'm a dude, playing a dude, disguised as another dude.
Bragging rights
UNIX maestro. Got published at 14, addressed a seminar on Linux and Open Source at 15. Now an undergrad.
  • NIIT University
    Computer Science & Engineering, 2013 - present
  • Shree Bharati
    2004 - 2013
Basic Information
Looking for
Friends, Networking