Author Topic: Windows 10 and high DPI 4K screens  (Read 2418 times)

Offline eganz

  • Member
  • *
  • Posts: 50
    • Eric Ganz Flickr
Windows 10 and high DPI 4K screens
« on: 2016 July 25 05:59:15 »
Juan,

Normally, I run with 350% scaling in Windows 10 with my 24 inch 4K screen which is 185 dpi, but pix insight has trouble with this.
However, if I turn it down to 250% scaling, and reboot, then pix insight behaves much better.

None of the memory errors are seen, and everything works well including zooming etc.
However, often the fonts are very tiny.
If I adjust these in the global settings, then I end up with a UI scaling factor of 1.0, and font dpi setting of 130.
The program operates normally in this state, with the full-screen visible, including the lowest readout bar.

It would be very helpful if you could allow even smaller UI scaling factors down to 0.7 .
This is an easy fix, and you could even allow a wider range between 0.5 to 4 for this parameter.

In this case, I might be able to fit my original and desired 350% Windows 10 scaling with the program.

At some point, it would be nice if you could test the program more on high dpi monitors, and make it more resilient to larger Windows 10 scaling factors.

Thanks,
Eric

Offline Niall Saunders

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1456
  • We have cookies? Where ?
Re: Windows 10 and high DPI 4K screens
« Reply #1 on: 2016 July 25 10:25:44 »
Hi Eric,

what is the actual specification of your PC? What processor do you have, how many 'processor cores' does it have and what is its clock frequency? What OS are you using and how much RAM do you have. How much RAM does your graphics card have? What is the reresh rate for your graphics card?

You will need plenty of ram to handle full 4K resolution of 3840 x 2160 pixels. If each pixel has 3 (R, G and B) values associated with it, and each pixel can have 256 'shades' in each of those three colours. then you have the often-quoted "16 million colours" (256^3, or 16,777,216 colours to be precise). So every single screen update needs 3840 x 2160 x 3 bytes of data to be shifted out from the PC (24,883,200 bytes - or roughly 24Mbytes)

If you have a refresh rate of, say, 100Hz, then that means you are shifting that amount of data 100 times per second - the arithmetic would then suggest that you have to stream data at almost 20GHz - which is pretty impressive!!

However - most systems would be totally incapable of streaming data at that rate. Fortunately, there are algorithms that can 'squeeze' the data down prior to sending it to the monitor, and the monitor recreates the image once received. Of course, you still then need a very impressive processor in the monitor to perform both the decompression and the streaming of the image onto the actual screen itself - technology that is way out of my understanding!!

If you are having better results when 'scaling down' you image data, then this does tend to suggest that you can't process the full-scale data due to system restraints (hence the readon I wa asking about your basic system specifications).

Perhaps other who have gone down the 4K route might share their experiences - and give us an idea of what specifications they had to exceed in order to get a stable system.

I'm still running an 'old-school' PC here - but, it was 'top-of-the-range' at the time (a Quad-Core Intel CPU at 3.4GHz, with 8Gb of DDR2 RAM and an nVidia GeForce graphics card with 1Gb of RAM). I can happily stream full 2K resolution images all day long - as well as support two other monitors at 720p on a second nVidia graphics card. I did find that my biggest bottleneck was hard-drive access - so I now have 6 x 750Gb Crucial SSDs in the machine, thus all but eliniating any latency due to hard-drive read/write times. I also upgraded all three of my external NAS storage to RAID arrays (dual, mirrored) using the original six 2Tb HDDs that came out of my PC during the SSD upgrade. I have no idea what to do with the original six 1Tb drives - I may just throw them into an external JBOD array - but there is only so much storage that a man can ever need (16Tb, spread all over my property, including outside in a shed as well as the observatory - you can never be too paranoid about a drive failure that results in you losing all those critical dark frames!!!)
Cheers,
Niall Saunders
Clinterty Observatories
Aberdeen, UK

Altair Astro GSO 10" f/8 Ritchey Chrétien CF OTA on EQ8 mount with homebrew 3D Balance and Pier
Moonfish ED80 APO & Celestron Omni XLT 120
QHY10 CCD & QHY5L-II Colour
9mm TS-OAG and Meade DSI-IIC

Offline eganz

  • Member
  • *
  • Posts: 50
    • Eric Ganz Flickr
Re: Windows 10 and high DPI 4K screens
« Reply #2 on: 2016 July 25 13:02:18 »
Niall,
I have a relatively new and rather high performance PC with a Skylake quad core i7 processor, and an Nvidia Quadro k620 video card, and 16 GB RAM. This easily outputs the 4K at 60 Hz up to 30 bit color to my NEC EA 244 UHD monitor.

Everything runs flawlessly except for pix insight, which does not handle my resolution properly, primarily apparently due to my love of scaling (which I use just to make the text larger on my small 4K screen).

I recently figured out how to use the internal scaling of the program to fit the program window onto my existing screen properly, but this would require an extension of the UI scaling parameter, which is currently limited to the range 1 to 4. The problem is that when the pix insight window extends beyond my monitor, as it does normally on startup, then I get Windows memory errors. (there is more detail about this problem on my previous post mousing over histogram box problems).
Eric