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

Mailing List Archive: MythTV: Commits

Ticket #6947: xinerama now plays squashed recordings since 21135

 

 

MythTV commits RSS feed   Index | Next | Previous | View Threaded


mythtv at cvs

Aug 30, 2009, 7:45 AM

Post #1 of 14 (850 views)
Permalink
Ticket #6947: xinerama now plays squashed recordings since 21135

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: janne
Type: defect | Status: new
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
I have a xinerama setup with a 1440x900 lcd monitor, and a 720x576 4:3 tv,
the lcd being display 0, tv being display 1. If I'm just watching tv,
I'll watch it on the monitor, otherwise we'll all watch on the tv.

I've just updated to the latest trunk (last time being a few weeks ago)
and I've noticed that my old recordings appear horizontally squashed on
the monitor. My tv's currently not available so I'm not able to check on
that.

Debug shows:

2009-08-30 03:52:36.812 Display Rect left: 0, top: 112, width: 1440,
height: 675, aspect: 1.33333
2009-08-30 03:52:36.812 Video Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
2009-08-30 03:52:36.812 VDP: LoadBestPreferences(720x576, 60)
2009-08-30 03:52:36.812 Display Rect left: 0, top: 112, width: 1440,
height: 675, aspect: 1.33333
2009-08-30 03:52:36.812 Video Rect left: 0, top: 0, width: 720, height:
576, aspect: 1.77778
2009-08-30 03:52:36.813 VideoOutput: Pixel dimensions: Screen 1440x900,
window 1440x900
2009-08-30 03:52:36.813 VideoOutput: Actual display dimensions: 616x263 mm
Aspect: 2.34221
2009-08-30 03:52:36.813 VideoOutput: Estimated window dimensions: 616x263
mm Aspect: 2.34221
2009-08-30 03:52:36.813 VideoOutputXv: InitSetupBuffers() render: xv-blit,
allowed: xv-blit,xshm,xlib
2009-08-30 03:52:36.816 VDP: Accepting: cmp(> 720 576) dec(vdpau) cpus(2)
rend(vdpau) osd(vdpau) osdfade(enabled) deint(vdpauadvanced,none) filt()


However backing out change 21135 (and a couple of others to resolve
conflicts) my recordings look fine.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 30, 2009, 7:57 AM

Post #2 of 14 (815 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by markk):

* owner: janne => markk
* status: new => accepted


Comment:

Can you please attach the full output of mythfrontend -v playback (i.e.
from startup).

thanks.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:1>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 30, 2009, 10:16 AM

Post #3 of 14 (815 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by anonymous):

It turns out that I'd managed to disable xinerama somehow just before
pulling out change 21135 hence it worked, and it's just as broken with
that change taken out.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:2>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 5, 2009, 3:43 AM

Post #4 of 14 (775 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by markk):

* status: accepted => infoneeded


Comment:

Can you please attach a new log with the latest trunk version and with
Xinerama enabled. thanks

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 5, 2009, 6:21 AM

Post #5 of 14 (770 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by anonymous):

New log file with the latest trunk version (still squashed)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:4>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 27, 2009, 7:58 PM

Post #6 of 14 (702 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by markk):

Finally found some time to dig into this.

Firstly, while testing I've noticed some strange behaviour when using
nvidia-settings to change the screen setup. When switching between
xinerama/twinview setups, the screen dimensions are often not reset until
X is restarted. As a result the screen dimensions can be wildly inaccurate
and I have reproduced the squashed video effect you've described.

- can you please confirm exactly how you're setting up xinerama. from
your description it sounds as if you may be adjusting dynamically. if so,
can you try restarting X and seeing if that fixes it (you may need to run
sudo nvidia-settings).

Secondly, there appear to be some issues with how Qt deals with multi-
screen setups. I don't know if this is new to Qt4.5 but under certain
setups it gets it all wrong.

- can you please attach an updated log of 'mythfrontend -v
playback,extra'. That extra debug will give some additional xinerama
detail when mythfrontend is started.

thnks, Mark

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:5>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 29, 2009, 12:09 AM

Post #7 of 14 (695 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by anonymous):

I have noticed something interesting, now that I have my tv back and
plugged in.

With the tv disconnected (and no s-video cable plugged in) the video
playback appears squashed. With the tv plugged in (and s-video cable
plugged in) the video playback on the monitor looks normal!

Incidentally on both occasions "mplayer -vo vdpau" looks fine.

BTW, I've also attached my /etc/X11/xorg.conf file.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:6>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 29, 2009, 1:28 AM

Post #8 of 14 (702 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by markk):

Thanks for the update.

You didn't say whether you're restarting X after connecting/disconnecting
the tv, which is probably the crucial detail.

I'll try and recreate again here, but based on those logs, mythfrontend is
behaving as I would expect.

When it's working normally, it is told by X that there are 2 screens,
adjusts the aspect ratio of that screen to 16:10 (per the frontend
setting) and everything is good. When the playback is squashed, it's told
there is only one screen available, hence does not try and override the
aspect ratio and is told by X that the screen has some interesting
dimensions (VideoOutput: Actual display dimensions: 616x263 mm Aspect:
2.34221). As a result you get the squashed video.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:7>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 29, 2009, 12:06 PM

Post #9 of 14 (689 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: infoneeded
Priority: minor | Milestone: 0.22
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by anonymous):

Between taking the s-video cable out I'm powering down the computer... so
yes, it's also restarting the X-server :-)

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:8>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 29, 2009, 7:31 PM

Post #10 of 14 (686 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: assigned
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by markk):

* status: infoneeded => assigned
* milestone: 0.22 => 0.23


Comment:

I can't honestly decide whether this is a driver bug or not:)

I can reproduce the issue here. It seems to be a specific problem (maybe
restricted to nvidia) when the primary display has the smaller resolution
and it is the primary display that is unavailable. In that situation, the
driver reports an incorrect display size for the remaining, active
display. As I mentioned previously, I believe mythfrontend is making the
correct decisions and calculations on the basis of the information
available to it.

That said, both Qt and X report maximum screen sizes/resolutions
consistent with both displays being available. While this may provide the
necessary information to adjust the aspect ratio correctly, it seems
counter intuitive to me that either should be reporting total resolutions
that aren't available - that second screen simply isn't plugged in.
Regardless, I'm not going to start tinkering with that code so close to
0.22 release, hence pushing back to 0.23 so I can have a more detailed
look when time permits. There is still every likelihood that I won't
change the code to try and fix what is, at the end of the day, an edge
case.

In the meantime, there are 2 possible workarounds:-

- try swapping the displays around, so that the tv is the second display.
This fixed it for me.
- override the display size settings when running on the lcd tv using
'mythfrontend -O DisplaySizeWidth=421 -O DisplaySizeHeight=263'.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:9>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 30, 2009, 6:20 PM

Post #11 of 14 (660 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------
Changes (by markk):

* status: assigned => accepted


--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:10>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Sep 30, 2009, 11:34 PM

Post #12 of 14 (650 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: 0.23
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution:
Mlocked: 0 |
-------------------------------------+--------------------------------------

Comment(by anonymous):

Oh, thanks for that! I had forgotten I'd made the tv the primary display
(in an effort to eliminate tearing... which didn't make much difference at
the time). I'll swap them around.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:11>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Feb 26, 2010, 2:04 AM

Post #13 of 14 (421 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: accepted
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Mlocked: 0
-------------------------------------+--------------------------------------
Changes (by markk):

* milestone: 0.23 => 0.24


Comment:

I've not found the time to check this again so pushing back to 0.24.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:12>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits


mythtv at cvs

Aug 11, 2010, 9:06 PM

Post #14 of 14 (217 views)
Permalink
Re: Ticket #6947: xinerama now plays squashed recordings since 21135 [In reply to]

#6947: xinerama now plays squashed recordings since 21135
-------------------------------------+--------------------------------------
Reporter: anonymous | Owner: markk
Type: defect | Status: closed
Priority: minor | Milestone: 0.24
Component: MythTV - Video Playback | Version: head
Severity: medium | Resolution: worksforme
Keywords: | Ticket locked: 0
-------------------------------------+--------------------------------------
Changes (by markk):

* status: accepted => closed
* resolution: => worksforme


Comment:

I can no longer reproduce this issue.

--
Ticket URL: <http://svn.mythtv.org/trac/ticket/6947#comment:13>
MythTV <http://www.mythtv.org/>
MythTV
_______________________________________________
mythtv-commits mailing list
mythtv-commits [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits

MythTV commits 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.