LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-05-2009, 01:28 PM   #1
toledano
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Rep: Reputation: 15
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.
 
Old 08-05-2009, 01:51 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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

Last edited by GrapefruiTgirl; 08-05-2009 at 01:54 PM.
 
Old 08-05-2009, 01:59 PM   #3
bloodsugar
Member
 
Registered: May 2009
Posts: 36

Rep: Reputation: 18
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.

Last edited by bloodsugar; 08-05-2009 at 02:01 PM.
 
Old 08-05-2009, 02:31 PM   #4
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
Quote:
Originally Posted by bloodsugar View Post
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.
 
Old 08-05-2009, 02:40 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
I can usually get optimum resolution by running xorgsetup.
 
Old 08-05-2009, 02:42 PM   #6
toledano
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Original Poster
Rep: Reputation: 15
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..
 
Old 08-05-2009, 02:56 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
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.
 
Old 08-05-2009, 03:05 PM   #8
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by Bruce Hill View Post
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
 
Old 08-05-2009, 03:09 PM   #9
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
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.

Last edited by GrapefruiTgirl; 08-05-2009 at 03:11 PM.
 
Old 08-05-2009, 03:31 PM   #10
toledano
LQ Newbie
 
Registered: Dec 2008
Posts: 24

Original Poster
Rep: Reputation: 15
Thanks, I`ll look into it.

Thanks for the fast responses..
 
Old 08-05-2009, 03:47 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally Posted by GrapefruiTgirl View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cent OS install on an Optiplex 320... installed lilo... need help with lilo.conf hcervan Linux - Newbie 7 01-18-2008 08:07 AM
setting up lilo.conf for udev (etch upgrade) sdoerr Debian 0 04-25-2007 05:55 AM
Switching from grub to lilo, messed up Lilo.conf, rescuing via Knoppix. SonicGT Debian 2 08-21-2005 01:15 PM
Setting Up Lilo.conf xanimal Linux - General 1 07-14-2004 08:23 PM
lilo.conf and lilo.conf.anaconda difference blackzone Linux - General 1 07-06-2004 03:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration