Extra-short post, stemming from my general annoyance at the difficulty with which I enabled DRI on my latest laptop. You see, there are MANY factors that all come into play, many of which are described in detail at the DRI wiki.. I, however, had to spend an annoyingly long time reading to get it working. Here’s a quick step-by-step for getting it working on a clean (with X) Arch install:
- Install drivers! Package names for X drivers are formatted as such: xf86-<class>-<driver>. For an Intel video driver, for example, it’d be xf86-video-intel. That should grab DRI packages for that driver as well. For Intel, that’d be intel-dri. In case you forgot or something, you’ll want to install it with pacman -Syu <package> as root.
- Break out the text editor! Run your editor of choice (nano, vi, gedit, mousepad, etc.) as root, then paste the following in:
Section “DRI”
Mode 0666
EndSection - Save that file as /etc/X11/xorg.conf.d/20-dri.conf, then quit your editor.
- Run gpasswd -a <user> video, where <user> is your username, as root.
- Reboot!
- Start X!
- Play Minecraft or similar, revel in the rendering!
- Profit?
Hope you enjoyed it, and I hope it got you working… leave feedback in the comments!
Leave a Reply