Re: [blfs-support] EGL_MESA_drm_image required
On Thu, Feb 05, 2015 at 04:33:19AM +0100, Armin K. wrote: On 02/05/2015 03:55 AM, Ken Moffat wrote: Now that I have caught up with all the latest stuff, I managed to build xorg-server-1.17.0. Man page for modesetting driver shipped with xorg-server-1.17.0 mentions the following: Option AccelMethod string One of glamor or none. Default: glamor So, you could try and create the config file and set AccelMethod to none when in Qemu. Thanks, Armin. I now have /usr/share/X11/xorg.conf.d/20-server.conf (I see that the BOOK uses /etc/X11) containing Section Device Identifier modesetting Driver modesetting Option AccelMethod none EndSection and that has indeed removed the EE message. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] EGL_MESA_drm_image required
On 02/05/2015 03:55 AM, Ken Moffat wrote: On Thu, Feb 05, 2015 at 02:17:13AM +0100, Armin K. wrote: Which 3D driver does Qemu load? I don't recall it having any 3D acceleration yet. Yeah, I was too focussed on the modesetting driver. ;) If it is swrast, it's possible that only llvmpipe may be good enough for use with Glamor. Nonetheless, Modesetting driver should have a glamor disable switch/option somewhere, so I'd check that first. The obvious answer is don't build what you don't need, but for Mesa-related things I now take the easy way out and build a bunch of things, so I've enabled glamor in xorg-server ready for if/when I have hardware that needs it. Thanks for your comments. ĸen Now that I have caught up with all the latest stuff, I managed to build xorg-server-1.17.0. Man page for modesetting driver shipped with xorg-server-1.17.0 mentions the following: Option AccelMethod string One of glamor or none. Default: glamor So, you could try and create the config file and set AccelMethod to none when in Qemu. -- Note: My last name is not Krejzi. signature.asc Description: OpenPGP digital signature -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[blfs-support] EGL_MESA_drm_image required
I saw that xorg-server-1.17.0 has now been released, so I dropped that into my current qemu desktop build (I had been going to test 1.16.99.902 but had only done that on the real hardware). I'm using the modesetting driver, which is why I was keen to test this (it is now part of hte server). Seems to work ok, but in the log I found these lines: (II) glamor: EGL version 1.4 (DRI2): EGL_MESA_drm_image required. (EE) modeset(0): glamor initialization failed I'm lost! Google finds lots of links to the original proposal for this (from 2010, I think - it is apparently an X extension), but I could not find anything telling me where it comes from (Mesa, I suppose), nor how to enable it. Any clues, please ? ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] EGL_MESA_drm_image required
On 02/04/2015 11:35 PM, Ken Moffat wrote: I saw that xorg-server-1.17.0 has now been released, so I dropped that into my current qemu desktop build (I had been going to test 1.16.99.902 but had only done that on the real hardware). I'm using the modesetting driver, which is why I was keen to test this (it is now part of hte server). Seems to work ok, but in the log I found these lines: (II) glamor: EGL version 1.4 (DRI2): EGL_MESA_drm_image required. (EE) modeset(0): glamor initialization failed I'm lost! Google finds lots of links to the original proposal for this (from 2010, I think - it is apparently an X extension), but I could not find anything telling me where it comes from (Mesa, I suppose), nor how to enable it. Any clues, please ? ĸen Which 3D driver does Qemu load? I don't recall it having any 3D acceleration yet. If it is swrast, it's possible that only llvmpipe may be good enough for use with Glamor. Nonetheless, Modesetting driver should have a glamor disable switch/option somewhere, so I'd check that first. -- Note: My last name is not Krejzi. signature.asc Description: OpenPGP digital signature -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] EGL_MESA_drm_image required
On Thu, Feb 05, 2015 at 02:17:13AM +0100, Armin K. wrote: Which 3D driver does Qemu load? I don't recall it having any 3D acceleration yet. Yeah, I was too focussed on the modesetting driver. ;) If it is swrast, it's possible that only llvmpipe may be good enough for use with Glamor. Nonetheless, Modesetting driver should have a glamor disable switch/option somewhere, so I'd check that first. The obvious answer is don't build what you don't need, but for Mesa-related things I now take the easy way out and build a bunch of things, so I've enabled glamor in xorg-server ready for if/when I have hardware that needs it. Thanks for your comments. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
Re: [blfs-support] EGL_MESA_drm_image required
On Wed, Feb 04, 2015 at 10:35:33PM +, Ken Moffat wrote: I saw that xorg-server-1.17.0 has now been released, so I dropped that into my current qemu desktop build (I had been going to test 1.16.99.902 but had only done that on the real hardware). I'm using the modesetting driver, which is why I was keen to test this (it is now part of hte server). Seems to work ok, but in the log I found these lines: (II) glamor: EGL version 1.4 (DRI2): EGL_MESA_drm_image required. (EE) modeset(0): glamor initialization failed I'm lost! Google finds lots of links to the original proposal for this (from 2010, I think - it is apparently an X extension), but I could not find anything telling me where it comes from (Mesa, I suppose), nor how to enable it. Any clues, please ? Answering my own question: Read the source. It is from the xorg-server glamor code, using libepoxy to check which features are available. In xorg-server/glamor_egl.c there are: #define GLAMOR_CHECK_EGL_EXTENSION(EXT) \ if (!epoxy_has_egl_extension(glamor_egl-display, EGL_ #EXT)) { \ ErrorF(EGL_ #EXT required.\n); \ return FALSE; \ } and then GLAMOR_CHECK_EGL_EXTENSION(MESA_drm_image); That file correctly includes epoxy/gl.h and epoxy/egl.h. Within epoxy/egl.h is #include epoxy/egl_generated.h and within that is #define EGL_MESA_drm_image 1 So I'll have to take this to one of the X lists, because trying to debug that will be way above my no-pay grade. ĸen -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page