Bug 233735 - Xinerama: XineramaQueryScreens() returns only the first screen
Xinerama: XineramaQueryScreens() returns only the first screen
Status: CLOSED CANTFIX
Product: Fedora
Classification: Fedora
Component: xorg-x11-server (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: X/OpenGL Maintenance List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-24 06:36 EDT by Jan Andres
Modified: 2008-08-02 19:40 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-03-26 12:07:28 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
The test program mentioned in the report (910 bytes, text/plain)
2007-03-24 06:37 EDT, Jan Andres
no flags Details
My xorg.conf (2.66 KB, text/plain)
2007-03-24 06:38 EDT, Jan Andres
no flags Details

  None (edit)
Description Jan Andres 2007-03-24 06:36:54 EDT
Since I upgraded to xorg-x11-server-Xorg-1.2.99.902-1.fc7,
XineramaQueryScreens() only returns information about the first screen, although
a second one exists. This breaks Xinerama-aware applications, including
metacity, because they are unable to determine the size of the second screen.

Please see attached small C program that I wrote as a debugging aid; this is its
output on my system:

screen count: 2; default screen: 0
[screen 0] width=1920 height=1200
[screen 1] width=1024 height=768
Xinerama is active.
Xinerama: found 1 screens
[screen 0] x_org=0 y_org=0 width=1920 height=1200

Also attached is my xorg.conf. I'm running Nvidia binary driver version 9746;
note that Xinerama has worked with this driver version with the
xorg-x11-server-Xorg I was running earlier. Sorry, I don't have its version
number any more.

Regards,
Jan
Comment 1 Jan Andres 2007-03-24 06:37:55 EDT
Created attachment 150822 [details]
The test program mentioned in the report
Comment 2 Jan Andres 2007-03-24 06:38:30 EDT
Created attachment 150823 [details]
My xorg.conf
Comment 3 Jan Andres 2007-03-24 07:51:41 EDT
Update: not fixed by upgrading to Nvidia version 9755.

The problem is that screenInfo.numScreens within the X server is 0. Trying to
figure out why...
Comment 4 Jan Andres 2007-03-24 09:55:07 EDT
Okay, got the last one wrong. screenInfo.numScreens was in fact correctly
initialized. The problem was that PanoramiXNumScreens wasn't, because
PanoramiXExtensionInit() was never called. And it's correct that it wasn't, as
Xinerama isn't enabled in xorg.conf.

So, the actual source of the problem is that the server reports Xinerama to be
enabled although it actually isn't, and the Xinerama extension then of course
isn't working properly.
Comment 5 Matěj Cepl 2007-03-26 12:07:28 EDT
Hi, Jan,

we really cannot support 3rd party proprietary "nvidia" video driver, and there
is no way how to persuad us that the bug is in our Xserver and not in their
drivers. So, I am closing this for now as CANTFIX (because we really cannot fix
it), and when you will be able to reproduce the bug with nv (or vesa) drivers,
feel free to reopen this bug (while attaching to this bug uncompressed separate
attachments of /etc/X11/xorg.conf and /var/log/Xorg.0.log demonstrating the
problem).

Thanks a lot, and sorry that I cannot help you immediately.

Note You need to log in before you can comment on or make changes to this bug.