* Valmor de Almeida (val.gen...@gmail.com) [20.04.09 22:29]:
> Sebastian Günther wrote:
> 
> > 
> > This is the hint: intelfb can't change the video mode. But intelfb can 
> > be used if you /also/ add a vga to the kernel command line. I will post 
> > mine as an example:
> > 
> > kernel /boot/vmlinuz root=/dev/ram0 real_root=/dev/mapper/system-slash \
> >  ro resume=swap:/dev/mapper/system-swap vga=0x318 quiet \
> >  video=intelfb:1024x768...@60,mttr,noaccel,hwcursor,vram=4 \
> >  splash=silent,theme:natural_gentoo console=tty1 
> 
> Am I understanding this correctly? vga=0x318 means 1024x768...@60. Your 
> line calls intelfb with almost the same mode except at 32-bit pixel 
> depth instead of 24. Is this the only change intelfb will make to the 
> video mode? or you end up with 1024x768...@60 anyway?
> 

vga parameter has a /colour/ depth of 24 bits and 32 bits per pixels

To clarify colour depth and bits per pixel, from man xorg.conf:

Depth  depth
  This entry specifies what colour depth the Display subsection is to be used 
for.
  This entry is usually specified, but it may be omitted  to create  a  
match-all
  Display  subsection  or  when wishing to match only against the FbBpp 
parameter.
  The range of depth values that are allowed depends on the driver.  Most  
drivers
  support  8,  15,  16 and 24.  Some also support 1 and/or 4, and some may 
support
  other values (like 30).  Note: depth means the number of bits in  a  pixel  
that
  are actually used to determine the pixel colour.  32 is not a valid depth 
value.
  Most hardware that uses 32 bits per pixel only uses  24 of  them  to  hold  
the
  colour information, which means that the colour depth is 24, not 32.

> It seems that the mode option of intelfb does not do anything and the 
> mode needs to be set with vga which has specific values.
> 

intelfb is not able to to change the resolution, vga is. With KVM this 
may have changed, but I didn't had the time to test 2.6.29.

> Thanks,
> 
> --
> Valmor
> 
> 

Sebastian

-- 
 " Religion ist das Opium des Volkes. "  |   _   ASCII ribbon campaign 
                              Karl Marx  |  ( )   against HTML e-mail  
 s...@sti@N GÜNTHER                       |   X   against M$ attachments
      mailto:sam...@guenther-roetgen.de  |  / \   www.asciiribbon.org  

Attachment: pgpYxi6WCoGK5.pgp
Description: PGP signature

Reply via email to