LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-28-2004, 08:06 PM   #1
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Rep: Reputation: 15
changing screen resolution for text (shell) console


Hi. I've installed slackware 10 and just recently compiled the 2.6.8.1 kernel. I included video mode (screen resolution) switching from LILO in the "make menuconfig stage" along with framebuffer suport for my Radeon 9800 XT graphics card. I ran "xorgconfig" (the same as xf86config) to configure my monitor, so the video modes I use were made available to me in X windows. The problem is that the lilo.conf file doesn't switch to the appropriate screen resolution on startup. My X windows video mode is 1280x1024 but this is to small to see when in the ordinary text console. I have Lilo set to change the text based console to 1024x768 on startup, but this doesn't occur. Instead the 1280x1024 loads and this is too small for my screen. Is there a program I could run or a file I could edit to permanently change the screen resolution in the text based console shell while leaving the X windows resolution unaffected?

Last edited by Repeater; 08-28-2004 at 08:29 PM.
 
Old 08-28-2004, 09:00 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
hi -- i think i understand what you are saying (framebuffer for vga terminal)
first the text mode is not affected by x or the x config that's a seperate thing......
so the framebuffer is working just not giving you what you want......
second whenever you change lilo.conf you have to run the cammand
"lilo" to install the changes
i'm thinking this is the problem
you just have to as root type
lilo
then reboot
ATI card has different syntax than other cards in lilo.conf
so i don't know alot about it but i think this is right ?
append="video=aty128fb:1024x768"
is what you have yes ???
 
Old 08-29-2004, 02:19 AM   #3
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
Hi. Thanks for the reply. Just to clarify, I'm aware that the xorgconfig is for setting the screen resolution in X only. In fact I'm counting on it, as I want to set only the ordinary text console to a different screen resolution. I also know about running lilo inorder to update it. I had a look at my lilo.conf and it doesn't contain any special lines for the ATI card, it just uses "vesa=791" to set the mode to 1024x768x16M, but it never actually does this.
 
Old 08-29-2004, 02:27 AM   #4
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
does it read "vesa=791" or "vga=791" ?
 
Old 08-29-2004, 02:44 AM   #5
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
Oops, my mistake. It actually reads vga=791.
Here is my lilo.conf

29/08/04 1
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda3
message = /boot/boot_message.txt
prompt
timeout = 300
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# 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
# End LILO global section
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
table = /dev/sda
# Windows bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda3
label = Linux
read-only
# Linux bootable partition config ends
 
Old 08-29-2004, 02:48 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try using 790
 
Old 08-29-2004, 03:02 AM   #7
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
I've tried using 790. I've also tried other modes, but none of these work.
 
Old 08-29-2004, 03:10 AM   #8
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
svgatextmode does what you want.
 
Old 08-29-2004, 03:11 AM   #9
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
How do I use that?
 
Old 08-29-2004, 04:38 AM   #10
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
some info.

http://freshmeat.net/projects/svgatextmode/
 
Old 08-29-2004, 11:41 AM   #11
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
I've tried installing SVGATextMode and using it, but am having difficulty setting the proper mode. I also tried running programs in /sbin which look like they affect the display such as vgscan etc. but each time I get told that the /etc/lvm module is not loaded or unreadable. Could I have forgotten to set a kernel option during the menuconfig stage when I compiled the kernel? Could this explain why LILO doesn't affect the screen resolution on startup, even though I set that option in the menuconfig that explicitly states that LILO will do this? Should I just scurry back to Windows with my tail between my legs and give up my dreams of a stable, functional and configurable OS? Wait... don't answer that last one.

Last edited by Repeater; 08-29-2004 at 11:43 AM.
 
Old 08-29-2004, 01:00 PM   #12
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
it's stm.
check man stm
 
Old 08-29-2004, 01:35 PM   #13
Repeater
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware 10
Posts: 22

Original Poster
Rep: Reputation: 15
I tried entering "stm" and "man stm" at the console but there is no such program or manual entry. Was that what you meant?
 
Old 08-30-2004, 09:30 AM   #14
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,305

Rep: Reputation: 66
mine is in /usr/sbin
check your path.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Problem changing the video adapter setting and changing the screen resolution habiblove Linux - General 3 02-18-2006 05:10 PM
How to increase the screen resolution of the text console (No Xserver installed)? Akhran Debian 1 11-10-2005 03:32 PM
Changing Framebuffer Console Resolution bl0tt0 Slackware 4 11-08-2005 09:18 PM
How to copy text in Shell Console TigerLinux Linux - Newbie 7 10-04-2005 01:46 AM
changing console text in-place 1337 Twinkie Programming 4 08-04-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 AM.

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