Forum Discussion
16 Replies
- Altera_Forum
Honored Contributor
Hi, I was able to fix my scaling for Quartus II as well as the Nios II Eclipse SBT. I have a 4K Surface Pro 4 with two 1K monitors attached.
The problem is that the application telling windows it will manage it's own scaling but fails to do so in mixed 4K/1K environments. What you can create your own manifests and tell windows to accept them: http://winaero.com/blog/how-to-fix-apps-that-look-small-on-high-dpi-and-high-resolution-displays/ The following are the manifests I copied and pasted to in order to help with my workflow (Quartus, Eclipse, Megawizard for custom IP, java): C:\altera_lite\16.0\quartus\bin64\jre64\bin\java.exe.manifest C:\altera_lite\16.0\quartus\bin64\jre64\bin\javaw.exe.manifest C:\altera_lite\16.0\quartus\bin64\qmega_ramq.exe.manifest C:\altera_lite\16.0\nios2eds\bin\eclipse-nios2.exe.manifest C:\altera_lite\16.0\quartus\bin64\quartus.exe.manifest ***Be sure to read through the link above. You must set a windows registry key as specified AND copy the manifest XML file in the same directory. Please rep if you find helpful =) - Altera_Forum
Honored Contributor
I'm not aware of creating manifests, but have searched a little ...
Here is short resume of what I understood.- Manifest is a specific object that inform Windows how to handle program when it is started
- Manifests can be incorporated in .exe or in .dll. But also (I presume it's my case) can be written in .xml files
- When last option is selected, a .xml manifest file is named like this: application_name.exe.manifest and must be located in the same directory as application_name.exe.
- In order to take into account high dpi issue, the option dpiaware is used in manifest file.
Here is the link: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx And that's all, after this manipulation the problem disappears. Correct ? Thanks.<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <dpiAware>true</dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly> - CHan0
New Contributor
I followed every step but still can't make the block diagram look normal (or readable). Please see the attached pic.
Can any one help me to solve this issue?
(Hello Intel, 4k monitor is not a new technology, not like 10nm/7nm chip, so please try to update and solve this mess....)
- Altera_Forum
Honored Contributor
This seem a dpi problem
- Altera_Forum
Honored Contributor
Thanks, but how to resolve it ?
I've tried to reduce font size, also change screen resolution to SVGA (instead of 3840x2160) ... but without success. The appearance of blocks on block diagram remains the same. - Altera_Forum
Honored Contributor
--- Quote Start --- Thanks, but how to resolve it ? I've tried to reduce font size, also change screen resolution to SVGA (instead of 3840x2160) ... but without success. The appearance of blocks on block diagram remains the same. --- Quote End --- See my post above. You can fix the high DPI scaling probl by creating an external manifest for the executable. - Altera_Forum
Honored Contributor
Ok,
Now it's a little bit better: I checked "Disable display scaling on high DPI settings" (snapshot below). But appearance is still mediocre: different inscriptions are superposed (snapshot below). When I try to edit symbol it seems to be unrealizable: either objects are can't be dragged, either theirs movements are unpredictable. https://s17.postimg.org/9pfai4qcr/quartus_schematic_4k_display_lunch_properties.jpg (https://postimg.org/image/9pfai4qcr/) https://s18.postimg.org/jcaazmvtx/quartus_schematic_4k_display_1.jpg (https://postimg.org/image/jcaazmvtx/) - Altera_Forum
Honored Contributor
--- Quote Start --- Ok, Now it's a little bit better: I checked "Disable display scaling on high DPI settings" (snapshot below). But appearance is still mediocre: different inscriptions are superposed (snapshot below). When I try to edit symbol it seems to be unrealizable: either objects are can't be dragged, either theirs movements are unpredictable. https://s17.postimg.org/9pfai4qcr/quartus_schematic_4k_display_lunch_properties.jpg (https://postimg.org/image/9pfai4qcr/) https://s18.postimg.org/jcaazmvtx/quartus_schematic_4k_display_1.jpg (https://postimg.org/image/jcaazmvtx/) --- Quote End --- I did the same and thought it would work but it didn't. If you create and enable an external manifest, it will render perfectly. This helps tremendously with other programs too (at least for me). Not as difficult as it seems. If you try it, let us know if it works for you as well. - Altera_Forum
Honored Contributor
--- Quote Start --- I'm not aware of creating manifests, but have searched a little ... Here is short resume of what I understood.- Manifest is a specific object that inform Windows how to handle program when it is started
- Manifests can be incorporated in .exe or in .dll. But also (I presume it's my case) can be written in .xml files
- When last option is selected, a .xml manifest file is named like this: application_name.exe.manifest and must be located in the same directory as application_name.exe.
- In order to take into account high dpi issue, the option dpiaware is used in manifest file.
Here is the link: https://msdn.microsoft.com/en-us/library/windows/desktop/dn469266(v=vs.85).aspx And that's all, after this manipulation the problem disappears. Correct ? Thanks. --- Quote End --- Yep! Works like a charm. You simply place the file ~/quartus.exe.manifest in the same folder as the program file. (I'll be home later today and can check the proper file name). That is what would be called the manifest. It's an xml file. One thing you have to do is set the registry key to enable it though. After you enable it, you can make a manifest for any program that has high dpi problems The registry key and contents of the *.manifest file needed are in my link above.<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" > <asmv3:application> <asmv3:windowsSettings xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings"> <dpiAware>true</dpiAware> </asmv3:windowsSettings> </asmv3:application> </assembly> - Altera_Forum
Honored Contributor
I've just tried it.
Nothing changed ... although I didn't add registry key. Can you suggest me the name and value. Thanks.