Save up to 50% in our 2020 summer sale!
Save up to 50% off any of our apps in our 2020 summer sale, including DisplayFusion,
ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

DisplayFusion 9.6.1 Error: Failed to call SetDisplayConfig. [HR: 31] [System.Exception]

Avatar from Gravatar.com
REY DECASTRO
4 discussion posts
[Windows 10; DisplayFusion Pro 9.6.1 purchased via Steam] I have two monitors connected to a GTX1060-3GB: Dell Alienware AW3418DW 34-inch Ultrawide and Dell U2412M 24-inch. DisplayFusion has managed the setup fine, but today I tried to setup separate monitor profiles for 2 monitors and another for just the Alienware (with the Dell U2412M disabled) and assign each to a hotkey combination. I set up both profiles and switched between them within the Monitor Profiles window without issue. However, when I tried the hotkey to switch to the dual monitor profile, I got this error:

Code



Please advise. Thanks!
Feb 5, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Interesting! And if you re-open the Monitor Configuration window and load it from there, it works again?
Feb 5, 2020  • #2
Avatar from Gravatar.com
REY DECASTRO
4 discussion posts
[Sorry for taking so long to get back to you]
As a matter of fact, when I try to switch monitor profiles back from single monitor to dual monitor, I get the identical error from DisplayFusion:

Code



I'd be interested in any ideas you have for a fix. Thanks!
Feb 11, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, thanks! We have an idea on what's causing the issue but we're still working on a fix for it. We'll be sure to let you know as soon as we have a new test build to try out.

Thanks!
Feb 11, 2020  • #4
Avatar from Gravatar.com
REY DECASTRO
4 discussion posts
Thank you, Keith! I knew you guys would be on top of it. Let me know if you need logs.
Feb 12, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
We've just released a new DisplayFusion beta version and this issue should be all fixed up. Could you give it a try and let us know how it goes?

Thanks!
Feb 25, 2020  • #6
Avatar from Gravatar.com
REY DECASTRO
4 discussion posts
Thanks, Keith! I bought DisplayFusion through the Steam store, so I'm not sure how to install the beta in the location where Steam keeps DisplayFusion. There doesn't seem to be an option to install a beta through the Steam interface. Please advise. Thanks!
Feb 29, 2020  • #7
Avatar from Gravatar.com
Special
110 discussion posts
Open up your settings panel.

https://i.imgur.com/5bS2pdN.png
Feb 29, 2020  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
As @Special mentioned, you can enable automatic beta update checks on the Settings > Options tab in DisplayFusion, or if you'd like to manually install it, you can download it at the link below. It will install over top of the current one and keep the Steam license and settings intact :)

DisplayFusion Beta

Thanks!
Mar 3, 2020  • #9
Avatar from Gravatar.com
Kilsgaard
5 discussion posts
Hi
I have updated to 9.7 Beta 5 and now i have the problem:

An error has occurred while applying your new Monitor configuration.
Please check your settings and try again.
Error: Failed to call SetDisplayConfig. [HR: 31]
[System.Exception]

is there a way to fixit?
I am running one philip ultrawide 49" monitor where i split the screen into areas.

Regards
/Graves
Mar 10, 2020  • #10
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Kilsgaard: If you manually configure the monitors, then save that as a new profile with Beta 5, does the new profile work?
Mar 10, 2020  • #11
Avatar from Gravatar.com
Kilsgaard
5 discussion posts
Hi
Sorry for the late response, I have not had access to my workspace before now, due to covid

Thanks for your answer, I deleted the monitor profiles and created them again, at now it seems to work perfect..
May 12, 2020  • #12
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Excellent, glad to hear it!
May 12, 2020  • #13
Avatar from Gravatar.com
Adept Developer440949
7 discussion posts
Hi,

I'm having a similar issue. SetDisplayConfig HR:31 and I was on DF 9.6.1. I've checked the "Get beta versions" and am now on DF 9.7 (Beta 19), however, when I go to Monitor Profiles and change to a certain profile, I still get the HR: 31 error.

Now, it may be a compatibility issue with a USB-C Hub. If I connect the monitor directly to my laptop using HDMI everything is fine (and was fine in 9.6.1 also), but I have a USB-C hub that I'm using as a docking station in a way so when I'm at my desk, I plug one USB-C cable in and all my peripherals are connected. Everything works, I see my display over the USB hub, but I get the 31 error when I try to switch to the profile I want.

Any ideas?

-Steve
18 days ago  • #14
Keith Lammers (BFS)'s profile on WallpaperFusion.com
If you try to manually enable that monitor via DisplayFusion Monitor Configuration, instead of loading the profile, does it error out as well?
18 days ago  • #15
Avatar from Gravatar.com
Adept Developer440949
7 discussion posts
The monitor is enabled when I go to the Montior Configuration. Right now, I'm typing this while viewing the attached monitor, however, the splits aren't working and if I try to load the profile it gives this:

An error has occurred while applying your new Monitor configuration.
Please check your settings and try again.
Error: Failed to call SetDisplayConfig. [HR: 31]
[System.Exception]

I've attached the log file.
• Attachment [protected]: DisplayFusion.log [1,128,941 bytes]
18 days ago  • #16
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Thanks! So your profile doesn't change the monitor enabled/disabled state, or resolution, it only changes the split layout?
18 days ago  • #17
Avatar from Gravatar.com
Adept Developer440949
7 discussion posts
I think it disables the laptop screen (or maybe that's automatic). Basically, it's so I can dock my laptop when I'm at my desk to an ultrawide. When docked, I want the screen split and when running only on my laptop screen I don't want any screen split.
18 days ago  • #18
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, have you already tried re-creating the monitor profile since updating to 9.7 Beta 19?
17 days ago  • #19
Avatar from Gravatar.com
James Covill
1 discussion post
Hi,
I am also getting this error of late, I was on the latest version and after reading this thread I have updated to the beta branch but am still having the same issue.
I have had a similer issue before but after a reformat of my PC the problem stopped, so re creating the profiles. I have not recreated them yet this time as I have to go to work soon.
I get this error message when i try and fire a profile, either from a shortcut key or via the DF menu. Changing monitors manually through windows display settings works fine. This is happening when I try and change both between seperate physical monitor profiles (one mon on/one mon off), when just changing to a profile that adds/subtracts splits on the same physical monitor or a profile that turns on a second monitor and adds splits to the already connect physical monitor.

As a side note, the dialogue box that appears with this error code, once you click confirm or close the box via the cross it reverts the monitor setup back to the previous profile even if you have already changed the display settings via windows. As one of my monitors is a TV in a seperate room this can become quite annoying if I forgot to close it first. Not the end of the world, and it may be desired by yourselves for some reason but I though I would mention it.

Thanks a lot

I've added the log as attachement
• Attachment [protected]: DisplayFusionDebugInfo.zip [28,481 bytes]
9 days ago  • #20
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@James: Sorry for the late reply! Thanks for attaching the troubleshooting info. If you re-save one of the profiles after configuring it with the Windows settings, does it load correctly?
1 day ago  • #21
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply