You are not logged in.

#1 2004-06-14 22:56:29

skoal
Member
From: Frequent Flyer Underworld
Registered: 2004-03-23
Posts: 612
Website

Vertical Refresh Rate & Xrandr Questions

1. Anyone here know how to bump up your Vertical Refresh by manually entering "modeline" settings in your "XF86Config" (or by another method)?

I got the basic idea from the X.org website, but I'm not quite sure what all I need to change.  Here's relevant info:

(II) NVIDIA(0): Monitor0: Using hsync range of 30.00-107.00 kHz
(II) NVIDIA(0): Monitor0: Using vrefresh range of 48.00-120.00 Hz
(II) NVIDIA(0): Clock range:  12.00 to 350.00 MHz

I'm currently running 1280x960 @85Hz vert. refresh.  I want same resolution but @ 100Hz refresh.  Here's raw setting information taken from "XF86Config" for current resolution:

(**) NVIDIA(0):      Default mode "1280x960": 148.5 MHz, 85.9 kHz, 85.0 Hz

GetModeLine - scrn: 0 clock: 148500
GetModeLine - hdsp: 1280 hbeg: 1344 hend: 1504 httl: 1728
              vdsp: 960 vbeg: 961 vend: 964 vttl: 1011 flags: 5

I do not have a "modeline" setting in my "XF86Config" currently, since I have an option for the Nvidia driver to use the Monitor supplied EDID's.  I can change that.  But, here's what I guess my current modeline would look like in "XF86Config":

Modeline "1280x960" 148.50 1280 1344 1504 1728 960 961 964 1011

** So, do I just bump up the "148.50" to achieve a higher vert. refresh rate?

2. Other than that, does anyone know how to use "xrandr" properly to change screen resolution so that no virtual window is used?

I'm running @ 1280x960, and here are some settings from "xrandr -q":

 SZ:    Pixels          Physical       Refresh
*0   1280 x 960    ( 374mm x 271mm )  *85   60  
 1   1024 x 768    ( 374mm x 271mm )   85   75   70   60  
 2    800 x 600    ( 374mm x 271mm )   85   75   72   70   65   60   56
.
.
.

When I use "xrandr -s 1", I get the 1024x768 resolution, but the f'ing thing seems to still be using a virtual desktop screen (but with no mouse scrolling available).  It would seem this way since when I change resolutions, my taskbar is missing at the bottom.  Maybe it's an XFCE thing, I dunno...

Thanks for help.

Offline

#2 2004-07-30 19:19:40

Martillo1
Member
From: My kabila in Lavapiés
Registered: 2004-02-20
Posts: 66

Re: Vertical Refresh Rate & Xrandr Questions

Here are the "magic" lines you where looking for

The refresh rates are to be replaced for your monitor ranges wink

The important line is the one that disables "EDID". Use it at your own risk  :!:

The file is /etc/X11/xorg.conf

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

# Any number of monitor sections may be present

Section "Monitor"

    Identifier  "SONY SDM-HS73P"

# 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.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    HorizSync   28-80

#    HorizSync    30-64         # multisync
#    HorizSync    31.5, 35.2    # multiple fixed sync frequencies
#    HorizSync    15-25, 30-50  # multiple ranges of sync frequencies

# 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.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY.  REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

    VertRefresh 48-75

EndSection


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

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
    Identifier    "Standard VGA"
    VendorName    "Unknown"
    BoardName    "Unknown"

# The chipset line is optional in most cases.  It can be used to override
# the driver's chipset detection, and should not normally be specified.

#    Chipset    "generic"

# The Driver line must be present.  When using run-time loadable driver
# modules, this line instructs the server to load the specified driver
# module.  Even when not using loadable driver modules, this line
# indicates which driver should interpret the information in this section.

    Driver     "vga"
# The BusID line is used to specify which of possibly multiple devices
# this section is intended for.  When this line isn't present, a device
# section can only match up with the primary video device.  For PCI
# devices a line like the following could be used.  This line should not
# normally be included unless there is more than one video device
# intalled.

#    BusID      "PCI:0:10:0"

#    VideoRam    256

#    Clocks    25.2 28.3

EndSection

# Device configured by xf86config:

Section "Device"
    Identifier  "** NVIDIA (generic)                   [nv]"
#    Driver      "nv"
    Driver      "nvidia"
#    VideoRam    65536
    # Insert Clocks lines here if appropriate

    Option "IgnoreEDID" "on"
EndSection

Offline

Board footer

Powered by FluxBB