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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Aug 18 23:34:20 PDT 2014


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

--- Comment #9 from Pekka Paalanen <ppaalanen at gmail.com> ---
(In reply to comment #7)
> (In reply to comment #5)
> > 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?

Yes, AFAIK EGL is the only way to create a GLESv2 context.

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

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?

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

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.

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

Ok.

(In reply to comment #8)
> Created attachment 104828 [details]
> weston log output under X11 when passing --with-cairo=image to configure

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.

-- 
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/20140819/3b19c478/attachment.html>


More information about the Wayland-bugs mailing list