[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: problems with xserver > 1.5, xinerama and nvidias rotate option
From:       Jochen Keil <j.keil () gmx ! de>
Date:       2009-05-31 8:34:57
Message-ID: 4A224131.7080906 () gmx ! de
[Download RAW message or body]

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

Hi,

i tried bisecting xserver but that didn't help to much since there are
to much broken revisions which won't build. Furthermore at some point X
refuseses to load nvidia_drv.so because of ABI break *even though* i've
set ignoreABI.

Thus i cannot really track down to the point where the error occurs for
the first time.
Imho it was introduced shortly after 1.4.2, but before 1.4.99.x.
Cluelessly i suspect the pci rework merge.

Despite that this seems to be be a problem with emulated overlays in the
nvidia driver/Xserver (i don't know who's to blame..), since the problem
only occurs with a rotated screen (wether static rotate or xrandr). The
nvidia driver help file says that it's using emulated overlays here so i
think the problem might be lying here. Whatsmore i found some discussion
about overlays/transparent indeces etc. on the mailing list.

Any help with this would be appreciated.
Finally i've attached the bisect log to your pleasure.. (please don't be
to confused about it, i gave up frustrated somewhere in between)

Regards,

Jochen


Jochen Keil wrote:
> Hello,
> 
> currently im using xserver 1.4.2 because since 1.5 i have a problem with
> my setup.
> I am using Xinerama with three monitors/2 cards which are rotated 90
> degrees (Option "Rotate" "left") by the binary nvidia driver.
> Everything works fine in 1.4.2. But in 1.5 i can see the following
> problem (i tried to make a screenshot but it wasn't visible there).
> 
> If i start twm for example every window has a 1 pixel border drawn
> around it. With 1.5 this border isn't there (visible) on startup. After
> moving around the window it appears. If i drag that window onto another
> so that they overlap and then drag it away again, i can see the contents
> of that dragged window remaining in the border of the other.
> The same effect happens with the twm menu.
> This error only appears on the window borders and nowhere else.
> Without Xinerama it disappears.
> I tried several nvidia version, driver settings and xserver (1.5, 1.6).
> Nothing helped except switching back to 1.4 again.
> 
> I've put some system info below, if you need more details please don't
> hesitate to ask me.
> 
> Regards,
> 
> Jochen
> 
> $ uname -a
> FreeBSD monolith.lokal.lan 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Wed May
> 6 21:44:28 CEST 2009
> root@monolith.lokal.lan:/usr/obj/usr/src/sys/MONOLITH  i386
> 
> xorg.conf (i've cut out some non-relevant stuff..)
> 
> Section "ServerFlags"
>         Option  "DefaultServerLayout" "Xinerama"
>         Option  "RandR" "1"
>         Option  "AIGLX" "1"
>         Option  "BlankTime" "0"
>         Option  "StandbyTime" "5"
>         Option  "SuspendTime" "5"
>         Option  "OffTime" "5"
> #       InputDevice    "Mouse0" "CorePointer"
> #       InputDevice    "Keyboard0" "CoreKeyboard"
> #       Option  "AllowEmptyInput" "0"
> #       Option  "AutoAddDevices" "0"
> #       Option  "AutoEnableDevices" "0"
> #       Option  "GlxVisuals" "all"
> EndSection
> 
> Section "ServerLayout"
>         Identifier     "Xinerama"
>         Screen      0  "Screen0" 0 0
>         Screen      1  "Screen1" RightOf "Screen0"
>         Screen      2  "Screen2" LeftOf "Screen0"
>         InputDevice    "Mouse0" "CorePointer"
>         InputDevice    "Keyboard0" "CoreKeyboard"
>         Option         "Xinerama" "1"
> EndSection
> 
> Section "Files"
> [..]
> EndSection
> 
> Section "Module"
>         SubSection     "extmod"
>                 Option     "omit XFree86-DGA"
>         EndSubSection
> #       Load  "extmod"
>         Load  "glx"
> #        Load  "record"
> #        Load  "dbe"
> #        Load  "xtrap"
> #        Load  "dri"
> #        Load  "freetype"
> EndSection
> 
> Section "InputDevice"
> [..]
> EndSection
> 
> Section "Monitor"
>         Identifier   "Monitor0"
>         Option       "DPMS" "1"
> EndSection
> 
> [Monitor1 - Monitor3]
> 
> Section "Device"
>         Option      "AllowGLXWithComposite" "1"
>         Option      "AddARGBGLXVisuals" "1"
>         Option      "TripleBuffer" "1"
>         Option      "NoLogo" "1"
>         Option      "Rotate" "left"
>         Option      "RenderAccel" "1"
>         Option      "BackingStore" "1"
>         Option      "RegistryDwords" "PerfLevelSrc=0X3333"
>         Identifier  "Card0"
>         Driver      "nvidia"
>         VendorName  "nVidia Corporation"
>         BoardName   "GeForce 8600 GT"
>         BusID       "PCI:1:0:0"
>         Screen 0
> EndSection
> 
> Section "Device"
>         Option      "NoLogo" "1"
>         Option      "Rotate" "left"
>         Option      "RenderAccel" "1"
>         Option      "BackingStore" "1"
>         Option      "RegistryDwords" "PerfLevelSrc=0X3333"
>         Identifier  "Card1"
>         Driver      "nvidia"
>         VendorName  "nVidia Corporation"
>         BoardName   "GeForce 8600 GT"
>         BusID       "PCI:1:0:0"
>         Screen 1
> EndSection
> 
> Section "Device"
>         Option      "AllowGLXWithComposite" "1"
>         Option      "AddARGBGLXVisuals" "1"
>         Option      "TripleBuffer" "1"
>         Option      "NoLogo" "1"
>         Option      "Rotate" "left"
>         Option      "RenderAccel" "1"
>         Option      "BackingStore" "1"
>         Option      "RegistryDwords" "PerfLevelSrc=0X3333"
>         Identifier  "Card2"
>         Driver      "nvidia"
>         VendorName  "nVidia Corporation"
>         BoardName   "GeForce 8600 GT"
>         BusID       "PCI:2:0:0"
>         Screen 0
> EndSection
> 
> Section "Device"
>         Option      "NoLogo" "1"
>         Option      "Rotate" "normal"
>         Option      "RenderAccel" "1"
>         Option      "BackingStore" "1"
>         Option      "RegistryDwords" "PerfLevelSrc=0X3333"
>         Identifier  "Card3"
>         Driver      "nvidia"
>         VendorName  "nVidia Corporation"
>         BoardName   "GeForce 8600 GT"
>         BusID       "PCI:2:0:0"
>         Screen 1
> EndSection
> 
> Section "Screen"
>         Identifier "Screen0"
>         Device     "Card0"
>         Monitor    "Monitor0"
>         SubSection "Display"
>                 Depth     24
>         EndSubSection
> EndSection
> 
> [Screen1 - Screen3]
> 
> Section "Extensions"
>         Option  "Composite" "1"
>         Option  "RENDER" "1"
>         Option  "DAMAGE" "1"
> EndSection
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAkoiQTEACgkQtVwvsA+W4CDWggCdEq4UZwq2YdSTAYiNV97atQ8e
ODYAn1vkv2PWMfKKh2SkwZgJr1Wx+RY+
=CQam
-----END PGP SIGNATURE-----

["bisect.log" (text/plain)]

git bisect start
# good: [c3a7903f6a6a27e53ba0372408e0c5a68c608e86] Bump to 1.4.2
git bisect good c3a7903f6a6a27e53ba0372408e0c5a68c608e86
# bad: [41991fb991313202e8e6b513fe928ba14f8fcb87] xkb: when copying sections, make \
sure num_rows is set too. git bisect bad 41991fb991313202e8e6b513fe928ba14f8fcb87
# good: [026534f945ae5652592a090a9d41375ca37ab618] Update pci.ids to 2007-08-15 \
snapshot git bisect good 026534f945ae5652592a090a9d41375ca37ab618
# skip: [be0cbe5a330f62cef47fffbc49e83b5e1637b7d0] kaa: update kaaCreatePixmap to \
support the new usage_int git bisect skip be0cbe5a330f62cef47fffbc49e83b5e1637b7d0
# skip: [be0cbe5a330f62cef47fffbc49e83b5e1637b7d0] kaa: update kaaCreatePixmap to \
support the new usage_int git bisect skip be0cbe5a330f62cef47fffbc49e83b5e1637b7d0
# skip: [2f387d913aa76f1b6d21d8e2698be165301c6bc1] Enable use of /dev/urandom on \
Solaris as well git bisect skip 2f387d913aa76f1b6d21d8e2698be165301c6bc1
# skip: [a55ec1a9f4b62139dc5e5462d79d47b330c27c79] Restore checks for __i386 where \
needed for Sun compilers on Solaris git bisect skip \
a55ec1a9f4b62139dc5e5462d79d47b330c27c79 # skip: \
[ea9c63e93b9bb731796e8a8de2d127e6cc720076] DEFAULT_DPI was undefined here. git bisect \
skip ea9c63e93b9bb731796e8a8de2d127e6cc720076 # skip: \
[bcbaf2a0ce34b6c5e41d2831b8b87dbd0617a89b] Darwin: Dead code removal, Code cleanup, \
Added launcher Imported changes from xorg-server-1.2-apple to make master more \
current wrt file layout, build system changes, and dead code removal. git bisect skip \
bcbaf2a0ce34b6c5e41d2831b8b87dbd0617a89b # skip: \
[db9ae863536fff80b5463d99e71dc47ae587980d] Bump DEFAULT_DPI to 96. git bisect skip \
db9ae863536fff80b5463d99e71dc47ae587980d # skip: \
[7f2972d47a5d74fe92268c6d609b1eb6ad845824] Darwin: Really add launcher this time git \
bisect skip 7f2972d47a5d74fe92268c6d609b1eb6ad845824 # skip: \
[ee2d4626dca6e0d4fc6f524e5de4bdefa2ed43df] Bug #12932: Use DEFAULT_DPI in randr1.2 \
instead of hardcoded 96. git bisect skip ee2d4626dca6e0d4fc6f524e5de4bdefa2ed43df
# skip: [4c18ef4331aaee268431a3ba50991f0312b82870] Darwin: Workaround for a bug where \
the holding down Command to make a "fake" button 2 click would actually result in a \
Command-2 chord. (I.e. it wasn't releasing Command before clicking the fake button.) \
(cherry picked from commit 0d5dd5dffa4c5ce3f54dfe53720a39d524dc8e37) git bisect skip \
4c18ef4331aaee268431a3ba50991f0312b82870 # skip: \
[a46c30c3be33ffb304a885503c8aaa78396ed3d9] Bug #12531: RRModesForScreen can fail to \
allocate. git bisect skip a46c30c3be33ffb304a885503c8aaa78396ed3d9
# skip: [a46c30c3be33ffb304a885503c8aaa78396ed3d9] Bug #12531: RRModesForScreen can \
fail to allocate. git bisect skip a46c30c3be33ffb304a885503c8aaa78396ed3d9
# bad: [606a8dc73d91a198d72d249934dc027a23f4c338] Darwin: Trap Deactivate messages \
and release modifiers to avoid "stuck shift lock" (etc) bugs (cherry picked from \
commit 2b189a99330eb465fa0d17020fb1db1e38829151) git bisect bad \
606a8dc73d91a198d72d249934dc027a23f4c338 # skip: \
[2d93e69690d2c5d4a89a795ede6423796528e5df] Rework local client id finding code to be \
more uniform git bisect skip 2d93e69690d2c5d4a89a795ede6423796528e5df
# bad: [c7ead3a68e5839cb92129e35b21f55007fba8445] xorgcfg needs $(DIX_CFLAGS) for \
pixman-1 include path git bisect bad c7ead3a68e5839cb92129e35b21f55007fba8445
# skip: [8b6b40b7271acd81a9548f502c18f46f3b640640] Merge branch 'master' of \
git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework git bisect skip \
8b6b40b7271acd81a9548f502c18f46f3b640640 # skip: \
[91f358336f77c0e4f577be65cca977d17298e36c] Merge branch 'pci-rework' git bisect skip \
91f358336f77c0e4f577be65cca977d17298e36c # skip: \
[1ab4b3e183d04bb20fb5039f7d2671752ab24cf6] Bump video driver ABI for pci-rework. git \
bisect skip 1ab4b3e183d04bb20fb5039f7d2671752ab24cf6 # skip: \
[4eed88af8b7b6881b44ccf9f4a5c5875af6d2b78] Remove files made obsolete by pci-rework. \
git bisect skip 4eed88af8b7b6881b44ccf9f4a5c5875af6d2b78 # skip: \
[bf0883ae5081bd75569115a3eb27c6d3d336c9f2] Fix bug in debugging info related to \
pci-rework merge git bisect skip bf0883ae5081bd75569115a3eb27c6d3d336c9f2
# bad: [ae7f71a8b3d6756161e55d998d6eec37d2695c98] Implement core protocol backing \
store exclusively in terms of Composite. git bisect bad \
ae7f71a8b3d6756161e55d998d6eec37d2695c98 # bad: \
[ae7f71a8b3d6756161e55d998d6eec37d2695c98] Implement core protocol backing store \
exclusively in terms of Composite. git bisect bad \
ae7f71a8b3d6756161e55d998d6eec37d2695c98 # skip: \
[1a493509e30412a0f6c6f8f8e47a446678dbbc1a] Fix typos in conditionally compiled code. \
git bisect skip 1a493509e30412a0f6c6f8f8e47a446678dbbc1a # skip: \
[3936caa00535d0b7543be5a4b315562111a6b3ab] Refactor pciTagConvertRange2Host and \
pciConvertRange2Host. git bisect skip 3936caa00535d0b7543be5a4b315562111a6b3ab



_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic