Enhanced zoom not working with twinview enabled

Bug #235768 reported by mmalmeida
44
This bug affects 6 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Triaged
Low
Unassigned

Bug Description

Just upgraded from Gutsy to Hardy.

I had compiz' enhanced zoom desktop effect working on Gutsy. Windows key (special) + mouse scroll would zoom in/out.

After the upgrade, this effect does not work.

Special+ keyboard 1/2/3 key doesn't work as well - all it does is move my mouse a bit.
Special + R - also moves my mouse a bit.

I tried reinstalling compiz:

aptitude purge ~ncompiz ~nemerald ~nlibdeco ~nberyl
rm -r ~/.compiz
aptitude install compiz compizconfig-settings-manager emerald

But no luck

Revision history for this message
mmalmeida (mmalmeida) wrote :

Another Ubuntu user suggested disabling Twinview in xorg.conf. After disabling
it, ezoom will work correctly (but, alas, I lose dual display...).

Running with an Nvidia 8600 GTS.
driver version: NVRM: loading NVIDIA UNIX x86 Kernel Module 169.12

Other users affected:
http://ubuntuforums.org/showthread.php?p=5087366#post5087366

Video of twinview on, no metamodes defined (screen at 1280x1024, second screen
at default of 800x600).
 http://www.youtube.com/watch?v=Mmqjxllobo0

If I increase the resolution of the second screen, the "static" area will
become increasingly bigger until all of it will be static (ezoom not working,
at least visibly) when the two resolutions are equal.

Revision history for this message
Sook (sook) wrote :
Download full text (3.9 KiB)

Ok im another user who has this problem.... Hardy Heron 8.04 - was working fine - after patches/updates etc... then i enabled "expo" and noticed this-afternoon its not working anymore, i hadn't rebooted either.. or logged-out.. I dont believe twinview is the problem... none the less i will attach my xorg.conf for viewing...

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildmeister@builder62) Mon May 19 00:30:30 PDT 2008

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 640 0
    Screen 1 "Screen1" 0 0
    Screen 2 "Screen2" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Logitech G5" "CorePointer"
EndSection

Section "Files"
    RgbPath "/usr/lib/X11/rgb"
EndSection

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
EndSection

Section "ServerFlags"
    Option "Xinerama" "0"
EndSection

Section "InputDevice"
Identifier "Logitech G5"
Driver "evdev"
Option "CorePointer"
Option "Device" "/dev/input/by-id/usb-Logitech_USB_Gaming_Mouse-event-mouse"
Option "ZAxisMapping" "invert"
Option "Emulate3Buttons" "false"
Option "Buttons" "9"
Option "Resolution" "800"
EndSection

Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"
    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Samsung SyncMaster"
    HorizSync 30.0 - 81.0
    VertRefresh 56.0 - 75.0
    Option "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: xconfig, VertRefresh source: xconfig
    Identifier "Monitor2"
    VendorName "Unknown"
    ModelName "TV-0"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
EndSection

Section "Monitor"
    # HorizSync source: xconfig, VertRefresh source: xconfig
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "CRT-1"
    HorizSync 28.0 - 33.0
    VertRefresh 43.0 - 72.0
    Option "DPMS"
EndSection

Section "Device"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8500 GT"
    BusID "PCI:3:0:0"
    Screen 0
EndSection

Section "Device"
    Identifier "Videocard1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8500 GT"
    BusID "PCI:3:0:0"
    Screen 1
EndSection

Section "Device"
    Identifier "Videocard2"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8500 GT"
    BusID "PCI:2:0:0"
    Option "TVStandard" "PAL-B"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "DFP-0"
    Option "metamodes" "DFP...

Read more...

Revision history for this message
Sook (sook) wrote :

Ok i fixed my issue.. this is how...

went into ccsm - them went to "Desktop Cube" - in the general tab i selected "multipule Cubes" - and wahla ! working again...

Revision history for this message
mmalmeida (mmalmeida) wrote :

Selecting "Multiple cubes" did not work for me.

Enhanced Zoom still doesn't work with that option.

Revision history for this message
mmalmeida (mmalmeida) wrote :

Issue is still present.

Relevant xorg.conf info:

# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings: version 1.0 (buildd@vernadsky) Tue Mar 4 20:24:34 UTC 2008

Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
EndSection

Section "Module"
    Load "dbe"
    Load "extmod"
    Load "type1"
    Load "freetype"
    Load "glx"
EndSection

Section "ServerFlags"
    Option "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
EndSection

Section "Monitor"

    # HorizSync source: edid, VertRefresh source: edid
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "PAT LCD-MONITOR"
    HorizSync 30.0 - 82.0
    VertRefresh 50.0 - 75.0
    Option "DPMS"
EndSection

Section "Device"

# Removed Option "TwinView" "true"
# Removed Option "metamodes" "1280x1024,1280x1024"
    Identifier "Videocard0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8600 GTS"
    Option "TwinViewOrientation" "Clone"
    Option "UseDisplayDevice" "CRT, CRT"
EndSection

Section "Screen"

# Option "TwinViewXineramaInfoOrder" "CRT-0"
# Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 +0+0"
    Identifier "Screen0"
    Device "Videocard0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "1"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1280x1024 +0+0, CRT-1: 1280x1024 +0+0"
    SubSection "Display"
        Depth 24
    EndSubSection
EndSection

Revision history for this message
Hans van den Bogert (hbogert) wrote :

another bug in the 8xxx cards?
Time for the nouveau project to get things going, because the binary driver is driving me nuts.

bug is happening here when a tv is attached in clone mode, on a 8400gs

Revision history for this message
mmalmeida (mmalmeida) wrote :

Affected users, do not forget to check:
http://forum.compiz-fusion.org/showthread.php?p=59248#post59248

where more info is being added to the issue.

Revision history for this message
ECantona (ozaktash) wrote :

I have the same problem, the only thing I want to add is that enhanced desktop zoom plugin was working (even though it was causing occasional crashes of X server) when I was using Xgl (I switched to aiglx today).

Revision history for this message
mmalmeida (mmalmeida) wrote :

As described here -http://forum.compiz-fusion.org/showpost.php?p=67969&postcount=20 - I SOLVED the issue by:

1) Go to CCSM (settings manager)
2) General Options - Display Settings
3) Untick "Detect outputs"
4) Only one output will be in the output list.

Try it and see how it goes.

Revision history for this message
Diff Handy (ubuntu-verbena) wrote :

Thanks wild_oscar

I can confirm that this fix works (intel 945GM/GMS/GME)

Revision history for this message
Jeremy Deininger (jeremydei) wrote :

wild_oscar, thank you so much!

Additional note: not only do you need to Untick the "Detect Outputs", but ALSO delete one of the TWO outputs listed in output devices below (so that only one is listed). After doing this I have enhanced zoom back!

(NVIDIA 7800GT, Intrepid + NVIDIA v177.82)

Revision history for this message
max (maxozilla) wrote :

I can confirm this bug is still present in Ubuntu Jaunty Development

Revision history for this message
PeterKnaggs (peter-knaggs) wrote :

I can confirm that with TwinView enabled, Enhanced Zoom no longer works.
Attached a sample /etc/X11/xorg.conf showing TwinView configuration.

Revision history for this message
Scott Howard (showard314) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We were wondering if this is still an issue for you. Can you try with the latest Ubuntu release (maybe live CD)? Thanks in advance.

There seem to be a few others with this bug, so before sending it to developers can you include the following files (just to make sure an error isn't occuring somewhere):
~/.xsession-errors
 /var/log/Xorg.0.log

and the output of lspci -vvnn (to determine hardware).

Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
PeterKnaggs (peter-knaggs) wrote :

Hi Scott,

I'm running the Jaunty release at the moment:

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=9.04
DISTRIB_CODENAME=jaunty
DISTRIB_DESCRIPTION="Ubuntu 9.04"

I'm not sure if it's feasible to run this testcase for this bug
from a live CD, as installing the nVidia restricted drivers
seems to involve a reboot or at least a restart of the gdm
session. Could you point me to any more recent CD image
you'd like me to try?

Sorry I should have been more clear: the workaround
described on 2008-11-09 by wild_oscar works for me too,
but the bug itself still exists.

Attached output of lspci --vvnn.

Thanks,
Peter.

Revision history for this message
PeterKnaggs (peter-knaggs) wrote :

Contents of /var/log/Xorg.0.log are attached.

There doesn't seem to be anything of interest in $HOME/.xsession-errors

Revision history for this message
PeterKnaggs (peter-knaggs) wrote :

The hardware I'm running Jaunty on is described a bit on the folowing wiki pages.
  http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoVelocityMicroEdgeGx335
  http://www.penlug.org/twiki/bin/view/Main/LinuxHardwareInfoNvidia9800GTX+
The second link also describes the TwinView setup and the workaround from this bug.

Revision history for this message
Scott Howard (showard314) wrote :

Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in compiz (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
root101jp (r-root101jp-gmail-com) wrote :

I also had same problem with Panasonic CF-W4 with 915GM/GMS/910GML Express Graphics Controller
and Ubuntu9.04.
I add one more action with rubyonlinux comment. I need to reboot machine and zoom function come back.
Many Thanks for all.

Changed in compiz (Ubuntu):
importance: Undecided → Low
status: Confirmed → Triaged
Revision history for this message
Lorant Nemeth (loci) wrote :

Problem still present with t61p on jaunty. Disabling 'Detect Outputs' does not help and not only enhanced but normal zoom feature does not work either. (Enabling normal zoom actually kills compiz)

Let me know if you need any further info.

Revision history for this message
Travis Watkins (amaranth) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 162396, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

Revision history for this message
Bazon (bazonbloch) wrote :

I had the same issue in natty. For me, it was solved by not using the xorg.conf (by renaming it) and setting twinview with the program disper and running "disper -c".
(the parameter -c clones the output on both devices)

I comment here (and not in bug #162396) because here solutions were proposed and I'm not so sure about the duplicate status: for me, the mouse didn't jump to the other screen, but simply disappeared.

Revision history for this message
Robbie Ferguson (robbieferguson) wrote :

I can confirm that this issue exists when running Twinview mode in clone mode on an nVidia GeForce GT 220 (placing my monitors output on the HDMI as well for broadcasting via Wirecast via a Blackmagic Intensity Pro).

However, big thanks to wild_oscar (miguel-almeida) and Jeremy Deininger (jeremydei) - the combination of their two comments *fixed the problem entirely*.

Thanks!
Robbie

Revision history for this message
PabloAB (pabloab777) wrote :

If twinview is the same as "mirror displays" I still have the problem on Ubuntu xenial 16.04 (2018!): When mirroring and zoom, the only thing happend is the cursor/pointer became invisible.
Tried mmalmeida (ex wild_oscar?) solution of comment #9. That "fix" the problem but when displays are not mirrored external display look all stretched and mouse clic are ~ 70 px at the right of where the visible mouse pointer is.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.