Click to See Complete Forum and Search --> : LCD Monitor Issues


zboll
08-08-2006, 12:20 PM
First my machine specs are
Debian Core 3.1
19 inch Westinghouse LCD connected through DVI
PCI NVIDIA MX4000 graphics card

This is my first linux install so I am a noob, sorry about that
I installed the latest NVIDIA drivers, but my screen resolution still wouldnt go about 800x600
So I then edited /etc/X11/XF86Config-4 file
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
# cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
# md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
# dpkg-reconfigure xserver-xfree86

Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen" 0 0
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
EndSection

Section "Files"
# local font server
# if the local font server has problems, we can fall back on these
FontPath "unix/:7100"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/cyrillic"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/Type1"
FontPath "/usr/lib/X11/fonts/CID"
FontPath "/usr/lib/X11/fonts/Speedo"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
Load "bitmap"
Load "dbe"
Load "ddc"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "record"
Load "speedo"
Load "type1"
Load "vbe"
EndSection

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 65.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Generic Video Card"
Driver "nvidia"
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "800x600" "640x480"
EndSubSection
EndSection

In front of the Modes line, I added "1280x1024" to the file and restarted X server. The monitor then displayed at the correct resolution.

My question is, I notice an annoying high pitch sound when my monitor is on, do I have to edit the horizontal and vertical sync rate in the file too?

thank you for the help
Zack

zboll
08-08-2006, 12:32 PM
it is really weird, with a mostly white screen the pitch goes away, but when I go back to my blue debian desktop, it starts making that sound again. Just a cheap LCD?

Zack

GliderMike
08-08-2006, 12:53 PM
I would think that setting the refresh rate will do it.

zboll
08-08-2006, 12:56 PM
any way to do that, in desktop preferences, it only allows 60 Hz, no option to change

Zack

Icarus
08-08-2006, 01:11 PM
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 30.0 - 65.0
VertRefresh 50.0 - 75.0
Option "DPMS"
EndSection
This is the best place to change the refresh, you might have the wrong monitor type set which is why it could be giving a wrong (incorrect) settings.

I'd manually edit this section after finding the correct settings for the monitor. Best way is search http://google.com/linux with it's model number and you should find the correct settings that way.
Or find the proper configuration in your GUI that at least gets the values right