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,127
    Likes Received:
    6,691
    GSDragoon, bigcid1, MADFLOR and 10 others like this.
  2. HARDRESET

    HARDRESET Master Guru

    Messages:
    890
    Likes Received:
    417
    GPU:
    4090 ZOTAEA /1080Ti
    Thank you for your hard work , and always standing up for yourself, does not go unnoticed :D
     
    eGGroLLiO likes this.
  3. Dan Longman

    Dan Longman Master Guru

    Messages:
    225
    Likes Received:
    157
    GPU:
    4080 FE
    7.3.0 Beta 1 seems solid, I always have afterburner running but I closed it and tried the standalone hotkey manager and works great! Thanks Unwinder!
     
  4. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    He is raging about his own fake paradigm. The approach, presented by researcher as a fix for the last patched exploit is in fact a copy paste of my own description of MMIO-oriented protection concept for arbitrary physical memory mapping, which was implemented years ago and which exists inside RTCore’s physically memory mapping interfaces since October 2016 and since MSI AB v4.3.0 launch.

    In reality, neither the last discovered vulnerability is physical memory mapping based nor the fix is “finally” adding such physical memory mapping protections to the driver after “three years of doing nothing” like that raging/ranting dude is claiming. The exploit is not using memory mapping in any form, it used lack of validation inside GPU register read/write primitives, which allowed using them for arbitrary kernel memory access. And it is patched quickly and without altering memory mapping interface at all, unlike the “research” is claiming. But who cares about reality, somebody just badly wanted to tweet a drama story.
     
    HARDRESET likes this.

  5. Andy_K

    Andy_K Master Guru

    Messages:
    842
    Likes Received:
    240
    GPU:
    RTX 3060
    RTSS 7.3.0 beta 1

    tested the plugin-handler for making screenshots. (While MSI AB is still running alongside)

    I selected format JPG, 85% quality and set the folder to the same destination folder (cop&paste) as in MSI-AB.
    The option for OSD on Screenshots was ticked by default and I left it untouched.

    Then I clicked OK
    Reentered plugin setup and format was changed on it's own back to PNG. Same happens when selecting BMP as format. Everytime I enter plugin setup it is back to png.
    On the other hand the quality percentage (when JPG is selected) is saved. Tested it with various values.

    The hotkey handler first I set to Alt+F12, the same as in MSI AB. Only one Screenshot (that by MSI AB, I changed format to BMP to be sure.) was written to disk.
    Then I changed the hotkey handler to ctrl+F12, clicked OK twice to also close the RTSS setup page. Did not work.
    closed RTSS, OSD was gone, waited for MSI AB to restart RTSS until OSD was back. Game I used was ACC (aka AC2, aka Assetto Corsa Competizione). No issues to hook that game again. OSD was fine.
    Tried to take another screenshot by hitting ctrl+F12 but no image was written to disk.

    PS: If RTSS is supposed to capture also the desktop if no active 3D app is detected, then this is failing too, maybe same origin due to hotkey handler...
     
    Unwinder likes this.
  6. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    @Andy_K

    Issue with resetting screenshot format selection when you reenter settings dialong is reproduced, I'll fix it in the next beta. If you wish to fixit on your side, you may add the following line:

    UpdateData(FALSE);

    after

    m_nScreenCaptureFormat = StrToFormat(m_strScreenCaptureFormat);

    in the plugin's ScreetCaptureDlg.cpp and rebuild it.

    Issue with not saving screenshots is not confirmed, works here. Most likely you are facing one of two possible issues:

    - HotkeyHandler plugin is inactive (but configurable) by default. Ensure that the tickmark is set next to it in "Active plugins list". Most likely that's the case.
    - Similar to MSI AB, hotkeys handling is forcibly disabled when you open hotkey handler configuration GUI and starts working as soon as you close it. It is done that way to prevent you from spamming unwanted screnshots when you're defining or altering screen capture hotkey for example.
     
  7. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    Noticed one more GUI related issue with new plugin, audio source index may be saved improperly for automatic audio source selection mode. So captured videos may have no sound. It will be also fixed in the next build.

    Besides the fixes mentioned in this and in the previous post, next build (Beta 2) will also include the following:

    - Beta 1 added localization API to host process in order to provide GUI localization support in HotkeyHandler plugin. Which means that previously existing hardware encoding plugins can use it too to provide multilanguage GUI. So I'll update NVENC/QSV/VCE/VCEAMF encoders to make their settings localizable.
    - Some more options will be added to videocapture properties GUI. I'm gonna add capture mode settings similar to MSI AB's one, which allow you to select mixed (desktop or 3D process if it is active), desktop only and 3D process only videocapture modes. Some other options available in MSI AB GUI (such as AVI/MKV container selection, framerate limiting for videocapture mode, gamma corrected capture, video cropping etc) are used infrequently and considered as deprecated, so they won't be available in the plugin's GUI.
    - Source code of HotkeyHandler plugin is not commented yet. Huge part of HotkeyHandler plugin implementation is GUI related so it is not necessary there, however some parts related to RTSSHooks and encoding library (SaveMedia) interface needs to be commented. So I'll comment the most important and interesting parts of the plugin's code before providing it in SDK in public release.
     
    Last edited: Feb 5, 2020
    toyo likes this.
  8. Andy_K

    Andy_K Master Guru

    Messages:
    842
    Likes Received:
    240
    GPU:
    RTX 3060
    My bad :oops:
    May I suggest to change the inactive Icon to a cross or none at all instead of a check mark and when active color the check mark in green?

    I had a look at MSI AB Monitoring Tab again to see if those inactive check marks are the same because there it never happened to me to confuse inactive with active.They are, but I noticed there are more than one check marks so you notice the difference between active and inactive right away. And when a row is not selected the inactive check mark is not as noticeable as it is when the row is selected, which up to day in RTSS plugin tab it is always the case as there is still only that one plugin.

    Tested my settings again, this time with activated hk-handler ( :rolleyes: ) and it worked as thought.
    Two Screenshots in different formats at the same time were saved to disk at one keystroke. Very nice :D
    And confirming it was a GUI related only issue. When I selected JPG, clicked OK and reentered plugin setup PNG was shown as selected but when performing a screenshot it is saved as JPG.
     
  9. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    Wow, I completely forget about one more useful part of RTSS API, which I didn't cover yet in the current implementation of HotkeyHandler plugin. Got a question about it in PM from @Infuriare and suddenly realized that there is something I completely forgot about and it would be perfectly useful to demonstrate this functionality in the plugin sample code too. I quote the question and my answer to give you better understanding of it, hope that he don't mind that I quoted the PM. That's what we can expect in beta 2 too:

     
    Andy_K, Tomatone, toyo and 1 other person like this.
  10. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691

    Sure, I'll think about it. Probably the "problem" will disappear itself when we have more than one plugin available in the list (and it is a question of nearest future). So there will be unselected rows in the list and each plugin's default disabled state will be much more easily identifiable.

    Keep in mind asynchronous nature of capture for 3D applications, and that it is not guaranteed to give you 2 screenshots in different formats in such environment. When 3D application is running screenshot is not being saved immediately, in this case RTSS is internally setting screen capture request but actual screen capture and screenshot generation is having place only when 3D application finish rendering and start presenting the next frame. So depending on sceeen capture events timings and 3D application's framerate there can be two cases:

    - When one application (e.g. RTSS itself via plugin) sets asynchronous screen capture request, 3D application generates requested screenshot, THEN another application (e.g. MSI AB) sets new asynchronous screen capture request and 3D application generates screenshot again.
    - When one application (e.g. RTSS itself via plugin) sets asynchronous screen capture request THEN another application (e.g. MSI AB) set new asynchronous screen capture request and overriding the previous one, THEN 3D application generates just one screenshot defined by the last received request
     

  11. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    Good news, I've brainstormed this post tonight and it resulted in absolutely awesome and flexible functionality, which I've already added to updated HotkeyHandler plugin. Now you can define up to 4 additional general purpose programmable profile modifier hotkeys. You can program them to perform any desired profile modifications on the fly, almost everything that you do in RTSS profile editor GUI can be bound to hotkeys now. So you can program hotkeys to increase/decrease framerate limit, scanline sync index, switch between a few predefined framerate limits, zoom OSD in/out, enable/disable hooking globally, etc. You can program hotkeys to modify either global or some desired application specific profile only.
    I guess it deserves recording short demo video, I'll capture and upload it a few hours later and provide a link here. Stay tuned!

    Thanks to @Infuriare for inspiring this kind of functionality for this open source plugin!
     
    0458315753, AsiJu, VAlbomb and 6 others like this.
  12. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    Done. Hope you'll like new functionality (or improve it yourself because plugin is open source), it increases hotkey handling flexibility drastically.



    Stay tuned!
     
    RodroG, ZAMHome, nikobellic and 5 others like this.
  13. Im_Special

    Im_Special Member Guru

    Messages:
    125
    Likes Received:
    20
    GPU:
    Nvidia GTX 1070 6GB
    Can't wait! That is one sick feature. These hotkeys are modifiable hotkeys correct? I'm pretty sure we already have that currently in MSI, ie. "Shift+Ctrl+Page UP" but I'm unable to check right now. I'd just hate to accidentally be hitting Page Up as I work and have my framerate mysteriously get turned to crap lol.
     
  14. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    Sure the hotkeys are modifiable and none of them are programmed by default. Even the plugin itself (i.e. whole alternate hotkey handling infrastructure) is also disabled by default.
     
  15. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    I've added everything I wanted to HotkeyHandler plugin, finished plugin source code cleanup and commented the most interesting parts of it, so I feel that beta 2 is ready to be released. So we'll launch it in closest day or two. This time we'll probably release it on the main Guru3D page to get it tested more massively by more users. Stay tuned!
     

  16. Hilbert Hagedoorn

    Hilbert Hagedoorn Don Vito Corleone Staff Member

    Messages:
    48,400
    Likes Received:
    18,593
    GPU:
    AMD | NVIDIA
  17. Unwinder

    Unwinder Ancient Guru Staff Member

    Messages:
    17,127
    Likes Received:
    6,691
    I've just started development of one more client plugin for RTSS. Anyone can guess what will it be? :)
     
  18. Pinstripe

    Pinstripe Master Guru

    Messages:
    305
    Likes Received:
    62
    GPU:
    RX 7700 XT
    Unwinder.dll?

    Press hotkey to unwind all your hard-disk's data into zeros.
     
  19. Andy_K

    Andy_K Master Guru

    Messages:
    842
    Likes Received:
    240
    GPU:
    RTX 3060
    A plugin that allows you to include 3rd party monitoring dlls for OSD like already present in MSI AB?

    That would bring back MSI AB more to it's own purpose of OC'ing and RTSS would become more of a monitoring/OSD related tool on its own.
     
  20. Im_Special

    Im_Special Member Guru

    Messages:
    125
    Likes Received:
    20
    GPU:
    Nvidia GTX 1070 6GB
    Has to be something to do with porn. Maybe cat girl anime fetish.
     

Share This Page