<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <pre wrap="">Date: Wed, 18 Nov 2015 10:43:17 -0500
From: Eric Sharkey <a class="moz-txt-link-rfc2396E" href="mailto:eric@lisaneric.org"><eric@lisaneric.org></a>
To: Discussion about MythTV <a class="moz-txt-link-rfc2396E" href="mailto:mythtv-users@mythtv.org"><mythtv-users@mythtv.org></a>
Subject: Re: [mythtv-users] Screen Rotated 180 Degrees
Message-ID:
        <a class="moz-txt-link-rfc2396E" href="mailto:CAC73aR0ZMraC3Gf35KnMu7fXvFd60ox1xJ1EQM+t6p9frhDkdg@mail.gmail.com"><CAC73aR0ZMraC3Gf35KnMu7fXvFd60ox1xJ1EQM+t6p9frhDkdg@mail.gmail.com></a>
Content-Type: text/plain; charset=UTF-8

On Tue, Nov 17, 2015 at 2:16 PM, R. G. Newbury <a class="moz-txt-link-rfc2396E" href="mailto:newbury@mandamus.org"><newbury@mandamus.org></a> wrote:
</pre>
    <blockquote type="cite" style="color: #000000;">
      <pre wrap="">On 11/16/2015 08:56 PM, Todd Becker wrote:
</pre>
      <blockquote type="cite" style="color: #000000;">
        <pre wrap="">In LiveTV and recording playback my screen is rotated 180 Degrees; i.e.
upside down.  Any idea where I went astray?

</pre>
      </blockquote>
      <pre wrap="">Not so snarky answer #3.  You should check the nvidia X-server settings, or
use xrandr to see if you have somehow set ( in xrandr terminology) --rotate
inverted in your settings.
</pre>
    </blockquote>
    <pre wrap="">Wouldn't that rotate everything?  (e.g. the menu screens and such, not
just video playback)

Does other software have the same behavior?  (Try mplayer or vlc for
the same video.)

Eric
-------------
<font face="Tahoma">I apologize for the delay in getting back to everyone's suggestions.  I had to fly to Australia to confirm the problem was reproducible there, stand on my head, smell my feet, and watch Monday night football on the couch ... now I'm exhausted.  I truly appreciate everyone's feedback and I'm glad I was able to provide some levity for the team!

The machine successfully plays recordings in the U.S.A. in vlc with no orientation issues.  In addition, in LiveTV the channel and streaming information is displayed right side up - only the video playback is rotated.  I went ahead and included output from vdpauinfo, xrandr -q, and the xorg.conf file.  This is a new build on AMD architecture and everything else works without problems.

> </font><font face="Tahoma"><tt>If you've been fiddling with Playback Profiles then the
    (undocumented) custom filter of "vflip" would do that.</tt>
Where would I find this filter?  I ran through all of my backend and frontend setup scripts to no avail this evening.

<big><u>xorg.conf</u></big>
Section "Device"
        Identifier      "Default Device"
        Driver  "nvidia"
        Option  "DPI" "100x100"
        Option  "NoLogo"      "1"
EndSection

Section "Extensions"
        Option  "Composite"   "Disable"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        DefaultDepth    24
EndSection

</font><big><big><u>xrandr -q</u></big></big>
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 1060mm x 626mm
   1920x1080      60.0*+   59.9     50.0     30.0     25.0     24.0     60.1     60.0     50.0  
   1680x1050      60.0  
   1600x900       60.0  
   1440x900       59.9  
   1366x768       59.8  
   1280x1024      75.0     60.0  
   1280x800       59.8  
   1280x720       60.0     59.9     50.0  
   1152x864       75.0  
   1024x768       75.0     70.1     60.0  
   800x600        75.0     72.2     60.3  
   720x576        50.0     50.1  
   720x480        59.9     60.1  
   640x480        75.0     72.8     59.9  
DP-0 disconnected (normal left inverted right x axis y axis)
DVI-D-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)

<big><big><u>vdpauinfo</u></big></big>
display: :0.0   screen: 0
API version: 1
Information string: NVIDIA VDPAU Driver Shared Library  340.93  Wed Aug 19 16:27:32 PDT 2015

Video surface:

name   width height types
-------------------------------------------
420     4096  4096  NV12 YV12 
422     4096  4096  UYVY YUYV 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                 0 65536  4032  4048
MPEG2_SIMPLE          3 65536  4032  4048
MPEG2_MAIN            3 65536  4032  4048
H264_MAIN            41 65536  4032  4080
H264_HIGH            41 65536  4032  4080
VC1_SIMPLE            1  8190  2048  2048
VC1_MAIN              2  8190  2048  2048
VC1_ADVANCED          4  8190  2048  2048
MPEG4_PART2_SP        3  8192  2048  2048
MPEG4_PART2_ASP       5  8192  2048  2048
DIVX4_QMOBILE         0  8192  2048  2048
DIVX4_MOBILE          0  8192  2048  2048
DIVX4_HOME_THEATER    0  8192  2048  2048
DIVX4_HD_1080P        0  8192  2048  2048
DIVX5_QMOBILE         0  8192  2048  2048
DIVX5_MOBILE          0  8192  2048  2048
DIVX5_HOME_THEATER    0  8192  2048  2048
DIVX5_HD_1080P        0  8192  2048  2048

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  Y8U8V8A8 V8U8Y8A8 
R10G10B10A2      16384 16384    y  Y8U8V8A8 V8U8Y8A8 

Bitmap surface:

name              width height
------------------------------
B8G8R8A8         16384 16384
R8G8B8A8         16384 16384
R10G10B10A2      16384 16384
B10G10R10A2      16384 16384
A8               16384 16384

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     y
INVERSE_TELECINE                 y
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         y
HIGH QUALITY SCALING - L1        y
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y         1     4096
VIDEO_SURFACE_HEIGHT             y         1     4096
CHROMA_TYPE                      y  
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y  
CSC_MATRIX                       y  
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y  
LUMA_KEY_MAX_LUMA                y  

Any ideas on what I can check next?

Todd

</pre>
  </body>
</html>