[mythtv-users] viaslice epia-M xv scaling
Steven
mythmail at richardstraat.homedns.org
Sat Jul 3 03:53:53 EDT 2004
Hi,
I'm using latest CVS mythtv on a Epia-M with a 2.4.26-epia1 kernel.
I use the hardware viaslice mpeg decoding. Capture with pvr250 720x576 pal.
Somehow decoding doesn't get initialized properly when starting TV-playback.
I think it has something to do with xv scaling. After playing back
something with mplayer and then back to tv the xv scaling from mplayer is
still used. (so if I playback 400x300 video in mplayer I only see the
upper left corner of live-tv).
After playing back a TV recording with mplayer and the scaling is set for
720x576 the viaslica playback is ok (recording and live-tv).
Anyone else noticing this or a suggestion on what to try next?
Steven
ps. playing back the recordings with mplayer (without HW accel.) gives me
a sharper image on my tv, but that might have something to do with Kevin's
qmatrix patch that hasn't yet been applied?
These are the relevant (i think) sections from my XFree log :
----snip
==) Using config file: "/etc/X11/XF86Config"
(==) ServerLayout "TVCRT"
(**) |-->Screen "Screen1" (0)
(**) | |-->Monitor "TV"
(**) | |-->Device "VIA CLE266"
----snip(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.a
(II) Module glx: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "GLcore"
(II) LoadModule: "GLcore"
(II) Loading /usr/X11R6/lib/modules/extensions/libGLcore.a
(II) Module GLcore: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/X11R6/lib/modules/extensions/libdri.a
(II) Module dri: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading sub module "drm"
(II) LoadModule: "drm"
(II) Loading /usr/X11R6/lib/modules/linux/libdrm.a
(II) Module drm: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Server Extension, version 0.2
(II) Loading extension XFree86-DRI
(II) LoadModule: "v4l"
(II) Loading /usr/X11R6/lib/modules/drivers/linux/v4l_drv.o
(II) Module v4l: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 0.0.1
ABI class: XFree86 Video Driver, version 0.7
(II) LoadModule: "via"
(II) Loading /usr/X11R6/lib/modules/drivers/via_drv.o
(II) Module via: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 4.1.30
Module class: XFree86 Video Driver
ABI class: XFree86 Video Driver, version 0.
(II) v4l driver for Video4Linux
(II) via: driver for VIA chipsets: CLE266, KM400, K8M800
(II) Primary Device is: PCI 01:00:0
(--) Assigning device section with no busID to primary device
(--) Chipset CLE266 found
----snip
(II) Setting vga for screen 0.
(II) Loading sub module "vgahw"
(II) LoadModule: "vgahw"
(II) Loading /usr/X11R6/lib/modules/libvgahw.a
(II) Module vgahw: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.7
(**) VIA(0): Depth 24, (--) framebuffer bpp 32
(==) VIA(0): RGB weight 888
(==) VIA(0): Default visual is TrueColor
(**) VIA(0): Option "ActiveDevice" "CRT,TV"
(**) VIA(0): Option "TVDotCrawl"
(**) VIA(0): Option "TVType" "PAL"
(**) VIA(0): Option "TVOutput" "S-Video"
(**) VIA(0): Option "TVVScan" "over"
(==) VIA(0): Using HW cursor
(==) VIA(0): Not using video BIOS to set modes
(**) VIA(0): Active Device is CRT and TV.
(**) VIA(0): DotCrawl is Enable
(**) VIA(0): TV Type is PAL
(**) VIA(0): TV Output Signal is S-Video
(II) Loading sub module "int10"
(II) LoadModule: "int10"
(II) Loading /usr/X11R6/lib/modules/linux/libint10.a
(II) Module int10: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) VIA(0): Primary V_BIOS segment is: 0xc000
(II) Loading sub module "vbe"
(II) LoadModule: "vbe"
(II) Loading /usr/X11R6/lib/modules/libvbe.a
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) VIA(0): VESA BIOS detected
(II) VIA(0): VESA VBE Version 3.0
(II) VIA(0): VESA VBE Total Mem: 32768 kB
(II) VIA(0): VESA VBE OEM: VIA CLE266
(II) VIA(0): VESA VBE OEM Software Rev: 1.0
(II) VIA(0): VESA VBE OEM Vendor:
(II) VIA(0): VESA VBE OEM Product:
(II) VIA(0): VESA VBE OEM Product Rev:
(--) VIA(0): Chipset: "CLE266"
(--) VIA(0): Chipset Rev.: 3
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(--) VIA(0): mapping MMIO @ 0xe0000000 with size 0x9000
(--) VIA(0): mapping BitBlt MMIO @ 0xe0200000 with size 0x10000
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(==) VIA(0): Using gamma correction (1.0, 1.0, 1.0)
(--) VIA(0): videoram = 32768k
(II) Loading sub module "i2c"
(II) LoadModule: "i2c"
(II) Loading /usr/X11R6/lib/modules/libi2c.a
(II) Module i2c: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.2.0
ABI class: XFree86 Video Driver, version 0.7
(II) VIA(0): I2C bus "I2C bus 1" initialized.
(II) VIA(0): I2C bus "I2C bus 2" initialized.
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Loading /usr/X11R6/lib/modules/libddc.a
(II) Module ddc: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "ddc"
(II) LoadModule: "ddc"
(II) Reloading /usr/X11R6/lib/modules/libddc.a
(II) VIA(0): VESA VBE DDC supported
(II) VIA(0): VESA VBE DDC Level 2
(II) VIA(0): VESA VBE DDC transfer in appr. 1 sec.
(II) VIA(0): VESA VBE DDC read successfully
(II) VIA(0): Manufacturer: GSM Model: 42d1 Serial#: 0
(II) VIA(0): Year: 1999 Week: 0
(II) VIA(0): EDID Version: 1.1
(II) VIA(0): Analog Display Input, Input Voltage Level: 0.700/0.300 V
(II) VIA(0): Sync: Separate
(II) VIA(0): Max H-Image Size [cm]: horiz.: 31 vert.: 23
(II) VIA(0): Gamma: 2.85
(II) VIA(0): DPMS capabilities: StandBy Suspend Off; RGB/Color Display
(II) VIA(0): redX: 0.636 redY: 0.326 greenX: 0.275 greenY: 0.143
(II) VIA(0): blueX: 0.606 blueY: 0.073 whiteX: 0.282 whiteY: 0.298
(II) VIA(0): Supported VESA Video Modes:
(II) VIA(0): 720x400 at 70Hz
(II) VIA(0): 720x400 at 88Hz
(II) VIA(0): 640x480 at 60Hz
(II) VIA(0): 640x480 at 67Hz
(II) VIA(0): 640x480 at 72Hz
(II) VIA(0): 640x480 at 75Hz
(II) VIA(0): 800x600 at 56Hz
(II) VIA(0): 800x600 at 60Hz
(II) VIA(0): 800x600 at 72Hz
(II) VIA(0): 800x600 at 75Hz
(II) VIA(0): 832x624 at 75Hz
(II) VIA(0): 1024x768 at 87Hz (interlaced)
(II) VIA(0): 1024x768 at 60Hz
(II) VIA(0): 1024x768 at 70Hz
(II) VIA(0): 1024x768 at 75Hz
(II) VIA(0): 1152x870 at 75Hz
(II) VIA(0): Manufacturer's mask: 0
(II) VIA(0): Manufacturer's mask: 0
(II) VIA(0): Supported Future Video Modes:
(II) VIA(0): #0: hsize: 640 vsize 480 refresh: 75 vid: 20273
(II) VIA(0): #1: hsize: 640 vsize 480 refresh: 85 vid: 22833
(II) VIA(0): #2: hsize: 800 vsize 600 refresh: 75 vid: 20293
(II) VIA(0): #3: hsize: 800 vsize 600 refresh: 85 vid: 22853
(II) VIA(0): #4: hsize: 1024 vsize 768 refresh: 75 vid: 20321
(II) VIA(0): #5: hsize: 1024 vsize 768 refresh: 85 vid: 22881
(II) VIA(0): #6: hsize: 1280 vsize 1024 refresh: 60 vid: 32897
(II) VIA(0): #7: hsize: 832 vsize 624 refresh: 75 vid: 20297
(II) VIA(0): Supported additional Video Mode:
(II) VIA(0): clock: 36.0 MHz Image Size: 310 x 230 mm
(II) VIA(0): h_active: 640 h_sync: 696 h_sync_end 752 h_blank_end 832
h_border
: 0
(II) VIA(0): v_active: 480 v_sync: 481 v_sync_end 484 v_blanking: 509
v_border
: 0
(II) VIA(0): Supported additional Video Mode:
(II) VIA(0): clock: 108.0 MHz Image Size: 310 x 230 mm
(II) VIA(0): h_active: 1280 h_sync: 1328 h_sync_end 1440 h_blank_end
1688 h_bo
rder: 0
(II) VIA(0): v_active: 1024 v_sync: 1025 v_sync_end 1028 v_blanking:
1066 v_bo
rder: 0
(II) VIA(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 70 kHz,
PixCloc
(II) VIA(0): Ranges: V min: 50 V max: 160 Hz, H min: 30 H max: 70 kHz,
PixCloc
k max 110 MHz
(II) VIA(0): Monitor name: FLATRON 775FT
(WW) VIA(0): config file hsync range 25-70kHz not within DDC hsync ranges.
(II) VIA(0): TV: Using hsync range of 25.00-70.00 kHz
(II) VIA(0): TV: Using vrefresh range of 50.00-160.00 Hz
(II) VIA(0): Clock range: 20.00 to 230.00 MHz
---snip
(--) VIA(0): Virtual size is 720x576 (pitch 720)
(**) VIA(0): *Mode "720x576": 42.6 MHz (scaled from 0.0 MHz), 45.1 kHz,
75.0 Hz
(II) VIA(0): Modeline "720x576" 42.60 720 760 832 944 576 577 580 602
(**) VIA(0): Mode "720x576": 32.7 MHz (scaled from 0.0 MHz), 35.9 kHz,
60.1 Hz
(**) VIA(0): Display dimensions: (240, 180) mm
(WW) VIA(0): Probed monitor is 310x230 mm, using Displaysize 240x180 mm
(**) VIA(0): DPI set to (76, 81)
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/X11R6/lib/modules/libfb.a
(II) Module fb: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.0.0
ABI class: XFree86 ANSI C Emulation, version 0.2
(II) Loading sub module "xaa"
(II) LoadModule: "xaa"
(II) Loading /usr/X11R6/lib/modules/libxaa.a
(II) Module xaa: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 1.1.0
ABI class: XFree86 Video Driver, version 0.7
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Loading /usr/X11R6/lib/modules/libramdac.a
(II) Module ramdac: vendor="The XFree86 Project"
compiled for 4.3.99.903, module version = 0.1.0
ABI class: XFree86 Video Driver, version 0.7
(**) VIA(0): Option: Cap0_FieldSwap Disabled
(--) Depth 24 pixmap format is 32 bpp
(II) do I need RAC? No, I don't.
---snip
VIAScreenInit : V4L Enabled : fd = 5
(--) VIA(0): mapping framebuffer @ 0xd8000000 with size 0x2000000
(==) VIA(0): Removed MMIO write-combining range (0xd8000000,0x800000)
(==) VIA(0): Write-combining range (0xd8000000,0x2000000)
(--) VIA(0): Frame buffer start: 0x402ae000, free start: 0x195000 end:
0x2000000
(--) VIA(0): mapping MMIO @ 0xe0000000 with size 0x9000
(--) VIA(0): mapping BitBlt MMIO @ 0xe0200000 with size 0x10000
(II) VIA(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
(II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:TV" removed.
(II) VIA(0): I2C device "I2C bus 2:TV" registered at address 0x40.
(II) VIA(0): I2C device "I2C bus 2:TV" removed.
(II) VIA(0): 3D Engine has been initialized.
FillGraphicInfo!!
(II) VIA(0): VIAInternalScreenInit
(II) VIA(0): Clipping pixmap cache for old DRI/DRM module.
(II) VIA(0): Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled rectangles
8x8 mono pattern filled rectangles
8x8 color pattern filled rectangles
Screen to Screen color expansion
Solid Lines
Dashed Lines
Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
31 128x128 slots
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
(II) VIA(0): [drm] added 8192 byte SAREA at 0xdeacb000
(II) VIA(0): [drm] mapped SAREA 0xdeacb000 to 0x4001f000
(II) VIA(0): [drm] framebuffer handle = 0xd8000000
(II) VIA(0): [drm] added 1 reserved context for kernel
(II) VIA(0): [drm] drmAgpEnabled succeeded
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpBase = (nil)
(II) VIA(0): [drm] agpAddr = 0xd0000000
(II) VIA(0): [drm] agpSize = 0x02000000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
6 256x256 slots
(II) VIA(0): [drm] FBFreeStart= 0x005a0000 FBFreeEnd= 0x01fbe000 FBSize=
0x01a1e
000
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): [dri] visual configs initialized.
(II) VIA(0): [drm] register handle = 0xe0000000
(II) VIA(0): [drm] mmio Registers = 0xe0000000
(II) VIA(0): [dri] mmio mapped.
(II) VIA(0): X context handle = 0x00000001
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): direct rendering enabled
FillGraphicInfo!!
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed libc YUV420 copy... 3878757. Throughput: 152.9 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 3853695. Throughput: 153.9 MiB/s.
(--) VIA(0): Timed SSE YUV420 copy... 1831587. Throughput: 323.9 MiB/s.
(--) VIA(0): Timed MMX YUV420 copy... 2541884. Throughput: 233.4 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed MMX2 YUV420 copy... 1861387. Throughput: 318.7 MiB/s.
(--) VIA(0): Ditch Ezra YUV420 copy... Not supported by CPU.
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): I2C device "I2C bus 2:TV Probe" registered at address 0x88.
(II) VIA(0): I2C device "I2C bus 2:SAA7113H" removed.
(II) VIA(0): I2C device "I2C bus 2:SAA7113H" removed.
(II) VIA(0): I2C device "I2C bus 2:SAA7114H" removed.
(II) VIA(0): I2C device "I2C bus 2:TV Probe" removed.
(==) RandR enabled
(II) Setting vga for screen 0.
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
----snip
GetModeLine - hdsp: 720 hbeg: 760 hend: 832 httl: 944
vdsp: 576 vbeg: 577 vend: 580 vttl: 602 flags: 0
Creating 842094169 surface
32 8x8 color pattern slots
(==) VIA(0): Backing store disabled
(II) VIA(0): Modeline "720x576" 32.70 720 744 816 912 576 577 580 597
More information about the mythtv-users
mailing list