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

Bug#736224: marked as done (xrandr:an additional decimal place is required to distinguish different refresh rates in query)



Your message dated Sun, 13 Jul 2014 13:49:39 +0000
with message-id <E1X6K9r-0001gI-Hx@franck.debian.org>
and subject line Bug#736224: fixed in x11-xserver-utils 7.7+3
has caused the Debian Bug report #736224,
regarding xrandr:an additional decimal place is required to distinguish different refresh rates in query
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
736224: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=736224
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: x11-xserver-utils
Version: 7.7+2
Severity: normal
Tags: upstream patch

I have an Samsung eh5000 HDTV that I connect to my Intel Mobile Ivy
Bridge chipset via HDMI1 as reported by xrandr. Without modification
xrandr reports the display's native resolution as

1920x1080      60.0 +   59.9     30.0     24.0     30.0     24.0*

This is confusing because it lists 30.0 and 24.0 twice each. I
discovered that I could switch to either one by specifying --rate
30/--rate 29.97 or --rate 24/--rate 23.98.

With the attached patch, I have added one more decimal everywhere a
frequency is reported so that now it's clearer what the supported
refresh rates are and how to switch to them:

1920x1080     60.00 +  59.94    30.00    24.00    29.97    23.98* 

Kevin


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (600, 'unstable'), (500, 'testing'), (400, 'stable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0.00 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-xserver-utils depends on:
ii  cpp          4:4.8.2-2
ii  libc6        2.17-97
ii  libice6      2:1.0.8-2
ii  libx11-6     2:1.6.2-1
ii  libxaw7      2:1.0.11-1
ii  libxcursor1  1:1.1.14-1
ii  libxext6     2:1.3.2-1
ii  libxi6       2:1.7.2-1
ii  libxmu6      2:1.1.1-1
ii  libxmuu1     2:1.1.1-1
ii  libxrandr2   2:1.4.1-1
ii  libxrender1  1:0.9.8-1
ii  libxt6       1:1.1.4-1
ii  libxxf86vm1  1:1.1.3-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
--- a/xrandr/xrandr.c
+++ b/xrandr/xrandr.c
@@ -1566,7 +1566,7 @@
 	rr_outputs[o] = crtc->outputs[o]->output.xid;
     mode = crtc->mode_info->id;
     if (verbose) {
-	printf ("crtc %d: %12s %6.1f +%d+%d", crtc->crtc.index,
+	printf ("crtc %d: %12s %6.2f +%d+%d", crtc->crtc.index,
 		crtc->mode_info->name, mode_refresh (crtc->mode_info),
 		crtc->x, crtc->y);
 	for (o = 0; o < crtc->noutput; o++)
@@ -3592,7 +3592,7 @@
 		    XRRModeInfo	*mode = find_mode_by_xid (output_info->modes[j]);
 		    int		f;
 		    
-		    printf ("  %s (0x%x) %6.1fMHz",
+		    printf ("  %s (0x%x) %6.2fMHz",
 			    mode->name, (int)mode->id,
 			    (double)mode->dotClock / 1000000.0);
 		    for (f = 0; mode_flags[f].flag; f++)
@@ -3603,10 +3603,10 @@
 		    if (j < output_info->npreferred)
 			printf (" +preferred");
 		    printf ("\n");
-		    printf ("        h: width  %4d start %4d end %4d total %4d skew %4d clock %6.1fKHz\n",
+		    printf ("        h: width  %4d start %4d end %4d total %4d skew %4d clock %6.2fKHz\n",
 			    mode->width, mode->hSyncStart, mode->hSyncEnd,
 			    mode->hTotal, mode->hSkew, mode_hsync (mode) / 1000);
-		    printf ("        v: height %4d start %4d end %4d total %4d           clock %6.1fHz\n",
+		    printf ("        v: height %4d start %4d end %4d total %4d           clock %6.2fHz\n",
 			    mode->height, mode->vSyncStart, mode->vSyncEnd, mode->vTotal,
 			    mode_refresh (mode));
 		    mode->modeFlags |= ModeShown;
@@ -3633,7 +3633,7 @@
 			if (strcmp (jmode->name, kmode->name) != 0) continue;
 			mode_shown[k] = True;
 			kmode->modeFlags |= ModeShown;
-			printf (" %6.1f", mode_refresh (kmode));
+			printf (" %6.2f", mode_refresh (kmode));
 			if (kmode == output->mode_info)
 			    printf ("*");
 			else
@@ -3654,13 +3654,13 @@
 
 	    if (!(mode->modeFlags & ModeShown))
 	    {
-		printf ("  %s (0x%x) %6.1fMHz\n",
+		printf ("  %s (0x%x) %6.2fMHz\n",
 			mode->name, (int)mode->id,
 			(double)mode->dotClock / 1000000.0);
-		printf ("        h: width  %4d start %4d end %4d total %4d skew %4d clock %6.1fKHz\n",
+		printf ("        h: width  %4d start %4d end %4d total %4d skew %4d clock %6.2fKHz\n",
 			mode->width, mode->hSyncStart, mode->hSyncEnd,
 			mode->hTotal, mode->hSkew, mode_hsync (mode) / 1000);
-		printf ("        v: height %4d start %4d end %4d total %4d           clock %6.1fHz\n",
+		printf ("        v: height %4d start %4d end %4d total %4d           clock %6.2fHz\n",
 			mode->height, mode->vSyncStart, mode->vSyncEnd, mode->vTotal,
 			mode_refresh (mode));
 	    }

--- End Message ---
--- Begin Message ---
Source: x11-xserver-utils
Source-Version: 7.7+3

We believe that the bug you reported is fixed in the latest version of
x11-xserver-utils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 736224@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Cristau <jcristau@debian.org> (supplier of updated x11-xserver-utils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 13 Jul 2014 15:34:05 +0200
Source: x11-xserver-utils
Binary: x11-xserver-utils
Architecture: source amd64
Version: 7.7+3
Distribution: sid
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description:
 x11-xserver-utils - X server utilities
Closes: 736224
Changes:
 x11-xserver-utils (7.7+3) unstable; urgency=medium
 .
   * xrandr 1.4.2
     - Use more decimal places when printing various rates (closes: #736224)
Checksums-Sha1:
 5c27358fae029f18aa70324858aac7cc528e6e70 1940 x11-xserver-utils_7.7+3.dsc
 a4f075773a8280dfb88f31eceaa95156c276234f 2517009 x11-xserver-utils_7.7+3.tar.gz
 73ff30315b4dccc2e01195e53899dcfe49867828 157890 x11-xserver-utils_7.7+3_amd64.deb
Checksums-Sha256:
 62de9fcfb3221701a2db16a134b55cfdadcf18df737ac700de8d02f6cbb33d4f 1940 x11-xserver-utils_7.7+3.dsc
 2ae2c34fe1e9b489463134c636deceda999e6294614c4eab17bb373c374a01dd 2517009 x11-xserver-utils_7.7+3.tar.gz
 30955c03c26c8e2e77d56eb7b6f8015f4ca5db3ac44eb8adfbd04cbadd22bfe7 157890 x11-xserver-utils_7.7+3_amd64.deb
Files:
 7020af9546353d2f6474b40b07083e53 157890 x11 optional x11-xserver-utils_7.7+3_amd64.deb
 857af0541835418baba2cd4157648faa 1940 x11 optional x11-xserver-utils_7.7+3.dsc
 aea8cd418cbc0dae45a9617913425609 2517009 x11 optional x11-xserver-utils_7.7+3.tar.gz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTwovUAAoJEDEBgAUJBeQM8h4QANgGwLRKc9bd/azfevs+k+qq
YN1IHpsUkPiwj6hmm7BqWx0+b7NWDZmFS6SNQaLWtZntTuLscqBkp8QtGq2Y1PU9
ZYVKTatfikBVhoZM0Rl97HE3d71+yEcSNQOeVy9JM0WlHJLbizDdEswhzKLsbV4O
dwSr1y1/viR3+jObfFyKqd+OpBTU1eoImTEFMQN7uvwcLfjWW00VHn7VWtCTboyv
Xd57ui09NWPlydDP8exImYwnCCmbpW3MotYnY0MXdHk1vly1Kt8k5ru2oJzQ3W0M
kkffDUi8AtibK+TGRyChMPkWKn6Bg+6kKPHRfKtj48wGu0wQM+8nmWx4Ihgks9ba
XyRdVAPanAlzrF6RBScEPsM6DDGrUhSvI+OLCOnSRzYjNBrvg6Xw82KpINQhJ/UL
HYwza49wj8uKtSgBjCDtqkTO8bS/TPFs3HTzq4qP9hhIzprsgdPu8Ao+qF1jCVv8
osIE372lomRNGZ+eNS69/eRogGeCw5af0x7sxfidI/lTcdtcOJk8Q4VjVt6lDOKS
xa626fGnt6PLZa8+xxoTa+wRDzjYYqAIZu3w/LkT/xW7OufPrCmwcHbMafm8T4hi
6GvOY6N3A+37ea5wqqnjsce7MsPpMeGrlpbCBe+DAppUjPyJoz8KjL19wSWYUYRg
Pki7HbNQ+HVNNWH/spYE
=bBQk
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: