LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Setting lilo.conf with my resolution (http://www.linuxquestions.org/questions/slackware-14/setting-lilo-conf-with-my-resolution-745354/)

toledano 08-05-2009 01:28 PM

Setting lilo.conf with my resolution
 
hi,


I want to edit lilo.conf and add vga=xxx for 1680x1050?

now, how do I find out what is the right frame buffer for me to add?
do I need to calculate it myself somehow,is there a list...?

now, when I googled about this subject I found this command :

gtf 1680 1050 60 -f

output :

#
# mode "1680x1050 60.00Hz 32bit (GTF)"
# # PCLK: 147.14 MHz, H: 65.22 kHz, V: 60.00 Hz
# geometry 1680 1050 1680 1050 32
# timings 6796 288 104 33 1 184 3
# hsync low
# vsync high
# endmode

do I I need to add it to /etc/fb.modes ?
is it necessary for my res.(1680x1050) to work ?

thanks

danny.

GrapefruiTgirl 08-05-2009 01:51 PM

http://tldp.org/HOWTO/Framebuffer-HOWTO-5.html#ss5.3

I was not aware (and am not necessarily convinced) that the Linux framebuffer will support a mode greater than 1600x1200, BUT, I did give the link above to the Linux Framebuffer HowTo page, which shows the modes that ARE supported by default.

It says that additional modes may be available depending on the discretion of the hardware manufacturer.

Looking at the table on the HowTo page, what I would do, based on the information there, is start experimenting: try vga=0x0320, then vga=0x321, then vga=0x322, and so on, and see what you get.

Best of luck, and do let us know what you learn, and what hardware it pertains to!

Sasha

PS - I'm curious to know too, as I'd like to boot my own machine at this resolution :)

bloodsugar 08-05-2009 01:59 PM

I think the vga parameter is just for the boot screen and the console, it doesnt affect the screen resolution in X.

there is an option that you can type at the lilo boot prompt, 'vga=ask', which will give you a list of framebuffer modes (thanks Electro).

I set vga=773, which enlarges the bootscreen and the console to a size which I find comfortable. also there are examples in the lilo.conf.

RaptorX 08-05-2009 02:31 PM

Quote:

Originally Posted by bloodsugar (Post 3632670)
I think the vga parameter is just for the boot screen and the console, it doesnt affect the screen resolution in X.

there is an option that you can type at the lilo boot prompt, 'vga=ask', which will give you a list of framebuffer modes (thanks Electro).

I set vga=773, which enlarges the bootscreen and the console to a size which I find comfortable. also there are examples in the lilo.conf.

i guess that you are correct, I changed my settings on lilo, and they only affect the console.

brianL 08-05-2009 02:40 PM

I can usually get optimum resolution by running xorgsetup.

toledano 08-05-2009 02:42 PM

well, I changed with the vga parameter to several values and saw no difference..

maybe because I have an onboard graphic card I cant have a resolution higher then 1024x768...?
I know my screen (22") is up to 1680x1050 but I dont know the max. of my onboard card..

Bruce Hill 08-05-2009 02:56 PM

Sasha, that guide is a bit dated: v1.2, 27 Feb 2000 -- like most of the TLDP ;)

For a bit more updated information try wikipedia

The best I've gotten with vesafb on my monitor where X runs at 1680x1050 is vga=795 (1280x1024)

There is a HOW-TO in this forum by Daedra using uvesafb, where he gets a 1680x1050 console framebuffer (I saw the video).


When you change anything in /etc/lilo.conf, you MUST run "lilo" as root to save it.

GrapefruiTgirl 08-05-2009 03:05 PM

Quote:

Originally Posted by Bruce Hill (Post 3632742)
Sasha, that guide is a bit dated: v1.2, 27 Feb 2000 -- like most of the TLDP ;)

For a bit more updated information try wikipedia

The best I've gotten with vesafb on my monitor where X runs at 1680x1050 is vga=795 (1280x1024)

There is a HOW-TO in this forum by Daedra using uvesafb, where he gets a 1680x1050 console framebuffer (I saw the video).


When you change anything in /etc/lilo.conf, you MUST run "lilo" as root to save it.

Thanks very much for pointing that out Bruce! As is often the case, Googling for documentation brings up OLD stuff, and many different instances of it. I did not check the date on that article ;)

I'm not so driven for the large boot resolution that I'd install something weird/not-well-tested (uvesafb?) just to get past 1280x1024 or whatever it is that I boot at now, but I will definitely be looking at the links you gave-- as I said, I *am* curious O.o

Cheers,
Sasha

GrapefruiTgirl 08-05-2009 03:09 PM

And, @ toledano, if it is the Graphical Desktop Environment where you are wanting to set up your 1680x1050 screen resolution, the discussion thus far in this thread is not addressing that. The options in lilo.conf (or grub or whatever) do not have any bearing on what resolution you will get on the desktop; they are ONLY for the framebuffer that you see while your machine is booting.

You need to look for info (there's tonnes of it here on LQ) about setting up your xorg.conf by one of the many ways, tools, etc.

Sasha

PS - I would try Googling your video device, go to the manufacturers website or other technical review site where you can get the specifications of your device, which will tell you what resolutions you can possibly get out of it. THEN, work on setting up your Xorg (the Desktop Environment) to get the best mode you can.

toledano 08-05-2009 03:31 PM

Thanks, I`ll look into it.

Thanks for the fast responses..

Bruce Hill 08-05-2009 03:47 PM

Quote:

Originally Posted by GrapefruiTgirl (Post 3632756)
I'm not so driven for the large boot resolution that I'd install something weird/not-well-tested (uvesafb?) just to get past 1280x1024 or whatever it is that I boot at now, but I will definitely be looking at the links you gave-- as I said, I *am* curious O.o

Cheers,
Sasha

That was my conclusion when Daedra first posted it a year ago. Things might
have changed, but I haven't checked the latest to know myself. At the time I
didn't think the hacks were worth the framebuffer. Maybe I'll rebuild my
kernel and use uvesafb, since it's in the kernel now, and see how it looks.

toledano:

You set the screen resolution for X in /etc/X11/xorg.conf. However, with the
X.Org server in Slackware -current, which will be in Slackware-13.0 when it
comes out in a couple of weeks, you won't need to set that anymore. It will
find the value for you, though you will need a section for proprietary drivers,
such as the nVidia driver.

What you set in /etc/lilo.conf is just for the framebuffer console ... what you
see when Slackware is booting, or if you drop back to console. Once you start the
X window system, that is not used.


All times are GMT -5. The time now is 09:19 PM.