selfjungle Just another WordPress weblog


direct rendering without root

If as a non-root user even thou GLX module is loaded:

user $ cat /var/log/Xorg.0.log | grep -i glx
LoadModule: "glx"

you don't have direct rendering:

user $ glxinfo | grep direct
direct rendering: Yes

But you do have it as a root, you might want to add the user to the correct group:

root $ gpasswd -a [USERNAME] video

gentoo wiki

Tagged as: No Comments

Export/apply git diff as patch

git diff > save.patch
patch -p1 < save.patch

Link: Stackoverflow

Tagged as: No Comments