Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-26 Thread Seva Gluschenko
Of >>  Weng, Chuanbo >>  Sent: Monday, September 26, 2016 12:49 >>  To: Seva Gluschenko ; beignet@lists.freedesktop.org >>  Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 >>  regarding X11 and kernel patches >> >>  How did you work out a non-X ub

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Yang, Rong R
> -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Rebecca N. Palmer > Sent: Saturday, September 24, 2016 5:54 > To: beignet@lists.freedesktop.org > Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 &

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Yang, Rong R
> To: Seva Gluschenko ; beignet@lists.freedesktop.org > Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 > regarding X11 and kernel patches > > > How did you work out a non-X ubuntu? Installed an ubuntu server edition? > /dev/dri is supported by linux kernel, try

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-25 Thread Weng, Chuanbo
-Original Message- From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Seva Gluschenko Sent: Saturday, September 24, 2016 1:02 AM To: beignet@lists.freedesktop.org Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches Hi

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-23 Thread Rebecca N. Palmer
The drm.rnodes=1 kernel parameter mentioned in beignet's documentation no longer exists (render nodes are on by default since https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/drivers/gpu/drm/drm_stub.c?id=6d6dfcfb883818b40b58bac61cc72cab428a7a03), but it wasn't supposed to

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-23 Thread Rebecca N. Palmer
it seems like the DRI is only available together with X. That's why I'm specifically interested if you know how to make /dev/dri appear in non-X environment. That might explain why my test worked: while I had no X inside the chroot, /dev/dri was bind-mounted from outside it, where there was X.

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-23 Thread Seva Gluschenko
er 23, 2016 4:57 PM > To: beignet@lists.freedesktop.org > Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding > X11 and kernel patches > > Thank you very much for the hint. So, in fact, even though I succeeded in > compiling Beignet without X, I still need X to r

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-23 Thread Weng, Chuanbo
Weng -Original Message- From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of Seva Gluschenko Sent: Friday, September 23, 2016 4:57 PM To: beignet@lists.freedesktop.org Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-23 Thread Seva Gluschenko
Thank you very much for the hint. So, in fact, even though I succeeded in compiling Beignet without X, I still need X to run it because DRI is only available with X? No chance to use DRM or DirectFB? 23.09.2016, 06:12, "Yang, Rong R" : > There is only beignet-opencl-icd's output, can't find the

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-22 Thread Yang, Rong R
ce failed, can you also list the device under /dev/dri? > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > Seva Gluschenko > Sent: Thursday, September 22, 2016 16:36 > To: beignet@lists.freedesktop.org > Subject: Re: [Beignet]

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-22 Thread Seva Gluschenko
Hello Rebecca, Please accept my apologies for being not very informative. I'm running Ubuntu 16.04.1LTS x86_64 on Intel Core i7-6700, and I had the patched Linux kernel 4.4.21-intel.r16.5 and Intel's opencl_runtime_16.1.1_x64_ubuntu_6.4.0.25 installed in parallel with Beignet. After erasing all

Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 regarding X11 and kernel patches

2016-09-21 Thread Rebecca N. Palmer
I just built beignet in a chroot with no X11 installed; it didn't have that string, and worked (when run as root - for ordinary users, it failed with "/dev/dri/card0 not authenticated", but this is expected). Debian's (with-X) beignet has that string and a few more (__cxx11, x11_display, x11_s