I think that my driver works not perfect.
Can you help me?
I used mplayer.
I wrote this letter to [EMAIL PROTECTED]:

>>> If I use -vo xv, and the size of the film is e.g. 384x288, there isn`t
>>> problem, and I can play it in fullscreen mode too.
>>>
>>> But if the size of the film is bigger e.g. 512x384, the window of the film
>>> is blue and there isn`t picture. The playing is running, because I hear 
>>>the
>>> voice. If I move out the the film`s window from screen left, there is one
>>> point, when the picture comes in and I can see a part of the picture. If I
>>> move back the window to the screen, there is a point, when the window will
>> be blue again. If I move the window to another destination, nothing
>>> happens, the window stays blue.
>>> I played a lot of films, and I think, this problem depend on the size of
>>> pixel size
 
 >>try with -vo sdl (you need sdl and sdl devel package installed) and see if 
 >>it 
 >>works there, if not it's driver bug and you should report to maintainer of 
 >>your x11 driver.

  >
  >I tried it, but the result is the same :-(
  >Thank you

My system:

Operating system: SuSE 7.3

Linux totos 2.4.4-4GB #1 Fri May 18 14:11:12 GMT 2001 i686 unknown

I have to use this kernel, because I have a winmodem, and there is only one 
binary driver to my modem :-(.
I tried another kernel too, but the xv problem is the same.

-rwxr-xr-x    1 root     root      1384168 Sep 20  2001 /lib/libc.so.6

XFree86 Version 4.2.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 18 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.9-13smp i686 [ELF]
Module Loader present

Reading specs from /usr/lib/gcc-lib/i486-suse-linux/2.95.3/specs
gcc version 2.95.3 20010315 (SuSE)

GNU ld version 2.11.90.0.29 (with BFD 2.11.90.0.29)

GNU assembler 2.11.90.0.29
Copyright 2001 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `i486-suse-linux'.

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Celeron (Coppermine)
stepping        : 3
cpu MHz         : 665.015
cache size      : 128 KB
fdiv_bug        : no
hlt_bug         : yes
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov
pat pse36 mmx fxsr sse
bogomips        : 1327.10

00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 31)
        Flags: bus master, medium devsel, latency 32
        Memory at e0000000 (32-bit, non-prefetchable) [size=64M]
        Capabilities: [c0] AGP version 2.0

00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
(prog-if 80 [Master])
        Subsystem: Silicon Integrated Systems [SiS] SiS5513 EIDE Controller 
(A,B
step)
        Flags: bus master, fast devsel, latency 16
        I/O ports at ff00 [size=16]

00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
        Flags: bus master, medium devsel, latency 0

00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100
Ethernet (rev 82)
        Subsystem: Uniwill Computer Corp: Unknown device 5002
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at d000 [size=256]
        Memory at dffc0000 (32-bit, non-prefetchable) [size=4K]
        Expansion ROM at dffa0000 [disabled] [size=128K]
        Capabilities: [40] Power Management version 2

00:01.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
(prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS] 7001
        Flags: bus master, medium devsel, latency 32, IRQ 9
        Memory at dffd0000 (32-bit, non-prefetchable) [size=4K]

00:01.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
(prog-if 10 [OHCI])
        Subsystem: Silicon Integrated Systems [SiS]: Unknown device 7000
        Flags: bus master, medium devsel, latency 32, IRQ 9
        Memory at dffe0000 (32-bit, non-prefetchable) [size=4K]

00:01.4 Multimedia audio controller: Silicon Integrated Systems [SiS] SiS PCI
Audio Accelerator (rev 02)
        Subsystem: Uniwill Computer Corp: Unknown device 5002
        Flags: bus master, medium devsel, latency 32, IRQ 11
        I/O ports at d400 [size=256]
        Memory at dfff0000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

00:01.6 Modem: Silicon Integrated Systems [SiS]: Unknown device 7013 (rev a0)
(prog-if 00 [Generic])
        Subsystem: Uniwill Computer Corp: Unknown device 4003
        Flags: bus master, medium devsel, latency 32, IRQ 10
        I/O ports at dc00 [size=256]
        I/O ports at d800 [size=128]
        Capabilities: [48] Power Management version 2

00:02.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP (prog-if
00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 0000a000-0000afff
        Memory behind bridge: dfe00000-dfefffff
        Prefetchable memory behind bridge: cfc00000-dfcfffff

00:03.0 CardBus bridge: O2 Micro, Inc. OZ6812 Cardbus Controller (rev 05)
        Subsystem: Uniwill Computer Corp: Unknown device 3000
        Flags: bus master, stepping, slow devsel, latency 168, IRQ 11
        Memory at 14000000 (32-bit, non-prefetchable) [size=4K]
        Bus: primary=00, secondary=02, subordinate=05, sec-latency=176
        I/O window 0: 00000000-00000003
        I/O window 1: 00000000-00000003
        16-bit legacy interface ports at 0001

01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS630
GUI Accelerator+3D (rev 31) (prog-if 00 [VGA])
        Subsystem: Uniwill Computer Corp: Unknown device 5002
        Flags: 66Mhz, medium devsel
        BIST result: 00
        Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Memory at dfee0000 (32-bit, non-prefetchable) [size=128K]
        I/O ports at ac80 [size=128]
        Capabilities: [40] Power Management version 1
        Capabilities: [50] AGP version 2.0



MPlayer 0.90pre2.2-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6, Stepping:
 3) Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
Compiled for x86 CPU with features: MMX MMX2 SSE
CommandLine:X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bits/pixel (":0.0" => local
display)
Reading /home/totos/.mplayer/codecs.conf: 34 audio & 91 video codecs
get_path('font/font.desc') -> '/home/totos/.mplayer/font/font.desc'
 '-v' '-vo' 'xv' '/home/totos/pom1.avi'
Linux RTC init error: Permission denied
Using usleep() timing
font: can't open file: /home/totos/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('input.conf') -> '/home/totos/.mplayer/input.conf'
Can't open input config file /home/totos/.mplayer/input.conf : No such file
or directory
Falling back on default (hardcoded) config
Setting up lirc support...
mplayer: could not connect to socket
mplayer: Permission denied
Failed opening lirc support!
You won't be able to use your remote control
get_path('Skin') -> '/home/totos/.mplayer/Skin'
[ws] Display name: :0.0 => local display.
[ws] Screen depth: 16
[ws]  size: 1024x768
[ws]  red mask: 0xf800
[ws]  green mask: 0x7e0
[ws]  blue mask: 0x1f
[ws] XShm version is 1.1
[ws] XShape version is 1.0
[ws] Initialized converter: rgb32 to rgb16
[ws] window is created. ( ViDEO ).
[ws] window is created. ( MPlayer ).
[ws] window is created. ( MPlayer menu ).
Playing /home/totos/pom1.avi
SKIN dir 1: '/home/totos/.mplayer/Skin'
SKIN dir 2: '/usr/local/share/mplayer/Skin'
File size is 5824756 bytes
Not an URL!
Cache fill:  0,00% (0 bytes)    CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  8,68% (5824756 bytes)    Detected AVI file format!
==> Found video stream: 0
list_end=0x13C
======= AVI Header =======
us/frame: 40000  (fps=25,000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 482   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  704 x 576
list_end=0xD4
found 'bih', 40 bytes of 40
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25,000
Start: 0   Len: 482
Suggested BufferSize: 20992
Quality 0
Sample size: 0
Regenerating keyframe table for DIVX 4 video
======= VIDEO Format ======
  biSize 40
  biWidth 704
  biHeight 576
  biPlanes 1
  biBitCount 24
  biCompression 2021026148='divx'
  biSizeImage 1216512
===========================
==> Found audio stream: 1
list_end=0x13C
found 'wf', 20 bytes of 20
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 48000/1 = 48000,000
Start: 0   Len: 960000
Suggested BufferSize: 96000
Quality 0
Sample size: 4
Broken chunk?  chunksize=1724  (id=JUNK)
======= WAVE Format =======
Format Tag: 1 (0x1)
Channels: 2
Samplerate: 48000
avg byte/sec: 192000
Block align: 4
bits/sample: 16
cbSize: 0
Found movie at 0x80C - 0x58C04C
list_end=0x58C04C
Reading INDEX block, 522 chunks for 482 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 522 chunks for 482 frames
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x1770C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video length=4850168
VIDEO:  [divx]  704x576  24bpp  25,00 fps  2012,5 kbps (245,7 kbyte/s)
[V] filefmt:3  fourcc:0x78766964  size:704x576  fps:25,00  ftime:=0,0400
get_path('sub/') -> '/home/totos/.mplayer/sub/'
Detected audio codec: [pcm] drv:2 (Uncompressed PCM)
Initializing audio codec...
dec_audio: Allocating 2048 + 65536 = 67584 bytes for output buffer
Selecting Audio Decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 192000->192000
==========================================================================
INFO: libavcodec init OK!
Opening Video Decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
Detected video codec: [ffodivx] drv:5 prio:0 (FFmpeg MPEG-4)
==========================================================================
AO: [sdl] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: SDLlib audio output
AO: Author: Felix Buenemann <[EMAIL PROTECTED]>
Start playing...
SDL: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit
 (Little-Endian) SDL: buf size = 4096
XXX initial  v_pts=0,000  a_pos=96000 (0,500)
A:   0,0 V:   0,0 A-V:  0,003 ct:  0,000    1/  1   0%  0%  0,0% 0 0 8%This
file was encoded with DivX501 Build20020416
VDec: vo config request - 704 x 576, Planar YV12
[PP] Sorry, postprocessing is not available
vo_debug: query(Planar YV12) returned 0x437 (i=0)
Movie-Aspect is undefined - no prescaling applied.
video_out->init(704x576->704x576,flags=0,'MPlayer',0x32315659)
VO: [xv] 704x576 => 704x576 Planar YV12
VO: Description: X11/Xv
VO: Author: Gerd Knorr <[EMAIL PROTECTED]>
*** [vo] Exporting mp_image_t, 704x576x12bpp YUV planar, 608256 bytes
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
using Xvideo port 50 for hw scaling
[xv] dcx: 160 dcy: 96 dx: 0 dy: 0 dw: 704 dh: 576
[ws] PropertyNotify ( 0x2400004 ) WM_CLASS ( 0x43 )
[ws] PropertyNotify ( 0x2400004 ) WM_NORMAL_HINTS ( 0x28 )
[ws] PropertyNotify ( 0x2400004 ) WM_HINTS ( 0x23 )
[ws] PropertyNotify ( 0x2400004 ) _MOTIF_WM_HINTS ( 0xe9 )
[ws] PropertyNotify ( 0x2400004 ) WM_NAME ( 0x27 )
[ws] PropertyNotify ( 0x2400004 ) WM_NAME ( 0x27 )
[ws] PropertyNotify ( 0x2400004 ) WM_ICON_NAME ( 0x25 )
[ws] PropertyNotify ( 0x2400004 ) WM_CLIENT_MACHINE ( 0x24 )
[ws] PropertyNotify ( 0x2400004 ) WM_LOCALE_NAME ( 0x110 )
[ws] PropertyNotify ( 0x2400004 ) WM_PROTOCOLS ( 0xed )
[ws] PropertyNotify ( 0x2400004 ) WM_CLIENT_LEADER ( 0xd4 )
[ws] PropertyNotify ( 0x2400004 ) WM_ICON_NAME ( 0x25 )
[ws] PropertyNotify ( 0x2400004 ) WM_STATE ( 0x61 )
[ws] PropertyNotify ( 0x2400004 ) _NET_WM_VISIBLE_NAME ( 0x121 )
[ws] PropertyNotify ( 0x2400004 ) _KDE_NET_WM_FRAME_STRUT ( 0x13d )
[ws] PropertyNotify ( 0x2400004 ) _NET_WM_DESKTOP ( 0x124 )
[ws] PropertyNotify ( 0x2400004 ) WM_STATE ( 0x61 )
[ws] PropertyNotify ( 0x2400004 ) WM_STATE ( 0x61 )
[ws] PropertyNotify ( 0x2400004 ) WM_STATE ( 0x61 )
[ws] PropertyNotify ( 0x2400004 ) _NET_WM_ICON_GEOMETRY ( 0x128 )
[ws] PropertyNotify ( 0x2400004 ) _NET_WM_ICON_GEOMETRY ( 0x128 )
[ws] PropertyNotify ( 0x2400004 ) WM_NORMAL_HINTS ( 0x28 )
[ws] PropertyNotify ( 0x2400004 ) WM_NORMAL_HINTS ( 0x28 )
A:   0,2 V:   0,1 A-V:  0,091 ct:  0,004    2/  2   0%  0%  0,0% 0 0 8%X11
Window 160x96-720x405
============================================================
X11 Window 160x96-704x576
============================================================
X11 Window 160x96-704x576
============================================================
X11 Window 160x96-704x576
============================================================
X11 Window 160x96-704x576
============================================================
[xv] dcx: 160 dcy: 96 dx: 0 dy: 0 dw: 704 dh: 576
481/481  44% 28%  0,2% 0 0 0%ds_fill_buffer: EOF reached (stream: video)
A:  19,3 V:  19,2 A-V:  0,045 ct:  0,023  481/481  44% 28%  0,2% 0 0 0%EOF
code: 1
uninit audio: 2
SDL: Audio Subsystem shutting down!
uninit video: 5
DEMUXER: freeing demuxer at 0x83db290
DEMUXER: freeing sh_video at 0x83dbc50
DEMUXER: freeing sh_audio at 0x83dbd40
Gdk-ERROR **: BadGC (invalid GC parameter)
  serial 265 error_code 13 request_code 60 minor_code 0
Xlib: unexpected async reply (sequence 0x10d)!
[mplayer] exit.

*** free_stream() called ***

Exiting... (Exit)
X Error of failed request:  BadGC (invalid GC parameter)
  Major opcode of failed request:  60 (X_FreeGC)
  Resource id in failed request:  0x2600000
  Serial number of failed request:  271
  Current serial number in output stream:  268
# /.../
# SaX generated XFree86 config file
# Created on: 2002-04-29.
#
# Version: 4.3
# Contact: Marcus Schaefer <[EMAIL PROTECTED]>, 2001
#
# Automatically generated by [ISaX] (4.3)
# PLEASE DO NOT EDIT THIS FILE!
#

Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/windows/C/windows/fonts/"
  FontPath     "/usr/local/fontok"
  ModulePath   "/usr/X11R6/lib/modules"
  RgbPath      "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
  Option       "AllowMouseOpenFail"
EndSection

Section "Module"
  Load         "type1"
  Load         "speedo"
  Load         "extmod"
  Load         "freetype"
  Load         "glx"
EndSection

Section "InputDevice"
  Driver       "keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbKeyCodes" "xfree86"
  Option       "XkbLayout" "hu"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"
EndSection


Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[1]"
  Option       "Device" "/dev/pointer1"
  Option       "Emulate3Buttons" "on"
  Option       "Emulate3Timeout" "50"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Autodetection"
  Option       "Protocol" "Auto"
  Option       "Vendor" "Sysp"
EndSection

Section "InputDevice"
  Driver       "mouse"
  Identifier   "Mouse[3]"
  Option       "Device" "/dev/pointer0"
  Option       "Emulate3Buttons" "on"
  Option       "Emulate3Timeout" "50"
  Option       "InputFashion" "Mouse"
  Option       "Name" "Autodetection"
  Option       "Protocol" "ps/2"
  Option       "Vendor" "Sysp"
EndSection


Section "Monitor"
  HorizSync    30-60
  Identifier   "Monitor[0]"
  ModelName    "1024X768@75HZ"
  VendorName   "--> VESA"
  VertRefresh  50-75
  UseModes     "Modes[0]"
EndSection


Section "Modes"
  Identifier   "Modes[0]"
  Modeline      "1024x768" 66.29 1024 1040 1216 1400 768 768 777 802
  Modeline      "1024x768" 79.68 1024 1040 1216 1400 768 768 777 802
  Modeline      "800x600" 40.56 800 816 928 1072 600 600 609 626
  Modeline      "800x600" 46.80 800 816 928 1072 600 600 609 626
  Modeline      "640x480" 25.96 640 656 720 864 480 480 489 501
  Modeline      "640x480" 29.95 640 656 720 864 480 480 489 501
EndSection


Section "Screen"
  DefaultDepth 16
  SubSection "Display"
    Depth      16
    Modes      "1024x768" "800x600" "640x480"
  EndSubSection
  SubSection "Display"
    Depth      8
    Modes      "1024x768"
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"
EndSection


Section "Device"
  BoardName    "SiS630 GUI Accelerator+3D"
  BusID        "1:0:0"
  Driver       "sis"
  Identifier   "Device[0]"
  Screen       0
  VendorName   "SiS"
EndSection

Section "Device"
  BoardName    "5591/5592 AGP"
  BusID        "0:2:0"
  Driver       "sis"
  Identifier   "Device[1]"
  Screen       0
  VendorName   "SiS"
EndSection


Section "ServerLayout"
  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  InputDevice  "Mouse[3]" "SendCoreEvents"
  Option       "Clone" "off"
  Option       "Xinerama" "off"
  Screen       "Screen[0]"
EndSection

Section "DRI"
    Group      "video"
    Mode       0660
EndSection

-------------------------------------------------------
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to