Opened 13 years ago

Closed 13 years ago

#2487 closed defect (invalid)

OpenChrome + MythTV[vid] => no 1080i

Reported by: masterclc@… Owned by: danielk
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I'm testing the mythtv-vid branch to see if the improvements for HDTV display on a CN400 (SP13000 and Commell 667-T) are working in MythTV. I get failed results.

With 720p I get video, but extremely stuttery audio, completely unwatchable in MythTV.

With 1080i I get a blank image (black screen), but I do get audio, though it too is stuttery.

With 480i (PVR-500) I am able to watch my recordings, smooth audio and video in MythTV.

720p, 1080i and 480i all work when displaying the exact same videos in Xine using xxmc. I'm attaching my log files for playback on MythTV-VID branch.

Thanks!

-Chad

Attachments (6)

vid-playback-1080i (17.4 KB) - added by masterclc@… 13 years ago.
Output from mythfrontend -v playback on 1080i
vid-playback-720p (47.0 KB) - added by masterclc@… 13 years ago.
Output from mythfrontend -v playback on 720p
vid-playback-480i (13.6 KB) - added by masterclc@… 13 years ago.
Output from mythfrontend -v playback on 480i
720p-vid.log (21.7 KB) - added by masterclc@… 13 years ago.
720p using profile claiming XvMC-VLD output
1080i-vid.log (14.0 KB) - added by masterclc@… 13 years ago.
1080i using profile claiming XvMC-VLD output
720p-xvmcvld-vid.log (40.4 KB) - added by masterclc@… 13 years ago.
720p from modified vid-branch

Download all attachments as: .zip

Change History (12)

Changed 13 years ago by masterclc@…

Attachment: vid-playback-1080i added

Output from mythfrontend -v playback on 1080i

Changed 13 years ago by masterclc@…

Attachment: vid-playback-720p added

Output from mythfrontend -v playback on 720p

Changed 13 years ago by masterclc@…

Attachment: vid-playback-480i added

Output from mythfrontend -v playback on 480i

comment:1 Changed 13 years ago by Isaac Richards

Owner: changed from Isaac Richards to danielk

comment:2 Changed 13 years ago by danielk

Resolution: invalid
Status: newclosed

Looks like a broken driver. A working driver will report when it can not allocate another XvMC surface; but in the log shows you using 16 1920x1088 surfaces, which the VIA hardware can not handle.

12 maybe, not 16.

Please, try the latest OpenChrome? driver before reporting the problem there.

comment:3 Changed 13 years ago by masterclc@…

Resolution: invalid
Status: closedreopened

I'm using the latest openchrome from svn (221) and mythtv-vid from SVN (svn update this evening). It seems that I cannot get XvMC working at all. I have removed all display profiles except 1, and have edited the db to use xvmc-vld on that 1 profile; but still am unable to use XvMC on the vid branch. Using SVN trunk (not vid) I still get the above results.

For completeness, I've created new logs as well for the 1080i and the 720p.

Thanks!

-Chad

Changed 13 years ago by masterclc@…

Attachment: 720p-vid.log added

720p using profile claiming XvMC-VLD output

Changed 13 years ago by masterclc@…

Attachment: 1080i-vid.log added

1080i using profile claiming XvMC-VLD output

comment:4 Changed 13 years ago by masterclc@…

I modified: libs/libmythtv/util-xvmc.h

And changed 16 to 12 for max_num_xvmc_surfaces()

libs/libmythtv/videodisplayprofile.h

And changed every instance of xv and xvmc to xvmc-vld and every instance of xv-blit to xvmc-blit. I also changed the first profile listed in that file from ffmpeg to xvmc-vld and chromakey.

After doing all of that (including my changes noted above to the db to remove all the other profiles) I was able to get myth to actually use the xvmc-vld output. However, the pauses are still there in 720p, approx every 4-6 seconds. In 1080i the pauses are far too often to even watch, but it appears to be every 2-3 seconds in 1080i.

I've created another log that I will attach after making all the above changes. I'll leave this source directory alone in case I need to post any of the changes I've made.

Thanks!

-Chad

Changed 13 years ago by masterclc@…

Attachment: 720p-xvmcvld-vid.log added

720p from modified vid-branch

comment:5 Changed 13 years ago by danielk

Summary: vid branch (or any mythtv for that matter) doesn't work with Unichrome Pro chipsets on HDTV resolutions.OpenChrome + MythTV[vid] => no 1080i
Version: 0.20head

comment:6 Changed 13 years ago by danielk

Resolution: invalid
Status: reopenedclosed

Closing. It appears that there is a misconfiguration here, XvMC does not work with linearblend deinterlacing, the second deinterlacer should be onefield.

2006-09-30 00:57:11.692 VDP: Rejecting: cmp(> 0 0) dec(xvmc-vld) rend(xvmc-blit) osd(chromakey) deint(bobdeint,linearblend) filt()

Also it looks like you are trying to use chromakey OSD, but this does not work with 16 bit pixels, you need to use 32 bit pixels. I believe this is an Xorg configuration option with the via driver.

Note: See TracTickets for help on using tickets.