Bug 10771 - xinerama screen size is incorrect
Summary: xinerama screen size is incorrect
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: * Other (show other bugs)
Version: 7.2 (2007.02)
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-26 07:48 UTC by Roman Dubtsov
Modified: 2008-02-24 19:01 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (23.34 KB, text/plain)
2007-04-26 08:28 UTC, Roman Dubtsov
no flags Details
Xorg.1.log using nv and tdfx drivers. (71.17 KB, text/plain)
2007-05-31 20:36 UTC, Nick Bowler
no flags Details

Description Roman Dubtsov 2007-04-26 07:48:01 UTC
Hi, 

I've reported this bug to debian`s bugzilla, but, since they are silent, I'm duplicating this here just in case. All mentioned attachements can be downloaded at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420679 .

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
Comment 1 Julien Cristau 2007-04-26 08:09:36 UTC
(In reply to comment #0)
> Hi, 
> 
> I've reported this bug to debian`s bugzilla, but, since they are silent, I'm
> duplicating this here just in case.
> 
your report to the debian bts was caught by a spam filter, sorry.  In any case, reporting it upstream as well can only help. Can you attach your Xorg log file to this report?
Comment 2 Roman Dubtsov 2007-04-26 08:28:16 UTC
Created attachment 9744 [details]
Xorg.0.log

here it is
Comment 3 Nick Bowler 2007-05-31 20:32:34 UTC
I can confirm this -- also using an nvidia card, and the behaviour is observed both with the proprietary nvidia driver and the free nv driver.  It extends to >2 screens -- all are reported by xinerama to be the same resolution as whatever the first happens to be running at.

xorg-server-1.2 correctly reports the xinerama extension as disabled, and programs function correctly.

I am attaching the xorg.log from when I tested using the nv driver, below is
the reported xinerama information.

DISPLAY=:0.0 xineramainfo # this screen is running at 1024x768
This display has XINERAMA 1.1 support
Have 1 screens: Screen 0:  At (0, 0)  Size 1024x768

DISPLAY=:0.1 xineramainfo # this screen is running at 1280x1024
This display has XINERAMA 1.1 support
Have 1 screens: Screen 0:  At (0, 0)  Size 1024x768
Comment 4 Nick Bowler 2007-05-31 20:36:00 UTC
Created attachment 10145 [details]
Xorg.1.log using nv and tdfx drivers.

Log of dual screen setup with "nv" and "tdfx" drivers, yielding incorrect xinerama information.
Comment 5 Nick Bowler 2007-10-01 18:43:34 UTC
After upgrading to xorg-server-1.4, this issue appears to be resolved.
Comment 6 Adam Jackson 2008-02-24 19:01:47 UTC
Marking as fixed per comment #5.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.