<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - permanently black screen on ThinkPad X200"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82748#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - permanently black screen on ThinkPad X200"
href="https://bugs.freedesktop.org/show_bug.cgi?id=82748">bug 82748</a>
from <span class="vcard"><a class="email" href="mailto:michael+freedesktop@stapelberg.de" title="Michael Stapelberg <michael+freedesktop@stapelberg.de>"> <span class="fn">Michael Stapelberg</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=82748#c13">comment #13</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=82748#c12">comment #12</a>)
> > (In reply to <a href="show_bug.cgi?id=82748#c11">comment #11</a>)
> > > Michael, that sounds a bit strange to me. I do not know what is packaged in
> > See <a href="https://packages.debian.org/jessie/amd64/libgl1-mesa-glx/filelist">https://packages.debian.org/jessie/amd64/libgl1-mesa-glx/filelist</a> for
> > the list of files — both contain libGL.so.1
>
> So you were swapping between two flavours of libGL.so.1?</span >
Correct.
<span class="quote">> I can't make sense of that, because Weston never uses it. Weston uses
> libEGL.so and libGLESv2.so.
>
> However, if you built weston using --with-cairo=gl, then all the demo apps,
> the one drawing the wallpaper and panel included, would indeed be trying to
> use libGL.so through Cairo. Did you do that?</span >
I was using the Debian weston package, which indeed does that, see
<a href="http://sources.debian.net/src/weston/1.5.0-2/debian/rules/">http://sources.debian.net/src/weston/1.5.0-2/debian/rules/</a>:
"""
override_dh_auto_configure:
dh_auto_configure -- --disable-libunwind --libexec=/usr/lib/weston \
--with-cairo=gl --enable-libinput-backend
"""
Would it be advisable to not do that at all for some reason?
<span class="quote">> If that was the culprit, then weston-simple-shm should have showed up on
> screen in any case. Did you ever try that app?</span >
I re-installed libgl1-mesa-swx11, started weston-launch on the VT and got a
black screen. Then I ran weston-simple-shm, and I can see a quadratic window
which contains some animated colored circles, so I think that’s a successful
test.
<span class="quote">> If that app does indeed show up when everything else is just black, then
> there is no problem in Weston, and nothing to fix in Weston itself, because
> it is running just fine.</span >
Hm, but doesn’t Weston draw the panel at the top part of the screen where one
can start e.g. a terminal emulator? If that does not show up, isn’t that a bug
in Weston?
<span class="quote">> > From the package description of libgl1-mesa-swx11 (built from the mesa
> > source package):
> > This library provides a pure software rasteriser; it does not provide
> > a direct rendering-capable library, or one which uses GLX. For that,
> > please see libgl1-mesa-glx.
>
> Sounds like you would need a pretty special use case to want
> libgl1-mesa-swx11. It probably maps to some special build configuration of
> Mesa that people using GPUs will never use.</span >
>From <a href="http://sources.debian.net/src/mesa/10.2.5-1/debian/rules/">http://sources.debian.net/src/mesa/10.2.5-1/debian/rules/</a>
"""
confflags-swx11 = \
--disable-dri \
--disable-egl \
--with-gallium-drivers= \
--enable-xlib-glx \
--disable-egl \
--disable-shared-glapi \
$(buildflags)
"""</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>