Opened 15 years ago
Closed 15 years ago
Last modified 15 years ago
#6660 closed defect (fixed)
OSD not displaying in LiveTV when using xvmc-blit
Reported by: | Owned by: | markk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.22 |
Component: | MythTV - General | Version: | head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
I have 2 profiles setup for playback, > 0 0 use xv-blit and chromakey and > 1280 720 use xvmc-blit and ia44blend.
Went watching LiveTV everything up to 720p works fine with the OSD. However, in LiveTV, anything over 720p that should use xvmc does not display the OSD.
If I reccord the channels that are having this issue and watch the recording the OSD works.
MarkK believes he knows the cause: When starting livetv, a dummy video stream is created before the channel is tuned. This is standard def (720x576) and the player uses standard xv-blit (based on your profiles).
Something however isn't being reset properly when the real hidef stream starts playing - and the osd isn't working. Should just be a matter of figuring out what needs to be re-initialised.
I am seeing this in r20745. Earliest known version that has this is unknown at this time.
Attachments (5)
Change History (17)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Not #5025. In my situation the correct profile is being used. It is just that the OSD gets turned off in LiveTV when using that profile. I know this because my system is not powerfull enough to do 1080i without offloading to the video card via xvmc.
It might be similar to the issue that [18114] fixed with deinterlacing thou. But it is not a deinterlace issue, it is a reset OSD issue.
From what I gather from the explanation mark gave, is that when loading LiveTV it initially uses my other profile for the dummy stream. This dummy is using the chromakey OSD. But when switching to the other profile it is not resetting the OSD type and since chromakey does not work with nvidia cards after the 5 series it turns off chroma.
I am going to do some profile testing later tonight when I get home to see if using xvmc for all video bypasses the issue as well as seeing if using ia44blend, if I can, for both profiles works.
comment:3 Changed 15 years ago by
I had a chance to test using xvmc-blit with ia44blend for all formats, OSD worked in LiveTV on all channels. Xv-blit does not have an ia44blend osd renderer so I was unable to test that idea.
This reinforces the idea that mark believes is the cause.
Changed 15 years ago by
Attachment: | colorkey_patch.diff added |
---|
comment:4 Changed 15 years ago by
For various reasons, I just can't recreate this particular scenario here.
Can you try colorkey_patch.diff, which I think is needed anyway, and see if it helps.
Failing that I'll have to give you a debugging patch to run with.
Changed 15 years ago by
Attachment: | colorkey_patch_better.diff added |
---|
improved colorkey/chroma osd check
comment:5 Changed 15 years ago by
Compile fails with colorkey_patch_better.diff
videoout_xv.cpp: In member function âbool VideoOutputXv::CheckOSDInit()â: videoout_xv.cpp:1088: error: âletterbox_colorâ was not declared in this scope
Changed 15 years ago by
Attachment: | colorkey_v3.diff added |
---|
Changed 15 years ago by
Attachment: | colorkey_v4.diff added |
---|
comment:7 Changed 15 years ago by
I'm fairly sure v4 should fix it (famous last words) - we were never actually removing the chroma_osd when changing inputs .
comment:9 Changed 15 years ago by
Owner: | changed from Isaac Richards to markk |
---|---|
Status: | new → accepted |
comment:10 Changed 15 years ago by
comment:11 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
(In [20786]) Rework the OSD initialisation in VideoOutputXv?. This should ensure the OSD in use matches the display profile preference (subject to hardware constraints). Refs r20785. Closes #6660.
Perhaps similar to #5025 and [18114] ?