nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA FreeBSD (http://www.nvnews.net/vbulletin/forumdisplay.php?f=47)
-   -   Option "Rotate" problem with Xserver 1.5 and 180.27 (http://www.nvnews.net/vbulletin/showthread.php?t=127702)

sillium 02-06-09 03:40 PM

Option "Rotate" problem with Xserver 1.5 and 180.27
 
Hi,

i've got a problem that's quiet hard to describe.

In my xorg.conf i've rotated my screens statically with 'Option "Rotate" "left"' which worked perfectly up to the latest Xserver 1.4.x.

Now with the new Xserver 1.5.x there seems to be an issue with render/emulated overlays.

It looks like this:
When i start for example twm and run xterm, the xterm window has a border of 1 or 2 pixels around it.
So far so good.
But when i do a left-click on the desktop to open the twm menu so that the menu will overlap the xterm it messes up the borders!

The border's now showing the content of the menu where it overlapped.

That's happening for every window and for other wm too (xmonad, didn't try something else yet..) and always when some other window is overlapping.

It goes away when i move the window around a bit.

The contents of the window stay the same though.

This is quiet annoying.. maybe somebody can help, or is my last option to switch back to Xserver 1.4.x?

Thanks in advance and regards!

sillium 05-31-09 03:24 AM

Re: Option "Rotate" problem with Xserver 1.5 and 180.27
 
Sorry for pushing but this is still bugging me..

My last mail i sent to the xorg mailing list (after not getting an answer there too..)

Quote:

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
> >

sillium 06-12-09 02:31 PM

Re: Option "Rotate" problem with Xserver 1.5 and 180.27
 
2 Attachment(s)
Hi,

I created a bug-report for 1.4.2 and 1.6.1 (not working..).
The problem seems to appear already somewhere after 1.5rc1 though.

Would anyone at least comment on this?
This is an open issue since february and nobody ever answered.

AaronP 06-24-09 12:22 PM

Re: Option "Rotate" problem with Xserver 1.5 and 180.27
 
Thanks for reporting this. I've identified the problem and it will be fixed in a future driver release.

sillium 06-24-09 02:21 PM

Re: Option "Rotate" problem with Xserver 1.5 and 180.27
 
Quote:

Originally Posted by AaronP (Post 2035739)
Thanks for reporting this. I've identified the problem and it will be fixed in a future driver release.

Woohoo, thank you :)

Would you mind to explain me what the problem was about?
I'm curious because i couldn't track it down with a bisect. Therefore i only had some vague suspicion about the pci rework.


All times are GMT -5. The time now is 04:19 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.