[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 denied
From:       Stefano Avallone <stavallo () unina ! it>
Date:       2009-07-10 8:46:31
Message-ID: 200907101222.52119.stavallo () unina ! it
[Download RAW message or body]

On Thursday 09 July 2009 18:52:24 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?
>
> I'm using kernel 2.6.28-r3 without kms (but enabling kms does not solve
> the problem I already tried that).
>
> Thanks for any help with enabling opengl.

Hi,

try and see who owns /dev/dri/cardX. I had to add myself to the video group 
(on Debian).

Hope this helps,
Stefano


>
> Marc
>
> ---------------------------------------------------------------------------
>--- 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


------------------------------------------------------------------------------
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