Re: Inspiron 7500 vs x.org server

From: Julian Elischer (julian_at_FreeBSD.ORG)
Date: 01/30/05

  • Next message: Robert Watson: "Re: tcp_isn_tick() / dummynet() callout madness ?"
    To: eta@lclark.edu, julian@freebsd.org
    Date: Sun, 30 Jan 2005 22:51:05 +0000 (GMT)
    
    

    I tried the fix of changing vert to horz as mentionned in 1881
    in the radeon driver but that didn't seem to fix anything.

    In particular I have the following code in radeon_driver.c now:

    static void RADEONGetPanelInfoFromReg (ScrnInfoPtr pScrn)
    {
        RADEONInfoPtr info = RADEONPTR(pScrn);
        unsigned char *RADEONMMIO = info->MMIO;
        CARD32 fp_vert_stretch = INREG(RADEON_FP_VERT_STRETCH);
        CARD32 fp_horz_stretch = INREG(RADEON_FP_HORZ_STRETCH);

        info->PanelPwrDly = 200;
        if (fp_vert_stretch & RADEON_VERT_STRETCH_ENABLE) {
            info->PanelYRes = (fp_vert_stretch>>12) + 1;
        } else {
            info->PanelYRes = (INREG(RADEON_CRTC_V_TOTAL_DISP)>>16) + 1;
        }
        if (fp_horz_stretch & RADEON_HORZ_STRETCH_ENABLE) {
            info->PanelXRes = ((fp_horz_stretch>>16) + 1) * 8;
        } else {
            info->PanelXRes = ((INREG(RADEON_CRTC_H_TOTAL_DISP)>>16) + 1) * 8;
        }

        if ((info->PanelXRes < 640) || (info->PanelYRes < 480)) {
            info->PanelXRes = 640;
            info->PanelYRes = 480;
        }

        xf86DrvMsg(pScrn->scrnIndex, X_WARNING,
                   "Panel size %dx%d is derived, this may not be correct.\n"
                       "If not, use PanelSize option to overwrite this setting\n",
                   info->PanelXRes, info->PanelYRes);
    }

    Can you put that file somewhere I can download it?
    I don't have mime at teh moment.. I'm reading mail on hub.freebsd.org using
    'mail' :-)

    (I edited the file by had and then cd'd to /usr/ports/x11-servers/xorg-servers and typed "make ; make install" it did a lot of stuff
    and installed it but the problem persists.

    > From eta@lclark.edu Sun Jan 30 21:19:03 2005
    > Delivered-To: julian@freebsd.org
    > X-Authentication-Warning: leguin.anholt.net: anholt set sender to eta@lclark.edu using -f
    > Subject: Re: Inspiron 7500 vs x.org server
    > From: Eric Anholt <eta@lclark.edu>
    > To: Julian Elischer <julian@freebsd.org>
    > Cc: current@freebsd.org, x11@freebsd.org
    > In-Reply-To: <20050130205650.C370416A4CF@hub.freebsd.org>
    > References: <20050130205650.C370416A4CF@hub.freebsd.org>
    > Content-Type: multipart/mixed; boundary="=-hrD0wS1TBru356BqLxVW"
    > Date: Sun, 30 Jan 2005 13:19:01 -0800
    > Mime-Version: 1.0
    > X-Mailer: Evolution 2.0.2 FreeBSD GNOME Team Port
    >
    >
    > --=-hrD0wS1TBru356BqLxVW
    > Content-Type: text/plain
    > Content-Transfer-Encoding: 7bit
    >
    > On Sun, 2005-01-30 at 20:56 +0000, Julian Elischer wrote:
    > > Adding more to this.. x.org has this as bug 1109
    > > It was erroneously linked as a duplicate of 1881 which has
    > > been fixed, however that was a bug in the radeon driver and this
    > > is the ati driver.
    >
    > The ati driver is just a little wrapper that loads radeon, r128, or
    > atimisc as appropriate. If you could verify that 1881's fix helps you,
    > I'll dump it into the xorg-server port (or I might anyway whenever I
    > commit to xorg-server next). A patch to xorg-server is attached.
    >
    > --
    > Eric Anholt eta@lclark.edu
    > http://people.freebsd.org/~anholt/ anholt@FreeBSD.org

    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Robert Watson: "Re: tcp_isn_tick() / dummynet() callout madness ?"

    Relevant Pages

    • Re: Inspiron 7500 vs x.org server
      ... > It was erroneously linked as a duplicate of 1881 which has ... however that was a bug in the radeon driver and this ... > is the ati driver. ... I'll dump it into the xorg-server port (or I might anyway whenever I ...
      (freebsd-current)
    • Re: Edgy: Slower X than under dapper [PPC radion 9200]
      ... Did you compare the new and older X config? ... you maybe use the radeon driver in Dapper instead of the ati driver you ...
      (Ubuntu)