Hi everyone,
My problem is solved, finally, and I think that would be reasonable to share the solution here, even though it has no connection to Beignet, just in case somebody hits the same problem next time. The solution is simple: # modprobe i915_bpo modeset=1 The reason this problem ever appeared is that our IT infrastructure provider issued "nomodeset" as default option in the /etc/default/grub file because of numerous problems with older i915 modules. Thank you very much again for useful hints and patience. Best, Seva 26.09.2016, 09:07, "Yang, Rong R" <[email protected]>: >> but it seems like the DRI is only available together with X. > > As my understanding, /dev/dri is create by drm's kernel space driver, and it > is not only available together with X. > Actually X is one of /dev/dri's clients, all graphics stack such as wayland > and vaapi use it. > >> [ 0.879802] [drm] Initialized drm 1.1.0 > > drm.ko is loaded, but drm module is not enough, also need i915.ko. > >> 20060810 >> -----Original Message----- >> From: Beignet [mailto:[email protected]] On Behalf Of >> Weng, Chuanbo >> Sent: Monday, September 26, 2016 12:49 >> To: Seva Gluschenko <[email protected]>; [email protected] >> 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 this command to see whether there >> is drm and i915 module: >> lsmod | grep i915 >> Maybe you can update your linux kernel to latest version and try again. >> >> Thanks, >> Chuanbo Weng >> >> -----Original Message----- >> From: Beignet [mailto:[email protected]] On Behalf Of >> Seva Gluschenko >> Sent: Saturday, September 24, 2016 1:02 AM >> To: [email protected] >> Subject: Re: [Beignet] few questions on Beignet-OpenCL-ICD v1.2.0 >> regarding X11 and kernel patches >> >> Hi Weng, >> >> I might be missing something, but 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. >> >> On the other hand, I made all my exercises as root, and I've just figured >> out, >> though, that I don't have /dev/drm either, even though kernel reports it was >> initialized in my system: >> >> Sep 23 10:15:24 srv1204 kernel: [ 0.879802] [drm] Initialized drm 1.1.0 >> 20060810 >> >> That's what I'm going to dig next. Thank you very much again for your time >> and patience. >> >> Best, >> >> Seva >> >> 23.09.2016, 12:33, "Weng, Chuanbo" <[email protected]>: >> > Hi Seva, >> > What Rong means is that Beignet will try to open drm device >> > exposed in /dev/dri/ (Actually, In non-X environment, Beignet will try >> > to open render node such as /dev/dri/renderD128, if failed it will then >> try >> to open prime primary node such as /dev/dri/card0). >> > Beignet can run on DRM mode, but you should better be a root user. >> > You can try to run utest as suggested by Rong, and report the >> message >> to us (if running utest failed). >> > I strongly suggest you take a look at README.md, which >> > includes many basic info of Beignet usage. : ) >> > >> > Thanks, >> > Chuanbo Weng >> > >> > -----Original Message----- >> > From: Beignet [mailto:[email protected]] On Behalf >> > Of Seva Gluschenko >> > Sent: Friday, September 23, 2016 4:57 PM >> > To: [email protected] >> > 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 run it because DRI is only >> available with X? No chance to use DRM or DirectFB? >> > >> > 23.09.2016, 06:12, "Yang, Rong R" <[email protected]>: >> >> There is only beignet-opencl-icd's output, can't find the error message >> from beignet, can you try beignet's utest directly? >> >> To run utest, you need "make utest", then run ". ./utests/setenv.sh" and >> at last " ./utests/utest_run". >> >> >> >> It seems open device failed, can you also list the device under >> /dev/dri? _______________________________________________ Beignet mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/beignet
