Created an attachment (id=20574)
Patch required for XV to work on XP5 chipset
The unpatched driver only displays a black window when attempting to display video via XV. Looks like XP5 chipset was just omitted in a few 'if'-statements in the sources.
This patch was tested on a ECS-532 laptop, lspci -v output:
01:00.0 0300: 1023:2200 (rev 02) (prog-if 00 [VGA controller])
Subsystem: 1019:0f56
Flags: bus master, 66MHz, medium devsel, latency 8, IRQ 11
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
Memory at fe400000 (32-bit, non-prefetchable) [size=4M]
Memory at e8000000 (32-bit, non-prefetchable) [size=128M]
Memory at fe9f8000 (32-bit, non-prefetchable) [size=32K]
Expansion ROM at fe980000 [disabled] [size=256K] Capabilities: <access denied>
I patched the xorg driver source package that came with Ubuntu 8.04. For reference, the full patched source I used is available via SVN here:
Created an attachment (id=20574)
Patch required for XV to work on XP5 chipset
The unpatched driver only displays a black window when attempting to display video via XV. Looks like XP5 chipset was just omitted in a few 'if'-statements in the sources.
This patch was tested on a ECS-532 laptop, lspci -v output:
01:00.0 0300: 1023:2200 (rev 02) (prog-if 00 [VGA controller])
Capabilities: <access denied>
Subsystem: 1019:0f56
Flags: bus master, 66MHz, medium devsel, latency 8, IRQ 11
Memory at f0000000 (32-bit, non-prefetchable) [size=128M]
Memory at fe400000 (32-bit, non-prefetchable) [size=4M]
Memory at e8000000 (32-bit, non-prefetchable) [size=128M]
Memory at fe9f8000 (32-bit, non-prefetchable) [size=32K]
Expansion ROM at fe980000 [disabled] [size=256K]
I patched the xorg driver source package that came with Ubuntu 8.04. For reference, the full patched source I used is available via SVN here:
http:// mosquito. dyndns. tv/freesvn/ xorg-trident- ecs532
This currently only works with 24 bit depth, tested with mplayer and totem. On 16 and 15 bit depth, mplayer repeatedly issues the following error:
X11 error: BadAlloc (insufficient resources for operation)
and displays an image of constant color. Totem just exits when trying to play a movie on 15 or 16 bit.
Also see the C comments in the patch.