LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-31-2006, 02:49 AM   #1
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Rep: Reputation: 30
Console Resolution


Please read my last post, its a different issue to the one in this post

---
I have a graphics card that supports 1280x1024 in my Slack machine.

When I set up my install I always change lilo to use vga = 794 (which I worked out to be 1280x1024). It works fine until I wanted to get my TV out working.

The only file I edited was /etc/X11/xorg.conf, which I backed up before starting. Anyhoo I followed a guide I found online and my TV was working nicely. I wanted to use my monitor again to do some more kernel work (the TV is downstairs) so I copied back the backup of xorg.conf and rebooted.

Now I am prompted for a resolution at boot, and no matter what I pick I get a console in 720x400. The startup routine is in a random font/screen res until the logon screen, then it changes to this 720x400.

Anyone know how I can get my nice high resolution back? It seems strange this happens considering I only changed one file!

---

Wow, I ran X to see if it was working at full resolution, and it is. And when I exited and rebooted, wouldn't you know everything was back to normal!

Sorry about the thread, also anyone know why this would happen?

Last edited by hsimah; 04-01-2006 at 07:53 PM.
 
Old 03-31-2006, 03:03 PM   #2
cwwilson721
Senior Member
 
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 67
Could have been the internal 'flip' from vga to tv and back again confused the driver for a minute....Same thing happens to me when I've been on my computer for too long then try to watch "This Old House".....lol
 
Old 03-31-2006, 08:38 PM   #3
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Ah ok. Thanks for that

Now if it happens again I'll know all is ok.
 
Old 03-31-2006, 08:47 PM   #4
kencaz
Senior Member
 
Registered: Mar 2005
Location: Las Vegas, NV
Distribution: Mandriva Slackware FreeBSD
Posts: 1,468

Rep: Reputation: 48
Does your lilo.conf file still reflect the vga=794? If your modifying that file you must run lilo again for it to take the changes...

your CLI resolution should not have changed modifiying your xorg.conf file since that only pertains to X...

strange...

KC
 
Old 04-01-2006, 02:11 AM   #5
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
Yeah, I never changed lilo.conf. I only changed xorg.conf, which is why I found it strange that the CLI was changed, but when I ran X again and rebooted, it all worked out. One of those things I guess.
 
Old 04-01-2006, 08:08 PM   #6
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
I just installed Slack on my laptop, things seem to be working. I havent done much other than a basic install.

Thing is it has a widescreen lcd, and likes to run at 1366x768. I got X to run it at that resolution, but does anyone know how to get the console to? I always edit lilo.conf with a number, like vga=794 etc. How can I get my console to run without the ugly black border? Right now its at 1024x768
 
Old 04-01-2006, 11:28 PM   #7
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Quote:
Originally Posted by hsimah
I just installed Slack on my laptop, things seem to be working. I havent done much other than a basic install.
Thing is it has a widescreen lcd, and likes to run at 1366x768. I got X to run it at that resolution, but does anyone know how to get the console to? I always edit lilo.conf with a number, like vga=794 etc. How can I get my console to run without the ugly black border? Right now its at 1024x768
Google the type of laptop that you have and see if there is a patch for the video driver. I have a Intel 855 graphics board onboard my laptop and downloaded a patch for it. i have the below entered in my /etc/rc.d/rc.local so as to apply the patch during boot.. I then get the nice resolution on console
Res is 1280x800

if [ `runlevel | cut -f2 -d' '` -eq 3 ]; then
#runscript
/usr/sbin/855resolution 34 1280 800
fi
if [ `runlevel | cut -f2 -d' '` -eq 5 ]; then
#runscript
/usr/sbin/855resolution 34 1280 800
fi
 
Old 04-02-2006, 12:26 AM   #8
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
I have an intel graphics media accelerator 900 on mine. I can't find a specific patch. There are some drives on intel's site, but they are for a lower model of onboard graphics system.

What would the patch I should google for?
 
Old 04-02-2006, 12:36 AM   #9
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
try: intel 900 patch linux
I returned mixed results for me --- seem you can use the 8xx series drivers and do something strange things hehe...
found this if it helps?

Video
The GMA 900 graphics chipset supports both a VGA framebuffer console as well as the various X Windows acceleration features.

VGA Console
To get the VGA console working the following "Graphics support" kernel features must be selected:
* Support for frame buffer devices
* VESA VGA graphics support
The bootloader must also be told to pass the correct option to the kernel. I added the following vga=0x318 option to the kopt entry of /boot/grub/menu.lst:

# kopt=root=/dev/hda1 ro vga=0x318

X Windows
XFree86 4.3.0 does not support the GMA 900 graphics chipset, but XOrg 6.8.2 does. The xorg.conf must also contain a Driver directive for the i810 driver. Here is my xorg.conf which also includes the touchpad settings.

The following kernel module is also needed:
* /dev/agpgart (AGP Support)
 
Old 04-02-2006, 07:15 AM   #10
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
just looking at this post agin. does your KDE work fine with the widescreen res unpatched?
problem with mine is... i boot at 1024*768 then the patch runs, then i go into KDE at 1280x800
then when i go back to console the screen goes nuts.... i have a feeling it has to do with the patch.
maybe i should disable it if KDE works fine for you at the proper res.. might give this a go...
are you sure it is at the full native res in xwindows?
 
Old 04-02-2006, 08:23 AM   #11
hsimah
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Slackware 12.1
Posts: 173

Original Poster
Rep: Reputation: 30
I dont have KDE installed, only GNOME. It runs at the full res. I didnt even edit any config files for it.

I suppose it isnt a big deal. I do mode of my linuxing on my desktop, i just wanted to be uber and have a linux laptop at uni so I could be uberer than the other nerds there.
 
Old 04-03-2006, 02:35 AM   #12
-=Graz=-
Member
 
Registered: Jan 2006
Location: Australia
Distribution: Fedora, Slackware, RHEL, AIX, HP-UX
Posts: 358

Rep: Reputation: 31
Oh okay - hey thats cool! i had to configure stacks of stuff for KDE as well as the console..
hrmmm.. made it a whole load worse last night so i have gobne back to the old config.. will have another play later. tested HEAPS of different things yesterady.
Might see what other users with the same model laptop have done
 
  


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
console resolution youngstorm Linux - General 1 10-01-2005 09:44 PM
Resolution in console Aldebaran Linux - Newbie 5 12-03-2003 03:19 AM
Console Resolution maddcow Linux - Hardware 1 09-23-2003 09:03 PM
console resolution littleking Slackware 3 09-11-2003 04:35 AM
Console Resolution SuperRye Linux - Newbie 2 02-09-2002 10:39 AM

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

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