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 02-10-2006, 01:07 AM   #1
gregben
LQ Newbie
 
Registered: Feb 2006
Location: San Diego, CA
Posts: 7

Rep: Reputation: 0
understanding vesa console


Hi all,

Installed Slack 10.2 yesterday on a Asus P4P800SE w Celeron 2.4GHz, 1GB RAM,
80GB Sata HD and Nvidia FX5200 graphics card.
I've got a 19" 1280x1024 LCD monitor attached via DVI.

I'm not using X at all.

I was able to get the VESA console to work at 1280x1024x16bpp
by editing /etc/lilo.conf.
It looks FAR better this way than at any other resolution because
it's being driven at the LCD's native resolution and framerate (60 Hz.)

Problem is the screen is set for 63 lines of text and the topmost line is partially
chopped off (top half of characters in first line) when the screen is
adjusted so the bottom line looks good. It is not possible to readjust
the screen scaling because I'm using the DVI interface (and don't want to use
the analog interface). I can shift the image up/down/left/right but not
resize it like you can on a CRT. This makes sense because there is a 1:1 mapping
of pixels from the video card to the screen, and to allow scaling would make the
characters fuzzy.

What I want to do is learn how the console is set up and controlled so I can reduce
the number of lines to 62 or less.

Is there a FAQ or manpage that explains the VESA console?
 
Old 02-10-2006, 08:51 AM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
have you read
/usr/doc/Linux-HOWTOs/Framebuffer-HOWTO
 
Old 02-10-2006, 09:42 AM   #3
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
I have a 19" LCD, and a VGA console. But, I'm only running it at 1024x768@16. I have to use the auto ajust button to get it to work right.
What's the model of your LCD Monitor?
 
Old 02-10-2006, 10:30 AM   #4
gregben
LQ Newbie
 
Registered: Feb 2006
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by kodon
have you read
/usr/doc/Linux-HOWTOs/Framebuffer-HOWTO
Thanks.

I had found pieces of this document via google, but not the whole
thing.

This is how I figured out I needed to set

vga = 794

in /etc/lilo.conf to set the mode to 1280x1024@16bpp/60Hz.

I will read /usr/doc/Linux-HOWTOs/Framebuffer-HOWTO
carefully and see what I can glean from it.
 
Old 02-10-2006, 10:45 AM   #5
gregben
LQ Newbie
 
Registered: Feb 2006
Location: San Diego, CA
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Dankles
I have a 19" LCD, and a VGA console. But, I'm only running it at 1024x768@16. I have to use the auto ajust button to get it to work right.
What's the model of your LCD Monitor?
It is a Princeton VL1918. I also have a Samsung Syncmaster 930B and it behaves similarly.
Both are 1280x1024@60Hz native resolution.

The important thing is that you drive your monitor at its native resolution.
This is not an issue with CRTs because they don't have a native resolution for the most
part. With an LCD, there is one, and only one resolution that gives you razor sharp,
contrasty images. For 19" models that is usually 1280x1024.

Furthermore, unlike CRTs which need to be refreshed at 70Hz. or more to avoid annoying
flicker (especially for black text on a white background), LCDs are best driven at 60Hz.
This is because the LCD retains the image between updates and does not blink like a CRT
does. The LCD has an internal memory that retains the state of each pixel between refreshes.

When using a signal at native resolution the image cannot be scaled. There is a 1:1
correspondence between pixels from the video card and what is displayed on the monitor.
Both the Princeton and Samsung lock onto the 1280x1024@60Hz. signal and disable the scaling
adjustment that is available at other settings (1024x768@60Hz for example).

When I push the auto-adjust button on either monitor when receiving the video signal via
DVI or VGA, it adjusts the display fine, but the text goes out to the very edge of the monitor in each
direction and leaves no margin area. This is why I want to reduce the number of lines of text
that is sent to the console. The video signal itself won't change, but the top and bottom
rows will be blank (if I can get it set up correctly).

Last edited by gregben; 02-10-2006 at 11:43 AM.
 
Old 02-10-2006, 12:15 PM   #6
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
you might also want to take a look at
resizecons -lines <num>
or
stty

i've never played with it myself, but it
may be close to what you're looking for.

Last edited by kodon; 02-10-2006 at 12:21 PM.
 
Old 02-11-2006, 05:12 PM   #7
Dankles
Member
 
Registered: May 2004
Location: /dev/null
Distribution: Slackware
Posts: 245

Rep: Reputation: 31
Maybe this could be of interest:
"man libvga.config"
 
  


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
VESA modes sh4d0w331 Linux - Newbie 1 02-23-2005 04:12 AM
Console, VESA VGA, Framebuffer Support Question chrisk5527 Linux - General 0 11-01-2004 10:15 PM
Vesa meself88 Linux - Newbie 3 08-22-2004 07:41 PM
In Disk on Chip VESA support Kernel - VESA frambuffer Device is not Created - jebaanandhan LinuxQuestions.org Member Success Stories 0 05-23-2004 08:31 AM
got vesa framebuffer console working teacup LinuxQuestions.org Member Success Stories 0 05-26-2003 01:16 PM

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

All times are GMT -5. The time now is 02:06 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