<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#c9">Comment # 9</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:ppaalanen@gmail.com" title="Pekka Paalanen <ppaalanen@gmail.com>"> <span class="fn">Pekka Paalanen</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=82748#c7">comment #7</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=82748#c5">comment #5</a>)
> > Your Weston under X11 output looks like a Mesa issue. Are you able to run
> > any OpenGL applications on EGL on X11?
> I presume the following tests with es2gears_x11 are using EGL, right?</span >
Yes, AFAIK EGL is the only way to create a GLESv2 context.
<span class="quote">> > In the same environment you tried to run Weston on X11 in: can you post the
> > output of es2_info from mesa-demos, and check that es2tri and es2gears_x11
> > work fine?
> I attached the output of es2_info. es2tri and es2gears_x11 open a window and
> display a color triangle, respectively the rotating gears. glxgears works as
> well.
>
> > I assume OpenGL apps on GLX work just fine?
> If glxgears is enough to verify that, then yes.</span >
Yup, all seems good there. And you are sure that in the same shell, without
changing any environment variables between Weston and running the mesa-demos,
Weston fails somehow but the mesa-demos and glxgears work fine?
<span class="quote">> > Have you ever built and installed Mesa manually, from source?
> I think so, but I don’t think any artifacts of that remain. I verified that
> no files matching *mesa* or *dri* are in /usr/local. Also, none of the paths
> in the weston output contain /usr/local.</span >
I was more thinking of the traditional problem of overwriting your distribution
files with manually built files, but good to check that /usr/local is clean.
And your $prefix is clean too?
Also, Mesa does provide more than just *mesa* or *dri*, it provides e.g.
libEGL.so.
<span class="quote">> > Does rebuilding Weston with --with-cairo=image added to configure change
> > anything?
> Indeed, when adding --with-cairo=image, I can run weston under X11 (haven’t
> tried it under DRM). I’ve attached the log output so that you can compare.</span >
Ok.
(In reply to <a href="show_bug.cgi?id=82748#c8">comment #8</a>)
<span class="quote">> Created <span class=""><a href="attachment.cgi?id=104828" name="attach_104828" title="weston log output under X11 when passing --with-cairo=image to configure">attachment 104828</a> <a href="attachment.cgi?id=104828&action=edit" title="weston log output under X11 when passing --with-cairo=image to configure">[details]</a></span>
> weston log output under X11 when passing --with-cairo=image to configure</span >
I cannot spot anything bad here. Is something still failing or black with
Weston-on-X11 or is it totally fine?
Do try weston-launch without X, and remember to set all the environment as
usual. If you still get a black screen, but Wayland apps appear as if they run
when you start them over ssh, could you do over ssh with all the env set up:
$ WAYLAND_DEBUG=1 ./weston-simple-shm &> log-file.txt
let it run for a couple of seconds, kill it with ctrl-c, and post the resulting
log file. Also 'dmesg' just after a fresh boot would be nice.
Thanks.</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>