LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2003, 10:01 AM   #1
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Rep: Reputation: 30
Nvidia Resolution


I just bought a new toshiba laptop with a widescreen 17" display. I installed the latest drivers from nvidia because every resolution past 1024x768 is larger than the physical screen size, i.e. the desktop is larger than the display. So installed the newest drivers and now I can't get X to display anything larger than 1024x768. Any ideas? Is there a way to change the aspect ratio that X displays in?
 
Old 08-14-2003, 10:24 AM   #2
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
/etc/X11/XF86Config

everything is in it.
 
Old 08-14-2003, 10:40 AM   #3
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
I know everything is in there. I have the mode lines in there as well but for some reason it won't go higher than 1024x768. Is there a way to change the aspect ratio?
 
Old 08-14-2003, 11:16 AM   #4
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
can you show us your file?
 
Old 08-14-2003, 11:49 AM   #5
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Here's my XF86config-4 file:

# File generated by XFdrake.

# **********************************************************************
# Refer to the XF86Config man page for details about the format of
# this file.
# **********************************************************************

Section "Files"
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Mandrake 6.0 and later now use a font server independent of
# the X server to render fonts.
FontPath "unix/:-1"
EndSection

Section "ServerFlags"
#DontZap # disable <Crtl><Alt><BS> (server abort)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "Module"
Load "dbe" # Double-Buffering Extension
Load "v4l" # Video for Linux
Load "extmod"
Load "type1"
Load "freetype"
Load "glx" # 3D layer
EndSection

Section "InputDevice"
Identifier "Keyboard1"
Driver "Keyboard"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbCompat" ""
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons"
Option "Emulate3Timeout" "50"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Generic"
ModelName "Flat Panel 1400x1050"
HorizSync 31.5-90
VertRefresh 59-75

# Sony Vaio C1(X,XS,VE,VN)?
# 1024x480 @ 85.6 Hz, 48 kHz hsync
ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync

# TV fullscreen mode or DVD fullscreen output.
# 768x576 @ 79 Hz, 50 kHz hsync
ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630

# 768x576 @ 100 Hz, 61.6 kHz hsync
ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616
EndSection

Section "Device"
Identifier "device1"
Driver "nvidia"
Option "DPMS"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24

Subsection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection

Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
EndSubsection
EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 08-14-2003, 11:52 AM   #6
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Like I said before, the resolution won't go past 1024x768 and I am using the latest nvidia drivers from their site. Plus don't forget I have a 17" widescreen laptop display that can't be probed.
 
Old 08-14-2003, 01:32 PM   #7
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
well I suppose XDrake haven't be able to probe your screen so he give you a "safe" setting that can get better than 1024x768. It is not a nvidia problem for sure.

You'll have to change your XF86Config to give it the real setting of your screen about horizontal and vertical setting. Well... take a look at my "Monitor" section :

Section "Monitor"

Identifier "LG Studioworks 775N"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

HorizSync 30 - 70

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.

VertRefresh 50-160

EndSection

So these setting are horizontal/vertical setting for my screen.
Here is my "Screen" section... note that I have a single "resolution" for each font color. This prevent my desktop to be larger that my real screen size. Hope this will help you...

Section "Screen"
Identifier "Screen 1"
Device "NVIDIA Geforce2 MX 400"
Monitor "LG Studioworks 775N"
DefaultDepth 24

Subsection "Display"
Depth 8
Modes "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "800x600"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024"
ViewPort 0 0
EndSubsection
EndSection
 
Old 08-14-2003, 01:47 PM   #8
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
Ok, I have two questions. Is there any way to create a custom resolution? I checked my owner's manual and the widescreen supports up 16 million colors at 1440x900 and it also has some virtual screen sizes which I don't understand. Secondly, I tried to boot up Knoppix on the laptop to try and see the screen settings that it found and sure enough, it ran the resolution at 1024x768 but the vert. & hor. syncs were different. I'll try to keep playing around with it. One last question though, is it the fact that I have a widescreen screwing things up?
 
Old 08-14-2003, 01:47 PM   #9
alaric
LQ Newbie
 
Registered: Aug 2003
Location: Amsterdam
Distribution: debian
Posts: 13

Rep: Reputation: 0
The answer is probably in /var/log/XFree86.0.log
There X prints why it ignored certain resolutions etc.
 
Old 08-14-2003, 02:16 PM   #10
mrsolo
Member
 
Registered: Jun 2002
Location: Where ever the Navy sends me
Distribution: Gentoo
Posts: 320

Original Poster
Rep: Reputation: 30
If I use the VESA driver for X, I am able to go up to 1280x1024 with no problem, however the bottom of the desktop in Gnome is off of the screen. How do I resize the desktop to make it all fit on my physical display?
 
Old 08-14-2003, 08:28 PM   #11
Half_Elf
LQ Guru
 
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 46
you'll need to resize the physical display (these butons in the bottom of the screen). Or maybe there is something wrong with your vertical/horizontal setting?
 
  


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, slack, resolution d2490n Linux - Newbie 10 11-21-2005 05:34 PM
NVIDIA GForce 4 resolution issue RBJohns Linux - Hardware 1 02-01-2005 12:33 AM
resolution problems w nvidia tical SUSE / openSUSE 1 01-24-2005 06:54 AM
gentoo resolution / nvidia pureevil4 Linux - Distributions 5 04-09-2004 03:40 AM
Dell / Nvidia Resolution Question hpytrpstr Linux - Hardware 1 05-21-2003 09:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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