[Savage40] Savage IX problem with TVout and xv

Marian Dvorsky marian at step.sk
Tue Dec 28 02:34:08 PST 2004


--- Shufeng Zheng <z_sfeng at yahoo.com> wrote:

> I don't know if this is the right place to post. If not, please tell me
> where I can find the answer...
> I using  xorg-6.8.0. The savage driver and s3switch work almost
> perfectly on my omnibook xe3 laptop with a savage IX-MV.
> 
> The only problem is: when I try to output video to TV, with xv, the
> image is offset to right bottom of the TV screen.
> 
> I use mplayer. It is perfect when I select "x11" as video output device
> ("mplayer -vo x11 "). I can switch between LCD and TV at anytime, even
> when playing.
> 
> But with xv and sdl ("mplayer -vo xv" or "-vo sdl"), after I switch the
> video output to TV, the video always has offset. That is: the video
> drift to right-bottom of the TV screen( maybe about 200pixel, about the
> difference of 1024x768 and 800x600), both in windowed and full screen
> mode. Other parts in the desktop is normal.
> 
> A bypass is: switch to TV mode in console, before X starts. Then start X
> with OPTION "PAL", and every thing is perfect...
> 
> I prefer to use xv since video with xv is more fluent and consumes less
> CPU resources. Actually sometime I have to. And I hate changing X
> configuration file and restart X...Any help?

I have the very same problem with XFree86 4.3.0 and my IBM T22 notebook
with the same chipset. It looks like s3switch doesn't make driver to change
psav->TvOn variable, which is only changed on driver init and on mode
init.

But you don't have to change X configuration every time, at least not in
XFree86 (I don't have any experience with X.org). This is what I have in
my config file:

Section "Device"
  Identifier  "S3 Inc. 86C270-294 Savage/IX-MV"
  Driver    "savage"
EndSection

Section "Device"
  Identifier  "S3 Inc. 86C270-294 Savage/IX-MV TV"
  Driver    "savage"
  Option    "TvOn"
  Option    "PAL"
EndSection

Section "Screen"
  Identifier  "Default Screen"
  Device    "S3 Inc. 86C270-294 Savage/IX-MV"
  Monitor   "Internal LCD"
  ...
EndSection

Section "Screen"
  Identifier  "tv"
  Device    "S3 Inc. 86C270-294 Savage/IX-MV TV"
  Monitor   "Internal LCD"
  DefaultDepth  16
  ..
EndSection

Then I'm running X with the command:

startx -- -screen tv

Marian


More information about the Savage40 mailing list