From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZDFE-0001RH-M7 for qemu-devel@nongnu.org; Tue, 18 Dec 2018 06:09:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZD5L-0004S3-DL for qemu-devel@nongnu.org; Tue, 18 Dec 2018 05:58:50 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58978) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gZD5L-0004Rd-3u for qemu-devel@nongnu.org; Tue, 18 Dec 2018 05:58:47 -0500 Date: Tue, 18 Dec 2018 10:58:39 +0000 From: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= Message-ID: <20181218105839.GD22638@redhat.com> Reply-To: Daniel =?utf-8?B?UC4gQmVycmFuZ8Op?= References: <20180321140654.7h3nkkdlztu6mtrq@sirius.home.kraxel.org> <20181217150028.GL30264@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] Monitor and serial output window broken with SDL2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: BALATON Zoltan Cc: Gerd Hoffmann , qemu-devel@nongnu.org On Mon, Dec 17, 2018 at 10:57:14PM +0100, BALATON Zoltan wrote: > On Mon, 17 Dec 2018, Daniel P. Berrang=C3=A9 wrote: > > On Mon, Dec 17, 2018 at 03:56:49PM +0100, BALATON Zoltan wrote: > > > On Wed, 21 Mar 2018, BALATON Zoltan wrote: > > > > On Wed, 21 Mar 2018, Gerd Hoffmann wrote: > > > > > > while the serial output seems to be behind the monitor output= in the window > > > > > > opening with Ctrl+Alt+2 and flashes when I type in this windo= w. (This > > > > > > doesn't seem to happen with qemu-system-x86_64, maybe that's = why > > > > > > it was not catched.) > > > > >=20 > > > > > Doesn't reproduce too. It's also not clear why x86_64 should b= ehave > > > > > different that ppc. There is no arch-specific code ui/, so the= re should > > > > > be no difference, exept for hardware like paralle ports which a= re not > > > > > supported by all machine types. > > > > >=20 > > > > > Any chance you have tested an old ppc binary? > > > >=20 > > > > Not likely because I did make distclean and a clean build before = testing > > > > to avoid any possible mismatch. It still does not work for me tho= ugh. > > > > While > > >=20 > > > I still have this problem after updating everything on my machine, = latest > > > QEMU and SDL 2.0.9 so it's not likely to be a bug in some external > > > component. If I just start qemu-system-ppc (compiled with --disable= -gtk) and > > > try to open monitor console with Ctrl-Alt-2 I see QEMU monitor but = when I > > > type in this window the serial output window contents flash in this= window. > > > At the same time the window that opens for Ctrl-Alt-3 which should = have the > > > serial output is empty. It looks like an index may be off somewhere= or > > > window contents are not associated with the right window but I have= no idea > > > where to look for it. Can you reproduce it now and do you have any = idea what > > > could cause this? > >=20 > > Could you share an example command line which can be used to reproduc= e > > the problem. >=20 > As I wrote above ust "qemu-system-ppc" without any options reproduces t= he > problem here. I don't have any luck reproducing the behaviour you describe. Built todays git master with =20 ./configure --target-list=3Dx86_64-softmmu,ppc-softmmu --disable-gtk then ./ppc-softmmu/qemu-system-ppc -sdl pops up the main SDL window with primary VGA showing firmware output. I can then Ctrl-Alt-2 to popup monitor console, and Ctrl-Alt-3/4 to popup serial & parallel console. The serial console has some input in it, and the monitor console responds normally without affecting any other windows. Can you provide further information about your host architecture, and your host OS distro, and whether you gave any other special options to configure or qemu-system-ppc The only annoyance is that the serial & parallel console windows get placed directly on top of the monitor console window instead of letting the window manager place them in a sensible place. Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|