Bug 1530 - NEWT MonitorDevice/Mode: Unify default (fallback) handling across driver
Summary: NEWT MonitorDevice/Mode: Unify default (fallback) handling across driver
Status: RESOLVED FIXED
Alias: None
Product: Newt
Classification: JogAmp
Component: core (show other bugs)
Version: 2.6.0
Hardware: All all
: P4 normal
Assignee: Sven Gothel
URL:
Depends on:
Blocks:
 
Reported: 2025-08-27 10:59 CEST by Sven Gothel
Modified: 2025-08-27 11:32 CEST (History)
0 users

See Also:
Type: FEATURE
SCM Refs:
9635c194e421752a0d8c163f0cc9335421f8dd56 a4b6868120a9fa6ab4dfda78a3409e0a74aab651
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2025-08-27 10:59:23 CEST
Default monitor properties: 1920x1080 32bpp @ 60Hz, size 421x237 mm, dpi 93.60 x 93.62
- Pixel size of via property `newt.monitor.pxwidth` and `newt.monitor.pxheight`
- Refresh rate via property `newt.monitor.refresh`
- Bits per pixel via property `newt.monitor.bpp`
- Display size in millimeter via property `newt.monitor.mmwidth`
    
The defaults are being used either if value could not be retrieved by the driver
or if they are overridden via properties.
    
This change concludes commit d5b29814f2a48a9d6ac2c0e355adf81dec71cb89
Comment 1 Sven Gothel 2025-08-27 10:59:54 CEST
commit 9635c194e421752a0d8c163f0cc9335421f8dd56 implements as described