[prev in list] [next in list] [prev in thread] [next in thread] 

List:       dri-devel
Subject:    Re: openGL: libGL error: failed to open drm device: Permission
From:       Michel =?ISO-8859-1?Q?D=E4nzer?= <michel () daenzer ! net>
Date:       2009-07-10 10:20:04
Message-ID: 1247221204.17076.282.camel () thor
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic