[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#277038: xserver-xfree86: xv in neomagic driver is too slow for dvd playback



tag 277038 + moreinfo
thanks

On Mon, Oct 18, 2004 at 12:24:34AM -0500, Tony Hill wrote:
> Package: xserver-xfree86
> Version: 4.3.0.dfsg.1-8
> Severity: normal
> Tags: patch
[...]
> Patch:
> --- xc/programs/Xserver/hw/xfree86/drivers/neomagic/neo_driver.c 2002-12-09 05:32:48.000000000 -0600
> +++ xc/programs/Xserver/hw/xfree86/drivers/neomagic/neo_driver.c 2004-10-13 10:53:25.000000000 -0500
> @@ -2606,6 +2606,8 @@
>         }
>      }
> 
> +    VGAwGR(0x93,0xc0); /* Gives faster framebuffer writes */
> +
>      /* Program vertical extension register */
>      if (nPtr->NeoChipset == NM2200 || nPtr->NeoChipset == NM2230
>         || nPtr->NeoChipset == NM2360 || nPtr->NeoChipset == NM2380) {

I'm not a big fan of voodoo programming, though I do understand that it's
all the rage among MPlayer developers.

I don't suppose any explanation of this mystical hex poke is available
anywhere?

Without further explanation, I won't apply this patch as-is.  I might
support it with a driver option, "MysticalRegisterPoke", which defaults
off.

But I'd really rather have enough information to make an informed decision.

-- 
G. Branden Robinson                |    Half of being smart is knowing what
Debian GNU/Linux                   |    you're dumb at.
branden@debian.org                 |    -- David Gerrold
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: