Bug 14659 - Screen wrap-around with Ubuntu Gutsy and Hardy alphas - Ubuntu Feisty ok
Summary: Screen wrap-around with Ubuntu Gutsy and Hardy alphas - Ubuntu Feisty ok
Status: RESOLVED WONTFIX
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nVidia (open) (show other bugs)
Version: 7.2 (2007.02)
Hardware: PowerPC Linux (All)
: medium major
Assignee: Richard Bronosky
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 14796 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-02-25 02:12 UTC by Brian Greer
Modified: 2011-09-14 13:49 UTC (History)
7 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Apple ppc g5 iMac lspci output for wrap-around screen problem in 7.2 xorg nv driver (7.11 KB, text/plain)
2008-02-25 02:12 UTC, Brian Greer
no flags Details
Makes http://cgit.freedesktop.org/xorg/driver/xf86-video-nv/commit/?id=ec78618d685759a39d386e9929661037b167fe68 conditional on NOT powerpc (457 bytes, patch)
2009-04-01 23:16 UTC, Richard Bronosky
no flags Details | Splinter Review

Description Brian Greer 2008-02-25 02:12:34 UTC
Created attachment 14553 [details]
Apple ppc g5 iMac lspci output for wrap-around screen problem in 7.2 xorg nv driver

Using a Rev-A, 20" G5 PPC iMac (NO als, no isight) with opensource nv driver, the screen shifts to the right about 1/2 inch, and wraps back around to the left side.  The mouse cannot move past the left hand side vertical boundary to access any "wrapped around" parts of the screen.  The native resolution of 1680x1050 is correctly detected, but the screen wrap is very annoying.  This model has no external adjustments for display centering, so I can't fake a fix.

This problem surfaced in Ubuntu Gutsy, and has continued in Ubuntu Hardy alpha-4 and alpha-5.

The only solution was to downgrade my nv video driver in Gutsy 7.10 back down to Feisty 7.04.

No amouont of xorg twiddling, custom modelines, or xrandr use allowed me to make any difference for better or worse.  The problem is not related to resolution, but to the physical centering of the display.

Tried using just simple window managers, even just twm, and problem was still evident until I downngraded back to the Ubuntu Feisty nv driver, nv_drv.so which was found in /usr/lib/xorg/modules/drivers

Please find attached the output of my lspci -vvnn 

thank you
Comment 1 Aaron Plattner 2008-03-03 16:33:09 UTC
*** Bug 14796 has been marked as a duplicate of this bug. ***
Comment 2 Aaron Plattner 2008-03-03 16:33:52 UTC
*sigh*... I had a feeling fixing bug #4686 would break something.
Comment 3 Chris Reich 2009-03-25 02:25:49 UTC
Under Debian Etch, I could fix this issue by editing /etc/X11/xorg.conf and changing the value of 'Use FBDev' from 'true' to 'false'.
I cannot make the same change to Debian Lenny as the system does not seem to even invoke any video driver.
I confirm the issue manifests itself in 8.04 Ubuntu ppc community edition.

Hardware: Power Mac G4 Digital Audio 533 MHz, 1.25G RAM, NVIDIA GeForce 2 MX video card.

Chris Reich; Rochester, New York
chrisreich@rocketmail.com
Comment 4 Richard Bronosky 2009-04-01 23:03:29 UTC
Based on my instructions here  I have been contacted by several PPC users. I would like to see the patch below committed. If at all possible, I'd like to do the commit myself. I've put a lot of time and learning into supporting this and would like to get my name in the tree.

diff --git a/src/nv_dac.c b/src/nv_dac.c
index b6df107..1e7fcb7 100644
--- a/src/nv_dac.c
+++ b/src/nv_dac.c
@@ -114,8 +114,10 @@ NVDACInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
        horizStart = horizTotal - 5;
        horizEnd = horizTotal - 2;
        horizBlankEnd = horizTotal + 4;
+#if !defined(__powerpc__)
        if(pNv->Architecture == NV_ARCH_30)
            horizTotal += 2;
+#endif
     }

     pVga->CRTC[0x0]  = NV_Set8Bits(horizTotal);
Comment 5 Richard Bronosky 2009-04-01 23:16:57 UTC
Created attachment 24453 [details] [review]
Makes http://cgit.freedesktop.org/xorg/driver/xf86-video-nv/commit/?id=ec78618d685759a39d386e9929661037b167fe68 conditional on NOT powerpc

Oops, my previous comment should have been:
Based on my instructions here https://bugs.launchpad.net/xorg-server/+bug/189844/comments/16 I have been contacted by several PPC users.
Comment 6 libraryeye 2009-04-03 12:11:13 UTC
I'm not running Ubuntu- rather I'm running Debian. Anyway, following Richard's assistance I no longer suffer with the insufferable off-center screen! This fix works. A lot of iMac users are frustrated by this problem, and I can say from having installed several distros it's a problem across the board. Richard's help was invaluable in my getting proper display in Debian & I doubt I would even be trying out Debian if I had to continually deal with the monitor being so misaligned. I do hope this conditional patch gets applied as needed so us powerpc users can take advantage of upcoming releases without having to worry about this.
Comment 7 Rémi Cardona 2009-09-24 00:57:23 UTC
Hi all,

Any updates here? Can the patch be committed? May I commit it myself?

Thanks
Comment 8 Corbin Simpson 2011-09-14 13:49:14 UTC
xf86-video-nv has been officially unmaintained for a bit now, and we are closing all -nv bugs. If your problem was not addressed, and -nv is still broken, please try xf86-video-nouveau. Thank you.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.