svga_helper
Quoted 5 lines · On Tue, 5 Jul 2005 16:09 Jim C. Brown wrote:
...qemu still uses SDL. It does not support svgalib at all.
However, SDL does support svgalib as an output device. Try getting a different SDL and seeing what that does for you. Probably you want to recompile SDL and tell it to support the X output render.
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
Quoted 11 lines · Bob Barry
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.
Quoted 6 lines
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());
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.