[Kwintv] some problems with kdetv 0.83 and saa7134

Hans-Peter Jansen hpj at urpla.net
Mon Oct 4 21:30:51 CEST 2004


Hi Dirk & friends,

I try to get current kdetv working correctly with a saa7134 based 
card, but fighting with a major issue: it displays a stripe of 
garbage on the right: first I noticed thon on switch to fullscreen, 
but since kraxel put me on track, I can evoke this effect by resizing 
the view.

It is related to a deficit of the saa7134, which doesn't allow for 
more than _720_x576, while kdetv tends to use 768.

This is printed on the console when switching to FS: 
 
kdetv: [void MainWindow::saveWindowSettings()] Called 
kdetv: MainWindow::setShowNormal(): false 
kdetv: MainWindow::setShowFullScreen(): true 
kdetv: SaverControl: KDE screensaver successfully disabled. 
kdetv: elegant font resized to 57 
kdetv: elegant font resized to 57 
kdetv: elegant font resized to 85 
kdetv: elegant font resized to 85 
kdetv: elegant font resized to 85 
kdetv: XvPutVideo: 0x807f7c0 69 58720301 0x8361fc8 0 0 768 576 0 0 
1279 960 
 
and back again: 
 
kdetv: [void MainWindow::saveWindowSettings()] Called 
kdetv: MainWindow::setShowFullScreen(): false 
kdetv: MainWindow::setShowNormal(): true 
kdetv: SaverControl: KDE screensaver successfully disabled. 
kdetv: elegant font resized to 66 
kdetv: elegant font resized to 66 
kdetv: elegant font resized to 66 
kdetv: elegant font resized to 43 
kdetv: elegant font resized to 43 
kdetv: elegant font resized to 43 
kdetv: XvPutVideo: 0x807f7c0 69 58720301 0x8361fc8 0 0 768 576 0 0 659 
495 
 
I already tried kraxels approach to disable this section in 
kdetv/kvideoio/v4ldevtuner.cpp:V4LTuner::setEncoding(), but this 
method isn't called at all in v4l mode:

#if 0
        if (_vt->mode == VIDEO_MODE_NTSC && vcap.maxheight == 480)
            _maxWidth = 640;
        else if (_vt->mode == VIDEO_MODE_PAL && vcap.maxheight == 576)
            _maxWidth = 768;
        else if (_vt->mode == VIDEO_MODE_SECAM && vcap.maxheight == 
576)
            _maxWidth = 768;
#endif

Also forcing sw to 720 in kdetv/kvideoio/kxv.cpp:KXvDevice::startVideo
doesn't change anything..

Pete


More information about the kwintv mailing list