Platform list in Launchbox causing issues.

Issue #5326 new
lexx created an issue

Scrolling through the platform list in Launchbox causes the window to lose focus for a short moment, a 50% spike in CPU-Usage and start the video of a selected game from the beginning.

It happens when a system at the top or the bottom of the list is selected, but not in the middle part.

Video 1:
System selected at top - reload happens when scrolling up.
https://streamable.com/xf68s

Video 2:
System in the middle part selected - no issue.
System selected at the bottom - reload happens when scrolling down.
https://streamable.com/9sm2zd

When these reloads happen, the logs often show:

2020-05-13 07:25:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Start
2020-05-13 07:25:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Before Pause Video
2020-05-13 07:25:46 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Deactivated Completed
2020-05-13 07:25:51 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Start
2020-05-13 07:25:51 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before JoystickTimer Enabled Set
2020-05-13 07:25:51 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Resume Video
2020-05-13 07:25:51 AM Unbroken.LaunchBox.Windows.Desktop.ViewModels.MainViewModel.window.Activated Before Check Already Focused

What I’ve tried so far:

  • Disabling every option possible in the options of Launchbox
  • Disabling Auto-Play of Videos
  • Moving the Images, Manuals, Music and Videos folder out of the Launchbox folder
  • Logging out of Emu-Movies and Retroachievements
  • An installation of Launchbox 10.6 and moving the Data, Images, Manuals, Music and Videos folder into it (Happens in that version as well, but less significant)
  • Updating every driver on my PC
  • Moving Launchbox from a 500GB m.2 SSD to a 500GB regular SSD and to a 1TB NVME.

It does not happen, when I select the Platform Category and only one smaller category is extended, but when all categories are extended it does happen again.
After noticing that, I moved some of the platform.xml files out of X:\Launchbox\Data, when I was at 45 systems it did not happen, adding 5 more back in - the problem was back.
I’ve also tried different combinations because I wanted to know if the amount of games was causing it, but it didn’t make a difference at all.

Big Box doesn’t have any issues.

I have added 4 different log files to the attachments where the problem occurs.

My system specs:
AMD Ryzen 5 2600X
32GB DDR4-3600 G.Skill Ripjaws V
6GB MSI NVidia RTX 2060 Gaming Z
MSI B450 Gaming Pro Carbon
4x 500GB SATA Samsung Evo 960
1x 500GB M.2 Samsumg Evo 960
1x 1TB NVME Samsung Evo 970
10TB Seagate Expansion external HDD
Windows 10 Pro 64Bit - 1909 (Build 18363.836)
Launchbox 10.15

I would really appreciate if someone could look into this.
If more infos are requiered, please let me know and I’ll do my best to provide it as fast as possible.
I have posted this also on the forums, but it seems to fit better here. Feel free to delete the post.

Thank you.

Comments (10)

  1. Jason Carr repo owner

    Hi Tim, thanks for this report. It is certainly an odd issue. Unfortunately I can’t seem to reproduce it, so that probably means it’s somehow driver-related, or something of that nature. I’m not really sure where to go from here on this, to be honest. You’ve provided all kinds of detail, which I really appreciate, but unfortunately I’m still dead in the water without being able to set up a development environment on that machine. We’ll keep this open for now, and I’ll let you know if I stumble on any additional clues.

  2. lexx reporter

    First of all do I want to thank you for your answer.

    I already thought that it was an odd issue to begin with.
    I’m currently sticking with 45 Systems to avoid it.

    I’ve tried multiple other possible solutions from removing all USB devices, to moving Launchbox to an external HDD or killing all Windows Services, but it still occurs.
    With the release of Launchbox 11.x I’ll try to add some more Systems and provide additional logs.

    Keep up your great work.

  3. Christian

    Tim. Could you do me a favor and check if you have controllers enabled in LaunchBox? We’ve seen some weird issues on some computers when controllers are enabled but there isn’t a controller plugged in or on. The “Use all controllers” can sometime cause weird issues on some systems as well.

  4. lexx reporter

    Hello Christian. I was originally using it for a while, but after setting Launchbox up completly new multiple times I never really reactived it.
    It is disabled.

    Unfortunally.

  5. lexx reporter

    Hey Jason.

    Unfortunately am I not at home today to test it out.

    Did you find something that could cause it?

    I’ll let you know tomorrow.

  6. lexx reporter

    Here we go.

    First of all do I want to thank you for telling me that 11.5-beta-2 fixed the issue with the Neon Deluxe Arcade theme.
    Works without any problems again.

    To the other issue:
    It’s still a thing.
    Before I type anything regarding to that, here’s a video that I just recorded and uploaded.

    https://streamable.com/sus2rz

    As you can see, it’s still the same.
    If a platform on top of the list or at the bottom is selected, the scrolling causes the CPU to peak on all cores.
    And if you select a platform in the middle of the list, it just doesn’t happen.

    There are currently (for the video) 66 platform.xml in X:\Launchbox\Data\Platforms.
    When there are only 45 or less, this problem doesn’t occur whatsoever.

    Since I reported the issue in May, I tried whatever could have been the solution.

    • Replaced my MSI B450 Gaming Pro Carbon with my old Mainboard - MSI X370 Gaming Pro
    • Formated the PC completly and installed Windows 10 Pro 64Bit - 2004 (Build 19041.450). Of course with updated drivers.
    • Fresh install of Launchbox of a different drive.
    • Tried using the external HDD, where my roms are stored, on different USB Slots.
    • UEFI Reset of the MSI B450 Gaming Pro Carbon.

    In the end, all the work was for nothing and the only solution was to remove some platform.xml’s to make it work flawlessly.

    I simply don’t understand why the CPU is peaking like that.

    When I start Launchbox, the process uses about 2250 MB of Ram according to the Task Manager.
    At first I thought that these lags happen when the Ram-usage goes over 2250 MB, because whenever it goes over this number, it seems to rapidly unload something to get under 2250 MB again.
    But then I saw that the Ram-Usage drops down to ~1500MB when Launchbox is running for a while in the background. And it still happens.

    Here is the latest Debug file:
    https://pastebin.com/YGw7M2pp
    (Sorry, I couldn’t find how to add files to this post)

    If you need anything else, please let me know.

    Thank you,
    Tim

  7. Log in to comment