LinuxQuestions.org
Visit Jeremy's Blog.
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 09-16-2004, 05:52 PM   #1
mystique98ls
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat 6.2
Posts: 13

Rep: Reputation: 0
how to change screen resolution ?


Hello,

I tried to change the resolution of screen from 800x640 to 1024x768 but no results ..

I am pasting below the relevant sections of the file /etc/X11/XF86Config .. and the changes (preceded by > ) that I made:
----------------------------------------
.
.
.

# 800x600 @ 100 Hz, 64.02 kHz hsync
Modeline "800x600" 69.65 800 864 928 1088 600 604 610 640 -HSync -VSync

># 1024x768 @ 76Hz, 62.5 kHz hsync
>Modeline "1024x768" 85 1024 1032 1152 1360 768 784 787 823 ->HSync -VSync

.
.
.
Subsection "Display"
Depth 16
> Modes "1024x768" "640x480" "800x600"
ViewPort 0 0
EndSubsection
.
.
.


Section "Screen"
Driver "vga16"
Device "Generic VGA"
Monitor "My Monitor"
Subsection "Display"
> Modes "1024x768" "640x480" "800x600"
ViewPort 0 0
EndSubsection
--------------------------------------

My monitor is AOC Spectrum 7Vlr. It supports upto 1280x1024. The video card: SiS 86C326 (rev 0B). I think the video card is capable of high resolution..

What else do I need to do to get 1024x768 resolution ...

Please help.. Thanks in advance..
 
Old 09-16-2004, 06:44 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Unless you happen to have a XF86Config-4 with
different values as well that should do the trick.

You can check which config file the server uses
by looking at /var/log/XFree86.0.log ...

Btw, if you added your distro to your profile
that would give people a better idea as to where
to start looking ;)


Cheers,
Tink
 
Old 09-16-2004, 06:45 PM   #3
187807
Member
 
Registered: Oct 2003
Location: North Carolina, USA
Distribution: Slackware 11
Posts: 174

Rep: Reputation: 30
For starters, vga16 is a pretty basic driver IIRC. It may not allow your card (even though it's kind of old) to do as much as you would like.

I would recommend:

1) BACKING UP your existing /etc/X11/XF86Config

2) run xf86config as root and choose your video card and monitor settings properly

Then you can mess with getting your modes working correctly.

Now, caveat, I run Slackware so I'm not exactly sure if these steps will work for you (hence step 1 being to backup existing file).

Also, regarding monitor settings, BE CAREFUL. If you don't have your actual HSync and VSync numbers don't just take wild guesses...do some research with Google or whatever and get the actual HSync and VSync numbers.

Most modern monitors will not allow themselves to be damaged by out-of-range settings but it's always best not to test their self-preservation settings.

If you REALLY want to try it then choose some very conservative settings from the monitor list in xf86config and see how you fare.

Last edited by 187807; 09-16-2004 at 06:47 PM.
 
Old 09-17-2004, 10:27 AM   #4
mystique98ls
LQ Newbie
 
Registered: Sep 2004
Distribution: RedHat 6.2
Posts: 13

Original Poster
Rep: Reputation: 0
I dont have the XF86Config-4 file. I am running Red Hat 6.2. I think I will just stick with this resolution for now and work on the settings in the weekend so it doesnt hamper my days work.

Thanx for your inputs again.
 
Old 08-20-2012, 09:19 AM   #5
g2r2p
LQ Newbie
 
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
If using 6.2 this is the solution I have came to that does work. Assuming you have tried xrandr, and system-config-display with no solution and you have the xorg.conf.d and no xorg.conf file.

Go to /etc/X11/xorg.conf.d and 'vi 10-screen.conf' (name of file really doesnt matter but you need the .conf part) and add the following in:

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection

-----------

After doing this restart the machine and let me know if it worked for you.
 
  


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
Cannot change screen resolution codeman9 Fedora - Installation 1 11-19-2005 12:42 AM
Change screen resolution? Brian Knoblauch Solaris / OpenSolaris 2 11-18-2005 03:08 PM
Cannot change screen resolution HiOctane21 Linux - General 10 05-23-2005 02:37 AM
Change Screen Resolution? Darrin Linux - Newbie 3 06-27-2003 10:50 AM
Change screen resolution glock19 Linux - General 11 01-16-2002 10:10 PM


All times are GMT -5. The time now is 08:32 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration