Giter VIP home page Giter VIP logo

Comments (14)

baldurk avatar baldurk commented on August 21, 2024 4

v1.0 is now officially out, replacing the .NET UI program with a Qt-based UI that supports high DPI screens natively. Any further DPI issues with the new UI should be reported separately.

Rest in peace to the oldest bug on the repository!

from renderdoc.

Anteru avatar Anteru commented on August 21, 2024

It's ok with Windows 8.1, just blurry -- and would be great if it did proper HiDPI cause I could capture at 1920x1080 and see the previews at close to 1:1 :) -- should be easy for the Qt based UI, not sure how easy it is for WinForms.

from renderdoc.

baldurk avatar baldurk commented on August 21, 2024

Good to know that it's semi usable, I think at one point the text was getting clipped and things, but I guess 8.1 is just rasterising it at a lower-res then doing a naive upscale. I did some initial research a while ago and I think I need to set up whether it scales based on font-size or by points or something else, then make sure all of the layouts will handle resizing correctly (no use of hardcoded pixel dimensions etc etc). Hopefully not too hard, just need to go around fixing all the bugs :).

The Qt UI will probably only be for linux/OS X. It will work on windows since I'll develop it there, but the windows UI will remain winforms for the foreseeable future.

from renderdoc.

Anteru avatar Anteru commented on August 21, 2024

Yes, Windows 8.1 simply upscales with blur, which is ok'ish. Qt would do it right away for you, as would WPF, but for WinForms I have no idea how to do it properly. IIRC, future .NET versions (4.6?) will contain fixes for .NET controls and HiDPI.

from renderdoc.

baldurk avatar baldurk commented on August 21, 2024

Yeh WPF would handle it much easier, but I tried WPF a while ago earlier in development to see if I should switch and it was... unpleasant to say the least!

I believe it is totally doable even on current .NET versions, it's just not something I've prioritised looking at.

from renderdoc.

sebbbi avatar sebbbi commented on August 21, 2024

Got a new 4K display last week (1.5 scaling factor, matches 2560x1440 in size). RenderDoc looks blurred. Especially the fonts at quite bad. Hopefully this bug increases in priority. 4K console launches soon (PS4 Pro) -> developers are now upgrading to 4K monitors.

from renderdoc.

baldurk avatar baldurk commented on August 21, 2024

Well a couple of things have changed since the last comments - I found that trying to implement proper high DPI support in the existing .NET UI would be kind of a nightmare and isn't a worthwhile time investment, but also I realised that supporting two UIs (.NET and Qt) wasn't going to be feasible and I found ways to get around my concerns with Qt as a replacement, so eventually the Qt UI will be the main UI on all platforms.

With Qt, hopefully DPI handling should either come for free, or it's an upstream bug to be fixed in a version of Qt, but until then this bug honestly won't see any progress. When it was originally opened back in 2014, this was before windows would just render the window at lower resolution and scale up. That would be enough with no fixes even needed really, except for the texture previews which you want to be 1:1.

from renderdoc.

sebbbi avatar sebbbi commented on August 21, 2024

Thanks! I will wait for the Qt UI.

from renderdoc.

hrydgard avatar hrydgard commented on August 21, 2024

Something that could probably be fixed quite easily, though, without changing UI framework, would be the on-screen overlay when running - it's really, really tiny on 4K displays.

from renderdoc.

baldurk avatar baldurk commented on August 21, 2024

The UI framework is actually almost changed now, but some kind of scaling on the on-screen overlay would be nice indeed and will still be needed. I'm not sure how easily the DPI can be queried from inside the API hooks though.

This is kind of difficult for me to test since I don't have any high DPI screens. If anyone wants to take a crack at this, there's a scale factor on each of the APIs in the text rendering - search for TextSize which is currently double the actual texel dimension of the characters, so it can be multiplied up further for higher DPI screens.

from renderdoc.

hrydgard avatar hrydgard commented on August 21, 2024

Hm, yeah, whether to scale depends on if the target application is DPI-aware or not ... if the OS is scaling the target, it would be wrong to enlarge the overlay UI.

Anyway, for some kinds of testing, you can just blow up your Windows desktop scale to say 225% to simulate it - gonna be a bit cramped though :)

from renderdoc.

baldurk avatar baldurk commented on August 21, 2024

Right, you need to know what the DPI awareness of the application is, the DPI of the monitor that the window is being displayed on (which might be different to the primary monitor), all factoring in.

Technically you can change the scaling alone like that, but I really don't want to count on that behaviour being representative :).

from renderdoc.

serhii-rieznik avatar serhii-rieznik commented on August 21, 2024

+1 to this issue. Even on 125% scale (15" full hd laptop screen) it looks blurry.
2017-06-04

from renderdoc.

bioglaze avatar bioglaze commented on August 21, 2024

In addition to being blurry, hovering tooltips are misplaced (tested on a 4k display, Win10, 150% scaling). Tested with RenderDoc v0.34:

hover

from renderdoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.