Author Topic: [download] NEVATO theme  (Read 340239 times)

Tharon

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [download] NEVATO theme
« Reply #225 on: November 14, 2016, 02:55:20 PM »
Oh, my fault. I was miscalculating.

The correct code is :

Code: [Select]
local bgart = fe.add_artwork( "flyer", flw*0.4321, flh*0.0416, flw*0.256, flh*0.583);
bgart.preserve_aspect_ratio = true;

Squilenator

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Re: [download] NEVATO theme
« Reply #226 on: November 15, 2016, 12:36:01 PM »
Oh, my fault. I was miscalculating.

The correct code is :

Code: [Select]
local bgart = fe.add_artwork( "flyer", flw*0.4321, flh*0.0416, flw*0.256, flh*0.583);
bgart.preserve_aspect_ratio = true;

Woaw thx for this man, much appreciated. By the way change the aspect ratio code to "false" so it can resize the flyer to fit automatically.

thomazn

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [download] NEVATO theme
« Reply #227 on: November 19, 2016, 12:34:49 AM »
I have some trouble with the video snaps.

I have a Pi 3, and low-res (240p) snaps.
The snaps always start playing, but then sometimes the video will freeze and/or there is a gray "overlay" over the video.
I call it an overlay, because the sound from the video snap keeps playing. But no video.
If i change to a different game, the video snap starts playing again, but eventually ends up either freezing, or getting the gray overlay.

I've checked the video snaps on other devices, and there's nothing wrong with them.
It also varies when it stops playing....sometimes after a couple of seconds, sometimes longer.

Any idea what can cause this?

I've tried overclocking the Pi as well, but no difference in behavior there.

Here's an example: https://www.youtube.com/watch?v=35PRYAMAIJo

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #228 on: November 19, 2016, 02:22:55 AM »
Not the direct solution - but you can convert a few videos to XviD and see if it helps.

thomazn

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [download] NEVATO theme
« Reply #229 on: November 19, 2016, 07:24:22 AM »
Not the direct solution - but you can convert a few videos to XviD and see if it helps.

Thanks! That did the trick.
Was hoping to save some disk space, but it's better than nothing :)

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #230 on: November 19, 2016, 09:07:18 AM »
If I understand it correctly - newest AM version supports vid acceleration on RPI. So maybe your issue will go away when you update AM to 2.2.0

thomazn

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: [download] NEVATO theme
« Reply #231 on: November 19, 2016, 09:25:40 AM »
If I understand it correctly - newest AM version supports vid acceleration on RPI. So maybe your issue will go away when you update AM to 2.2.0

Ok. No more than a week old that release. I'll try to update. Thanks again!
Awesome layout BTW!  :D

Tharon

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [download] NEVATO theme
« Reply #232 on: November 19, 2016, 11:24:43 AM »
I have another problem. My videos plays correctly at 60 fps at the start but after few seconds they drop to 30/40 and didn't play smooth. I've checked the CPU and the usage is really low. I've tried with the "grid" theme and it works fine with my videos, so there must something in the theme.

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #233 on: November 21, 2016, 02:47:24 AM »
I don't have a clue what can be changed in theme.
In my theme video is just scaled and skewed to fit the screen - no other fancy shader effects that could affect the performance.

You can try REFLECT theme (it's shipped with AM IIRC) that has the same kind of skewed screen and see if it's ok.

vykyan

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [download] NEVATO theme
« Reply #234 on: November 21, 2016, 05:54:57 AM »
Any idea what can cause this?

I've tried overclocking the Pi as well, but no difference in behavior there.

Here's an example: https://www.youtube.com/watch?v=35PRYAMAIJo

Make sure your Attract mode is compiled with HW Acceleration, and in the General options make sure  "Hardware decoder" = mmfl (sorry can't remember exactly, but make sure its not Software).

Tharon

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [download] NEVATO theme
« Reply #235 on: November 21, 2016, 11:51:38 AM »
@verion

Reflex has the same slowdown. So it can the software decode. Anyway, are your skew coordinate correct ? I'm using the aspect ratio=true to avoid stretching the screenshots, but for some games it works really bad (an example : king of dragons)

@vykyan

I have only the software decode option available. It's the official Attract Mode Binary (version 2.0.0-1).

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #236 on: November 21, 2016, 02:17:37 PM »
Try the AM 2.2.0 that supports HW video acceleration. Or convert your videos to XviD.

RE: aspect ratio=true

I'm using =false to fill the screen. It works great... but not for vertical snaps. I'm planning to fix that in next revision.

Tharon

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: [download] NEVATO theme
« Reply #237 on: November 21, 2016, 04:42:36 PM »
I'm already using 2.2.0.0-1 and i can't change the video decoder (on windows 7).
« Last Edit: November 21, 2016, 04:47:47 PM by Tharon »

verion

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 863
    • View Profile
    • new projects
Re: [download] NEVATO theme
« Reply #238 on: November 22, 2016, 03:08:52 AM »
I can't help you with that - try in a AM release thread

dfuse

  • Jr. Member
  • **
  • Posts: 16
    • View Profile
Re: [download] NEVATO theme
« Reply #239 on: December 18, 2016, 06:38:29 AM »
Hey guys, I get the following error when trying the Nevato theme. I downloaded it from the Onyx website. Am I not using the latest version or ...?

AN ERROR HAS OCCURED [the index 'res_x' does not exist]

CALLSTACK
*FUNCTION [Setting()] C:\attract-v2.2.0-1-win64\layouts/nevato/layout.nut line [208]
*FUNCTION [main()] C:\attract-v2.2.0-1-win64\layouts/nevato/layout.nut line [215]

LOCALS
[aspect_name] ""
[settings] TABLE
[name] "res_x"
[id] "aspectDepend"
[this] TABLE
[aspect_name] ""
[aspect] 2.388888835907
[settings] TABLE
[flh] 1440
[flw] 3440
[fly] 1440
[flx] 3440
[blip] 1440
[my_config] TABLE
[vargv] ARRAY
[this] TABLE
Script Error in C:\attract-v2.2.0-1-win64\layouts/nevato/layout.nut - the index 'res_x' does not exist
 - Loaded layout: C:\attract-v2.2.0-1-win64\layouts/nevato/ (layout.nut)
 - Layout is empty, initializing with the default layout settings