[Beignet] corrupted AST file

Rees, Kevron kevron.m.rees at intel.com
Tue Nov 11 16:36:58 PST 2014


That works.  Thanks.

My next problem is that I'm only able to run as root.  When I run as a
normal user, I get the following:

/dev/dri/card0 not authenticated
open("/dev/dri/card1", O_RDWR) failed: No such file or directory
open("/dev/dri/card2", O_RDWR) failed: No such file or directory
open("/dev/dri/card3", O_RDWR) failed: No such file or directory
open("/dev/dri/card4", O_RDWR) failed: No such file or directory
open("/dev/dri/card5", O_RDWR) failed: No such file or directory
open("/dev/dri/card6", O_RDWR) failed: No such file or directory
open("/dev/dri/card7", O_RDWR) failed: No such file or directory
open("/dev/dri/card8", O_RDWR) failed: No such file or directory
open("/dev/dri/card9", O_RDWR) failed: No such file or directory
open("/dev/dri/card10", O_RDWR) failed: No such file or directory
open("/dev/dri/card11", O_RDWR) failed: No such file or directory
open("/dev/dri/card12", O_RDWR) failed: No such file or directory
open("/dev/dri/card13", O_RDWR) failed: No such file or directory
open("/dev/dri/card14", O_RDWR) failed: No such file or directory
open("/dev/dri/card15", O_RDWR) failed: No such file or directory
Device open failed, aborting...
/dev/dri/card0 not authenticated
open("/dev/dri/card1", O_RDWR) failed: No such file or directory
open("/dev/dri/card2", O_RDWR) failed: No such file or directory
open("/dev/dri/card3", O_RDWR) failed: No such file or directory
open("/dev/dri/card4", O_RDWR) failed: No such file or directory
open("/dev/dri/card5", O_RDWR) failed: No such file or directory
open("/dev/dri/card6", O_RDWR) failed: No such file or directory
open("/dev/dri/card7", O_RDWR) failed: No such file or directory
open("/dev/dri/card8", O_RDWR) failed: No such file or directory
open("/dev/dri/card9", O_RDWR) failed: No such file or directory
open("/dev/dri/card10", O_RDWR) failed: No such file or directory
open("/dev/dri/card11", O_RDWR) failed: No such file or directory
open("/dev/dri/card12", O_RDWR) failed: No such file or directory
open("/dev/dri/card13", O_RDWR) failed: No such file or directory
open("/dev/dri/card14", O_RDWR) failed: No such file or directory
open("/dev/dri/card15", O_RDWR) failed: No such file or directory
Device open failed, aborting...
cl_get_gt_device(): error, unknown device: ffffffff
/dev/dri/card0 not authenticated
open("/dev/dri/card1", O_RDWR) failed: No such file or directory
open("/dev/dri/card2", O_RDWR) failed: No such file or directory
open("/dev/dri/card3", O_RDWR) failed: No such file or directory
open("/dev/dri/card4", O_RDWR) failed: No such file or directory
open("/dev/dri/card5", O_RDWR) failed: No such file or directory
open("/dev/dri/card6", O_RDWR) failed: No such file or directory
open("/dev/dri/card7", O_RDWR) failed: No such file or directory
open("/dev/dri/card8", O_RDWR) failed: No such file or directory
open("/dev/dri/card9", O_RDWR) failed: No such file or directory
open("/dev/dri/card10", O_RDWR) failed: No such file or directory
open("/dev/dri/card11", O_RDWR) failed: No such file or directory
open("/dev/dri/card12", O_RDWR) failed: No such file or directory
open("/dev/dri/card13", O_RDWR) failed: No such file or directory
open("/dev/dri/card14", O_RDWR) failed: No such file or directory
open("/dev/dri/card15", O_RDWR) failed: No such file or directory
Device open failed, aborting...
Segmentation fault (core dumped)



On Mon, Nov 10, 2014 at 10:02 PM, Zhigang Gong
<zhigang.gong at linux.intel.com> wrote:
> I just realized this is a pch header file relocation issue.
> I sent a patch a few minutes ago, could you have a try and let me
> know whether it fix this issue for you.
>
> Thanks,
> Zhigang Gong.
>
> On Mon, Nov 10, 2014 at 09:35:27AM -0800, Rees, Kevron wrote:
>> I updated to the latest on master
>> (48e2da81c01b4bc14b2249a9bead8667319c212d).  Same error.
>>
>> -Kevron
>>
>> On Sun, Nov 9, 2014 at 7:49 PM, Zhigang Gong
>> <zhigang.gong at linux.intel.com> wrote:
>> > Could you try git master beignet? We are going to release a new version very soon.
>> >
>> > On Fri, Nov 07, 2014 at 03:24:26PM -0800, Rees, Kevron wrote:
>> >> Hi,
>> >>
>> >> I'm trying to get beignet running on tizen with OpenCV.  It appears
>> >> that OpenCV finds the device, but a strange AST error appears right
>> >> before OpenCV aborts.  Here's the log:
>> >>
>> >> 718.96           | platform:  Intel Gen OCL Driver  vendor:  Intel
>> >> 718.961          | There are  1  OpenCL devices on this system
>> >> 718.963          | OpenCLDeviceName:  73
>> >> 718.963          | OpenCLDeviceName:  110
>> >> 718.964          | OpenCLDeviceName:  116
>> >> 718.964          | OpenCLDeviceName:  101
>> >> 718.964          | OpenCLDeviceName:  108
>> >> 718.965          | OpenCLDeviceName:  40
>> >> 718.966          | OpenCLDeviceName:  82
>> >> 718.966          | OpenCLDeviceName:  41
>> >> 718.967          | OpenCLDeviceName:  32
>> >> 718.967          | OpenCLDeviceName:  72
>> >> 718.968          | OpenCLDeviceName:  68
>> >> 718.968          | OpenCLDeviceName:  32
>> >> 718.969          | OpenCLDeviceName:  71
>> >> 718.969          | OpenCLDeviceName:  114
>> >> 718.97           | OpenCLDeviceName:  97
>> >> 718.97           | OpenCLDeviceName:  112
>> >> 718.971          | OpenCLDeviceName:  104
>> >> 718.971          | OpenCLDeviceName:  105
>> >> 718.972          | OpenCLDeviceName:  99
>> >> 718.972          | OpenCLDeviceName:  115
>> >> 718.973          | OpenCLDeviceName:  32
>> >> 718.973          | OpenCLDeviceName:  66
>> >> 718.974          | OpenCLDeviceName:  97
>> >> 718.974          | OpenCLDeviceName:  121
>> >> 718.974          | OpenCLDeviceName:  32
>> >> 718.975          | OpenCLDeviceName:  84
>> >> 718.975          | OpenCLDeviceName:  114
>> >> 718.976          | OpenCLDeviceName:  97
>> >> 718.976          | OpenCLDeviceName:  105
>> >> 718.977          | OpenCLDeviceName:  108
>> >> 718.977          | OpenCLDeviceName:  45
>> >> 718.978          | OpenCLDeviceName:  84
>> >> 719.242          | Subscribing to:  VehicleSpeed
>> >> 719.242          | Subscribing to:  Latitude
>> >> 719.242          | Subscribing to:  Longitude
>> >> HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP
>> >> HIGHGUI ERROR: V4L2: getting property #5 is not supported
>> >>
>> >> BUILD LOG: cvt_color:  -D INTEL_DEVICE -D DEPTH_0 -D scn=4 -D bidx=0
>> >> -D pixels_per_work_item=4
>> >> fatal error: malformed or corrupted AST file: 'could not find file
>> >> '/home/abuild/rpmbuild/BUILD/beignet-0.9.3.git1414386114.6eb5d67/backend/src/libocl/include/ocl_workitem.h'
>> >> referenced by AST file'
>> >>
>> >> OpenCV Error: Gpu API call (CL_BUILD_PROGRAM_FAILURE) in
>> >> getOrBuildProgram, file
>> >> /home/abuild/rpmbuild/BUILD/OpenCV-2.4.9/modules/ocl/src/cl_programcache.cpp,
>> >> line 445
>> >> terminate called after throwing an instance of 'cv::Exception'
>> >>   what():  /home/abuild/rpmbuild/BUILD/OpenCV-2.4.9/modules/ocl/src/cl_programcache.cpp:445:
>> >> error: (-217) CL_BUILD_PROGRAM_FAILURE in function getOrBuildProgram
>> >>
>> >> Aborted (core dumped)
>> >>
>> >> -----
>> >>
>> >> any ideas what would cause this?
>> >>
>> >> -Kevron
>> >> _______________________________________________
>> >> Beignet mailing list
>> >> Beignet at lists.freedesktop.org
>> >> http://lists.freedesktop.org/mailman/listinfo/beignet
>> _______________________________________________
>> Beignet mailing list
>> Beignet at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/beignet


More information about the Beignet mailing list