LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-27-2006, 06:49 PM   #1
mala fide
Member
 
Registered: Nov 2004
Location: Espoo, Finland
Distribution: Kubuntu 7.10
Posts: 48

Rep: Reputation: 15
xorg.conf, refresh rate and viewsonic VX2025wm


Hello!

My computer has the said monitor (specs) and nvidia 7600GS graphics card (nvidia driver version 1.0-8762)

Here's my xorg.conf
Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon May 15 13:23:42 PDT 2006

# /etc/X11/xorg.conf (xorg 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 /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerLayout"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
    InputDevice    "stylus" "SendCoreEvents"
    InputDevice    "cursor" "SendCoreEvents"
    InputDevice    "eraser" "SendCoreEvents"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/X11/fonts/misc"
    FontPath        "/usr/share/X11/fonts/cyrillic"
    FontPath        "/usr/share/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/X11/fonts/Type1"
    FontPath        "/usr/share/X11/fonts/100dpi"
    FontPath        "/usr/share/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "i2c"
    Load           "bitmap"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "fi"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ExplorerPS/2"
    Option         "Buttons" "5"
    Option         "ZAxisMapping" "4 5"
    Option         "ButtonMapping" "1 2 3 6 7"
    Option         "Emulate3Buttons" "false"
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "InputDevice"

                                                      # /dev/input/event
                                                      # for USB
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/wacom"          # Change to 
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"               # Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "VX2025wm"
    HorizSync      60.0 - 77.0
    VertRefresh    60.0 - 75.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "NVIDIA Corporation NVIDIA Default Card"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "NVIDIA Corporation NVIDIA Default Card"
    Monitor        "VX2025wm"
    DefaultDepth    24
    Option         "UseEdidFreqs" "False"
    SubSection     "Display"
        Depth       1
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       4
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       8
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       15
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       16
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x640" "640x480"
    EndSubSection
EndSection
The most interesting part is probably:
Code:
Section "Monitor"
    Identifier     "VX2025wm"
    HorizSync      60.0 - 77.0
    VertRefresh    60.0 - 75.0
    Option         "DPMS"
EndSection
I copied this from one vx2025wm user except it was then
HorizSync 60-70
VertRefresh 60-70

but also my modified version works.

My problem is that monitor shows
H.Frequency 65 kHz
V.Frequency 59,7 Hz
And I would really like to see 75 Hz or as close to that as possible.
I tried to use
HorizSync 30.0 - 82.0
VertRefresh 50.0 - 75.0
but that resulted in "out of range"

Is it because linux likes to stick to the lower fps limits?
How can I get 75Hz out of my monitor?

Thanks in advance!
 
Old 09-27-2006, 10:11 PM   #2
stress_junkie
Senior Member
 
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
Quote:
Is it because linux likes to stick to the lower fps limits?
How can I get 75Hz out of my monitor?
You can't get 75 Hz out of your monitor. It is an LCD. Linux doesn't "like" to stick to lower fps. It is a physical limit of your monitor.
 
Old 09-28-2006, 12:58 AM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
stress_junkie is right, but in my opinion for the wrong reason. If you read the spec, it states
Quote:
COMPATIBILITY
PC
VGA up to 1680 x 1050 non-interlaced (max. 60Hz)

Mac®¹
Power Mac™ G3/G4/G5 up to 1680 x 1050 non-interlaced (max. 60Hz)
Your preferred resolution is 1680x1050 and that can only be achieved at 60 Hz. If you want a higher refresh rate, you need to lower the resolution.
 
Old 10-16-2006, 05:53 AM   #4
maprx
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
Quote:
Originally Posted by stress_junkie
You can't get 75 Hz out of your monitor. It is an LCD. Linux doesn't "like" to stick to lower fps. It is a physical limit of your monitor.
now i have a problem like this. my monitor is an lcd that run just fine at 1024x768 at 75mhz. I have edited my xorg. and can not get anything but 50 to 54. the same monitor on mepis get 74mhz

h 31-78
v 50-70

i changed v to 70-75 and now i get 54?


mike
 
Old 10-17-2006, 04:43 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
Quote:
Originally Posted by maprx
my monitor is an lcd that run just fine at 1024x768 at 75mhz. I have edited my xorg.
So why did you change it?

Quote:
Originally Posted by maprx
the same monitor on mepis get 74mhz
Is that on the same hardware? Or a different computer at all? You might be able to compare the two config files (sections device, monitor and screen).

74mhz is very low value for anything that relates to video, either vertrefresh (roughly 1 refresh every 14 seconds) or horizsync (it takes 14 seconds to write one line on the screen)

Or it is 74Mhz which is a completely different animal and might make more sense.


Please post:
- your hardware config (specifically video card and monitor)
- the above mentioned sections of the X configuration file
 
Old 10-17-2006, 05:05 AM   #6
maprx
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
I use this monitor with mepis and sabayon linux on 2 systems via kvm switch. on mepis it is fine, on sabayon i am getting a a refresh rate of 53mhz

**********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Generic Monitor"
#Option "DPMS"

VertRefresh 50 - 70 # multisync
HorizSync 31.5 - 78

Modeline "1024x768" 81.80 1024 1080 1192 1360 768 769 772 802 -HSync +Vsync
Modeline "1024x768" 78.75 1024 1040 1136 1312 768 769 772 800
+hsync +vsync
Modeline "1024x768" 70 1024 1048 1184 1328 768 771 777 806 -hsync
-vsync
ModeLine "1280x800" 83.91 1280 1312 1624 1656 800 816 824 841
ModeLine "1600x900" 173.86 1600 1672 2032 2176 900 902 914 940 +hsync +vsync
Modeline "1280x720" 75 1280 1336 1472 1664 720 725 730 751
Modeline "1920x1080" 172.798 1920 2040 2248 2576 1080 1081 1084 1118 -hsync -vsync
Modeline "1920x1200" 193.156 1920 2048 2256 2592 1200 1201 1203 1242 +hsync +vsync
ModeLine "1366x768" 88.03 1366 1424 1680 1816 768 770 782 808
ModeLine "1088x612" 81.57 1088 1136 1376 1472 612 614 626 652 +hsync +vsync
ModeLine "1792x1344" 204.8 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync
ModeLine "1792x1344" 261.0 1792 1888 2104 2456 1344 1345 1348 1417 -hsync +vsync
ModeLine "1856x1392" 218.3 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync
ModeLine "1856x1392" 288.0 1856 1984 2208 2560 1392 1393 1396 1500 -hsync +vsync
ModeLine "1920x1440" 234.0 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync
ModeLine "1920x1440" 297.0 1920 2064 2288 2640 1440 1441 1444 1500 -hsync +vsync
ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
Modeline "1280x768" 81.59 1280 1280 1384 1688 768 769 774 791

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA"
Driver "nvidia" # do not remove vesa
#Option "XAANoOffscreenPixmaps"
Option "UseEDID" "FALSE"
Option "UseEdidFreqs" "FALSE"

EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

Identifier "Screen 1"
Device "VESA"
Monitor "Generic Monitor"
#Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

DefaultDepth 24

SubSection "Display"
Depth 32
ViewPort 0 0
Modes "1024x768" "1024x768"
EndSubsection

SubSection "Display"
Depth 16
ViewPort 0 0
Modes "1024x768" "1024x768"
EndSubsection

SubSection "Display"
Depth 24
ViewPort 0 0
Modes "1024x768" "1024x768"
EndSubsection


EndSection
 
Old 10-17-2006, 05:26 AM   #7
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
And the same sections in your mepis box? And what is the monitor?

PS a lowercase m stands for milli and an uppercase for Mega. So is there really an M/m in the shown refresh rate? And if so, which one?

Last edited by Wim Sturkenboom; 10-17-2006 at 05:28 AM.
 
Old 10-17-2006, 07:03 AM   #8
maprx
LQ Newbie
 
Registered: Apr 2006
Posts: 21

Rep: Reputation: 15
is is the xorg from the mepis box? i am getting 1024x768 at 70

Section "Monitor"
Identifier "Monitor0"
VendorName "Generic LCD"
ModelName "LCD Panel 1024x768"
#Option "DPMS" "true"
HorizSync 31.5-78.0
VertRefresh 50-70
Modeline "640x480" 25.175 640 664 760 800 480 491 493 525 #60Hz
Modeline "800x600" 40.12 800 848 968 1056 600 601 605 628 #60Hz
Modeline "1024x768" 75 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
Modeline "1024x768" 85 1024 1056 1152 1360 768 784 787 823
ModeLine "1152x864" 65 1152 1168 1384 1480 864 865 875 985 Interlace
Modeline "1152x864" 92 1152 1208 1368 1474 864 865 875 895
Modeline "1152x864" 110 1152 1240 1324 1552 864 864 876 908
Modeline "1152x864" 135 1152 1464 1592 1776 864 864 876 908
Modeline "1152x864" 137.65 1152 1184 1312 1536 864 866 885 902 -HSync -VSync
Modeline "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795
ModeLine "1280x800" 80.58 1280 1344 1480 1680 800 801 804 827 -HSync -VSync
Modeline "1280x1024" 80 1280 1296 1512 1568 1024 1025 1037 1165 Interlace
Modeline "1280x1024" 110 1280 1328 1512 1712 1024 1025 1028 1054
Modeline "1280x1024" 126.5 1280 1312 1472 1696 1024 1032 1040 1068 -HSync -VSync
Modeline "1280x1024" 135 1280 1312 1456 1712 1024 1027 1030 1064
Modeline "1280x1024" 135 1280 1312 1416 1664 1024 1027 1030 1064
Modeline "1280x1024" 157.5 1280 1344 1504 1728 1024 1025 1028 1072 +HSync +VSync
Modeline "1280x1024" 181.75 1280 1312 1440 1696 1024 1031 1046 1072 -HSync -VSync
Modeline "1440x900" 106.47 1440 1520 1672 1904 900 901 904 932 +HSync +VSync
Modeline "1400x1050" 129 1400 1464 1656 1960 1050 1051 1054 1100 +HSync +VSync
Modeline "1600x1200" 162 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
Modeline "1600x1200" 189 1600 1664 1856 2160 1200 1201 1204 1250 -HSync -VSync
Modeline "1600x1200" 202.5 1600 1664 1856 2160 1200 1201 1204 1250 +HSync +VSync
Modeline "1600x1200" 220 1600 1616 1808 2080 1200 1204 1207 1244 +HSync +VSync
Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087
ModeLine "1800x1440" 230 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
ModeLine "1800x1440" 250 1800 1896 2088 2392 1440 1441 1444 1490 +HSync +VSync
Modeline "1920x1200" 230 1920 1936 2096 2528 1200 1201 1204 1250 +HSync +VSync
EndSection

Section "Monitor"
Identifier "ATIMonitor"
VendorName "Generic LCD"
ModelName "LCD Panel 1024x768"
#Option "DPMS" "true"
HorizSync 31.5-78.0
VertRefresh 50-70
EndSection

Section "Device"
Identifier "Card0"
Driver "nv"
BoardName "unknown"

#BusID "PCI:1:0:0"
#Option "sw_cursor" # needed for some ati cards
#Option "hw_cursor"
#Option "NoAccel"
#Option "ShowCache"
#Option "ShadowFB"
#Option "UseFBDev"
#Option "Rotate"
Option "UseInternalAGPGART" "no"

# savage special options, use with care
#Option "NoUseBios"
#Option "BusType" "PCI"
Option "DmaMode" "None"

# nvidia special options, use with care
Option "CursorShadow" "1"
Option "CursorShadowAlpha" "63"
Option "CursorShadowYOffset" "2"
Option "CursorShadowXOffset" "4"
Option "FlatPanelProperties" "Scaling = native"
Option "NoLogo" "false"
Option "IgnoreEdid" "true" # needs to be true for some nvidia cards
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultColorDepth 16

SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768"
EndSubSection
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

# Only the official NVIDIA driver supports twinview
# these setting are an example
Option "TwinView" "false"
Option "SecondMonitorVendorName" "unknown"
Option "SecondMonitorModelName" "unknown"
Option "SecondMonitorHorizSync" "30-75"
Option "SecondMonitorVertRefresh" "50-70"
#Option "MetaModes" "1024x768, 1024x768"
Option "TwinViewOrientation" "RightOf"
Option "ConnectedMonitor" "dfp,dfp"
EndSection

Section "Screen"
Identifier "ATIScreen"
Device "Card0"
Monitor "ATIMonitor"
DefaultColorDepth 24

SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768"
EndSubSection
EndSection

Section "DRI"
Mode 0666
EndSection
 
Old 10-18-2006, 12:19 AM   #9
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
There are slight differences in the modelines. Although I'm not sure it it will solve it, I would remove all modelines from the sabayon xorg and see if that works.
If not, copy the necessary modelines (i.e. only 1024x768 ones) from the mepis box config to the (modified above) sabayon box config.

If that does not work, I'm lost.
 
  


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
How do I force xorg.conf to accept certain refresh rate? ExCIA Debian 9 08-06-2006 08:11 PM
ViewSonic E71f refresh rate not changing abolos Linux - Newbie 3 01-20-2006 03:01 AM
Xorg refresh rate Synesthesia Linux - General 1 12-19-2005 06:13 PM
building xorg.conf - ViewSonic E70 RayQ Linux - Newbie 7 07-15-2005 11:37 AM
editing refresh rate in xorg.conf does nothing Riallin Slackware 22 02-28-2005 03:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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