[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#699654: x11-xserver-utils: xrandr can not change refresh rate with 1.1 syntax



Package: x11-xserver-utils
Version: 7.7~3
Severity: normal

xrandr does not let me select refresh rates that I know are available,
usually giving the error:

Rate 60.0 Hz not available for this size

(or whatever refresh rate I choose).

I'm using the proprietary nvidia driver, 310.19-0+exp1, but with the
options DynamicTwinView false and FlatPanelProperties Scaling=Native, so
it should be reporting the refresh rates correctly to xrandr, and it
always worked in the past.

This is the output of xrandr in the default mode:

Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 8192 x 8192
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 698mm x 392mm
   1920x1080      50.0*+   60.0     59.9     24.0     30.0     30.0     25.0  
   1280x720       60.0     59.9     50.0  
   720x576        50.0     25.0  
   720x480        59.9     30.0  
   640x480        59.9  

If I run "xrandr -r 50" the screen does go blank then reappear as if
"changing" to the same mode, but all other refresh rates fail with the
above error.

If I run "xrandr -s 1280x720", I get a 60Hz display, but I can't select
any refresh rate then, not even the 60Hz it's already at! (Same error).

I tried 1.2 syntax:

$ xrandr --output HDMI-0 --rate 60

but nothing happened. However, at the last minute I tried:

$ xrandr --output HDMI-0 --mode 1920x1080 --rate 60

Success! I then tried to see if 1.1 syntax could switch back to 50Hz. It
made the screen flicker and didn't error, but it stayed at 60Hz. Then
the 1.2 command above started to fail with the original error. However,
when I changed the 1.2 command to --rate 50 it worked correctly, and
re-enabled --rate 60.

Also:

[htpc] $ gtf 1920 1080 60

  # 1920x1080 @ 60.00 Hz (GTF) hsync: 67.08 kHz; pclk: 172.80 MHz
  Modeline "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync

[htpc] $ xrandr --newmode "1920x1080_60.00"  172.80  1920 2040 2248 2576  1080 1081 1084 1118  -HSync +Vsync
[htpc] $ xrandr --addmode HDMI-0 1920x1080_60.00
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  153 (RANDR)
  Minor opcode of failed request:  18 (RRAddOutputMode)
  Serial number of failed request:  29
  Current serial number in output stream:  30


-- System Information:
Debian Release: 7.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.7-trunk-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-xserver-utils depends on:
ii  cpp          4:4.7.2-1
ii  libc6        2.13-38
ii  libice6      2:1.0.8-2
ii  libx11-6     2:1.5.0-1
ii  libxaw7      2:1.0.10-2
ii  libxcursor1  1:1.1.13-1
ii  libxext6     2:1.3.1-2
ii  libxi6       2:1.6.1-1
ii  libxmu6      2:1.1.1-1
ii  libxmuu1     2:1.1.1-1
ii  libxrandr2   2:1.3.2-2
ii  libxrender1  1:0.9.7-1
ii  libxt6       1:1.1.3-1
ii  libxxf86vm1  1:1.1.2-1

x11-xserver-utils recommends no packages.

Versions of packages x11-xserver-utils suggests:
pn  cairo-5c        <none>
pn  nickle          <none>
pn  xorg-docs-core  <none>

-- no debconf information


Reply to: