Thread: setting the refresh rate with xrandr does not work
hi,
using 2 monitors, 1 2048 * 1024, other 1024 * 768. in xinerama nothing works, seems incompatible randr extension. setting layout xrandr working except refresh rate of main monitor. 75hz supported (see below). have created file xrandr configurations apply automatically. xrandr file translates this:
does know how set refresh rate?code:xrandr --output vga-0 --rate 75 --output dvi-0 --right-of vga-0 --rate 60
tanks time.
xrandr -q:
xorg.conf:code:vga-0 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm 1280x1024 60.0*+ 75.0 1280x960 60.0 1024x768 75.1 70.1 60.0 800x600 72.2 75.0 60.3 640x480 72.8 75.0 60.0 720x400 70.1 dvi-0 connected 1024x768+1280+0 (normal left inverted right x axis y axis) 304mm x 228mm 1024x768 75.1* 75.0 70.1 60.0 832x624 74.6 800x600 72.2 75.0 60.3 56.2 640x480 72.8 75.0 66.7 60.0 59.9 720x400 70.1
/etc/x11/xsession.d/45custom_xrandr-settings:code:section "serverlayout" identifier "x.org configured" inputdevice "mouse0" "corepointer" inputdevice "keyboard0" "corekeyboard" endsection section "files" modulepath "/usr/lib/xorg/modules" fontpath "/usr/share/fonts/x11/misc" fontpath "/usr/share/fonts/x11/cyrillic" fontpath "/usr/share/fonts/x11/100dpi/:unscaled" fontpath "/usr/share/fonts/x11/75dpi/:unscaled" fontpath "/usr/share/fonts/x11/type1" fontpath "/usr/share/fonts/x11/100dpi" fontpath "/usr/share/fonts/x11/75dpi" fontpath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/truetype" fontpath "built-ins" endsection section "module" load "glx" load "dri2" load "dri" load "extmod" load "dbe" load "record" endsection section "inputdevice" identifier "keyboard0" driver "kbd" endsection section "inputdevice" identifier "mouse0" driver "mouse" option "protocol" "auto" option "device" "/dev/input/mice" option "zaxismapping" "4 5 6 7" endsection section "monitor" identifier "monitor0" endsection section "device" ### available driver options are:- ### values: <i>: integer, <f>: float, <bool>: "true"/"false", ### <string>: "string", <freq>: "<f> hz/khz/mhz", ### <percent>: "<f>%" ### [arg]: arg optional #option "noaccel" # [<bool>] #option "swcursor" # [<bool>] #option "dac6bit" # [<bool>] #option "dac8bit" # [<bool>] #option "bustype" # [<str>] #option "cppiomode" # [<bool>] #option "cpusectimeout" # <i> #option "agpmode" # <i> #option "agpfastwrite" # [<bool>] #option "agpsize" # <i> #option "gartsize" # <i> #option "ringsize" # <i> #option "buffersize" # <i> #option "enabledepthmoves" # [<bool>] #option "enablepageflip" # [<bool>] #option "nobackbuffer" # [<bool>] #option "dmaforxv" # [<bool>] #option "fbtexpercent" # <i> #option "depthbits" # <i> #option "pciapersize" # <i> #option "acceldfs" # [<bool>] #option "ignoreedid" # [<bool>] #option "customedid" # [<str>] #option "displaypriority" # [<str>] #option "panelsize" # [<str>] #option "forcemindotclock" # <freq> option "colortiling" "true" # [<bool>] #option "videokey" # <i> #option "ragetheatrecrystal" # <i> #option "ragetheatretunerport" # <i> #option "ragetheatrecompositeport" # <i> #option "ragetheatresvideoport" # <i> #option "tunertype" # <i> #option "ragetheatremicrocpath" # <str> #option "ragetheatremicroctype" # <str> #option "scalerwidth" # <i> #option "renderaccel" # [<bool>] #option "subpixelorder" # [<str>] #option "clockgating" # [<bool>] #option "vgaaccess" # [<bool>] #option "reverseddc" # [<bool>] #option "lvdsprobepll" # [<bool>] #option "accelmethod" # <str> #option "dri" # [<bool>] #option "connectortable" # <str> #option "defaultconnectortable" # [<bool>] #option "defaulttmdspll" # [<bool>] #option "tvdacloaddetect" # [<bool>] #option "forcetvout" # [<bool>] #option "tvstandard" # <str> #option "ignorelidstatus" # [<bool>] #option "defaulttvdacadj" # [<bool>] #option "int10" # [<bool>] #option "exavsync" # [<bool>] #option "atomtvout" # [<bool>] #option "r4xxatom" # [<bool>] #option "forcelowpowermode" # [<bool>] #option "dynamicpm" # [<bool>] #option "newpll" # [<bool>] #option "zaphodheads" # <str> identifier "card0" driver "radeon" busid "pci:1:0:0" endsection section "screen" identifier "screen0" device "card0" monitor "monitor0" subsection "display" depth 24 modes "1280x1024" "1024x768" virtual 2304 1792 endsubsection endsection
code:external_output="dvi-0" internal_output="vga-0" external_location="right" case "$external_location" in left|left) external_location="--left-of $internal_output" ;; right|right) external_location="--right-of $internal_output" ;; top|top|above|above) external_location="--above $internal_output" ;; bottom|bottom|below|below) external_location="--below $internal_output" ;; *) external_location="--left-of $internal_output" ;; esac xrandr |grep $external_output | grep " connected " if [ $? -eq 0 ]; xrandr --output $internal_output --rate 75 --output $external_output --rate 75 $external_location else xrandr --output $internal_output --auto --output $external_output --off fi
try
code:xrandr -r 75
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] setting the refresh rate with xrandr does not work
Ubuntu
Comments
Post a Comment