Bug 2610 - Enabling MergedFB with only one head reports incorrect Xinerama info
Summary: Enabling MergedFB with only one head reports incorrect Xinerama info
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/Radeon (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 09:09 UTC by Ari Pollak
Modified: 2007-01-23 23:00 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Log when running with MergedFB enabled and no extra head connected (8.44 KB, application/x-gzip)
2005-03-05 13:52 UTC, Ari Pollak
no flags Details
X configuration with MergedFB enabled (3.80 KB, application/octet-stream)
2005-03-05 13:54 UTC, Ari Pollak
no flags Details

Description Ari Pollak 2005-02-24 09:09:58 UTC
If I enable MergedFB support for my Radeon 9000 but do not connect an extra
monitor when X starts up, the X server still seems to report that I have 2 heads
connected, which confuses certain programs like XScreensaver and Firefox, which
start up taking only part of the screen.  For example, here is the output of the
text-xinerama program included in the xscreensaver source:

test-xinerama: 11:50:30: XineramaQueryExtension(dpy, ...) ==> 0, 0
test-xinerama: 11:50:30: XineramaIsActive(dpy) ==> True
test-xinerama: 11:50:30: XineramaQueryVersion(dpy, ...) ==> 1, 1
test-xinerama: 11:50:30: 2 Xinerama screens
test-xinerama: 11:50:30:   screen 0: 1400x1050+0+0
test-xinerama: 11:50:30:   screen 1: 640x1050+760+0
Comment 1 Alex Deucher 2005-02-25 08:55:01 UTC
can you attach your full log and config?
Comment 2 Ari Pollak 2005-03-05 13:52:51 UTC
Created attachment 2021 [details]
Log when running with MergedFB enabled and no extra head connected
Comment 3 Ari Pollak 2005-03-05 13:54:03 UTC
Created attachment 2022 [details]
X configuration with MergedFB enabled
Comment 4 Alex Deucher 2005-03-10 07:42:54 UTC
It's reproting two heads because you have forced mergedfb on (Option "MergedFB"
"true").  This option forces mergedfb on even if the driver does not detect two
head connected.  if you want the driver to attempt to come up in single vs.
dualhead based on what's attached, remove that line.
The xinerama weirdness comes from the fact that there is no DDC information for
your second head so it defaults to 640x480.
Comment 5 Ari Pollak 2005-03-10 17:25:32 UTC
Ah, so it does. The man page for radeon under the MergedFB option doesn't really
say that it _forces_ xinerama on, only that it turns MergedFB on.
Comment 6 Alex Deucher 2005-03-10 20:48:21 UTC
(In reply to comment #5)
> Ah, so it does. The man page for radeon under the MergedFB option doesn't really
> say that it _forces_ xinerama on, only that it turns MergedFB on.

Well, it doesn't exactly force xinerama on, rather it forces both heads on.
xinerama is just a byproduct.  Still you are right, I should clarify the man
page.  I'll fix that up soon.
Comment 7 Peter Liebetraut 2006-08-26 06:23:53 UTC
I apologize that I have to re-open this bug.
Due to a bios issue of my notebook, I am forced to use the option "MergedFB
true" otherwise the external screen will only work in clone modus which is not
what I am looking for.
The main issue concerns the dialog which asks for a password after standby or
screensaver etc. This "re-login window" is not displayed if the framebuffer's
size matches the size of the internal display.

Example:
The internal display supports 1280x800 pixels, the external 640x480. The
resolution for the framebuffer is set with xrandr during startup of xorg within
some script.
This way no window is placed beyond the 1280 pixel border if no second display
is attached.
After setting the framebuffer size to 1280x800 there is NO login screen display
when using lock screen etc. If I set the framebuffers size to anything else,
e.g. 1920x800, the dialog is displayed correctly. Only if the framebuffer size
(set with xrandr) corresponds to the actual size of the screen, the login dialog
will not be displayed. As this works with any other resolution, I suppose the
bug comes from MergedFB and not from the login screen of the xscreensaver.
Comment 8 Rolf Leggewie 2007-01-23 23:00:16 UTC
Peter, this is a different issue.  Please open a different bug report. Thank you.


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.