From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrgYr-00064f-PS for qemu-devel@nongnu.org; Sun, 10 Jul 2005 14:29:53 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrgUC-00058k-Te for qemu-devel@nongnu.org; Sun, 10 Jul 2005 14:25:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrgU8-00050E-8q for qemu-devel@nongnu.org; Sun, 10 Jul 2005 14:25:00 -0400 Received: from [128.8.10.162] (helo=po0.wam.umd.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrgHO-0001pt-K6 for qemu-devel@nongnu.org; Sun, 10 Jul 2005 14:11:50 -0400 Date: Sun, 10 Jul 2005 14:03:07 -0400 From: "Jim C. Brown" Subject: Re: [Qemu-devel] re: svga_helper Message-ID: <20050710180307.GA21819@jbrown.mylinuxbox.org> References: <200507101643.54667.bobb@absamail.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200507101643.54667.bobb@absamail.co.za> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: bobb@absamail.co.za, qemu-devel@nongnu.org On Sun, Jul 10, 2005 at 04:43:54PM +0000, Bob Barry wrote: > That sounds spot on. But it doesn't work. The cause of the problem was updating > all packages (Gentoo "emerge world") which wiped my qemu-friendly sdl. I've > tried installing sdl-1.2.7 and sdl-1.2.8, with both the Gentoo installer and by > "./configure, make, make install", with x specifically enabled. When I try to run qemu > after compiling sdl with svgalib disabled, it complains "can't start sdl, exiting". When I > try to run qemu after compiling sdl with svgalib enabled, it complains "can't find svgalib-helper". > It never recognizes the availability of X. But after every compile of sdl, both with and > without svgalib enabled, I checked that applications in the SDL-1.2.8/test directory would > run - and they always use X and run beautifully. It seems like something in the qemu > "SDL-starter" is demanding svgalib. > > Suggestions would be appreciated. > > Thanks, > > Bob Barry > Sounds similar to an issue I've heard where those trying to get SDL to work with the framebuffer cant because SDL demands X11. I recommend compiling SDL w/o svgalib support, and then modifying sdl.c to report the error. Specificly, change sdl_display_init so this line fprintf(stderr, "Could not initialize SDL - exiting\n"); becomes this line fprintf(stderr, "Could not initialize SDL - %s\n", SDL_GetError()); -- Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.