<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>179545</bug_id>
          
          <creation_ts>2007-05-23 16:53 0000</creation_ts>
          <short_desc>x11-base/xorg-server-1.3.0.0 uses wrong screen resolutions on a dual-head systems</short_desc>
          <delta_ts>2007-10-13 20:52:48 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Server</component>
          <version>2006.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>Inclusion</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>l33tmmx@gmail.com</reporter>
          <assigned_to>x11@gentoo.org</assigned_to>
          <cc>bas@lijer.nl</cc>
    
    <cc>billie@gentoo.org</cc>
    
    <cc>frlinux@frlinux.net</cc>
    
    <cc>ml81@gmx.de</cc>

      

      
          <long_desc isprivate="0">
            <who>l33tmmx@gmail.com</who>
            <bug_when>2007-05-23 16:53:37 0000</bug_when>
            <thetext>I&apos;m using a dual-head system with main screen being 1280x1024 (TFT) and the secondary screen 1024x768 (also TFT), and fluxbox-1.0_rc3 as a window manager. Everything is compiled with xinerama support, but xinerama is NOT enabled in xorg.conf (i.e. I have two separate desktops). Xorg-server-1.3.0.0 seems to think that both screens are of same resolution (1280x1024), and as such reports the resolution incorrectly to the applications. Some examples: if I maximize a window in the second screen, it becomes bigger than the actual screen; some wallpapersetters have problems, too: wmsetbg (from the WindowMaker package) sets the wallpaper too big on the second screen, when told to use fullscreen. Curiously enough, media-gfx/feh seems to set the wallpaper correctly, regardless of the xorg-server version.

X11-wm/windowmaker has the same problem, too; I didn&apos;t test the other window managers.

Xorg-server-1.2.0 and earlier work correctly, no problems with these versions.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-08-03 08:21:28 0000</bug_when>
            <thetext>you need to look at the new intel man page to configure things correctly as the xorg.conf file format has changed.

You can also use the new xrandr tool to fix things up, so make sure you&apos;ve emerged 1.2.0 of this tool. And then you can use the --output flags to set the video.

But to make it permanent, you need to change the xorg.conf file.

But this isn&apos;t a gentoo problem, it&apos;s an X configuration issue.

Hope the above helps.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billie@gentoo.org</who>
            <bug_when>2007-09-10 07:29:35 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; you need to look at the new intel man page to configure things correctly as the
&gt; xorg.conf file format has changed.
&gt; 
&gt; You can also use the new xrandr tool to fix things up, so make sure you&apos;ve
&gt; emerged 1.2.0 of this tool. And then you can use the --output flags to set the
&gt; video.
&gt; 
&gt; But to make it permanent, you need to change the xorg.conf file.
&gt; 
&gt; But this isn&apos;t a gentoo problem, it&apos;s an X configuration issue.
&gt; 
&gt; Hope the above helps.
&gt; 

I have the same problem here with a Nvidia card where randr 1.2 is not supported at the moment. I would prefer a solution with makes changes to xorg.conf.
Could you please direct us to the place where this changes are documented. &quot;Intel man page&quot; does not mean anything to me!

Thanks,

Daniel</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>frlinux@frlinux.net</who>
            <bug_when>2007-09-23 13:27:31 0000</bug_when>
            <thetext>Hello,

I second this bug. I have the same issue, using NVIDIA drivers with the following : 

- 1st display : Samsung 22&apos; widescreen (16:10)
- 2nd dispaly : Sony TV 32KDL3000 

It doesn&apos;t work only for the TV, the Samsung behaves fine on scaling up. Please find my X.org configuration attached.

I had to revert to xorg-server-1.2.0-r3 for now.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>frlinux@frlinux.net</who>
            <bug_when>2007-09-23 13:32:28 0000</bug_when>
            <thetext>Created an attachment (id=131699)
xorg.conf with dual screen configuration

This works on 1.2.0 but not 1.3.0</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>alanh@fairlite.co.uk</who>
            <bug_when>2007-09-24 13:56:37 0000</bug_when>
            <thetext>Can you attach a complete Xorg.log file ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bas@lijer.nl</who>
            <bug_when>2007-09-24 23:10:06 0000</bug_when>
            <thetext>(In reply to comment #3)
&gt; Hello,
&gt; 
&gt; I second this bug. I have the same issue, using NVIDIA drivers with the
&gt; following : 
&gt; 
&gt; - 1st display : Samsung 22&apos; widescreen (16:10)
&gt; - 2nd dispaly : Sony TV 32KDL3000 
&gt; 
&gt; It doesn&apos;t work only for the TV, the Samsung behaves fine on scaling up. Please
&gt; find my X.org configuration attached.
&gt; 
&gt; I had to revert to xorg-server-1.2.0-r3 for now.
&gt; 

I have the same problem. Tonight i tried to find where the problem was in mplayer(from svn, not the gentoo-build). (Mythtv has the same problem, the latest xine seems to calc the resolution correct).

XineramaIsActive() returns true, when it should return false. I dont have it enabled, and my xinerama useflags are disabled.

When commenting/disabling the Xinerama part the resolution is just fine.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bas@lijer.nl</who>
            <bug_when>2007-09-24 23:13:33 0000</bug_when>
            <thetext>(In reply to comment #6)
&gt; (In reply to comment #3)
&gt; &gt; Hello,
&gt; &gt; 
&gt; &gt; I second this bug. I have the same issue, using NVIDIA drivers with the
&gt; &gt; following : 
&gt; &gt; 
&gt; &gt; - 1st display : Samsung 22&apos; widescreen (16:10)
&gt; &gt; - 2nd dispaly : Sony TV 32KDL3000 
&gt; &gt; 
&gt; &gt; It doesn&apos;t work only for the TV, the Samsung behaves fine on scaling up. Please
&gt; &gt; find my X.org configuration attached.
&gt; &gt; 
&gt; &gt; I had to revert to xorg-server-1.2.0-r3 for now.
&gt; &gt; 
&gt; 
&gt; I have the same problem. Tonight i tried to find where the problem was in
&gt; mplayer(from svn, not the gentoo-build). (Mythtv has the same problem, the
&gt; latest xine seems to calc the resolution correct).
&gt; 
&gt; XineramaIsActive() returns true, when it should return false. I dont have it
&gt; enabled, and my xinerama useflags are disabled.
&gt; 
&gt; When commenting/disabling the Xinerama part the resolution is just fine.
&gt; 

Some extra info: I made the changes in &quot;libvo/x11_common.c&quot; around line 375.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>bas@lijer.nl</who>
            <bug_when>2007-09-25 00:08:42 0000</bug_when>
            <thetext>This patch seems to solved it (must be applied to xorg-server)

http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=blobdiff;h=2a57e4e325814894bf1a93f71ef00b486ee84410;hp=1db27f14c68142adfc18825e79dcabe9449058aa;hb=9c80eda826448822328bb678a7d284cc43fffb17;f=randr/rrxinerama.c
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>frlinux@frlinux.net</who>
            <bug_when>2007-09-25 17:23:15 0000</bug_when>
            <thetext>(In reply to comment #5)
&gt; Can you attach a complete Xorg.log file ?

I just copy/pasted the diff, the only difference is this : 

diff xorg-1.2.0-r3.log xorg-1.3.0.log

&lt; (II) LoadModule: &quot;ramdac&quot;
&lt; (II) Loading /usr/lib/xorg/modules//libramdac.so
&lt; (II) Module ramdac: vendor=&quot;X.Org Foundation&quot;
&lt;       compiled for 7.2.0, module version = 0.1.0
&lt;       ABI class: X.Org Video Driver, version 1.1
---
&gt; (II) LoadModule: &quot;ramdac&quot;(II) Module already built-in

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>frlinux@frlinux.net</who>
            <bug_when>2007-09-25 19:51:15 0000</bug_when>
            <thetext>(In reply to comment #8)
&gt; This patch seems to solved it (must be applied to xorg-server)
&gt; http://gitweb.freedesktop.org/?p=xorg/xserver.git;a=blobdiff;h=2a57e4e325814894bf1a93f71ef00b486ee84410;hp=1db27f14c68142adfc18825e79dcabe9449058aa;hb=9c80eda826448822328bb678a7d284cc43fffb17;f=randr/rrxinerama.c

Didn&apos;t work for me, still the same issue.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ml81@gmx.de</who>
            <bug_when>2007-09-26 21:43:52 0000</bug_when>
            <thetext>This bug is already filed by the debian and xorg bug tracker.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=420679
https://bugs.freedesktop.org/show_bug.cgi?id=10771

They have used the same patch, which was already mentioned here to solve the problem.

http://cvs.fedora.redhat.com/viewcvs/*checkout*/rpms/xorg-x11-server/devel/xserver-1.3.0-less-randr-fakerama.patch?rev=1.1&amp;sortby=date

For me it works flawlessly by adding this file to the PATCHES variable in xorg-server-1.3.0.0.ebuild.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>billie@gentoo.org</who>
            <bug_when>2007-10-01 00:34:23 0000</bug_when>
            <thetext>I have tested the patch and it works for me.

Regards,
Daniel</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>frlinux@frlinux.net</who>
            <bug_when>2007-10-02 19:39:28 0000</bug_when>
            <thetext>Hello again, I do apologize, it did actually fix it by adding the file to the patch list. 

Reason it failed before is that I tried the old way as of : 

ebuild xorg-server-1.3.0-r1.ebuild unpack
patched manually
ebuild xorg-server-1.3.0-r1.ebuild compile
ebuild xorg-server-1.3.0-r1.ebuild install

Which didn&apos;t work. I just applied the patch to the updated 1.3.0-r1 ebuild and it works like a charm. Thanks for the fix.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dberkholz@gentoo.org</who>
            <bug_when>2007-10-13 20:52:48 0000</bug_when>
            <thetext>Fixed in xorg-server-1.3.0.0-r2, thanks!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>131699</attachid>
            <date>2007-09-23 13:32 0000</date>
            <desc>xorg.conf with dual screen configuration</desc>
            <filename>xorg.conf</filename>
            <type>text/plain</type>
            <data encoding="base64">U2VjdGlvbiAiU2VydmVyTGF5b3V0IgogIC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ZCIKICAgICAgICBMb2FkICAiZGJlIgogICAgICAgIExvYWQgICJyZWNvcmQiCiAgICAgICAgTG9h
ZCAgIkdMY29yZSIKICAgICAgICBMb2FkICAieHRyYXAiCiAgICAgICAgTG9hZCAgImRyaSIKICAg
ICAgICBMb2FkICAiZ2x4IgogICAgICAgIExvYWQgICJ3ZmIiCiAgICAgICAgTG9hZCAgImZyZWV0
eXBlIgogICAgICAgIExvYWQgICJ0eXBlMSIKICAgICAgICBMb2FkICAic3BlZWRvIgpFbmRTZWN0
aW9uCgpTZWN0aW9uICJJbnB1dERldmljZSIKICAgICAgICBJZGVudGlmaWVyICAiS2V5Ym9hcmQw
IgogICAgICAgIERyaXZlciAgICAgICJrYmQiCiAgICAgICAgT3B0aW9uICAgICAgIlhrYlJ1bGVz
IiAieG9yZyIKICAgICAgICBPcHRpb24gICAgICAiWGtiTW9kZWwiICJwYzEwNSIKICAgICAgICBP
cHRpb24gICAgICAiWGtiTGF5b3V0IiAiZnIiCkVuZFNlY3Rpb24KClNlY3Rpb24gIklucHV0RGV2
aWNlIgogICAgICAgIElkZW50aWZpZXIgICJNb3VzZTAiCiAgICAgICAgRHJpdmVyICAgICAgIm1v
dXNlIgogICAgICAgIE9wdGlvbiAgICAgICJQcm90b2NvbCIgIkltUFMvMiIKICAgICAgICBPcHRp
b24gICAgICAiRGV2aWNlIiAiL2Rldi9pbnB1dC9taWNlIgogICAgICAgIE9wdGlvbiAgICAgICJa
QXhpc01hcHBpbmciICI0IDUgNiA3IgpFbmRTZWN0aW9uCgpTZWN0aW9uICJNb25pdG9yIgogICAg
ICAgIElkZW50aWZpZXIgICAiTW9uaXRvcjAiCiAgICAgICAgVmVuZG9yTmFtZSAgICJNb25pdG9y
IFZlbmRvciIKICAgICAgICBNb2RlbE5hbWUgICAgIk1vbml0b3IgTW9kZWwiCiAgICAgICAgSG9y
aXpTeW5jICAgIDMwLTgxCiAgICAgICAgVmVydFJlZnJlc2ggIDU2LTc1CkVuZFNlY3Rpb24KClNl
Y3Rpb24gIk1vbml0b3IiCiAgICAgICAgSWRlbnRpZmllciAiTW9uaXRvcjEiCiAgICAgICAgRGlz
cGxheVNpemUgIDE2MCAgICAgICAgOTAKICAgICAgICBPcHRpb24gICAgICAiRFBJIiAiMTAwIHgg
MTAwIgogICAgICAgT3B0aW9uICAgICAgICAgICJJZ25vcmVFRElEIgogICAgICAgVmVydFJlZnJl
c2ggICAgIDMwLTkwCiAgICAgICBIb3JpelN5bmMgICAgICAgMjAtMTUwCiAgICAgICBNb2RlTGlu
ZSAgICAgICAgIjcyMHAiIDczLjgyNSAxMjgwIDEzMjAgMTM2OCAxNjQwIDcyMCA3MjIgNzI0IDc1
MSAraHN5bmMgK3ZzeW5jCiAgICAgICBNb2RlTGluZSAiMTA4MGkiIDc0LjUyIDE5MjAgMTk1MiAy
MDE2IDIyMDggMTA4MCAxMDg0IDEwOTYgMTEyNiAtaHN5bmMgLXZzeW5jIGludGVybGFjZQogICAg
ICAgTW9kZUxpbmUgIjEzNjB4NzY4IiA4NS41MDAgMTM2MCAxNDI0IDE1MzYgMTc5MiA3NjggNzcx
IDc3NyA3OTUgK0hzeW5jICtWc3luYwpFbmRTZWN0aW9uCgpTZWN0aW9uICJEZXZpY2UiCiAgICAg
ICAgSWRlbnRpZmllciAgIkNhcmQwIgogICAgICAgIERyaXZlciAgICAgICJudmlkaWEiCiAgICAg
ICAgVmVuZG9yTmFtZSAgIm5WaWRpYSBDb3Jwb3JhdGlvbiIKICAgICAgICBCb2FyZE5hbWUgICAi
VW5rbm93biBCb2FyZCIKICAgICAgICBCdXNJRCAgICAgICAiUENJOjM6MDowIgogICAgICAgIFNj
cmVlbiAgICAgICAgICAwCkVuZFNlY3Rpb24KClNlY3Rpb24gIkRldmljZSIKICAgICAgICBEcml2
ZXIgICAgICAgICAgIm52aWRpYSIKICAgICAgICBJZGVudGlmaWVyICAgICAgIkRldmljZTEiCiAg
ICAgICAgU2NyZWVuICAgICAgICAgIDEKICAgICAgICBCdXNJRCAgICAgICAgICAgIlBDSTozOjA6
MCIgI2FkanVzdCB1c2luZyAnbHNwY2knIG9yIGNhdCAvcHJvYy9wY2kKICAgICAgIE9wdGlvbiAg
ICAgICAiUmVuZGVyQWNjZWwiICJ0cnVlIgogICAgICAgT3B0aW9uICAgICAgICJBbGxvd0dMWFdp
dGhDb21wb3NpdGUiICJ0cnVlIgogICAgICAgT3B0aW9uICAgICAgICJDb25uZWN0ZWRNb25pdG9y
IiAiREZQIgpFbmRTZWN0aW9uCgpTZWN0aW9uICJTY3JlZW4iCiAgICAgICAgSWRlbnRpZmllciAi
U2NyZWVuMCIKICAgICAgICBEZXZpY2UgICAgICJDYXJkMCIKICAgICAgICBNb25pdG9yICAgICJN
b25pdG9yMCIKICAgICAgICBEZWZhdWx0RGVwdGggMjQKICAgICAgICBTdWJTZWN0aW9uICJEaXNw
bGF5IgogICAgICAgICAgICAgICAgVmlld3BvcnQgICAwIDAKICAgICAgICAgICAgICAgIERlcHRo
ICAgICAxCiAgICAgICAgRW5kU3ViU2VjdGlvbgogICAgICAgIFN1YlNlY3Rpb24gIkRpc3BsYXki
CiAgICAgICAgICAgICAgICBWaWV3cG9ydCAgIDAgMAogICAgICAgICAgICAgICAgRGVwdGggICAg
IDQKICAgICAgICBFbmRTdWJTZWN0aW9uCiAgICAgICAgU3ViU2VjdGlvbiAiRGlzcGxheSIKICAg
ICAgICAgICAgICAgIFZpZXdwb3J0ICAgMCAwCiAgICAgICAgICAgICAgICBEZXB0aCAgICAgOAog
ICAgICAgIEVuZFN1YlNlY3Rpb24KICAgICAgICBTdWJTZWN0aW9uICJEaXNwbGF5IgogICAgICAg
ICAgICAgICAgVmlld3BvcnQgICAwIDAKICAgICAgICAgICAgICAgIERlcHRoICAgICAxNQogICAg
ICAgIEVuZFN1YlNlY3Rpb24KICAgICAgICBTdWJTZWN0aW9uICJEaXNwbGF5IgogICAgICAgICAg
ICAgICAgVmlld3BvcnQgICAwIDAKICAgICAgICAgICAgICAgIERlcHRoICAgICAxNgogICAgICAg
IEVuZFN1YlNlY3Rpb24KICAgICAgICBTdWJTZWN0aW9uICJEaXNwbGF5IgogICAgICAgICAgICAg
ICAgVmlld3BvcnQgICAwIDAKICAgICAgICAgICAgICAgIERlcHRoICAgICAyNAogICAgICAgIEVu
ZFN1YlNlY3Rpb24KRW5kU2VjdGlvbgoKU2VjdGlvbiAiU2NyZWVuIgogICAgICAgIERldmljZSAi
RGV2aWNlMSIKICAgICAgICBJZGVudGlmaWVyICJTY3JlZW4xIgogICAgICAgIE1vbml0b3IgIk1v
bml0b3IxIgogICAgICAgIERlZmF1bHREZXB0aCAgICAyNAogICAgICAgIERlZmF1bHRGYkJwcCAg
ICAzMgogICAgICAgIFN1YlNlY3Rpb24gIkRpc3BsYXkiCiAgICAgICAgICAgICAgICBEZXB0aCAg
ICAgICAgICAgMjQKICAgICAgICAgICAgICAgIEZiQnBwICAgICAgICAgICAzMgogICAgICAgICAg
ICAgICAgTW9kZXMgICAiMTM2MHg3NjgiICIxMjgweDEwMjQiICIxMDI0eDc2OCIgIjgwMHg2MDAi
ICI2NDB4NDgwIgogICAgICAgIEVuZFN1YlNlY3Rpb24KRW5kU2VjdGlvbgoK
</data>        

          </attachment>
    </bug>

</bugzilla>