Screen contents wrap over the right edge

Julio Merino julio at meroh.net
Sat Apr 13 00:15:41 UTC 2013


On Sun, Apr 7, 2013 at 2:13 AM, Kevin Oberman <rkoberman at gmail.com> wrote:

> On Sat, Apr 6, 2013 at 5:34 AM, Julio Merino <julio+host-g5-jmmv at meroh.net
> > wrote:
>
>> Hello,
>>
>> I have recently set up FreeBSD powerpc64 9.1 on a PowerMac G5 that
>> carries an nVidia Geforce FX 5200 Ultra (NV34) connected to a Lenovo
>> ThinkVision LT2452P (24" screen with a native resolution of
>> 1920x1200 at 60Hz).  I have installed X.Org 7.5.2 from ports.
>>
>> When starting X, everything works reasonably well (X starts with
>> hardware autoconfiguration and uses the native resolution of the
>> display) but there is quite an annoying problem: the screen contents
>> are offset to the right by 50-100 pixels, and the picture wraps over
>> the right edge to come over through the left edge by that same amount.
>>
>> I'm attaching a copy of the Xorg.0.log file.
>>
>> Any ideas?
>>
>> Maybe. I can't claim expertise,  but I'd like to see the output of
> xrandr(1).  It lists the available modes.  From that, you can tell which
> modeline is in use. You ,ay be able to correct the problem with xrandr,
> too, with the --pos option.
> xrandr -d (from xrandr output ) --pos -60
> The argument to '-d' is the display name shown in the xrandr output.
>

I haven't been able to get this to work at all. Below is the output of
xrandr --verbose. Note that there does not seem to be correct detection of
the outputs; "default" should really be something like "DVI". Then, things
like "xrandr --output default --pos -60" just don't work.

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 640 x 400, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (0x129) normal (normal) 0mm x 0mm
 Identifier: 0x128
Timestamp:  785497
Subpixel:   horizontal rgb
 Clones:
CRTC:       0
CRTCs:      0
Transform:  1.000000 0.000000 0.000000
            0.000000 1.000000 0.000000
            0.000000 0.000000 1.000000
           filter:
  1920x1200 (0x129)  138.2MHz *current
        h: width  1920 start    0 end    0 total 1920 skew    0 clock
72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock
60.0Hz
  1920x1080 (0x12a)  124.4MHz
        h: width  1920 start    0 end    0 total 1920 skew    0 clock
64.8KHz
        v: height 1080 start    0 end    0 total 1080           clock
60.0Hz
  1600x1200 (0x12b)  115.2MHz
        h: width  1600 start    0 end    0 total 1600 skew    0 clock
72.0KHz
        v: height 1200 start    0 end    0 total 1200           clock
60.0Hz
  1680x1050 (0x12c)  105.8MHz
        h: width  1680 start    0 end    0 total 1680 skew    0 clock
63.0KHz
        v: height 1050 start    0 end    0 total 1050           clock
60.0Hz
  1400x1050 (0x12d)   88.2MHz
        h: width  1400 start    0 end    0 total 1400 skew    0 clock
63.0KHz
        v: height 1050 start    0 end    0 total 1050           clock
60.0Hz
  1280x1024 (0x12e)   78.6MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock
61.4KHz
        v: height 1024 start    0 end    0 total 1024           clock
60.0Hz
  1440x900 (0x12f)   97.2MHz
        h: width  1440 start    0 end    0 total 1440 skew    0 clock
67.5KHz
        v: height  900 start    0 end    0 total  900           clock
75.0Hz
  1440x900 (0x130)   77.8MHz
        h: width  1440 start    0 end    0 total 1440 skew    0 clock
54.0KHz
        v: height  900 start    0 end    0 total  900           clock
60.0Hz
  1280x960 (0x131)   73.7MHz
        h: width  1280 start    0 end    0 total 1280 skew    0 clock
57.6KHz
        v: height  960 start    0 end    0 total  960           clock
60.0Hz
  1152x864 (0x132)   74.6MHz
        h: width  1152 start    0 end    0 total 1152 skew    0 clock
64.8KHz
        v: height  864 start    0 end    0 total  864           clock
75.0Hz
  1024x768 (0x133)   59.0MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock
57.6KHz
        v: height  768 start    0 end    0 total  768           clock
75.0Hz
  1024x768 (0x134)   55.1MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock
53.8KHz
        v: height  768 start    0 end    0 total  768           clock
70.0Hz
  1024x768 (0x135)   47.2MHz
        h: width  1024 start    0 end    0 total 1024 skew    0 clock
46.1KHz
        v: height  768 start    0 end    0 total  768           clock
60.0Hz
  832x624 (0x136)   38.9MHz
        h: width   832 start    0 end    0 total  832 skew    0 clock
46.8KHz
        v: height  624 start    0 end    0 total  624           clock
75.0Hz
  800x600 (0x137)   36.0MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock
45.0KHz
        v: height  600 start    0 end    0 total  600           clock
75.0Hz
  800x600 (0x138)   34.6MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock
43.2KHz
        v: height  600 start    0 end    0 total  600           clock
72.0Hz
  800x600 (0x139)   28.8MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock
36.0KHz
        v: height  600 start    0 end    0 total  600           clock
60.0Hz
  800x600 (0x13a)   26.9MHz
        h: width   800 start    0 end    0 total  800 skew    0 clock
33.6KHz
        v: height  600 start    0 end    0 total  600           clock
56.0Hz
  640x480 (0x13b)   23.0MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock
36.0KHz
        v: height  480 start    0 end    0 total  480           clock
75.0Hz
  640x480 (0x13c)   22.4MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock
35.0KHz
        v: height  480 start    0 end    0 total  480           clock
73.0Hz
  640x480 (0x13d)   20.3MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock
31.7KHz
        v: height  480 start    0 end    0 total  480           clock
66.0Hz
  640x480 (0x13e)   18.4MHz
        h: width   640 start    0 end    0 total  640 skew    0 clock
28.8KHz
        v: height  480 start    0 end    0 total  480           clock
60.0Hz
  720x400 (0x13f)   20.2MHz
        h: width   720 start    0 end    0 total  720 skew    0 clock
28.0KHz
        v: height  400 start    0 end    0 total  400           clock
70.0Hz


> You may also need to adjust the modeline parameters. (See man xorg.conf
> documentation and look at hsyncstart and hsyncend parameters. You can
> create a new modeline with the 'xrandr --newmode' command followed my an
> 'xrandr -d XXX -mode YYYY'.
>

I tried generating a new ModeLine with cvt and/or copying it from the
Xorg.0.log file, and adding it to xorg.conf... but it's either being
ignored or not working. Any changes to the hsyncstart and hsyncend
parameters have no effect.

So, any more ideas? :-P

-- 
Julio Merino / @jmmv


More information about the freebsd-x11 mailing list