On Thu, 2009-07-09 at 18:52 +0200, Marc Elser wrote: > Hi, > > I'm trying to use the new intel,mesa,libdrm from the git repository with > xorg-server-1.6.1.902_r1. > > Although in Xorg.0.log the driver loads ok (here an excerpt from the log): > (II) AIGLX: enabled GLX_MESA_copy_sub_buffer > (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control > (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects > (II) AIGLX: Loaded and initialized /usr/lib/dri/i915_dri.so > (II) GLX: Initialized DRI2 GL provider for screen 0 > (II) intel(0): Setting screen physical size to 304 x 228 > > "LIBGL_DEBUG=verbose glxinfo" reports: > libGL: OpenDriver: trying /usr/lib/dri/tls/i915_dri.so > libGL: OpenDriver: trying /usr/lib/dri/i915_dri.so > libGL error: failed to open drm device: Permission denied > libGL: OpenDriver: trying /usr/lib/dri/tls/swrast_dri.so > libGL: OpenDriver: trying /usr/lib/dri/swrast_dri.so > > but in Xorg.conf I have the needed DRI section like this: > Section "DRI" > Mode 0666 > EndSection > > So, what do I have to do, to have to correct permissions in opengl? Is > there a new section needed for DRI2 or do I need a newer xorg-server > version?
What does ls -l /dev/dri/card0 say when the problem happens? Maybe it's being set up by udev for you, not X/libdrm. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel