public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Daniel Pielmeier <daniel.pielmeier@googlemail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] uvesafb fails to work
Date: Mon, 31 Mar 2008 00:51:52 +0200	[thread overview]
Message-ID: <47F01988.5080909@googlemail.com> (raw)
In-Reply-To: <200803302309.51227.michaelkintzios@gmail.com>

Mick schrieb:
> On Sunday 30 March 2008, Daniel Pielmeier wrote:
>> Mick schrieb:
>>> Hi All,
>>>
>>> I've just compiled kernel-2.6.24-gentoo-r3 which comes with uvesa and
>>> thought of using it on a box of mine.  However, amidst other weird and
>>> wonderful errors that the new kernel gives me on this box, I have
>>> completely failed to get uvesafb to work.
>>>
>>> When it boots up it comes up with these errors:
>>> =====================================================
>>> * Setting framebuffer console images
>>> Can't open cfg file //etc/splash/emergence/640x480.cfg
>>> No 8bpp silent picture specified in the theme
>>> No 8bpp verbose picture specified in the theme
>>> * Failed to set background image on tty1
>>> =====================================================
>>>
>>> Meanwhile the penguins and fonts on the boot console are shown in some
>>> impossibly large size.  My kernel line is:
>>>
>>> kernel /kernel-2.6.24-gentoo-r3 root=/dev/sda3 \
>>> video=uvesafb:1280x1024-32@60,ywrap,mtrr:4, \
>>> splash=silent,fadein,theme:emergence quiet CONSOLE=/dev/tty1
>>> initrd /boot/fbsplash-emergence-1280x1024
>>>
>>> Any ideas?
>> Just a shot in the dark are you using any kind of tv-out?
>>
>> I had this problem with tv-out. I specified a resolution of 1280x1024.
>> When I connect my tv to my box the maximal resolution possible is
>> 1024x768 because the tv-encoder does not offer higher resolutions. So
>> instead of switching to the next greatest resolution of 1024x768 the
>> uvesafb driver switches to smallest resolution of 640x480. This
>> resolution is not available in the emergence theme thus the splash fails!
>>
>> If you have a problem like this there are existing patches whto the
>> kernel which are fixing this issue!
>>
>> What does "cat /sys/devices/platform/uvesafb.0/vbe_modes" say?
> 
> Thanks Daniel, I am not using tvout, just a LCD monitor.  You're right, 
> there's no 1280x1024 in the above file!  Changed it to 1024x768 and it works, 
> although the quality of the image is poor (it looks sort of pixelated).
> 
> What controls what resolutions exist in that file?

Output of /usr/src/linux/Documentation/fb/uvesafb.txt

... snip ....

2. Caveats and limitations
--------------------------

uvesafb is a _generic_ driver which supports a wide variety of video
cards, but which is ultimately limited by the Video BIOS interface.
The most important limitations are:

- Lack of any type of acceleration.
- A strict and limited set of supported video modes.  Often the native
   or most optimal resolution/refresh rate for your setup will not work
   with uvesafb, simply because the Video BIOS doesn't support the
   video mode you want to use.  This can be especially painful with
   widescreen panels, where native video modes don't have the 4:3 aspect
   ratio, which is what most BIOS-es are limited to.
- Adjusting the refresh rate is only possible with a VBE 3.0 compliant
   Video BIOS.  Note that many nVidia Video BIOS-es claim to be VBE 3.0
   compliant, while they simply ignore any refresh rate settings.

..... snip .....

4. The sysfs interface
----------------------

uvesafb provides several sysfs nodes for configurable parameters and
additional information.

Driver attributes:

/sys/bus/platform/drivers/uvesafb
   - v86d (default: /sbin/v86d)
     Path to the v86d executable. v86d is started by uvesafb
     if an instance of the daemon isn't already running.

Device attributes:

/sys/bus/platform/drivers/uvesafb/uvesafb.0
   - nocrtc
     Use the default refresh rate (60 Hz) if set to 1.

   - oem_product_name
   - oem_product_rev
   - oem_string
   - oem_vendor
     Information about the card and its maker.

   - vbe_modes
     A list of video modes supported by the Video BIOS along with their
     VBE mode numbers in hex.

   - vbe_version
     A BCD value indicating the implemented VBE standard.

..... snip .....


So this depend on the Video Bios of your card and you maybe can't do 
anything about it!

Although 1280x1024 should normally work and i guess you use this 
resolution for your Desktop. How do you generate your initrd? Which card 
do you have?

"dmesg | grep uvesafb" and "fbset --info -v"?

Regards,

Daniel

-- 
gentoo-user@lists.gentoo.org mailing list



  reply	other threads:[~2008-03-30 22:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-30 19:19 [gentoo-user] uvesafb fails to work Mick
2008-03-30 19:45 ` Daniel Pielmeier
2008-03-30 20:31   ` Matt Edens
2008-03-30 20:32     ` Matt Edens
2008-03-30 22:10       ` Mick
2008-03-31 11:19       ` Ricardo Saffi Marques
2008-03-30 22:09   ` Mick
2008-03-30 22:51     ` Daniel Pielmeier [this message]
2008-04-02 21:33       ` Mick
2008-04-02 22:11         ` Daniel Pielmeier
2008-04-05 17:21           ` Mick
2008-04-05 23:51             ` Daniel Pielmeier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47F01988.5080909@googlemail.com \
    --to=daniel.pielmeier@googlemail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox