[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
** Changed in: compiz (Ubuntu) Assignee: Sebastien Bacher (seb128) = (unassigned) -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
Confirming this bug on Jaunty 64bit with a default Compiz setup. My main display is 1024x768, the secondary is 1280x720 and was restricted to the dimension of the first. My fix is similar to what TJ has done: gconf-editor: apps - compiz - general - screen1 - options create a boolean called detect_outputs and set to TRUE create a list called outputs and make this entry: 1280x720+0+0 Restart X, both screens work as they should. This regression could probably be fixed by having Compiz set the detect_outputs and outputs vars. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
Ooops, just blundered... Initially I set detect_outputs to TRUE, which didn't work. Setting it to FALSE like TJ recommends does work. Deleting the entry makes it not work again, so it's required to set it on false. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
** Tags added: jaunty regression-release ** Tags removed: regression-potential -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 331918] Re: Clipped area for multiple X screens with different dimensions
On Mon, 2009-04-06 at 09:56 +, Stéphane Travostino wrote: I tried to try the hack TJ explained above, but unfortunately I don't have any screen1 section in /apps/compiz/general, only screen0. I am running NVIDIA, no Twinview, displays are :0.0 and :0.1 but I can't see this section. I tried to run with two compiz instances with --only-current-screen but it's the same.. TJ, did you do anything special to have screen1 show up on gconf- editor? I don't recall for certain now, but I *think* it was inherited from the previously installed release (Hardy). It is possible to manually create the screen1 keys using gconftool-2, or creating the folder and %gconf.xml using a copy of the screen0 settings. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
I tried to try the hack TJ explained above, but unfortunately I don't have any screen1 section in /apps/compiz/general, only screen0. I am running NVIDIA, no Twinview, displays are :0.0 and :0.1 but I can't see this section. I tried to run with two compiz instances with --only-current-screen but it's the same.. TJ, did you do anything special to have screen1 show up on gconf- editor? -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 331918] Re: Clipped area for multiple X screens with different dimensions
I dumped the settings for /apps/compiz/general/screen0 with: gconftool-2 --dump /apps/compiz/general/screen0 /tmp/screen1 Edited them and replaced screen0 with screen1, then reloaded it: gconftool-2 --load /tmp/screen1 And it's working! Thank you TJ. No more screen clipping, however I can't manage Compiz to open the windows on the secondary monitor. They keep opening on the first one, the only way to open them there is to force the DISPLAY variables: DISPLAY=:0.1 gedit Are you experiencing the same thing, TJ? 2009/4/6 TJ ubu...@tjworld.net On Mon, 2009-04-06 at 09:56 +, Stéphane Travostino wrote: I tried to try the hack TJ explained above, but unfortunately I don't have any screen1 section in /apps/compiz/general, only screen0. I am running NVIDIA, no Twinview, displays are :0.0 and :0.1 but I can't see this section. I tried to run with two compiz instances with --only-current-screen but it's the same.. TJ, did you do anything special to have screen1 show up on gconf- editor? I don't recall for certain now, but I *think* it was inherited from the previously installed release (Hardy). It is possible to manually create the screen1 keys using gconftool-2, or creating the folder and %gconf.xml using a copy of the screen0 settings. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a direct subscriber of the bug. Status in “compiz” source package in Ubuntu: Confirmed Status in “nvidia-graphics-drivers-180” source package in Ubuntu: Invalid Status in “xorg” source package in Ubuntu: Invalid Bug description: Binary package hint: xorg On a secondary X screen (:0.1) which has different (larger) dimensions than the primary(:0.0), the lower part of the secondary screen is ignored by the display manager, remaining black and not displaying windows in that area, although the mouse does display in that area. There appears to be a relationship between the issue and the primary screen in that it appears that the height of the primary screen is being used as the height of the secondary screen - the black area looks to be 1024-800=224 pixels. Not entirely sure if this bug is Xorg or elsewhere. Because it relates to running multiple X screens it is testable only with the nvidia driver. However, this is a regression from Hardy/Intrepid in that the same configuration on those worked fine. A picture speaks a thousand words and in this case that is very true. Attached are two photographs that demonstrate the issue. The system has the laptop DFP (1280x800) to the left of an analogue TFT (1280x1024). nvidia-settings was used to position the screens relatively so the mouse moves between them. Photograph #1 shows the overview. The secondary screen on the right shows a large black band on the lower section of the display where windows cannot go. You can see that even the desktop background picture doesn't get rendered into that area. Photograph #2 focuses on the secondary screen. It shows the nvidia-settings dialog which is displaying the screen position dialog. If you look closely you'll see that the entire bottom section of the dialog window has been cropped by the black area, even though the mouse cursor is able to move in that area. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
I dumped the settings for /apps/compiz/general/screen0 with: gconftool-2 --dump /apps/compiz/general/screen0 /tmp/screen1 Edited them and replaced screen0 with screen1, then reloaded it: gconftool-2 --load /tmp/screen1 And it's working! Thank you TJ. No more screen clipping, however I can't manage Compiz to open the windows on the secondary monitor. They keep opening on the first one, the only way to open them there is to force the DISPLAY variables: DISPLAY=:0.1 gedit Are you experiencing the same thing, TJ? -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 331918] Re: Clipped area for multiple X screens with different dimensions
On Mon, 2009-04-06 at 16:28 +, Stéphane Travostino wrote: And it's working! Thank you TJ. No more screen clipping, however I can't manage Compiz to open the windows on the secondary monitor. They keep opening on the first one, the only way to open them there is to force the DISPLAY variables: DISPLAY=:0.1 gedit Are you experiencing the same thing, TJ? I originally reported that issue as bug #336721 http://launchpad.net/bugs/336721 -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
** Changed in: compiz (Ubuntu) Assignee: (unassigned) = Canonical Desktop Team (canonical-desktop-team) Status: New = Confirmed -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
** Changed in: compiz (Ubuntu) Assignee: Canonical Desktop Team (canonical-desktop-team) = Sebastien Bacher (seb128) -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
** Changed in: compiz (Ubuntu) Importance: Undecided = Medium -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
Note: smspillaz' comment in the IRC log is flat out wrong. Of course compiz supports two screens with different resolutions. The issue with multi-screen and compiz usually only is two different graphics cards. If you e.g. have ATI + Nvidia, you need two different libGL.so loaded in one process, which isn't possible. It might be worthwhile to write a short test program that just opens an X connection, gets the root window for the respective screen and queries its geometry. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
Also, what are your settings for the detect_outputs option on _screen 1_? -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 331918] Re: Clipped area for multiple X screens with different dimensions
On Tue, 2009-02-24 at 08:30 +, Danny Baumann wrote: Also, what are your settings for the detect_outputs option on _screen 1_? Danny, many thanks for taking the time to review this. Your question is a good one. I've previously tried enabling and disabling detect_outputs and observed no difference. Prompted by your question I've just looked closer. Because I was intrigued by where the settings are stored I opened gconf-editor and had a peek. At the same time I used CCSM to check and change values for screen 0 and screen 1. I was surprised to find the *only* screen 0 detect_outputs was changed; no entry for detect_outputs shows up for screen 1. grep -r detect_outputs ~/.gconf/* /home/tj/.gconf/apps/compiz/general/screen0/options/%gconf.xml: entry name=detect_outputs mtime=1235468827 type=bool value=false/ Experimenting further I also found that when I edit the list of outputs in CCSM, whether for screen 0 or 1, the resulting change is made only to screen 0. I left it with detect_outputs false and did some experiments. Looking closer at outputs with gconf-editor for screen 1 it reports ! This key has no schema but shows (where from I don't know) 1024x768+0 +0 - this doesn't show up in CCSM editing the outputs for screen 1. I tried replacing that value using gconf-editor with 128x1024+0+0 and starting compiz on screen 1 only, but it hasn't changed the result. I then tried changing the outputs for screen 0 to 1280x1024+0+0 and starting compiz on screen 1 only (hoping it might be using the wrong screen options) but that didn't improve matters either. I tried adding detect_outputs 'true' to screen 1 options (whilst leaving screen 0 'false'): sed -i -e '/gconf/a\ \tentry name=detect_outputs mtime=1235468827 type=bool value=true/\ ' ~/.gconf/apps/compiz/general/screen1/options/%gconf.xml Starting compiz on screen 1 only - no change. I set screen 1 detect_outputs to 'false' (screen 1 outputs is listing 1280x1024+0+0) and tried again. Hallelujah !! Finally, screen 1 fills the full 1280x1024 of the screen. I then tried starting compiz normally - managing both screens - and it seems to behave as it used to. So, it seems as if the issue is partly to do with CCSM? Anything else you need checking/testing, let me know. -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 331918] Re: Clipped area for multiple X screens with different dimensions
I've been doing some bisect and other testing via git. I also took the hardy package that works correctedly with the Hardy installation - compiz (1:0.7.4-0ubuntu7) - and after making some minor changes (build dependencies) to enable it to build, built and tested it on Jaunty. It suffers the same problem of screen 1 being clipped. Combined with the discussions with the compiz developers, who have been very helpful, and my own reading of the compiz source it is making me wonder if the calls into Xlib are at some point returning geometry of the first screen (0) rather than the screen requested. ** Summary changed: - Out-of-bounds areas for multiple X screens with different dimensions + Clipped area for multiple X screens with different dimensions -- Clipped area for multiple X screens with different dimensions https://bugs.launchpad.net/bugs/331918 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs