Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No USB monitors detected after upgrading to newest version #193

Open
zim2323 opened this issue Feb 9, 2023 · 43 comments
Open

No USB monitors detected after upgrading to newest version #193

zim2323 opened this issue Feb 9, 2023 · 43 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@zim2323
Copy link

zim2323 commented Feb 9, 2023

Describe the bug
DM no longer detects USB displays after upgrading from 2.4.1.14 to 2.5.0.352.

To Reproduce
Steps to reproduce the behaviour:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behaviour
I have 6 monitors. 3 on RTX 4090, and 3 on J5create 4xHDMI USB-C adapter. I should see all 6 monitors in DM. I do see them in Display Settings.

Screenshots
Screenshot attached.

Reporting Logs
If DisplayMagician starts:

  • Open DisplayMagician and perform whatever actions are needed to make the bug occur.
  • Click on the Settings button on the main DisplayMagician window
  • Click on 'Create a Support Zip File' button
  • Save the Support Zip File on your computer.
  • Come back here, and upload the Support Zip File through your web browser and attach it to this issue.

If DisplayMagician does not:

  • Open a terminal window and run C:\Program Files\DisplayMagician\DisplayMagician.exe --trace to create a TRACE-level DisplayMagician.log file.
  • The above command will create a DisplayMagician.log file in C:\Users\<yourusername>\AppData\Local\DisplayMagician\Logs which should contain a LOT of detailed TRACE level log entries.
  • Come back here, and upload the DisplayMagician.log file through your web browser and attach it to this issue.
  • Also attach the following files to this issue:
    • C:\Users\<yourusername>\AppData\Local\DisplayMagician\Profiles\DisplayProfiles_2.1.json
    • C:\Users\<yourusername>\AppData\Local\DisplayMagician\Shortcuts\Shortcuts_2.0.json
    • C:\Users\<yourusername>\AppData\Local\DisplayMagician\Settings_2.0.json

Enviroment (please complete the following information):

  • Windows Version: [e.g. Win10] Windows 10 64bit Enterprise 22H2
  • DisplayMagician Version [e.g. 1.1.0] 2.5.0.352
  • Video Card: [e.g. Asus NVIDIA GTX1070] Nvidia FE 4090
  • Number and make/model of monitors: [e.g. 2xDell UH2718H, 1x LG G27U17D] 3 AOC 32" (Nvidia), 3 AOC 27" (USB)
  • Date of last video driver update: [e.g. 2021-02-15] 2/8/2023
  • Date of last windows update: [e.g. 2021-02-15] 2/4/2023

Additional context
Add any other context about the problem here.
example
DisplayMagician-Support-20230208-2117.zip

@zim2323 zim2323 added the bug Something isn't working label Feb 9, 2023
@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 9, 2023 via email

@zim2323
Copy link
Author

zim2323 commented Feb 9, 2023 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 9, 2023 via email

@terrymacdonald
Copy link
Owner

@zim2323 it looks like your SupportZIP file was created from DisplayMagician v2.4.1.14. I'll need you to install DisplayMagician 2.5.0 and try again using that, as that is the latest codebase that I'm working with. I won't be able to release a hotfix for v2.4.1.14 as I've updated the code now.

Thanks
Terry

@zim2323
Copy link
Author

zim2323 commented Feb 9, 2023 via email

@zim2323
Copy link
Author

zim2323 commented Feb 9, 2023

@terrymacdonald
Copy link
Owner

Hi @zim2323,

Looks like the DM version is still the old 2.4.1.14:

2023-02-01 08:36:06.9448|INFO|DisplayMagician.Program|Program/Main: Starting DisplayMagician v2.4.1.14|

That version had a few little bugs in it, so we really do need you to upgrade. The upgrade process may not be working, so you may need to manually install v2.5.0.352 from here: https://github.com/terrymacdonald/DisplayMagician/releases/tag/v2.5.0

You can uninstall the older version of DisplayMagician first if you really want to be sure, as DisplayMagician keeps the old config files around, and they should be picked up automatically by the reinstalled v2.5.0.352.

Once the upgrade has happened please then firstly change the logging level in Settings to TRACE. Once that is done please try and see if you can create a brand new display profile with the 3 J5create 4xHDMI USB-C adapter connected monitors. If you hit any issues please create a new Support ZIP File and upload here to this issue using your web browser (email attachments don't work).

Thanks
Terry

@zim2323
Copy link
Author

zim2323 commented Mar 9, 2023

Uninstalled, reinstalled, rebooted. Deleted current profile and recreated. Still shows only 3 monitors on GPU.
DisplayMagician-Support-20230309-1848.zip

@zim2323
Copy link
Author

zim2323 commented Mar 20, 2023 via email

@zim2323
Copy link
Author

zim2323 commented Mar 20, 2023 via email

@terrymacdonald
Copy link
Owner

Hi @zim2323,

Um... I'm not sure how to say this, but your install is still showing 2.4.1.14.

2023-02-01 08:36:06.9448|INFO|DisplayMagician.Program|Program/Main: Starting DisplayMagician v2.4.1.14|

Looking at the logged time shown above, I think that I know what's the issue here. That is a really old log date in the file.

I think your new DisplayMagician 2.5.1 must have been installed in a different location to standard "C:\Program Files\DisplayMagician", and the config files are not in the standard "C:\Users<username>\AppData\Local\DisplayMagician". This would mean that your new DisplayMagician is logging to a different file somewhere else, meaning that those files that you send me are the old files from your previous DM install (which logged to the standard location).

So, can you please try and find where your DisplayMagician is installed on your PC, and where your new DisplayMagician is logging to? I will need to see those new files in order to troubleshoot your install.

When you find the location for the DisplayMagician config files, please don't use the Create Support ZIP File button to create the zip package (it will always look in the default config file location). Please manually create a ZIP file of the whole DisplayMagician config structure. It will have a structure that looks similar to this:

image

Zip up the entire directory structure and upload it to this issue with your web browser, and hopefully we'll finally get to the point that I can troubleshoot this :).

NOTE: Make sure your logging level is set to TRACE within DisplayMagician settings window so I get all the logs I need.

Thanks
Terry

@terrymacdonald
Copy link
Owner

Hi @zim2323

Have you had any chance to manually zip up the logs for me so I can do some more troubleshooting?

Thanks
Terry

@zim2323
Copy link
Author

zim2323 commented Apr 11, 2023 via email

@zim2323
Copy link
Author

zim2323 commented Sep 25, 2023

I apologize for taking so long to get back to this. Life tends to get in the way of things when you have a family. I've completely uninstalled, reinstalled, and grabbed both the program created ZIP as well as a manual ZIP of the directory specified.
DisplayMagician-Support-20230925-1947.zip
DisplayMagician.zip

@zim2323
Copy link
Author

zim2323 commented Sep 29, 2023

Update...

  1. I completely removed 2.5.0.352, rebooted and loaded 2.4.1.14 fresh with a final reboot, thinking I'd go back to what works until you have a chance to diagnose the problem. When I did this, DM would crash after clicking out of the "upgrade/info" screen. I tried running as Administrator, anything I could do, but would not stay running. I upgraded to 2.5.0.352, rebooted, and everything is working without the USB displays showing.

  2. I got a chance to save and switch between the 6 monitors in standard(6 separate displays) and surround+3 successfully. So, even though the displays don't show up in the DM GUI, they are in fact included. I "think" I can confirm this is the case because if i just switch from 6 to surround+3 from Nvidia Control Panel, the 3 top (USB) displays are disabled until I manually enable and place them. By saving and swapping profiles in DM the displays return to their exact configuration as when I saved the DM Profile.

So "MAYBE" this is all just a graphical issue?

Thanks!
Chris

@zim2323
Copy link
Author

zim2323 commented Nov 23, 2023 via email

@terrymacdonald
Copy link
Owner

@zim2323 I think this issue was related to a bug I recently found in the screen processing logic. I have completely rewritten the logic in this area, and I will be shortly releasing v2.6.0. This should hopefully fix your issue. I will post a link in this issue for you to download a test version of the software. Once you can confirm this fixes things then I'll be hopefully able to release this to the general public.

Expect something in the next 2 weeks.

Thanks
Terry

@terrymacdonald terrymacdonald added this to the 2.6.0 milestone Jan 12, 2024
@terrymacdonald
Copy link
Owner

@zim2323 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

@zim2323
Copy link
Author

zim2323 commented Jan 25, 2024 via email

@terrymacdonald
Copy link
Owner

@zim2323 Thanks for that confirmation about it needing to replace the config. That's also been logged under #283 so I'll start working on the problem under that. This is sort of error is so useful to know, so thank you for testing this for me. It means I can fix it before doing a main public release!

Glad to hear that you can see all the monitors now. There is still a potential for issues as I've changed the way that DisplayMagician works. It used to decide on a mode (e.g. NVIDIA mode) and then only use that mode. Now it uses all video libraries and tries to configure things in this order: NVIDIA -> AMD -> Windows. In my testing on multiple different machines this worked, but with over 8,000 current installs of DisplayMagician all on different hardware and combinations of hardware I'm sure there will be some issues uncovered.

Thanks
Terry

@zim2323
Copy link
Author

zim2323 commented Jan 25, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Jan 25, 2024 via email

@terrymacdonald
Copy link
Owner

@zim2323 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

@zim2323
Copy link
Author

zim2323 commented Jan 29, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Jan 29, 2024 via email

@zim2323
Copy link
Author

zim2323 commented Jan 29, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Jan 29, 2024 via email

@zim2323
Copy link
Author

zim2323 commented Jan 29, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Jan 29, 2024 via email

@zim2323
Copy link
Author

zim2323 commented Jan 29, 2024 via email

@terrymacdonald
Copy link
Owner

@zim2323, 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 🤞.

@terrymacdonald
Copy link
Owner

@zim2323 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!

@terrymacdonald
Copy link
Owner

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

@zim2323
Copy link
Author

zim2323 commented Feb 12, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 12, 2024 via email

@whittedb
Copy link

@terrymacdonald, I just found your application after deciding to try some NVIDIA surround for gaming with my 6 monitor setup. Of course, the first thing I see is this issue and here I am. It looks like @zim2323 is pretty busy at the moment. I have a bit more time on my hands and would be willing to help test this to get it working.

I'm running 3x27" monitors hanging off an RTX 2070 and 3xUSB monitors. I created and deleted a single profile in an attempt to figure out why I wasn't seeing all 6 in the graphic screen. Should I grab that last install you posted or do you have another one ready that has new changes?

@zim2323
Copy link
Author

zim2323 commented Feb 24, 2024 via email

@whittedb
Copy link

I tried that last install you supplied and it seems to work for me now too. Quick OT question... Is there a way to configure and save different NVIDIA Surround setups? I'd like to have one triple monitor surround and 2 double monitor surround (2 left and 2 right) that I can switch between.

@zim2323
Copy link
Author

zim2323 commented Feb 25, 2024 via email

@whittedb
Copy link

@zim2323, That didn't work for me. It seems to always use the last NVIDIA surround setup I had configured.

@zim2323
Copy link
Author

zim2323 commented Feb 25, 2024 via email

@terrymacdonald
Copy link
Owner

terrymacdonald commented Feb 26, 2024 via email

@whittedb
Copy link

Ok guys, thanks for the input. I'll play around with this again. Maybe I was just tired that night and missed a step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants