Coder Social home page Coder Social logo

Comments (14)

terrymacdonald avatar terrymacdonald commented on June 12, 2024

Hi @MrGarrettSmith ,

Do you have .Net Framework 4.8.1 installed? This could happen if that framework isn't installed. You can download and install it from microsoft here: https://dotnet.microsoft.com/en-us/download/dotnet-framework/thank-you/net481-web-installer

If this doesn't fix the issue then please drop a note here and we can do some more troubleshooting.

Thanks
Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

Hi @MrGarrettSmith,

After a bit more research I actually think this error is due to the bug I recently found in DisplayMagician v2.5.0, where it incorrectly misses some windows in some configurations of multi-GPU laptops. Was your device you ran this on a gaming laptop? Or a machine that has multiple different video cards in it?

I think this could be fixed with my upcoming release of DisplayMagician v2.6.0, so I will paste a test version here in the next few days for you to test.

Thanks
Terry

from displaymagician.

MrGarrettSmith avatar MrGarrettSmith commented on June 12, 2024

It is a custom desktop build.
CPU: i7-6700K
GPU: GTX 1080 mini

I'll try the suggestions, thank you for replying!

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

@MrGarrettSmith I've created a new test version of DisplayMagician that may fix the issue that you're experiencing, and I've attached it to this Github issue. Please download the attached zip file, extract the msi installer from the zip file, and then run the installer. It should upgrade your existing Display Profiles.

DisplayMagicianSetup-v2.6.0.446.zip

This new version of DisplayMagician has the ability to 'update' Display Profiles - effectively overwriting the display layout with the one that is currently being used. So if you start If you still start having issues with a Display Profile not working, simply:

  • setup your display layout the way you want it
  • then open DisplayMagician's Display Profiles Window
  • select on the saved Display Profile you wish to update
  • click the Update button
  • say 'Yes' when asked if you really want to overwrite settings

Your DisplayMagician Display Profile will now be recreated using the current display settings, and they will overwrite the old settings. This will hopefully get rid of any display layout issues, and it doesn't require any changes to your Game Shortcuts. Nice!

There is a single known issue at the moment, which is that the NVIDIALibrary SetDisplayConfig function doesn't work for NVIDIA video cards. Luckily this issue shouldn't have much impact at all as the WindowsLibrary functions should do enough configuration of their own to ensure it all works. If you have some special NVIDIA settings that you use then this version of DisplayMagician may not apply them correctly. You will unfortunately just have to test if that is the case for your particular setup.

I am currently troubleshooting the NVIDIALibrary SetDisplayConfig function error but it looks like it could be a bit of a pain to fix, so I didn't want to hold up the test release; I'd rather get the test version into your hands so I can see what other bugs are in there!

If this fixes your issue please reply here, and if you find another bug please log a new Github issue so I can track them separately.

Thanks
Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

@MrGarrettSmith I did find some issues with the earlier v2.6.0.446 version. I've made a lot of revisions to how DisplayMagician works in v2.6.0.485 (attached) that should make it way more reliable. But it is highly likely you will need to 'update' your Display Profiles to make them work properly.

I'd recommend first of all applying a Display Profile, and then press the 'update' button. That will recreate the config for the Display Profile and should make it work properly. You'll need to do that to each of your saved Display Profiles. Then please test out changing between your Display Profiles to see if everything works as expected.

Here is the latest test version of DisplayMagician:
DisplayMagicianSetup-v2.6.0.485.zip

Thanks for all your help testing.

Terry

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

@MrGarrettSmith, I've added in more checks and logic to avoid crashes. Could you please try this latest version?
DisplayMagicianSetup-v2.6.0.508.zip

I'm hoping this will work, but at the very least it should allow DisplayMagician to boot up enough for you to create a Support ZIP File. Let's see whether I've fixed it 🤞.

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

@MrGarrettSmith The latest test version should be working properly, and hopefully fixes your issue. Could you please test it for me so I know that it fixes your issue? If it does then I'll be able to close this issue as the fix will be part of the next full release.

DisplayMagicianSetup-V2.6.0.515-No-NvApi_SetDisplayConfig.zip

As I've not really had any feedback from you recently I'll give it a week and then close this issue if I have no further responses. We can always reopen this issue in the future if need be.

Thanks!

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

@MrGarrettSmith Oops I broke the setup with my previous version. This version has a corrected setup that should install everything properly.

DisplayMagicianSetup-v2.6.0.522-corrected-setup.zip

Thanks
Terry

from displaymagician.

MrGarrettSmith avatar MrGarrettSmith commented on June 12, 2024

@terrymacdonald Pardon my lack of responses! I will test your software this weekend! I miss it very much.
Would it be alright for me to upgrade to Windows 11?

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

from displaymagician.

Grizzler89 avatar Grizzler89 commented on June 12, 2024

@terrymacdonald I have the same error. Your posted versions didn't work for me. They didn't start. No error messages.

The Errormessage thrown by 2.5.0 seems to be the same as the authors one:
System.ArgumentException: Parameter is not valid. at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format) at DisplayMagicianShared.ProfileIcon.ToTightestBitmap(PixelFormat format) at DisplayMagicianShared.ProfileItem.get_ProfileTightestBitmap() at DisplayMagician.UIForms.DisplayProfileForm.btn_save_as_Click(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ButtonBase.WndProc(Message& m) at System.Windows.Forms.Button.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

My Setup is diffrent form MrGarrettSmith.
I'm using an Lenovo Thinkpad X260 (i5-6300U with IntelGraphics).
One Display is connected via HDMI, one via DP. Four Displays are connected via two DisplayLink USB-Adapters.
So including the Laptops own Display there are seven in total.
OS is Windows 11 Enterprise.

The same Setup with 2xDP and 4x USB-DisplayLink works fine using DisplayMagician on my Desktop PC. (Win11, AMD Ryzen 3900X, Nvidia 980 TI).

from displaymagician.

terrymacdonald avatar terrymacdonald commented on June 12, 2024

from displaymagician.

MrGarrettSmith avatar MrGarrettSmith commented on June 12, 2024

Yep. DisplayMagician is developed on win 11 so works with it fine.

On Fri, 16 Feb 2024, 07:18 Garrett Smith, @.> wrote: @terrymacdonald https://github.com/terrymacdonald Pardon my lack of responses! I will test your software this weekend! I miss it very much. Would it be alright for me to upgrade to Windows 11? — Reply to this email directly, view it on GitHub <#257 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLU5LCKYCZWPJ6VBH54VVLYTZGONAVCNFSM6AAAAAA5J2J3QSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWHA2DIOBUGI . You are receiving this because you were mentioned.Message ID: @.>

Terry,

I just wanted to let you know that I have no issues on Windows 11 for my installation! I am terribly sorry for being so slow getting back to you.

Please know that I absolutely LOVE this software. Switching to Nvidia Surround mode so easily is frickin' SWEET!

Let me know if there is anything else I can do for you.

  • Garrett

from displaymagician.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.