LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Monitor Resolution Changing (https://www.linuxquestions.org/questions/linux-newbie-8/monitor-resolution-changing-43455/)

andynewbie99 01-30-2003 10:32 PM

Monitor Resolution Changing
 
Does anyone know what file to edit or what command to use to change the CLI monitor resolution to something like 320x240 giving the situation that I did not install X Server (there is no GUI desktop on my Mandrake 8.2 system)???

jkrohn 01-31-2003 12:23 AM

Do you use Lilo or Grub?

If you use Lilo and have framebuffer support in your kernel then you can pass Lilo a vga= argument in your /etc/lilo.conf and use framebuffers to get a larger console.

ie for 1024X768@64k colors you use
vga=791

I would suggest making two entries into lilo if you only have aone. A non-framebuffer and one using framebuffer.

So if lilo.conf looks like

image="/vmlinux"
root="/dev/hda1"
label="Linux"
read-only

Make it look like

image="/vmlinux"
root="/dev/hda1"
vga=791
label="Linux"
read-only

image="/vmlinux"
root="/dev/hda1"
label="Linux Non FB"
read-only

Then re-run lilo from the command prompt to make the changes take effect. Reboot to get your FB.

andynewbie99 02-01-2003 12:46 PM

Thank you for your help. I will try this.

I am using Lilo. Is there a specific vga=argument setting for each different monitor resolution? (as in your example vga=791 for 1024x768 @ 64k colors)

If so, where can i find it in the manual, book, or system?

Can i put an entry like: vga=320x240?

jkrohn 02-01-2003 02:16 PM

Code:

# VESA framebuffer console @ 1024x768x64k
# vga=791
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769

Doesn't look like you can get 320X240 using framebuffers (at least it doesn't say so in the vesafb.txt or svga,txt)

Radicalm16 03-24-2003 10:06 PM

That mode numbers are at some Documentation???? If it does, Which one??


thnx.


All times are GMT -5. The time now is 08:16 PM.