Date: Mon, 7 Oct 2002 01:30:17 -0700 (PDT) From: Peter Johnson <freebsd@bilogic.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/43760: PATCH: (ports/graphics/dri-devel) Fix Matrox G550 cursor Message-ID: <200210070830.g978UHne047262@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 43760 >Category: ports >Synopsis: PATCH: (ports/graphics/dri-devel) Fix Matrox G550 cursor >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Oct 07 01:40:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Peter Johnson >Release: 4.7-RC >Organization: >Environment: FreeBSD powerplant.home.bilogic.org 4.7-RC FreeBSD 4.7-RC #7: Mon Oct 7 01:01:51 PDT 2002 freebsd@powerplant.home.bilogic.org:/usr/obj/usr/src/sys/WORKSTATION i386 >Description: PR/37542 patch should be applied to graphics/dri-devel port (it's fixed in the X11 server port but not in the dri-devel port). The MGA driver in XFree86 4.2.0 corrupts the hardware cursor when using the Matrox G550 card. The corrupted cursor usually appears as a pair of sets of vertical lines taking up a 64x64 area instead of the normal cursor contents. This makes XFree86 unusable for normal use. >How-To-Repeat: Run XFree86 with dri-devel on a Matrox G550 card with the HW cursor enabled. >Fix: Workaround: Add option "hw cursor" "off" to the G550 Device section of the XF86Config file. This disables the hardware cursor. Fix: This has been fixed in XFree86 CVS, as part of the following patch: http://cvsweb.xfree86.org/cvsweb/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c.diff?r1=1.218&;r2=1.219 (the specific XFree86 4.2.0 bug number is 98). As this patch covers a number of bugs, the relevant part of the patch to this specific bug is: --- xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c 2002/02/21 02:46:38 1.218 +++ xc/programs/Xserver/hw/xfree86/drivers/mga/mga_driver.c 2002/04/04 14:05:43 1.219 @@ -2794,7 +2794,8 @@ MGAModeInit(ScrnInfoPtr pScrn, DisplayMo case PCI_CHIP_MGAG200: case PCI_CHIP_MGAG200_PCI: case PCI_CHIP_MGAG400: - if(pMga->SecondCrtc == FALSE && pMga->HWCursor == TRUE) { + case PCI_CHIP_MGAG550: + if(pMga->SecondCrtc == FALSE && pMga->HWCursor == TRUE) { outMGAdac(MGA1064_CURSOR_BASE_ADR_LOW, pMga->FbCursorOffset >> 10); outMGAdac(MGA1064_CURSOR_BASE_ADR_HI, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210070830.g978UHne047262>