Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ivtv: devel

patch: avoid green screen on PVR350 TV-out after loading ivtv

 

 

ivtv devel RSS feed   Index | Next | Previous | View Threaded


martin.dauskardt at gmx

Oct 14, 2008, 2:27 PM

Post #1 of 2 (1570 views)
Permalink
patch: avoid green screen on PVR350 TV-out after loading ivtv

it seems that my mails to Hans do not arrive, so I post it here now:

When you load ivtv, you get a green screen on the tv-out of a PVR350. The
green screen does not disappear until you actually use the decoder
(/dev/video16) or load ivtvfb.

When you load ivtvfb, it automatically loads ivtv. In this case, there is only
a short green flashing as ivtvfb sets the screen blank (black).

This behavior of the driver was introduced with
http://linuxtv.org/hg/v4l-dvb/rev/8c953a1342bf

The green screen happens because the cx23415 isn't sending any data to the
saa7127 until the framebuffer is initialized or an MPEG is played back

The attached patch fixes the green screen. It disables the saa7127 video
output immidiately after initializing it, and enables it as soon as it is
used.
Attachments: ivtv-driver.c-greenfix.diff (0.93 KB)


hverkuil at xs4all

Oct 14, 2008, 3:11 PM

Post #2 of 2 (1448 views)
Permalink
Re: patch: avoid green screen on PVR350 TV-out after loading ivtv [In reply to]

Hi Martin,

On Tuesday 14 October 2008 23:27:55 Martin Dauskardt wrote:
> it seems that my mails to Hans do not arrive, so I post it here now:
>
> When you load ivtv, you get a green screen on the tv-out of a PVR350.
> The green screen does not disappear until you actually use the
> decoder (/dev/video16) or load ivtvfb.
>
> When you load ivtvfb, it automatically loads ivtv. In this case,
> there is only a short green flashing as ivtvfb sets the screen blank
> (black).
>
> This behavior of the driver was introduced with
> http://linuxtv.org/hg/v4l-dvb/rev/8c953a1342bf
>
> The green screen happens because the cx23415 isn't sending any data
> to the saa7127 until the framebuffer is initialized or an MPEG is
> played back
>
> The attached patch fixes the green screen. It disables the saa7127
> video output immidiately after initializing it, and enables it as
> soon as it is used.

Hmm, for whatever reason I keep forgetting about this issue. Some
patches are just trivially right and I can quickly merge them, but this
patch needs a bit more thought and each time something else pops up
making me forget about this.

I'll really try to look at it this weekend, feel free to prod me on
Saturday. In general, if it looks I've forgotten to look at something I
probably have. I get a lot of mail and it's not uncommon for things to
slip through the cracks, so don't hesitate to mail reminders to me.

Regards,

Hans

_______________________________________________
ivtv-devel mailing list
ivtv-devel [at] ivtvdriver
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

ivtv devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.