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

Bug#420679: marked as done (wrong screen size reported by xinerama)



Your message dated Wed, 16 May 2007 14:32:08 +0000
with message-id <E1HoKXw-0002KA-CF@ries.debian.org>
and subject line Bug#420679: fixed in xorg-server 2:1.3.0.0.dfsg-5
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xserver-xorg-core
Version: 2:1.3.0.0.dfsg-2
Severity: normal

--- Please enter the report below this line. ---

Hi,

I'm using nvidia video adapter with dual screen setup: one is LCD panel 
(1440x900) and another one is TV (800x600). They are separate screens (no 
TwinView) and Xinerama is disabled in xorg.conf. But after latest xorg 
upgrade I've noticed that Xinerama is enabled on both screens and that the 
Xinerama screen dimensions are wrong. Here's the proof:

[busa@stratosphere 09:12:57 xineramainfo]$ DISPLAY=:0.0 ./xinerama-info
Xinerama is enabled on :0.0 (1 screen(s) available)
Xinerama screen 0: 1440x900+0+0
[busa@stratosphere 09:15:30 xineramainfo]$ DISPLAY=:0.1 ./xinerama-info
Xinerama is enabled on :0.1 (1 screen(s) available)
Xinerama screen 0: 1440x900+0+0

xinerama-info is a simple C program, which queries Xinerama info from the 
server. I'm attaching its source just in case. Also attached is gzipped 
xdpyinfo output.

Please note that this likely has nothing to do with nvidia drivers, since when 
I was using 1.2 version of xserver-xorg-core everything was fine, and with 
1.2.999 I had exactly the same issue.

Thanks,
Roman

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.20.4-0-k7-swsusp2

Debian Release: lenny/sid
  500 unstable        debian.nsu.ru 
    1 experimental    debian.nsu.ru 

--- Package information. ---
Depends                (Version) | Installed
================================-+-================
x11-common          (>= 1:7.0.0) | 1:7.2-1
libc6                   (>= 2.5) | 2.5-2
libdrm2               (>= 2.3.0) | 2.3.0-4
libfontenc1                      | 1:1.0.4-2
libgcc1          (>= 1:4.1.1-12) | 1:4.2-20070307-1
libxau6                          | 1:1.0.3-2
libxdmcp6                        | 1:1.0.2-2
libxfont1                        | 1:1.2.8-1
xserver-xorg                     | 1:7.2-1
# XF86Config-4 (XFree86 X server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/local/share/fonts/windows"
	FontPath	"/usr/local/share/fonts/wine"
	FontPath	"/usr/local/share/fonts/extra"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/CID"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
EndSection

Section "Extensions"
    Option	"Composite"	"enable"
    Option	"RENDER"	"enable"
EndSection

Section "Module"
	Load	"dbe"
	Load	"extmod"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"freetype"
	Load	"type1"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us,ru"
	Option		"XkbOptions" "grp:menu_toggle,grp_led:scroll"
	Option		"XkbVariant" ",winkeys"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"	"4 5"
EndSection

Section "Device"
	Identifier	"nVidia0"
	Driver		"nvidia"
	BusID		"PCI:2:0:0"
	#Option		"TVOutFormat"	"COMPOSITE"
	Option		"TVOutFormat"	"AUTOSELECT"
	Option		"NvAgp"	"0"
	Option		"RenderAccel" "true"
	Option		"AllowGLXWithComposite" "true"
	Option		"TripleBuffer" "true"
	Option		"AddARGBGLXVisuals"
	Screen		0
EndSection

Section "Device"
	Identifier	"nVidia1"
	Driver		"nvidia"
	BusID		"PCI:2:0:0"
#     Option		"TVOutFormat"	"COMPOSITE"
	Option		"NvAgp"	"0"
	Screen		1
EndSection

Section "Monitor"
	Identifier	"Philips 170S4FG"
	HorizSync	30-82
	VertRefresh	56-76
	Option		"DPMS"
	DisplaySize 337	270
EndSection

Section "Monitor"
	Identifier	"TV"
	HorizSync	30-60
	VertRefresh	70
EndSection

Section "Screen"
	Identifier		"MonitorScreen"
	Device			"nVidia0"
	Monitor			"Philips 170S4FG"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1440x900" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
	Identifier		"TVScreen"
	Device			"nVidia1"
	Monitor			"TV"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen 	0 	"MonitorScreen"
	Screen	1	"TVScreen" RightOf "MonitorScreen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
EndSection

Section "ServerFlags"
	Option "Xinerama" "False"
EndSection
#include <X11/extensions/Xinerama.h>
#include <X11/X.h>
#include <X11/Xlib.h>

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char **argv)
{
	Display *dpy;

    if ((dpy = XOpenDisplay(NULL)) == NULL) {
        fprintf(stderr, "%s: can't open %s\n", argv[0], XDisplayName(NULL));
        exit(1);
    }

	if (XineramaIsActive(dpy)) {
		XineramaScreenInfo *screens;
		int nscreens, i;
		screens = XineramaQueryScreens(dpy, &nscreens);
		printf("Xinerama is enabled on %s (%d screen(s) available)\n", XDisplayName(NULL), nscreens);
		for (i = 0; i < nscreens; i++)
			printf("Xinerama screen %d: %dx%d+%d+%d\n", 
					screens[i].screen_number,
					screens[i].width,
					screens[i].height,
					screens[i].x_org,
					screens[i].y_org);
	} else 
		printf("Xinerama is not enabled on %s\n", XDisplayName(NULL));

	XCloseDisplay(dpy);
}

Attachment: xdpyinfo.out.gz
Description: GNU Zip compressed data


--- End Message ---
--- Begin Message ---
Source: xorg-server
Source-Version: 2:1.3.0.0.dfsg-5

We believe that the bug you reported is fixed in the latest version of
xorg-server, which is due to be installed in the Debian FTP archive:

xdmx-tools_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xdmx-tools_1.3.0.0.dfsg-5_i386.deb
xdmx_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xdmx_1.3.0.0.dfsg-5_i386.deb
xnest_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xnest_1.3.0.0.dfsg-5_i386.deb
xorg-server_1.3.0.0.dfsg-5.diff.gz
  to pool/main/x/xorg-server/xorg-server_1.3.0.0.dfsg-5.diff.gz
xorg-server_1.3.0.0.dfsg-5.dsc
  to pool/main/x/xorg-server/xorg-server_1.3.0.0.dfsg-5.dsc
xprint-common_1.3.0.0.dfsg-5_all.deb
  to pool/main/x/xorg-server/xprint-common_1.3.0.0.dfsg-5_all.deb
xprint_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xprint_1.3.0.0.dfsg-5_i386.deb
xserver-xephyr_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xserver-xephyr_1.3.0.0.dfsg-5_i386.deb
xserver-xorg-core-dbg_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core-dbg_1.3.0.0.dfsg-5_i386.deb
xserver-xorg-core_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-core_1.3.0.0.dfsg-5_i386.deb
xserver-xorg-dev_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xserver-xorg-dev_1.3.0.0.dfsg-5_i386.deb
xvfb_1.3.0.0.dfsg-5_i386.deb
  to pool/main/x/xorg-server/xvfb_1.3.0.0.dfsg-5_i386.deb



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 420679@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 xorg-server 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@debian.org)


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

Format: 1.7
Date: Wed, 16 May 2007 15:17:55 +0200
Source: xorg-server
Binary: xserver-xephyr xprint xserver-xorg-core xvfb xserver-xorg-dev xdmx xprint-common xdmx-tools xserver-xorg-core-dbg xnest
Architecture: source i386 all
Version: 2:1.3.0.0.dfsg-5
Distribution: unstable
Urgency: low
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Julien Cristau <jcristau@debian.org>
Description: 
 xdmx       - Distributed Multihead X server
 xdmx-tools - Distributed Multihead X tools
 xnest      - Nested X server
 xprint     - Xprint - the X11 print system (binary)
 xprint-common - Xprint - the X11 print system (configuration files)
 xserver-xephyr - Next Generation Nested X Server
 xserver-xorg-core - X.Org X server -- core server
 xserver-xorg-core-dbg - Xorg - the X.Org X server (debugging symbols)
 xserver-xorg-dev - X.Org X server -- development files
 xvfb       - Virtual Framebuffer 'fake' X server
Closes: 222932 395888 420679 422077 422095 422352 423129
Changes: 
 xorg-server (2:1.3.0.0.dfsg-5) unstable; urgency=low
 .
   [ Brice Goglin ]
   * Add 24_hurd_ioperm_fix.diff to fix xf86Enable/DisableIO on Hurd with
     recent GNU Mach. Thanks Samuel Thibault!
   * Add 06_use_proc_instead_of_sysfs_for_pci_domains.diff since sysfs-based
     PCI management code is broken at least on sparc and powerpc.
     Closes: #422077, #422095. Thanks to Jim Watson for testing!
   * Install the Xephyr README, closes: #395888.
   * Update 07_xorgconf_manpage_overhaul.diff to drop the reference to the
     xorg.conf example which we do not install since Xserver 1.3 does automatic
     configuration, the manpage is very well documented, and we generate a
     config file during installation. Closes: #222932.
   * Fix warning in /etc/init.d/xprint when /usr/lib/X11/fonts does not exist.
     Closes: #422352. Thanks Cristian Ionescu-Idbohrn!
   * Pull upstream commit 9c80eda826448822328bb678a7d284cc43fffb17 to disable
     RandR's fake xinerama geometry when there's more than one protocol screen
     (closes: #420679).
 .
   [ Julien Cristau ]
   * Add patch to make sure that the ramdac symbols are present in the server
     and drivers can use them (closes: #423129).
   * xserver-xorg-core Conflicts with fglrx-driver, which broke with 1.3.
     We'll need to make this versioned (or drop it) when fglrx is fixed.
Files: 
 b0fd93af99e2090f02cf20745fd0fcdf 2322 x11 optional xorg-server_1.3.0.0.dfsg-5.dsc
 cb0abe5d0fcf449771abf8cf8b052391 576640 x11 optional xorg-server_1.3.0.0.dfsg-5.diff.gz
 0471eafde0a97e4395c2c9e32114dc25 262580 x11 optional xprint-common_1.3.0.0.dfsg-5_all.deb
 a9e0449cc6bf236640ae8db878d62533 3617856 x11 optional xserver-xorg-core_1.3.0.0.dfsg-5_i386.deb
 52ed6b9c633f4ca3477db9c481aa23e8 310816 x11 optional xserver-xorg-dev_1.3.0.0.dfsg-5_i386.deb
 0df01dc89540dda9c2b78baeb9f3ed18 799168 x11 optional xdmx_1.3.0.0.dfsg-5_i386.deb
 ceee8fcaf7667c5cdd48bda66edd345f 83928 x11 optional xdmx-tools_1.3.0.0.dfsg-5_i386.deb
 56930a77e7d7f1daedabaa17596bee8b 1398830 x11 optional xnest_1.3.0.0.dfsg-5_i386.deb
 6a5cdbdc2b5cc9158a88378b23f1a54c 1548642 x11 optional xvfb_1.3.0.0.dfsg-5_i386.deb
 646ec6744173720830563a97fef1ff09 1577538 x11 optional xserver-xephyr_1.3.0.0.dfsg-5_i386.deb
 de45cebf8efc2e26cd46e07b98e21d89 1619194 x11 optional xprint_1.3.0.0.dfsg-5_i386.deb
 53f9bdeb302a3d626195e42518a511fc 12178074 x11 extra xserver-xorg-core-dbg_1.3.0.0.dfsg-5_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGSxI8mEvTgKxfcAwRAveDAJ9xavo63+5zzfHdTu01FNAGUwRrGwCfVVRn
IZnaEgrgkh71GJJBPz31VU4=
=1O8t
-----END PGP SIGNATURE-----


--- End Message ---

Reply to: