MSI AB / RTSS development news thread

Discussion in 'MSI AfterBurner Application Development Forum' started by Unwinder, Feb 20, 2017.

  1. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    I'm preparing new RTSS beta to uploading. I'm still working on documentation so changes list may be incomplete yet and I probably missed something. Current changes list contains the following:

    - Improved hypertext format:
    o Improved image embedding <I> tag syntax. Added optional tag parameter defining embedded image rotation angle.
    o Improved bar embedding <B> tag syntax. Added optional tag parameter allowing drawing variable width bar border instead of filling the bar with the solid color.
    o Added new <V> tag support for defining general purpose variables. Up to 256 general purpose integer variables can be defined in hypertext then referenced later as subsequent tag parameters. Additional "L" or "H" postfixes cam be added to variables to extract low or high 16-bit integers from 32-bit integer variables.
    o Added integrated functions support to hypertext syntax. The following integrated functions are currently supported by hypertext parser:
    + $MAP function is intended for mapping the value ranges, e.g. for mapping [0;60] FPS range to [-90;90] degree rotation angle range in animated gauge indicator
    + $SPR function is intended for calculating animated sprite coordinates from specified sprite matrix and value range. Function result is packed in single 32-bit integer value, it can be stored to variable and independent coordinate components can be unpacked with previously mentioned "L" and "H" prefixes
    o Improved covering extent calculation for overlays containing some specific sequences of embedded bars and backspace symbols
    - Improved OverlayEditor plugin:
    o Added settings for specifying fixed rotation angle in static image properties window
    o Added settings for specifying dynamic rotation anlge in animated image properties window. This way you may easily implement animated gauge-styled indicators, e.g. define gauge arrow sprite and make it rotate in desired range depending on input range. Sample overlay layout included in distributive demontrstes this technique with animated framerate gauge indicator
    o Added settings for displaying layer border in layer properties window
    o Added SMART attributes montioring and hard drive temperature monitoring support to internal HAL. The implementation is based on original MSI Afterburner's SMART plugin, but unlike original implementaion which supports SMART attributes readback on IDE/SATA drives only, internal HAL's implementaiton also provides support for SMART attributes reading on NVMe devices (including dual-channel memory/controller temeprature monitoring on new Samsung NVMe drives). Please take a note that SMART monitoring is disabled by default due to performance reasons, you may enable it in new internal HAL properties window
    o Added data provider properties accessible via "..." button next to selected provider in "Add data sources" window. Currently configurable properties are avaiable for internal HAL only, you can enable SMART monitoring or disable low-level IO driver there if necessary
    - Improved DesktopOverlayHost plugin:
    o Added optional Direct3D11 and OpenGL renderers, which can be used to bypass known architectural limitations of Direct3D9 desktop overlay renderer. You may select desired renderer in application properties
    - Bumped version inside Vulkan layer manifest to improve compatibility with some Vulkan 1.2+ applicaitons (e.g. Ryujinx)
    - Fixed issue causing language icons to be displayed in wrong palette for some languages (German, Portuguese and Ukrainian) in "User Interface" tab

    upload_2022-9-5_17-23-25.png
     
    BlindBison, Seath1337, Verne and 10 others like this.
  2. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    Noticed interesting problem report related to RTSS and Playstation controllers in Ubisoft games:

    Stuttering/Framerate drops when using Playstation Controllers (Dualsense and Dualshock 4) On PC Version | Ubisoft Discussion Forums

    I tried to attach PS4 controller and reproduce the problem in AC : Valhalla and I can confirm that framerate limiter start limiting the framerate with huge inaccuracy in this game as soon as PS4 gamepad is attached. The reason is that Ubisoft's PS4 controller polling implementation overrides waitable timer resolution, reducing timer accuracy and making it impossible to use it to perform accurate passive waiting. So you may get rid of the problem by disabling passive waiting option for framerate limiter in RTSS if you experience that in Ubisoft games with PS4 controller attached.
     
  3. Andy_K

    Andy_K Master Guru

    Messages:
    846
    Likes Received:
    247
    GPU:
    RTX 3060
    Hey Unwinder, if you like to and have some time left would you add the possibility to have ceil(), floor(), round() in the correction formula?
    And would it be possible to have some other format string types other than f, eg. %02.0f => %02d or even %02u when signed number is not necessary.

    I got a question how to represent System Up Time in HH:MM:SS format and didn't find a way to get it represented with a time format string. So I use three named data sources of System Up Time (not yet on latest beta for stub data) extract the hours, minutes and seconds using correction formular. I wanted clean hours and minutes without decimals but correction formula didn't let me use int() or floor(). But I remembered I could use modulo so with the correction formula "(x - (x % 3600)) / 3600" I was able to get the plain hours without any decimals, it just could be easier and nice to read with floor() or int() function. "floor(x / 3600)"
    And getting the minutes is even more brain wrecking: ((x - ("SystemUpTimeH" * 3600)) - (x % 60)) / 60

    Well in the end I got what I was asked for using those three data sources in a text layer.


    PS. I should have read the new threads/posts before posting this. Well, the same person asked me on another platform and didn't read here beforehand.
     
    Last edited: Sep 6, 2022
  4. Dan Longman

    Dan Longman Master Guru

    Messages:
    225
    Likes Received:
    157
    GPU:
    4080 FE
    I started thinking hmmm I never had an issues with these games using a ps4 controller and framerate limiting, but then I realized since I don't want to have a wired controller I use ds4windows for my DS4 and that emulates an xbox controller so Ubi ps4 polling implementation is bypassed. thanks for this info though good to know!

    and just want to say I am very excited for the next beta of RTSS some incredible additions you have added! Thanks so much for all your continued hard work!
     

  5. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    I can add unary (single operand) functions to formula parser rather fast, but I cannot promise to do the same for any additional functions having variable and more that 1 operand. I've addded unary format conversion functions int(x), flt(x) and rounding functions ceil(x), floor(x) and round(x) to the parser.

    I've added signed integer output formats support (%d), but I see no sense in providing unsigned formats support (%u) for overlay. The same apply to hexadecimal formats (%x and %X).
     
    SanokKule and Andy_K like this.
  6. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    Decided to get rid of this limitation in formula translator in favor of future extensibility. Formula parser can provide support for functions with multiple operands now. Added dual operand max(x,y) and min(x,y) functions support to correction formulas now, not sure if anything else is really useful for it.
     
    Andy_K and Dan Longman like this.
  7. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    And btw, to give better understanding of forumula syntax, quote marks in the formulas you provided in your example are redundant:

    ((x - ("SystemUpTimeH" * 3600)) - (x % 60)) / 60

    Quote marks are only necessary if referenced data source name contains any other symbols besides letters and digits (e.g. spaces)
     
    Dan Longman likes this.
  8. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    New RTSS beta is slightly delayed due to adding recenly requested improvements to correction formula parser. I'll launch it as soon as I finish validating the changes internally.
     
  9. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    Dear forum visitors,

    I've got a few development related news for you. Our MSI digital signature, which I use to build MSI AB and RTSS, will expire in the nearest couple days so we'll need to renew it. Digital signature renewal is rather slow process, so it will take a few weeks break when I won't be able to compile any new betas for you. So we decided to compile both RTSS and MSI AB betas today while I still can do it with currently existing digital signature.

    On RTSS side, new beta will include all changes listed a few posts above plus improved formula parser mentioned in subsequent few posts (1 and 2).

    On MSI AB side, there won't be any major changes in this build. As all of you know, new 40x0 NVIDIA series are around the corner. I've not tried MSI AB with upcoming GPUs myself yet, but accoring to internal MSI testing previous public beta already works fine with it (which means that new cards are NVAPI compatible with 30x0 series). So we'll just add DeviceIDs for upcoming NVIDIA hardware to mark it as supported into hardware database. If there will be any other features I'll need to support on 40x0 series, I'll work on it in future betas. Also, considering that we didn't test all new RTSS features publicly yet, MSI AB will contain the previous tested RTSS beta included in distributive.

    So stay tuned, links to MSI AB 4.6.5 Beta 2 Build 16293 and RTSS 7.3.4 Beta 5 Build 27325 will be published shortly!
     
    SanokKule, toyo, Dan Longman and 3 others like this.
  10. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927

  11. Andy_K

    Andy_K Master Guru

    Messages:
    846
    Likes Received:
    247
    GPU:
    RTX 3060
    When not installing new RTSS 7.3.4 beta 5 over old version but instead do a clean install there is a little issue: in the RTSS installation file is no compiled default.usf skin file which rtss complain about when starting.
    Users have to compile it themselves for rtss to load.

    Instructions are in C:\Program Files (x86)\RivaTuner Statistics Server\SDK\Doc\USF skin format reference.pdf
    You need to open a command prompt (terminal or cmd.exe) and cd into folder C:\Program Files (x86)\RivaTuner Statistics Server where you have to execute the command rtss.exe -cs default,jsRfsgTd

    Then you will be able to run new rtss.
     
    Paul B likes this.
  12. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    That's not intended usage scenario for sure. Just checked the installer we uploaded, it seem to be corrupted due to some reason and it lacks some required files including whole .\Skins and .\Vulkan folders. I'll recompile and reupload it shortly. In meanwhile I'll temporarily remove RTSS download link in the previous post. I'll return it back when fixed distributive is uploaded.
     
  13. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    RTSS 7.3.4 Beta 5 Build 27325 distributive is online again, we uploaded fixed installer instead of the previous one which missed some files (.\Skins and .\Vulkan folders). Just redownload and reinstall it if you grabbed it yesterday and cannot launch it due to missing skin.
     
  14. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    Beta 5 is released and I started working on newer version. A few changes have been implemented yesterday:

    - Added Ryzen 6800H support in internal HAL of OverlayEditor
    - A firend of mine asked about the possibility of using RTSS as a functional replacement for AIDA's SensorPanel with external display devices, so we brainstomed it a bit. Technically you can already do that with DesktopOverlayHost, just create anything you want in OverlayEditor then put DesktopOverlayHost on your secodnary small display. That's all you need to see an overlay clone there.
    However considering that such external displays are normally way too small (3-7"), you may wish to autoscale overlay to fit whole external display space instead of tuning the size manually. So I added new application profile property (ScaleToFit in [OSD] section), which can be used to scale overlay to whole 3D window area. So you may add such profile setting to DesktopOverlayHost and overlay displayed there will be scaled to whole DesktopOverlayHost window area. Currently I'm not sure if there will be dedicated GUI setting for it, probably I'll leave it as is in current power user oriented form.
     
  15. bobnewels

    bobnewels Maha Guru

    Messages:
    1,425
    Likes Received:
    1,068
    GPU:
    amd
    Very nice always wanted to see something like this,when I used AIDA64 Sensor panel with MSI Overlay had to run my games in windowed mode but it worked great.

    From 2019 Aida Sensor panel + MSI overlay
    oct 2019.jpg
     

  16. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    New ScaleToFit profile property can be controlled directly from DesktopOverlayHost's settings GUI now. New GUI option is using RTSS profile control API and toggles this property directly inside DesktopOverlayHost.exe profile. So now you may either render overlay inside DesktopOverlayHost as is, in its' natural size, or enable this new option to scale overlay to fit entire DesktopOverlayHost window area (which can be useful for manual overlay size finetuning if you plan to display DesktopOverlayHost window on small external display). Also I've changed scaling logic a bit, now it scales the overlay to keep original overlay proportions instead of just resizing it to whole window and possibly distoring it.

    Note: new option is currently only supported by D3D overlay rendering codepaths. So it will be ignored if you switch renderer to OGL mode. Also, only stretching is supported, overlay will be rendered in original size if you try to shrink it.
    I remind you that DekstopOverlayHost is overlay agnostic solution, which means that you're not restricted to use it with RTSS only and can use it with third party overlays too. But of course stretch to fit option is only working with RTSS overlay, so if you use DesktopOverlayHost with some other 3D overlay application (e.g. FRAPS, EVGA Precision or CAM) it will be ignored too.

    upload_2022-9-18_23-33-6.png
     
  17. batataoDOCE

    batataoDOCE New Member

    Messages:
    6
    Likes Received:
    0
    GPU:
    rx 570
    Please help me, how do I make the background blurry?
    upload_2022-9-19_12-40-0.png



     

    Attached Files:

  18. bobnewels

    bobnewels Maha Guru

    Messages:
    1,425
    Likes Received:
    1,068
    GPU:
    amd
    Made an overlay for you to try,sent you back the message on youtube.I say the blurry background image will be no different than just using background but worth a try.
    Like the post you did on 3dGuru site.Well I do not think you can actually make the background blurry like that
    but you can use images with blurry background and change color/opacity
    to get what you want.
    I made an overlay with 6 blurry back grounds for you to try.
    So if you use the sample overlay in RTSS,put the blur image in (C:\Program Files (x86)\RivaTuner Statistics Server\Plugins\Client\Overlays)
    Open RTSS/setup/plugins/overlayeditor.dll/Layouts/Edit/Under Embedded Image click Browse for Blur image/click ok and adjust until you get what you want.
    https://drive.google.com/file/d/1Gy4RH6i18z0ZZDfqLt-Et7hDNEN-PiNn/view?usp=sharing
     
    Last edited: Sep 19, 2022
  19. BigBeard8619

    BigBeard8619 Guest

    Messages:
    1
    Likes Received:
    0
    GPU:
    3090Ti
    How can i get cpu usage and temp for the 7950x get to show up?
    I know i can link with HWinfo, but HWinfo seems to take a lot of resources?
     
  20. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,229
    Likes Received:
    6,927
    You cannot. And with things having place in Russia now I have zero ideas if I'll be able to continue development in the nearest future.
     
    SanokKule, elbubi, LtMatt81 and 2 others like this.

Share This Page