RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    OXM Player"s origin-x locked to 0.5?

    Scheduled Pinned Locked Moved Projects and Themes
    themesoxm
    27 Posts 4 Posters 6.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • pjftP
      pjft @WildWolfOfMibu
      last edited by

      @wildwolfofmibu so, if I read you right, you couldn't replicate the behavior on other existing themes, is that it?

      Do send over the tags or content via pastebin or something.

      I'd certainly like to look into why they show up at different locations, even if just out of curiosity.

      I imagine that the origin 0 0 might play a part in it - I thought that most times I'd seen it it was 0.5 0.5, but once again it might vary. That may be the reason for the disconnect there - or for the surfacing of an unexpected bug.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • W
        WildWolfOfMibu
        last edited by

        Here is the xml file I modified :
        https://pastebin.com/eqCSRNYP

        pjftP 1 Reply Last reply Reply Quote 0
        • pjftP
          pjft @WildWolfOfMibu
          last edited by

          @wildwolfofmibu Thanks.

          I am indeed puzzled. You are correct in that the coordinates suggest the VLC one is correctly placed.

          I don't know how long it's been broken so far, but I'd like you to do something:

          • Can you tell me what ES version you're in?
          • Can you try installing the development branch and see if it's any different? There were some recent improvements there that may improve that situation.

          Still, reading through the code, I'm baffled. Nothing stands out as a potential cause for that.

          What screen resolution are you running things at, and what's the specific 1942 video resolution as well?

          If you don't have that specific video, and just the snapshot to show instead of the video, can you show me where they're rendered for both VLC and OMX Player?

          Thanks.

          W 1 Reply Last reply Reply Quote 0
          • W
            WildWolfOfMibu
            last edited by

            @pjft

            EmulationStation - v2.7.4rp, built Dec 5 2017 - 06:53:30
            The video output is 1920x1080@60Hx
            The 1943 Kai video is 640x480

            Where can I get the development branch?

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @WildWolfOfMibu
              last edited by

              @wildwolfofmibu Open the RetroPie setup menu and install the emulationstation-dev package, it will replace your version of ES (based on the stable branch) with the latest development version (based on the master branch).

              1 Reply Last reply Reply Quote 0
              • W
                WildWolfOfMibu
                last edited by

                Is it just as trivial to rollback from that? My RP runs off of a 256GB SD card that's nearly full, so I don't really want to go through the backup/re-imaging process until I can get a more elegant solution to re-imaging.

                1 Reply Last reply Reply Quote 0
                • W
                  WildWolfOfMibu @pjft
                  last edited by

                  @pjft I just grabed the latest dev branch and the same issue occurs.

                  (and sorry for the delay ^_^' )

                  1 Reply Last reply Reply Quote 1
                  • E
                    edwardthehuman
                    last edited by

                    Same issue for me, with OMX on, the video snaps are aligned to the left. Turning them off fixes the alignment. Using Mini SNES theme by ruckage.

                    1 Reply Last reply Reply Quote 1
                    • pjftP
                      pjft
                      last edited by

                      Thanks both. I'll try to dig into it, now with a theme to easily replicate it on my end.

                      Best.

                      1 Reply Last reply Reply Quote 2
                      • pjftP
                        pjft
                        last edited by

                        Hi all.

                        Just to confirm, I was trying to dig into this and I can't replicate this with the SNES-mini theme by ruckage. Both VLC and OMX Player deliver the same outcome.

                        Can you test in the latest dev branch, and while you're at it send a screenshot? Maybe I'm looking into the wrong thing, or a different theme will be better?

                        OMX Player screenshots, videos playing.

                        1_1528378166071_IMG_8790.JPG 0_1528378166070_IMG_8789.JPG

                        1 Reply Last reply Reply Quote 0
                        • W
                          WildWolfOfMibu
                          last edited by

                          Couldn't reproduce it with SNES-mini, but i was able to see the y-position move when using Tronkyfran, and the same issue still occurs as described in my modified Cygnus theme (whose base theme seems to have been removed from github).

                          I think I should point out that the theme you have listed shows the video on the left side of the screen and mine has the video on the right; this may be relevant because the parameters for position are a scalar of 0..1 so having the video on the left may cause the discrepancy to be imperceivable.

                          pjftP 1 Reply Last reply Reply Quote 0
                          • pjftP
                            pjft @WildWolfOfMibu
                            last edited by

                            @wildwolfofmibu well, the first video is actually centered, but noted. I'll try to check tronkyfran if I have the chance during the week, but any other theme will come in handy as well in case that also fails for me. If you can send over two screenshots of what you see in that theme, that'll also help me dig into it.

                            Thanks.

                            W 1 Reply Last reply Reply Quote 0
                            • W
                              WildWolfOfMibu @pjft
                              last edited by

                              @pjft said in OXM Player"s origin-x locked to 0.5?:

                              @wildwolfofmibu well, the first video is actually centered

                              ?
                              No it isn't, both screenshots you posted have the video on the left side of the screen and the gamelist in the middle of the screen.

                              The behavior in the current dev branch is still how it is shown in the first screenshots I posted.

                              Also, my original theory that it was because the OMX player's origin was locked to 0.5 doesn't seem to be correct; it's moving the position using some other variable, like maybe size or maxsize

                              pjftP 1 Reply Last reply Reply Quote 0
                              • pjftP
                                pjft @WildWolfOfMibu
                                last edited by

                                @wildwolfofmibu ah. I thought you were referring to the position in relation to the video container, as that is what could make any sense to me.

                                Well, that makes little sense - carbon has it on the right and it behaves exactly as it should as well.

                                I think at this stage I'm getting nowhere with troubleshooting ES. Please send over your theme so I can try to replicate this under your conditions.

                                Thanks.

                                W 1 Reply Last reply Reply Quote 0
                                • W
                                  WildWolfOfMibu @pjft
                                  last edited by

                                  @pjft said in OXM Player"s origin-x locked to 0.5?:

                                  Please send over your theme
                                  How do I do that? it's a 10MB .zip file

                                  pjftP 1 Reply Last reply Reply Quote 0
                                  • pjftP
                                    pjft @WildWolfOfMibu
                                    last edited by

                                    @wildwolfofmibu uploading it to GitHub or to a Dropbox/Google drive folder and sharing try is probably the best way.

                                    1 Reply Last reply Reply Quote 0
                                    • W
                                      WildWolfOfMibu
                                      last edited by

                                      https://www.dropbox.com/s/5i7f9hfhu2cczf0/ww-theme.zip?dl=1

                                      pjftP 1 Reply Last reply Reply Quote 0
                                      • pjftP
                                        pjft @WildWolfOfMibu
                                        last edited by pjft

                                        @wildwolfofmibu Thanks.

                                        I can't replicate it. Things work fine for me in both OMX and VLC. I'll take some screenshots later.

                                        These are my debug logs, for the same videos, on both OMX and VLC, both show up fairly similar. I tested it on GBA, GB and GBC.

                                        I'm starting to think it's down to your videos. Can you re-encode one of them and test them? There is a difference in VLC and OMX Player in regards to aspect ratios - VLC will do pixel for pixel, I believe, whereas OMX Player will respect the aspect ratio. That's not going to create a big difference in the rendering, but it may make videos look slightly different. It shouldn't affect their position, though, certainly not what you show in your screenshots.

                                        By the way, the theme looks great!

                                        lvl0: 	Position: x: 1488 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 496.8 - y: 496.8
                                        lvl0: 	Position: x: 1488 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 496.8 - y: 496.8
                                        
                                        
                                        lvl0: 	Position: x: 1728 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 745.5 - y: 497
                                        lvl0: 	Position: x: 1728 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 745.2 - y: 496.8
                                        
                                        lvl0: 	Position: x: 1488 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 496.8 - y: 496.8
                                        lvl0: 	Position: x: 1488 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 496.8 - y: 496.8
                                        lvl0: 	Position: x: 1488 - y: 176.04
                                        lvl0: 	Origin: x: 1 - y: 0
                                        lvl0: 	Size: x: 496.8 - y: 496.8
                                        

                                        EDIT: I'll test the PC Engine one later.

                                        1 Reply Last reply Reply Quote 0
                                        • pjftP
                                          pjft
                                          last edited by

                                          I didn't manage to test it further yet, but I'd ask you for something if you have the ability to test it.

                                          I put together a test build for this specific issue a few weeks back. Could I ask you to test it and send over the logs? They'll be similar to the ones I just shared. The repository is

                                          https://github.com/pjft/EmulationStation/tree/omx-coordinates

                                          But you can install it and test it by exiting ES and following these instructions from the command line:

                                          git clone --recursive https://github.com/pjft/EmulationStation ES-pjft
                                          cd ES-pjft
                                          git checkout omx-coordinates
                                          cmake .
                                          make
                                          ./emulationstation
                                          

                                          and then test one of those scenarios with both VLC and OMX Player, both with screenshots so I can try to understand what may be happening.

                                          Thanks.

                                          1 Reply Last reply Reply Quote 0
                                          • pjftP
                                            pjft
                                            last edited by

                                            Ok. Your PC Engine theme section does exhibit such a behavior. Thanks.

                                            I'll try to dig into it.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                                            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.