[Intel-gfx] [intel_xvmc] err: DRM Device could not be opened.

Xiang, Haihao haihao.xiang at intel.com
Tue Mar 17 08:12:01 CET 2009


On Tue, 2009-03-17 at 12:46 +0800, Sergio Monteiro Basto wrote:
> On Mon, 2009-03-16 at 10:57 +0800, Xiang, Haihao wrote:
> > On Mon, 2009-03-16 at 02:05 +0800, Sergio Monteiro Basto wrote:
> > > On Mon, 2009-03-16 at 00:57 +0800, Xiang, Haihao wrote:
> > > > 
> > > > Please check your device file mode.
> > > 
> > > where ? 
> > > 
> > > I try 
> > > chmod og+rw /dev/agpgart 
> > > and 
> > > chmod og+rw /dev/dri/card0 
> > > 
> > > but no improvement.
> > 
> > Setting the LIBGL_DEBUG environment variable to verbose will get more
> > info. Could you try with it?
> 
> yes, the full log in attach 

The driver libIntelXvMC you are using opens DRM device by name
(drmOpen("i915", NULL)) which mostly works on linux, unless __linux__
isn't defined when building libdrm or /proc/dri/x/name doesn't exist (x
= 0,1,...). Anyway, the latest driver uses drmOpen("i915", busID)
instead of drmOpen("i915", NULL) which should work for you. You may
cherry pick commit ed267072db7c58ee16a458fd3dc24ce3a2d0061d from the
master branch of xf86_video_intel.

> 
> 
> thanks, 




More information about the Intel-gfx mailing list