LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-19-2005, 12:43 PM   #1
Hekdiesel
LQ Newbie
 
Registered: Sep 2005
Location: New Jersey
Posts: 4

Rep: Reputation: 0
Screen Re-sizing xorg.conf.


Hi,

I am using Slack 10.2 and Fluxbox as my window manager. However, I've been having difficulties trying to set my screen to 1280x1024, or anything other than 800x600 (I think that's what it is, my desktop is really small...).

I've messed around with my xorg.conf, right now my Screen section looks like this:

______________________________________________________________________
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA (generic) [nv]"
Monitor "My Monitor"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "1280x1024"
# ViewPort 0 0
EndSubsection
EndSection

_____________________________________________________________________

Now, I've tinkered with it, so it is very likely that i may have messed it up. X starts with no problems, but with the small resolution. I've searched the forums and have tried some of the stuff people have posted, but nothing seems to work yet.

Thanks.
 
Old 09-19-2005, 01:03 PM   #2
dinolinux
Member
 
Registered: Jun 2005
Location: Oslo, Norway
Distribution: Slackware 11, Solaris 10, Solaris 9, Sourcemage 0.9.6
Posts: 322

Rep: Reputation: 31
Hi!

The problem is that you need another graphics driver. Xorg just doesn't have a driver for your card and therefore takes the generic VGA driver which doesn't make more than 600x400 or something. You should go to nVIDIA's website and download a driver for your card. Then use xorgconfig which is a much easier utility to use.

Good luck!
 
Old 09-19-2005, 01:59 PM   #3
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 3,554

Rep: Reputation: 84
Hey in your xorg.conf file make sure that you have the proper refresh rates for the horizontal and vertical of your monitor, you may also want to take a look into the file /var/log/Xorg.0.log and see what the server is detecting as it starts up.

Code:
# Samtron 76V
Section "Monitor"
       #DisplaySize      312   234     # mm
       Identifier   "Monitor1"
       VendorName   "Samtron"
       ModelName    "76V"
       HorizSync       30-70
       VertRefresh     50-160
       Option     "DPMS"  "true"
EndSection
 
Old 09-20-2005, 06:42 AM   #4
Hekdiesel
LQ Newbie
 
Registered: Sep 2005
Location: New Jersey
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks guys. I am going to give this a shot again today.

Dino, the strange thing is that I had a bigger resolution before I downloaded and installed the Nvidia drivers. After I installed them and made the changes to the xorg.conf the screen resolution shrunk.
 
Old 06-04-2006, 01:40 PM   #5
agentTP
LQ Newbie
 
Registered: Jun 2006
Location: Copenhagen, Denmark
Distribution: Slack 10.2
Posts: 4

Rep: Reputation: 0
Monitor: LG Flatron L1710S
Graphics card: nvidia geforce 6600 GT
CPU: Intel P4, 2.4 gHz, IA32
Distro: Slack 10.2

I am also using Slack 10.2 and I had the exact same problem. The nvidia driver (NVIDIA-Linux-x86-1.0-8762) kept using the 800x600 resolution even though I had a 1280x1024 mode in xorg.conf In the following I will describe how I solved the problem and got a 1280x1024 resolution

First of all I made sure that I had the proper horizontal and vertical refresh rates for my monitor as mentioned previously by HappyTux. That just was not enough to solve the problem.

I browsed the Web and found out, that there is something called "EDID" (short for Extended Display Identification Data). nvidia uses EDID to obtain information about the monitor. If there is somehow something wrong with that information (perhaps because of wrong driver for the monitor?) then nvidia discards all modes in xorg.conf and falls back to a default resolution (800x600). This turned out to be my problem.

I could not get a driver for my LG monitor as the site had technical problems, so I found out how to make nvidia ignore EDID. It is done by adding the line

Code:
Option "UseEDID" "FALSE"
in the device section, something like

Code:
Section "Device"
    Identifier     "VESA Framebuffer"
    Driver         "nvidia"
    Option "UseEDID" "FALSE"
EndSection
Since this prevents nvidia from obtaining techinical specs for the monitor via EDID I had to make my own modeline by using a modeline generator. I used XFREE86's modeline generetor at http ://xtiming.sourceforge.net/cgi-bin/xtiming.pl and inserted the modeline

Code:
Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
in the monitor section, something like

Code:
Section "Monitor"
    Identifier     "My Monitor"
    HorizSync       30.0 - 83.0
    VertRefresh     56.0 - 75.0
    Modeline "1280x1024@60" 114.98 1280 1312 1744 1776 1024 1045 1055 1076
EndSection
WARNING! IF YOU DO SOMETHING LIKE THIS YOU TAKE THE RISK OF DAMAGING YOUR HARDWARE BECAUSE THOSE NUMBERS ARE USED TO CONTROL THE HARDWARE!

In my screen section I can now refer to the above modeline, something like

Code:
Section "Screen"
    Identifier     "Screen 1"
    Device         "VESA Framebuffer"
    Monitor        "My Monitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       8
        Modes      "1280x1024@60"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1280x1024@60"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024@60"
    EndSubSection
    SubSection     "Display"
        Depth       32
        Modes      "1280x1024@60"
    EndSubSection
EndSection
This worked for me

It is helpful to check /var/log/Xorg.0.log. Somewhere in this log file nvidia reports back. Good luck!
 
  


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
nvidia driver - xorg.conf screen error dark_prancer Linux - General 1 07-18-2005 05:13 AM
xorg.conf messup with screen stealthgate Linux - Software 1 07-12-2005 10:00 AM
Xorg.conf and screen definition [ITA]freeware Linux - Software 2 07-08-2005 01:55 PM
Problem with xorg.conf file and screen size mjkuras Linux - Laptop and Netbook 6 02-25-2005 11:16 AM
changing screen frequency with xorg.conf hesher Linux - Hardware 1 02-11-2005 06:49 AM


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