On Tue, 2017-09-12 at 12:35 +0000, Samuel Rakitničan wrote: > Hi, > > I am trying to test graphical application inside mock chroot > environment as documented on Fedora wiki [1], but I am unable to do > that successfully. In addition to that instructions I've installed > mesa-dri-drivers and mesa-libGL inside the chroot as there were > messages about missing files. But still no luck, some applications > appear with an incomplete window, other ones without any. All > applications that i have tested have a common error messages: > > libGL error: failed to open drm device: No such file or directory > libGL error: failed to load driver: i965 > > Is it possible to do that? Short answer: # mknod /dev/dri/card0 c 226 0 Long answer: You're apparently trying to test the app inside the mock chroot by having it display on an X server outside that chroot. When GL tries to initialize it will ask the X server for the /dev node for the GPU, but nothing inside the chroot has created it. If all you need to test the application is to run some non-interactive test suite, you may find xvfb-run(1) in the xorg-x11-server-Xvfb package to be a better fit. This will create a virtual X server running inside the chroot, detached from any hardware, and will use a software GL driver if necessary. - ajax _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx