[Wayland-bugs] [Bug 82748] permanently black screen on ThinkPad X200

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 21 00:22:29 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=82748

--- Comment #14 from Michael Stapelberg <michael+freedesktop at stapelberg.de> ---
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #11)
> > > Michael, that sounds a bit strange to me. I do not know what is packaged in
> > See https://packages.debian.org/jessie/amd64/libgl1-mesa-glx/filelist for
> > the list of files — both contain libGL.so.1
> 
> So you were swapping between two flavours of libGL.so.1?
Correct.

> 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?
I was using the Debian weston package, which indeed does that, see
http://sources.debian.net/src/weston/1.5.0-2/debian/rules/:

"""
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?

> If that was the culprit, then weston-simple-shm should have showed up on
> screen in any case. Did you ever try that app?
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.

> 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.
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?

> > 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.
>From http://sources.debian.net/src/mesa/10.2.5-1/debian/rules/

"""
confflags-swx11 = \
    --disable-dri \
    --disable-egl \
    --with-gallium-drivers= \
    --enable-xlib-glx \
    --disable-egl \
    --disable-shared-glapi \
    $(buildflags)
"""

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140821/c1d0677d/attachment.html>


More information about the Wayland-bugs mailing list