<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - weston 1.9 do not start with drm-backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93451#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - weston 1.9 do not start with drm-backend"
href="https://bugs.freedesktop.org/show_bug.cgi?id=93451">bug 93451</a>
from <span class="vcard"><a class="email" href="mailto:fausto.lenzi70@gmail.com" title="fausto <fausto.lenzi70@gmail.com>"> <span class="fn">fausto</span></a>
</span></b>
<pre>(In reply to Pekka Paalanen from <a href="show_bug.cgi?id=93451#c4">comment #4</a>)
<span class="quote">> What graphics card is that, which radeon?
>
> Could you try setting these environment variables for Weston:
> export MESA_DEBUG=1
> export EGL_LOG_LEVEL=debug
> export LIBGL_DEBUG=verbose
>
> That would tell us which radeon driver exactly loads. The kernel log does
> mention "r200", but I don't know if that can support GL ES 2.0.
>
> But if someone can say off-hand that this card won't support GL ES 2.0, then
> that would be the cause. Weston does not have a renderer that would support
> fixed-function GL. Then we could check if there is a way to make the error
> message better.
>
> I suppose 'glxinfo' output from X could give hints of the card capabilities,
> too.
>
> You could try with the weston command line argument --use-pixman, which gets
> you DRM KMS but without OpenGL.</span >
Tanks for the tips:
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P AGP Bridge (rev 02)
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] R200
[
Radeon 9100]
Result of debug:
libGL search for .drirc in $HOME not in /etc. I copied /etc/drirc in
/root/.drirc.
libEGL debug: added egl_dri2 to module array
libEGL debug: the best driver is DRI2
libEGL debug: the value (0x9) of attribute 0x3040 di not meet the criteria
(0x4)
I don't know what this means.
In /usr/lib/xorg/dri there are:
i915_dri.so nouveau_dri.so r300_dri.so radeonsi_dri.so
i965_dri.so nouveau_vieux_dri.so r600_dri.so swrast_dri.so
kms_swrast_dri.so r200_dri.so radeon_dri.so vmwgfx_dri.so
In /usr/lib/xorg/driver there are:
ati_drv.so radeon_drv.so
In /usr/lib/mesa there are:
libEGL.so libGL.so libGLESv1_CM.so libGLESv2.so
libEGL.so.1 libGL.so.1 libGLESv1_CM.so.1 libGLESv2.so.2
libEGL.so.1.0.0 libGL.so.1.2.0 libGLESv1_CM.so.1.1.0 libGLESv2.so.2.0.0
Where I can found the module egl_dri2?
Aniway weston --backend=drm-backend.so --use-pixman work perfectly.
PS:
result of glxinfo | grep render
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/tls/swrast_dri.so
libGL: OpenDriver: trying /usr/lib/xorg/modules/dri/swrast_dri.so
direct rendering: Yes
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
GLX_MESA_multithread_makecurrent, GLX_MESA_query_renderer,
Extended renderer info (GLX_MESA_query_renderer):
OpenGL renderer string: Gallium 0.4 on llvmpipe (LLVM 3.7, 128 bits)
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil,
GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth,
GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp,
GL_OES_fbo_render_mipmap, GL_OES_get_program_binary, GL_OES_mapbuffer,</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>