Pearlseattle Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/3269776035d61d83a7b86d.jpg)
Joined: 04 Oct 2007 Posts: 165 Location: Switzerland
|
Posted: Tue Jan 22, 2008 7:40 pm Post subject: VIA Epia SP8000 & xv => video corruption on high-res |
|
|
Hi
I already posted this on linuxquestions.org and as I didn't get any answers I am trying this as well here
I have a small VIA Epia 8000 where videos are corrupted on the bands whenever I play files which have a resolution higher than ~800 horizontal pixels.
Did anybody ever have such problems? It looks like that a portion of the image gets partially mirrored in a a "kind" of interlaced "style" on the sides of the video window.
I am using the xvmc output to get a hardware accellerated video (mplayer -vo xv myvideo.avi). It doesn't matter if I play the video fullscreen or not. If I use "mplayer -vo x11 myvideo.avi" the video is not currupt, but I don't have hardware accelleration.
I am thinking it might be that something with the mpeg2 & mpeg4 accelleration does not work. Changed kernel, upgraded X, upgraded mplayer (tried as well Xine), upgraded ffmpeg, upgraded libXvMC but nothing changed. Perhaps the hardware accellerated chip was not created to handle such "high" resolutions?
My xorg.conf:
Code: |
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/75dpi/"
EndSection
Section "Module"
Load "glx"
Load "extmod"
Load "xtrap"
Load "record"
Load "dbe"
Load "dri"
Load "freetype"
Load "type1"
Load "xv"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbLayout" "ch"
Option "XkbVariant" "de"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mouse0"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28.0 - 65.0
VertRefresh 43.0 - 72.0
Option "nodpms"
Option "noddc"
ModeLine "800x600" 40.0 800 840 968 1056 600 601 605 628 +hsync +vsync
ModeLine "1024x768" 65.0 1024 1048 1184 1344 768 771 777 806 -hsync -vsync
ModeLine "1280x768" 80.14 1280 1344 1480 1680 768 769 772 795 -hsync +vsync
ModeLine "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection
Section "Device"
Identifier "Card0"
Driver "via"
Option "VideoRAM" "131072"
Option "XvmcUsesTextures" "false"
Option "PanelSize" "1280x768"
VendorName "Unknown Vendor"
BoardName "Unknown Board"
BusID "PCI:1:0:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
# Modes "1024x768"
# Modes "640x480"
# Modes "1280x1024"
# Modes "800x600"
Modes "1280x768"
EndSubSection
EndSection
Section "DRI"
Mode 0666
EndSection
|
A piece of Xorg.0.log:
Code: |
(II) VIA(0): [drm] DRM interface version 1.3
(II) VIA(0): [drm] created "via" driver at busid "PCI:1:0:0"
(II) VIA(0): [drm] added 8192 byte SAREA at 0xf938f000
(II) VIA(0): [drm] mapped SAREA 0xf938f000 to 0xb3aed000
(II) VIA(0): [drm] framebuffer handle = 0xe0000000
(II) VIA(0): [drm] added 1 reserved context for kernel
(II) VIA(0): [dri] visual configs initialized.
(II) VIA(0): [drm] register handle = 0xe4000000
(II) VIA(0): [drm] framebuffer handle = 0xe0000000
(II) VIA(0): [drm] mmio Registers = 0xe4000000
(II) VIA(0): [dri] mmio mapped.
(II) VIA(0): VIAInternalScreenInit
(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
Solid Lines
Dashed Lines
Image Writes
Offscreen Pixmaps
Setting up tile and stipple cache:
31 128x128 slots
17 256x256 slots
5 512x512 slots
32 8x8 color pattern slots
(==) VIA(0): Backing store disabled
(II) VIA(0): [drm] Detected AGP vendor 0x1106, device 0x259
(II) VIA(0): [drm] Found AGP v3 compatible device. Trying AGP 8X mode.
(II) VIA(0): [drm] Trying to enable AGP fast writes.
(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 = 0x01e00000
(II) VIA(0): [drm] agp physical addr = 0x00000000
(II) VIA(0): [dri] use agp.
(II) VIA(0): [drm] Using 51103712 bytes for DRM memory heap.
(II) VIA(0): [dri] frame buffer initialized.
(II) VIA(0): X context handle = 0x1
(II) VIA(0): [drm] installed DRM signal handler
(II) VIA(0): [DRI] installation complete
(II) VIA(0): [dri] kernel data initialized.
(II) VIA(0): [drm] Irq handler installed, using IRQ 10.
(II) VIA(0): direct rendering enabled
(II) VIA(0): [Xv] Using PCI DMA for Xv image transfer.
(II) VIA(0): Benchmarking video copy. Less is better.
(--) VIA(0): Timed libc YUV420 copy... 2640861. Throughput: 119.5 MiB/s.
(--) VIA(0): Timed kernel YUV420 copy... 2641414. Throughput: 119.5 MiB/s.
(--) VIA(0): Timed SSE YUV420 copy... 1686028. Throughput: 187.2 MiB/s.
(--) VIA(0): Timed MMX YUV420 copy... 2705085. Throughput: 116.7 MiB/s.
(--) VIA(0): Ditch 3DNow! YUV420 copy... Not supported by CPU.
(--) VIA(0): Timed MMX2 YUV420 copy... 1750322. Throughput: 180.3 MiB/s.
(--) VIA(0): Using SSE YUV42X copy for video.
(II) VIA(0): [XvMC] Registering viaXvMCPro.
(II) VIA(0): [XvMC] Initialized XvMC extension.
(WW) VIA(0): Option "XvmcUsesTextures" is not used
(WW) VIA(0): Option "nodpms" is not used
(==) 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 XC-APPGROUP
(II) Initializing built-in extension XAccessControlExtension
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFIXES
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Initializing built-in extension COMPOSITE
(II) Initializing built-in extension DAMAGE
(II) Initializing built-in extension XEVIE
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 8, (OK)
drmOpenByBusid: drmOpenMinor returns 8
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
|
Here http://www.via.com.tw/en/products/mainboards/motherboards.jsp?motherboard_id=261 is the link to the tech sheet of the motherboard I am using.
Well, thanks at least for reading. |
|