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 11-03-2005, 01:36 PM   #1
Xena
Member
 
Registered: Nov 2005
Posts: 84

Rep: Reputation: 15
linux display modes - 1280x768


I'm trying to get a display mode of 1280x768.

I'm using Mandrake 10.1, an NVIDIA card and a Samsung SyncMaster 730MW LCD TV monitor.

I've tried a few things and I can get a scrolling window but I can't get 1280x768 on the screen, but I can in Windows.

Can anyone help out on this, I'd really appreciate it. I've editted the XF86Config file and stuff, but nothing seems to quite work.
 
Old 11-03-2005, 02:02 PM   #2
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
Have you already installed he correct NVIDIA driver from their website? If not, you might want to try that first.
 
Old 11-03-2005, 03:00 PM   #3
Xena
Member
 
Registered: Nov 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Yes, I got the nvidia driver from their website and did all that installing and stuff. But I still don't get 1280x768 mode

And to forestall the next question, here's the XF86Config file I'm using. I'd appreciate any helpful hints!

# 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)
#DontZoom # disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
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" "gb"
Option "XkbOptions" ""
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/mouse"
Option "ZAxisMapping" "6 7"
EndSection

Section "Monitor"
Identifier "monitor1"
VendorName "Samsung"
ModelName "Samsung SyncMaster 750(M)b"
HorizSync 30-70
VertRefresh 50-160

# 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

# Dell D800 and few Inspiron (16/10) 1280x800
ModeLine "1280x800" 147.89 1280 1376 1512 1744 800 801 804 848

# Dell D800 and few Inspiron (16/10) 1680x1050
ModeLine "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103

# Dell D800 and few Inspiron (16/10) 1920x1200
ModeLine "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +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"
VendorName "NVIDIA Corporation"
BoardName "NVIDIA GeForce FX (generic)"
Driver "nvidia"
Option "DPMS"
Option "NvAGP" "0"
EndSection

Section "Screen"
Identifier "screen1"
Device "device1"
Monitor "monitor1"
DefaultColorDepth 24
Subsection "Display"
Depth 16
Modes "1280x768" "800x600"
EndSubSection

Subsection "Display"
Depth 8
ViewPort 0 0
Virtual 1280 768
EndSubsection

Subsection "Display"
Depth 15
Virtual 1280 768
EndSubsection

Subsection "Display"
Depth 16
Virtual 1280 768
EndSubsection

Subsection "Display"
Depth 24
Virtual 1280 768
EndSubsection

Subsection "Display"
Depth 24
Modes "1280x768"
Viewport 0 0
Virtual 1280 768
EndSubsection

EndSection

Section "ServerLayout"
Identifier "layout1"
InputDevice "Keyboard1" "CoreKeyboard"
InputDevice "Mouse1" "CorePointer"
Screen "screen1"
EndSection
 
Old 11-04-2005, 01:57 AM   #4
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
hi, not an expert at this, so make a backup copy of /etc/X11/Xorg.conf
(unless XF86Config is used).
Have you got an /etc/X11/Xorg.conf ?

Try xfdrake or drakx (cannot remember the name)
and choose a generic LCD display
Can you change the mode now?

Otherwise man xorg.conf
Your monitor section does not have 1280x768,
so that might be the problem

Further to that maybe you will find a clue in
/var/log/Xorg.0.log

Good luck
 
Old 11-04-2005, 06:22 AM   #5
Tino27
Member
 
Registered: Aug 2003
Location: Akron, OH
Distribution: SuSE 8.2, Slackware current, OpenBSD 3.5-3.8, Fedora Core 2
Posts: 400

Rep: Reputation: 30
I'm guessing by your XF86Config file that you have a Dell D800? Perhaps this page might be of some value.

http://www.linux-on-laptops.com/dell.html
 
Old 11-04-2005, 09:37 AM   #6
Xena
Member
 
Registered: Nov 2005
Posts: 84

Original Poster
Rep: Reputation: 15
Thank you! Thank you all who helped!

No I don't have a Dell, that entry in the XF86Config was from trying to select a "next nearest" choice.

What I've done, is used gtf 1280 768 60 -x to create a modeline that was apparantly missing from the XF86Config file. This gave a working resolution of 1280x768 (Yah!), but it was a little low down: xvidtune allowed a change to the Vsync setting to get it in the right place.

Perfect! Thanks to everyone who helped! You guys rock
 
Old 11-04-2005, 10:45 AM   #7
Emmanuel_uk
Senior Member
 
Registered: Nov 2004
Distribution: Mandriva mostly, vector 5.1, tried many.Suse gone from HD because bad Novell/Zinblows agreement
Posts: 1,605

Rep: Reputation: 53
Glad you are sorted
even better that you posted how you did it.
Your linux future looks bright ;-), full of pixels

Enjoy Linux
 
  


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
Display modes error corbis_demon Slackware 4 06-08-2005 02:57 AM
Display Modes Exiledhellfire Linux - Newbie 1 05-22-2005 11:01 AM
Mandrake 10 changing display modes from shell. bobo_snyder Linux - Newbie 1 03-27-2005 07:38 AM
Xfree Display Modes KptnKrill *BSD 6 12-03-2004 02:47 AM
Games that switch video modes make display into bars TCv1 Linux - Software 0 03-26-2004 03:55 PM


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