LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 03-12-2004, 03:18 AM   #1
garf12
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse
Posts: 18

Rep: Reputation: 0
Reolution


Ok I am having troubles changing my resolutions, I have read some guides on this, I just dont know what I am doing wrong? below is my xf86config.

Section "Monitor"
HorizSync 31-48
Identifier "Monitor[0]"
ModelName "1280x1024@60HZ"
Option "DPMS"
Modeline "1280x1024" 65 1024 1048 1184 1344 768 771 777 806 -hsync -vsync

Modeline "1280x1024" 108 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync

Modeline "1280x768" 108 1280 1328 1440 1688 768 771 777 806 +hsync -vsync

VendorName "--> VESA"
VertRefresh 50-60
UseModes "Modes[0]"
EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 62.35 1024 1056 1184 1312 768 772 776 792 -HSync -VSync
EndSection
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection

I'm wanting it to run at 1280x1024, I know my monitor and all can handle it, cause that is what I run in windows. I dont know what resolution it is running at now, but i would guess 1024x768. Not sure if it matters but i am running SUSE, KDE

Thanks
any problems?
 
Old 03-12-2004, 04:45 AM   #2
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
You say xf86config? The file you want to check it /etc/X11/XF86Config-4. You should have a section which looks like this:

Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "** SiS (generic)                      [sis]"
    Monitor     "My Monitor"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480" "320x240"
        ViewPort    0 0
    EndSubsection
EndSection
What it means is this:
Code:
Section "Screen"
    Identifier  "Screen 1"
    Device      "** SiS (generic)                      [sis]"
    Monitor     "My Monitor"
    DefaultDepth 24
Screen sets up the screen for X. The Identifier is arbitrary, and the Device and Monitor are the identifiers for the graphics card and monitor defined elsewhere in the config file. The DefaultDepth is obviously the Default Depth, in this case 24bits.
Code:
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
These sections specify which resolutions are available with each depth. The first one is the default, so you will want sections like this:
Code:
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
Then X should start in 1280x1024 by default. If you want to check, then take a screenshot with KSnapshot, open it in the GIMP, or another picture editor, and put the cursor to the lower right and read off the co-ordinates. There's probably an easier way to tell, but I can't think of one right now.
Hope this helps
Guy
 
Old 03-12-2004, 05:20 AM   #3
garf12
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse
Posts: 18

Original Poster
Rep: Reputation: 0
My xf86config looks alot different? I didnt have XF86Config-4 all I have is XF86Config, XF86Config.saxsave, and XF86Config.YaST2save. They are all exactly the same. Should I just change mine to look like yours? Below is what my entire video section looks like...

Section "Modes"
Identifier "Modes[0]"
Modeline "1280x1024" 62.35 1024 1056 1184 1312 768 772 776 792 -HSync -VSync
EndSection


Section "Device"
BoardName "GeForce4 Ti 4200"
BusID "1:0:0"
Driver "nvidia"
Identifier "Device[0]"
VendorName "NVidia"
EndSection


Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1024x768"
EndSubSection
Device "Device[0]"
Identifier "Screen[0]"
Monitor "Monitor[0]"
EndSection
 
Old 03-12-2004, 05:27 AM   #4
guygriffiths
Member
 
Registered: Jun 2003
Location: Reading, UK
Distribution: Debian 3.0, LFS
Posts: 524

Rep: Reputation: 37
Right, here's your problem:
Code:
Section "Screen"
DefaultDepth 16
SubSection "Display"
Depth 15
Modes "1280x1024"
EndSubSection
SubSection "Display"
Depth 16
Modes "1024x768"
EndSubSection
Your default depth is 16bpp. The 1280x1024 mode is only specified for a depth of 15bpp. If your graphics card can handle it, I would recommend a depth of 24bpp, which you will get by changing DefaultDepth to 24. Regardless of this, if you want the resolution changed for all video modes, make that section look like this:
Code:
SubSection "Display"
Depth 15
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768"
EndSubSection
So that each SubSection contains the extra resolution. That should fix things.
 
Old 03-12-2004, 05:29 AM   #5
Sohni
Member
 
Registered: Sep 2003
Location: Planet Earth
Distribution: SuSE Linux 9.0
Posts: 83

Rep: Reputation: 15
Why do you try to configure it manually? Use sax2
 
Old 03-12-2004, 05:51 AM   #6
garf12
LQ Newbie
 
Registered: Dec 2003
Distribution: Suse
Posts: 18

Original Poster
Rep: Reputation: 0
When I try doing it with sax2 i get "The selected resolutiong doesnt fit into the sync-ranges of the monitor. Please prove if the currently selected monitor. Please prove if the currently selected monitor model is correct or select a lower resolution than: 1280x1024"

I also tried what guygriffiths said, but I am still getting 1024x768

Last edited by garf12; 03-12-2004 at 05:53 AM.
 
  


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
dell inspiron 8200 - reolution problems dwal Linux - Laptop and Netbook 2 10-23-2005 07:52 AM
Screen Reolution Settings bassmanb Linux - Newbie 1 11-06-2003 06:04 PM

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

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