Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[gentoo-user] uvesafb and screen resolution

104 views
Skip to first unread message

Ricardo Saffi Marques

unread,
Mar 25, 2008, 4:00:16 PM3/25/08
to
On Tue, Mar 25, 2008 at 4:42 PM, Sergey Kobzar <tod....@gmail.com> wrote:
uvesafb works nice.

Can anyone help me with the following?
Do any of you know how to make uvesafb (that replaces the old vesafb-tng) set to a pre-defined resolution?
What I mean is that with vesafb-tng I used to set like: "1440x900@60" as fb settings and then, during boot, while kernel was loading, when it passed through that "instruction", it would start using the console with those fb settings and the penguins on the top. Then the penguins disappear and I had a great text console @ 1440x900.
I remeber putting the exact string 1440x900@60 when building my kernel on the vesafb page. Now with uvesafb I don't get that option and my text console has a horrible resolution. A simple "lspci" will generate text long enough for a line to break.
Anyone?

Regards,

Saffi

--
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com

Alexander Meinke

unread,
Mar 25, 2008, 4:40:11 PM3/25/08
to
Hi.

Try to determine possible resolutions by typing "hwinfo --framebuffer". Use the
hex code 0x... and put it as kernel parameter in your grub.conf.

For 1400x1050 with kernel 2.6.24-r3 I am using the following lines:

title Gentoo GNU/Linux (gentoo-sources-2.6.24-r3)
root (hd0,1)
kernel /gentoo-sources-2.6.24-r3 root=/dev/sda5 vga=0x344


Regards,

acm.

signature.asc

Alexander Meinke

unread,
Mar 25, 2008, 4:50:06 PM3/25/08
to
Ale wrote:
> 2008/3/25, Alexander Meinke <ame...@online.de <mailto:ame...@online.de>>:
> *
> *
>
> Are you guys using uvesafb in the latest gentoo sources kernel? because
> i dont have the option to choose this one..i am using vesa

Yes I am using gentoo-sources. I think since kernel 2.6.23 (or maybe 2.6.24)
there is only uvesafb - nothing else to choose. uvesafb replaced vesafb-tng.


Greets,

acm.

signature.asc

Ale

unread,
Mar 25, 2008, 4:50:08 PM3/25/08
to
2008/3/25, Alexander Meinke <ame...@online.de>:

Ricardo Saffi Marques

unread,
Mar 25, 2008, 5:10:09 PM3/25/08
to
On Tue, Mar 25, 2008 at 5:37 PM, Alexander Meinke <ame...@online.de> wrote:
Try to determine possible resolutions by typing "hwinfo --framebuffer". Use the
hex code 0x... and put it as kernel parameter in your grub.conf.

Okay, *that* I didn't know. :-)
I do know 1440x900 is a supported resolution on my machines since it's the native resolution of their screen's.
 
For 1400x1050 with kernel 2.6.24-r3 I am using the following lines:
title Gentoo GNU/Linux (gentoo-sources-2.6.24-r3)
root (hd0,1)
kernel /gentoo-sources-2.6.24-r3 root=/dev/sda5 vga=0x344

So after the change from the vesafb-tng to the actual uvesafb on the kernel, it actually IS necessary to use the "vga=something" trick on the boot line, then?
I'll do it and tell the results.

Thanks a lot, Alexander!

Best regards,

Saffi

Ian Lee

unread,
Mar 25, 2008, 7:00:27 PM3/25/08
to

i always thought vga= was only used by the old vesafb driver
i use video=uvesafb:1024x768-32
i cant get any wide screen modes to work at all, anybody else know how??
--
gento...@lists.gentoo.org mailing list

Ricardo Saffi Marques

unread,
Mar 25, 2008, 7:10:10 PM3/25/08
to
On Tue, Mar 25, 2008 at 7:53 PM, Ian Lee <i...@leehouse.eclipse.co.uk> wrote:
i always thought vga= was only used by the old vesafb driver
i use video=uvesafb:1024x768-32
i cant get any wide screen modes to work at all, anybody else know how??

Nice, new thoughts being added to the discussion. That's good!! Let's keep the brainstorm. :-)
Any ideas?

--
Ricardo Saffi Marques
Laboratório de Administração e Segurança de Sistemas (LAS/IC)
Universidade Estadual de Campinas (UNICAMP)
Cell: +55 (19) 8128-0435
Skype: ricardo_saffi_marques
Website: http://www.rsaffi.com

Chuanwen Wu

unread,
Mar 25, 2008, 10:20:06 PM3/25/08
to
On Wed, Mar 26, 2008 at 3:55 AM, Ricardo Saffi Marques
<sa...@las.ic.unicamp.br> wrote:
> On Tue, Mar 25, 2008 at 4:42 PM, Sergey Kobzar <tod....@gmail.com> wrote:
>
> > uvesafb works nice.
>
> Can anyone help me with the following?
> Do any of you know how to make uvesafb (that replaces the old vesafb-tng)
> set to a pre-defined resolution?
May be you want this guide http://dev.gentoo.org/~spock/projects/uvesafb/

--
wcw
--
gento...@lists.gentoo.org mailing list

Alexander Meinke

unread,
Mar 26, 2008, 5:20:11 AM3/26/08
to
Ian Lee wrote:
> i always thought vga= was only used by the old vesafb driver
> i use video=uvesafb:1024x768-32
> i cant get any wide screen modes to work at all, anybody else know how??

Did you tried to find out what resolutions are supported by your graphic card
(e.g. hwinfo --framebuffer)? I only know this tool to get the necessary hex code.
So I don't really know if the vga= option works with uvesafb too.
I have to correct my statement that I am using uvesafb. It seems that I am using
vesafb. This is because I don't want either any additional userspace application
(v86d) nor bootsplash etc.


acm.

signature.asc

Peter Humphrey

unread,
Mar 27, 2008, 6:20:08 AM3/27/08
to
On Tuesday 25 March 2008 20:42:47 Ale wrote:

> Are you guys using uvesafb in the latest gentoo sources kernel? because
> i dont have the option to choose this one..i am using vesa

You have to select Connector - unified userspace <-> kernelspace linker in
the Device Drivers page. Then you will have uvesafb available for
selection.

It seems that you also need v86d installed, and start with an initramfs with
that in it, though I haven't yet finished working this out for myself.

--
Rgds
Peter
--
gento...@lists.gentoo.org mailing list

Ale

unread,
Mar 27, 2008, 9:50:12 AM3/27/08
to
2008/3/27, Peter Humphrey <pe...@humphrey.ukfsn.org>:
 Yes! that was my problem. When i did this i follow gentoo wiki's tutorial, but this part is not there, yesterday i check the official web and i see this part, now is working great! Many thanks!.
I have a n old notebook with a intel video chipset (810) should i use the intelfb instead of uvesafb?

BTW: Is there any chance to avoid to see my background images when the kernel end load and just before kdm start? I get the image i choose two times...and it would be great if i just keep a dark screen or somethinf similar.


Many thanks,
Cheers!

Chris Brennan

unread,
Mar 27, 2008, 12:50:07 PM3/27/08
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

have you tried vga=ask ?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH68698hUIAnGfls4RAj9HAJ9LdjRvAwW+DZAu5OrdbNBGO6c0tQCeMuS5
cMwBndcvDThMFz/4CngdHBI=
=wT9b
-----END PGP SIGNATURE-----
--
gento...@lists.gentoo.org mailing list

Ricardo Saffi Marques

unread,
Mar 27, 2008, 1:00:18 PM3/27/08
to
On Thu, Mar 27, 2008 at 1:43 PM, Chris Brennan <xa...@xaerolimit.net> wrote:
have you tried vga=ask ?

I did try that. But it suggests many different things. None of them works as I want it to  (or as vesafb-tng would when I set up the resolution by myself on the kernel config). And worse: for me to try every option vga=ask provide me, there are several reboots. So...
0 new messages