Bug 75442

Summary: weston-launch screws up console printouts
Product: Wayland Reporter: Pekka Paalanen <ppaalanen>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTABUG QA Contact:
Severity: minor    
Priority: medium CC: andrew.e.7327
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Pekka Paalanen 2014-02-24 12:56:21 UTC
The easiest way to see the problem is to do on a VT:
$ weston-launch -- --help

I would expect that to print Weston's help text, but it seems to print one line of garbage in the middle of my bash prompt.

If I redirect stdout and stderr to a file, the file gets the correct printouts.

I assume weston-launch is changing the console modes such that printing gets scrambled. I wonder if this is even fixable. It also prevents seeing weston backtraces on the console if weston crashes.

Tested with the latest git revision.
Comment 1 Pekka Paalanen 2014-02-24 13:59:41 UTC
Thanks to mceier, a new hint:

$ clear; weston-launch -- --help

works just fine fine, although it does not print enough lines to trigger scrolling. So it's something about scrolling broken?
Comment 2 Kristian Høgsberg 2014-04-03 17:20:37 UTC
Once we switch the VT to KD_GRAPHICS mode, the console stops working.  X has the same problem if you start it with the -keeptty option.  To keep logs pipe stderr to a file.
Comment 3 Pekka Paalanen 2014-07-23 12:35:14 UTC
*** Bug 81311 has been marked as a duplicate of this bug. ***

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.