[mythtv-users] Aspect ratio wrong

Greg Stark gsstark at mit.edu
Thu Apr 6 03:09:22 UTC 2006


"Michael T. Dean" <mtdean at thirdcontact.com> writes:

> What do you get from:
> 
> xdpyinfo | grep -B 3 'dots per inch'

Hm, the 3520x1200 is actually a MergedFB framebuffer with pseudo-xinerama. I
don't know how to query the xinerama info to compare but it appears Mythtv is
getting the wrong dimensions below (1920x1200 is the other monitor, not the
one it's on). So that's already an error.

In addition I'm not sure where the 407mm x 305mm figures are coming from. The
actual figures for my monitors according to the X log are:

(II) RADEON(0): clock: 154.0 MHz   Image Size:  519 x 324 mm
(II) RADEON(0): clock: 157.5 MHz   Image Size:  388 x 291 mm

And 407x305 doesn't match either of them.

Is there some command-line tool to query xinerama info to see what information
mythtv is getting from X?


2006-04-05 22:52:19.852 VideoOutputXv: ctor
2006-04-05 22:52:19.853 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2006-04-05 22:52:19.857 Image size. dispxoff 0, dispyoff: 0, dispwoff: 800, disphoff: 600
2006-04-05 22:52:19.857 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
2006-04-05 22:52:19.857 VideoOutputXv: Pixel dimensions: Screen 1920x1200, window 800x600
2006-04-05 22:52:19.858 VideoOutputXv: Estimated display dimensions: 407x305 mm Aspect: 1.33443
2006-04-05 22:52:19.859 VideoOutputXv: Estimated window dimensions: 169x152 mm Aspect: 1.11184
2006-04-05 22:52:19.861 VideoOutputXv: @ j=3 Looking for flag[s]: XvInputMask XvImageMask 
2006-04-05 22:52:19.861 VideoOutputXv: Adaptor: 0 has flag[s]: XvInputMask XvImageMask 
2006-04-05 22:52:19.862 VideoOutputXv: Grabbed xv port 57
2006-04-05 22:52:19.862 VideoOutputXv: XVideo surface found on port 57
2006-04-05 22:52:19.863 VideoOutputXv: XVideo Format #0 is 'RGBA'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #1 is '
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #2 is 'RGBT'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #3 is 'RGB2'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #4 is 'YUY2'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #5 is 'UYVY'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #6 is 'YV12'
2006-04-05 22:52:19.864 VideoOutputXv: XVideo Format #7 is 'I420'
2006-04-05 22:52:19.865 VideoOutputXv: Using XVideo Format 'I420'
2006-04-05 22:52:19.865 VideoOutputXv: CreateShmImages(32): XJ: (480,480)
2006-04-05 22:52:19.890 Snapping height to avoid scaling: disphoff 480, dispyoff: 60
2006-04-05 22:52:19.890 Image size. dispxoff 0, dispyoff: 60, dispwoff: 800, disphoff: 480
2006-04-05 22:52:19.890 Image size. imgx 0, imgy: 0, imgw: 480, imgh: 480
2006-04-05 22:52:20.115 NVP: ClearAfterSeek()
2006-04-05 22:52:20.115 VideoOutputXv: ClearAfterSeek()
2006-04-05 22:52:20.116 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2006-04-05 22:52:20.116 VideoBuffers::DiscardFrames(0): AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA -- done
2006-04-05 22:52:20.117 The realtime priority setting is not enabled.
2006-04-05 22:52:20.117 TV: StartPlayer(): took 888 ms to start player.
2006-04-05 22:52:20.121 nVidiaVideoSync: Could not open device /dev/nvidia0, No such file or directory
2006-04-05 22:52:20.128 TV: Changing from None to WatchingPreRecorded
2006-04-05 22:52:20.296 DRMVideoSync: Could not open device /dev/dri/card0, No such device or address
2006-04-05 22:52:20.308 RTCVideoSync: Could not open /dev/rtc, Permission denied.
2006-04-05 22:52:20.309 Using audio as timebase
2006-04-05 22:52:20.309 Video timing method: USleep with busy wait
2006-04-05 22:52:20.309 Refresh rate: 2, frame interval: 33366

-- 
greg



More information about the mythtv-users mailing list