Author Topic: [SOLVED] - running QB64 on WINDOWS 10 RAMdrive with high DPI display  (Read 2321 times)

0 Members and 1 Guest are viewing this topic.

Offline Richard

  • Seasoned Forum Regular
  • Posts: 364
    • View Profile
In an attempt to reduce wear and tear because of BLOCK ERASE with SSD, I am experimenting with running the whole QB64 folder on a RAMdrive (both persistent and non-persistent).

When doing simple graphics on a high DPI display (in my case 3200x1800 native display) it appears that I have lost the high resolution capability when using the QB64 folder on RAMdrives - when using the QB64 folder on C:\  I get the high resolution.

When running the code below via QB64 on RAMdrive I get standard monitor size text - however when running QB64 on C:\ I correctly get smaller size (about half-size) text.

Code: QB64: [Select]
  1. PRINT "abc"
  2.  
  3. SCREEN _NEWIMAGE(800, 450, 32)
  4. _SCREENMOVE 100, 100
  5. COLOR &HFFFFFFFF
  6. PRINT "def"
  7.  

Also of note is that the TaskBar ICON of QB64 allows Administrator (QB64 on C:\) BUT administrator is not possible with the RAMdrive ICONs.

Would anyone with WINDOWS 10 and using RAMdrives (persitent or non-persistent) WITH high DPI displays be kind enough to run the above program and reply if they get "half-size" print (which is correct) for QB64 folder installed on the RAMdrive?
« Last Edit: February 18, 2021, 09:29:25 am by Richard »

Offline SpriggsySpriggs

  • Forum Resident
  • Posts: 1145
  • Larger than life
    • View Profile
    • GitHub
Re: PROBLEM - running QB64 on WINDOWS 10 RAMdrive with high DPI display
« Reply #1 on: February 18, 2021, 07:09:25 am »
That sounds like a very unique setup
Shuwatch!

Marked as best answer by Richard on February 18, 2021, 12:02:32 pm

Offline Richard

  • Seasoned Forum Regular
  • Posts: 364
    • View Profile
Re: PROBLEM - running QB64 on WINDOWS 10 RAMdrive with high DPI display
« Reply #2 on: February 18, 2021, 08:50:11 am »
I may have solved the problem.

When using QB64 folder on a RAMdrive, change WINDOWS 10 settings>Display>100% (200% is default).

When using QB64 folder on C:\ there is no need to change the settings Display value.

So Windows treats a RAMdrive (applications) differently from a normal drive with regards to high DPI displays.

FellippeHeitor

  • Guest
Re: PROBLEM - running QB64 on WINDOWS 10 RAMdrive with high DPI display
« Reply #3 on: February 18, 2021, 09:09:49 am »
You might be able to set it per program (right click, properties, compatibility?).

Offline Richard

  • Seasoned Forum Regular
  • Posts: 364
    • View Profile
Re: PROBLEM - running QB64 on WINDOWS 10 RAMdrive with high DPI display
« Reply #4 on: February 18, 2021, 09:21:52 am »
@FellippeHeitor

Thanks for quick reply HOWEVER Properties>Compatibility>highDPI  does not work (for me) with either QB64.exe OR myprogram.exe when working from a QB64 folder installed on a RAMdrive (it does work with the QB64 folder on a "normal" drive)