Bug#609858: xorg: xrandr 2- hangs the terminal, xrandr 2/dev/null works

2011-01-13 Thread Julien Cristau
On Wed, Jan 12, 2011 at 22:22:12 -0800, Jim Hill wrote:

 asking on irc says this reproduces on ubuntu 10.10, doesn not reproduce
 on lenny or 10.04.
 
 this does reproduce on squeeze vanilla kernel 2.6.32-5-amd64.
 
 git bisect on git://anongit.freedesktop.org/xorg/app/xrandr says
 
 61fc9cc04e1ac179ac5e2cc4ff861bb362f0b801 is the first bad commit
 
 also reported as bug 33045 upstream.
 
unreproducible for me.

$ xrandr 2-
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
VGA1 disconnected (normal left inverted right x axis y axis)
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 261mm x 
163mm
   1280x800   60.0*+   40.0  
   1024x768   60.0  
   800x60060.3 56.2  
   640x48059.9  
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
TV1 disconnected (normal left inverted right x axis y axis)
$ 

Cheers,
Julien


signature.asc
Description: Digital signature


Bug#609858: xorg: xrandr 2- hangs the terminal, xrandr 2/dev/null works

2011-01-13 Thread Jim Hill
 unreproducible for me.

blacklisting nouveau makes it go away for me.  with nouveau:

jthill@gadabout:~$ xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024   0.0*
jthill@gadabout:~$ xrandr 2-
^C
jthill@gadabout:~$ lsmod
Module  Size  Used by
nouveau   404295  2
ttm42720  1 nouveau
drm_kms_helper 21917  1 nouveau
psmouse32725  0
video  10917  1 nouveau
jthill@gadabout:~$ xrandr 2/dev/null
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024   0.0*
jthill@gadabout:~$ cd src/X11/xrandr/
jthill@gadabout:~/src/X11/xrandr$ git describe
xrandr-1.3.2-20-g61fc9cc
jthill@gadabout:~/src/X11/xrandr$ gdb ./xrandr
GNU gdb (GDB) 7.0.1-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as x86_64-linux-gnu.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/...
Reading symbols from /home/jthill/src/X11/xrandr/xrandr...done.
(gdb) run 2-
Starting program: /home/jthill/src/X11/xrandr/xrandr 2-
^C
Program received signal SIGINT, Interrupt.
0x771700d8 in poll () from /lib/libc.so.6
(gdb) bt
#0  0x771700d8 in poll () from /lib/libc.so.6
#1  0x76c878ca in ?? () from /usr/lib/libxcb.so.1
#2  0x76c89c0c in xcb_wait_for_reply () from /usr/lib/libxcb.so.1
#3  0x776d6acd in _XReply (dpy=0x60c010, rep=0x7fffdf10,
extra=value optimized out, discard=value optimized out) at xcb_io.c:533
#4  0x77bdbe49 in XRRGetOutputPrimary (dpy=0x60c010, window=67)
at XrrOutput.c:182
#5  0x00403bfb in output_is_primary () at xrandr.c:942
#6  set_output_info () at xrandr.c:1163
#7  get_outputs () at xrandr.c:1695
#8  0x0040688f in main (argc=0, argv=0x1) at xrandr.c:2919
(gdb) quit
A debugging session is active.

Inferior 1 [process 2722] will be killed.

Quit anyway? (y or n) y
jthill@gadabout:~/src/X11/xrandr$ ./xrandr
./xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024
default connected 1280x1024+0+0 0mm x 0mm
   1280x1024   0.0*
jthill@gadabout:~/src/X11/xrandr$



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/AANLkTi=8cm2n4vxqncfznnarkw_qrlp0qdwd9-m+p...@mail.gmail.com



Bug#609858: xorg: xrandr 2- hangs the terminal, xrandr 2/dev/null works

2011-01-12 Thread Jim Hill
Package: xorg
Version: 1:7.5+8
Severity: normal


asking on irc says this reproduces on ubuntu 10.10, doesn not reproduce
on lenny or 10.04.

this does reproduce on squeeze vanilla kernel 2.6.32-5-amd64.

git bisect on git://anongit.freedesktop.org/xorg/app/xrandr says

61fc9cc04e1ac179ac5e2cc4ff861bb362f0b801 is the first bad commit

also reported as bug 33045 upstream.

-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 Dec 22 17:16 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1889472 Dec  1 17:16 /usr/bin/Xorg

/var/lib/x11/xorg.conf.roster does not exist.

VGA-compatible devices on PCI bus:
01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9500 GT] 
(rev a1)

/etc/X11/xorg.conf does not exist.

Kernel version (/proc/version):
Linux version 2.6.37-gadabout-1-g493e2e0 (jthill@gadabout) (gcc version 
4.4.5 (Debian 4.4.5-8) ) #2 SMP PREEMPT Sat Jan 8 15:46:43 PST 2011

Xorg X server log files on system:
-rw-r--r-- 1 root root 29881 Jan 12 21:52 /var/log/Xorg.0.log

Contents of most recent Xorg X server log file
/var/log/Xorg.0.log:

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.26-dsa-amd64 x86_64 Debian
Current Operating System: Linux gadabout 2.6.37-gadabout-1-g493e2e0 #2 SMP 
PREEMPT Sat Jan 8 15:46:43 PST 2011 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.37-gadabout-1-g493e2e0 
root=UUID=e30ad8df-11ab-4c4e-8921-e3dccbc31459 ro quiet
Build Date: 02 December 2010  01:10:32AM
xorg-server 2:1.7.7-10 (Julien Cristau jcris...@debian.org) 
Current version of pixman: 0.16.4
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Wed Jan 12 12:50:28 2011
(==) Using system config directory /usr/share/X11/xorg.conf.d
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |--Screen Default Screen Section (0)
(**) |   |--Monitor default monitor
(==) No monitor specified for screen Default Screen Section.
Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(==) ModulePath set to /usr/lib/xorg/modules
(II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable 
AutoAddDevices.
(II) Loader magic: 0x7c7500
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 6.0
X.Org XInput driver : 7.0
X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0640:196e:0643 nVidia Corporation G96 [GeForce 9500 
GT] rev 161, Mem @ 0xfa00/16777216, 0xc000/536870912, 
0xf800/33554432, I/O @ 0xef00/128, BIOS @ 0x/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: dbe
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor=NVIDIA Corporation
compiled for 4.0.2, module version = 1.0.0
Module class: X.Org Server Extension
(II) NVIDIA GLX Module  260.19.29  Wed Dec  8 12:24:30 PST 2010
(II) Loading extension GLX
(II) LoadModule: record
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor=X.Org Foundation
compiled for 1.7.7, module version = 1.13.0