[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fbdev requirement of qemu



On Sat, Jul 12, 2008 at 11:45:24AM +0200, Richard Möhn wrote:
> On Wed, Jul 09, 2008 at 06:02:31PM -0700, PETER EASTHOPE wrote:
> > I've installed qemu, xserver-xorg-video-fbdev and libggi-target-fbdev 
> > and tried to boot an image.
> > 
> > qemu -m 40 -boot d -cdrom /home/peter/Desk*/AosCD.iso
> > 
> > This error report ensues.
> >      =======================|  DirectFB 1.0.1  |=======================
> >           (c) 2001-2007  The DirectFB Organization (directfb.org)
> >           (c) 2000-2004  Convergence (integrated media) GmbH
> >         ------------------------------------------------------------
> > 
> > (*) DirectFB/Core: Single Application Core. (2008-05-15 14:24) 
> > (!) Direct/Util: opening '/dev/fb0' and '/dev/fb/0' failed
> >     --> No such file or directory
> > (!) DirectFB/FBDev: Error opening framebuffer device!
> > (!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
> > (!) DirectFB/Core: Could not initialize 'system' core!
> >     --> Initialization error!
> > Could not initialize SDL - exiting
> > ========================================
> > 
> > qemu has no 'fbdev' option that I can see.
> > Is another package needed to make fbdev work?
> > 
> > Thanks for any ideas,             ... Peter E.
> > 
> 
> Say me the resolution and colour depth of your screen and I say you
> what to add after vga= to the kernel line of your /boot/grub/menu.lst.
> 
> Nice greetings
> 
> Richard
> 
Ok, since I cannot answer soon if you will not reply today I have
installed hwinfo and that printed this list to me:

  Mode 0x0300: 640x400 (+640), 8 bits
  Mode 0x0301: 640x480 (+640), 8 bits
  Mode 0x0303: 800x600 (+800), 8 bits
  Mode 0x0305: 1024x768 (+1024), 8 bits
  Mode 0x0307: 1280x1024 (+1280), 8 bits
  Mode 0x030e: 320x200 (+640), 16 bits
  Mode 0x030f: 320x200 (+1280), 24 bits
  Mode 0x0311: 640x480 (+1280), 16 bits
  Mode 0x0312: 640x480 (+2560), 24 bits
  Mode 0x0314: 800x600 (+1600), 16 bits
  Mode 0x0315: 800x600 (+3200), 24 bits
  Mode 0x0317: 1024x768 (+2048), 16 bits
  Mode 0x0318: 1024x768 (+4096), 24 bits
  Mode 0x031a: 1280x1024 (+2560), 16 bits
  Mode 0x031b: 1280x1024 (+5120), 24 bits
  Mode 0x031d: 640x400 (+1280), 16 bits
  Mode 0x031e: 640x400 (+2560), 24 bits
  Mode 0x0320: 1600x1200 (+1600), 8 bits
  Mode 0x0322: 1600x1200 (+3200), 16 bits
  Mode 0x0324: 1600x1200 (+6400), 24 bits
  Mode 0x032a: 640x480 (+1920), 24 bits
  Mode 0x032b: 800x600 (+2400), 24 bits
  Mode 0x032c: 1024x768 (+3072), 24 bits
  Mode 0x032d: 1280x1024 (+3840), 24 bits
  Mode 0x032e: 320x200 (+320), 8 bits
  Mode 0x0331: 320x240 (+320), 8 bits
  Mode 0x0333: 320x240 (+640), 16 bits
  Mode 0x0334: 320x240 (+1280), 24 bits
  Mode 0x033b: 1400x1050 (+1400), 8 bits
  Mode 0x033c: 1400x1050 (+2800), 16 bits
  Mode 0x033e: 1400x1050 (+5600), 24 bits
  Mode 0x0341: 400x300 (+400), 8 bits
  Mode 0x0343: 400x300 (+800), 16 bits
  Mode 0x0344: 400x300 (+1600), 24 bits
  Mode 0x0351: 512x384 (+512), 8 bits
  Mode 0x0353: 512x384 (+1024), 16 bits
  Mode 0x0354: 512x384 (+2048), 24 bits
  Mode 0x0371: 720x480 (+720), 8 bits
  Mode 0x0373: 720x480 (+1440), 16 bits
  Mode 0x0374: 720x480 (+2160), 24 bits
  Mode 0x0375: 720x480 (+2880), 24 bits
  Mode 0x0376: 720x576 (+720), 8 bits
  Mode 0x0378: 720x576 (+1440), 16 bits
  Mode 0x0379: 720x576 (+2160), 24 bits
  Mode 0x037a: 720x576 (+2880), 24 bits

So you have to add the value beginning with "0x" that matches to your video
settings to the kernel line in the /boot/grub/menu.lst.

Richard


Reply to: