Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16556 Discussions

Using Quartus with 4k diaplays

Altera_Forum
Honored Contributor II
9,895 Views

Hello, 

 

The schematics on 4K displays are corrupted (please, see snapshot in attachment). 

Does exist some workaround ? 

 

Thanks in advance. 

 

Pavel
0 Kudos
16 Replies
Altera_Forum
Honored Contributor II
3,365 Views

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 II
3,365 Views

This seem a dpi problem

0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

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/)
0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

I'm not aware of creating manifests, but have searched a little ... 

Here is short resume of what I understood. 

 

  1. Manifest is a specific object that inform Windows how to handle program when it is started 

  2. Manifests can be incorporated in .exe or in .dll. But also (I presume it's my case) can be written in .xml files 

  3. 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

  4. In order to take into account high dpi issue, the option dpiaware is used in manifest file. 

 

 

So to resolve the problem I must create the file c:\altera\15.1\quartus\bin64\quartus.exe.manifest with the following content: 

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

 

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.
Altera_Forum
Honored Contributor II
3,365 Views

 

--- Quote Start ---  

I'm not aware of creating manifests, but have searched a little ... 

Here is short resume of what I understood. 

 

  1. Manifest is a specific object that inform Windows how to handle program when it is started 

  2. Manifests can be incorporated in .exe or in .dll. But also (I presume it's my case) can be written in .xml files 

  3. 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

  4. In order to take into account high dpi issue, the option dpiaware is used in manifest file. 

 

 

So to resolve the problem I must create the file c:\altera\15.1\quartus\bin64\quartus.exe.manifest with the following content: 

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

 

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.
0 Kudos
Altera_Forum
Honored Contributor II
3,365 Views

I've just tried it. 

Nothing changed ... although I didn't add registry key. 

Can you suggest me the name and value. 

Thanks.
0 Kudos
Altera_Forum
Honored Contributor II
3,366 Views

 

--- Quote Start ---  

I've just tried it. 

Nothing changed ... although I didn't add registry key. 

Can you suggest me the name and value. 

Thanks. 

--- Quote End ---  

 

 

All right. Just got back. Here's what I copied from http://winaero.com/blog/how-to-fix-apps-that-look-small-on-high-dpi-and-high-resolution-displays/

 

 

  1. HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySidehttp://winaero.com/blog/wp-content/uploads/2016/02/dpi3-600x279.png (http://winaero.com/blog/wp-content/uploads/2016/02/dpi3.png

  2. Right-click, select NEW > DWORD (32 bit) Value. Give it a name: PreferExternalManifest, and then press ENTER. 

  3. Right-click PreferExternalManifest, and then click Modify. Enter Value Data 1. Click OK. Exit Registry Editor. 

0 Kudos
Altera_Forum
Honored Contributor II
3,366 Views

 

--- Quote Start ---  

I've just tried it. 

Nothing changed ... although I didn't add registry key. 

Can you suggest me the name and value. 

Thanks. 

--- Quote End ---  

 

 

All right, back home. The following is my reference and has a good instruction set and includes the below for the registry key to use: 

http://winaero.com/blog/how-to-fix-apps-that-look-small-on-high-dpi-and-high-resolution-displays/

 

 

 

  1. Open Registry Editor (Regedit.exe) in Windows 8.1 or Windows 10. Navigate to the following registry subkey: 

    HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > SideBySidehttp://winaero.com/blog/wp-content/uploads/2016/02/dpi3-600x279.png (http://winaero.com/blog/wp-content/uploads/2016/02/dpi3.png

  2. Right-click, select NEW > DWORD (32 bit) Value. Give it a name: PreferExternalManifest, and then press ENTER. 

  3. Right-click PreferExternalManifest, and then click Modify. Enter Value Data 1. Click OK. Exit Registry Editor. 

  4. Now restart Windows and run the app for which you added this manifest. 

0 Kudos
Altera_Forum
Honored Contributor II
3,366 Views

I did everything mentioned above: 

-Created the manifest file and named it correctly 

-Pasted the XML code to the content of the manifest file 

-created the preferexternalmanifest in the regedit and modified to 1 

-restarted my laptop 

Now when i run the program i get an error that says: "The program can't start because MSVCR90.dl is missing from your computer. Try reinstallin the program to fix this problem." Knowing that it was working(but with super small buttons) before doing all the above mentioned steps . 

Any help please ? 

Thank you
0 Kudos
Altera_Forum
Honored Contributor II
3,366 Views

Thanks, 

 

It worked. The diagram looks mach better. The only problem that remains - font size. 

Probably when creating a new project this drawback will disappear ? 

 

https://www.alteraforum.com/forum/attachment.php?attachmentid=13217
0 Kudos
Altera_Forum
Honored Contributor II
3,366 Views

 

--- Quote Start ---  

Thanks, 

 

It worked. The diagram looks mach better. The only problem that remains - font size. 

Probably when creating a new project this drawback will disappear ? 

 

--- Quote End ---  

 

 

Pavel, 

 

Glad it worked for you. I found that I had to add manifests for a few more items since the Quartus experience involves many sub-programs: 

C:\altera_lite\16.0\quartus\bin64\jre64\bin\java.exe (for some java-based renders) 

C:\altera_lite\16.0\quartus\bin64\jre64\bin\javaw.exe (for some java-based renders) 

C:\altera_lite\16.0\quartus\bin64\mega_ramq.exe (for the IP catalog wizard) 

C:\altera_lite\16.0\nios2eds\bin\eclipse-nios2.exe (for Eclipse) 

C:\altera_lite\16.0\quartus\bin64\quartus.exe 

 

 

 

(As a side note though, I recently rebuilt my computer and decided to not use manifests to give me more screen real estate. We'll see if I can tolerate the tiny icons)
0 Kudos
VSilv2
Beginner
3,366 Views

It worked! :)

Thanks for posting!

0 Kudos
CHan0
Beginner
3,366 Views

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....)

Annotation 2019-05-20 021029.png

Reply