On 12/27/15, Jonathan Gray <j...@jsg.id.au> wrote: > On Mon, Dec 28, 2015 at 12:25:25AM +0200, Mihai Popescu wrote: >> Hello, >> >> I am running cwm and I had some problems starting chrome from the menu >> - it starts for the very first time when i click on the menu, then i >> have to click 2 or 3 times on menu entry to start chrome again. This >> is not a big deal, maybe a cwm glitch. >> >> I went to start chrome from xterm, and I got these errors: >> >> $ chrome >> libGL error: failed to open drm device: Permission denied >> libGL error: failed to load driver: r600 >> libGL error: failed to open drm device: Permission denied >> libGL error: failed to load driver: r600 >> >> Is it normal, can it be fixed on my side? > > The ownership of /dev/drm0 should be changed according to > /etc/fbtab to your user after logging in.
I have noticed (in the past), switching from X to virtual term (Ctrl+Shift+Fx) will override/revert the ownership of /dev/drm0, resulting in above (or similar) errors when I switch back to X and run something like xlock. I say "in the past", as I have avoided above switching since. Hope this sheds some light onto the problem (or possibly as-designed behavior). --patrick > Can you include the output of ls -l /dev/drm0 and > the contents of /var/log/Xorg.0.log ? > > How are you starting X, xdm/startx/?