[Development] Qt 6 not seeing the same DPI as Qt 5

Thiago Macieira thiago.macieira at intel.com
Tue Nov 30 15:28:16 CET 2021


On Tuesday, 30 November 2021 01:36:05 PST Ahmad Samir wrote:
> Do the - and + lines represent the same monitor? one says refresh rate is
> ~60Hz, the other says ~30Hz.

I'm not sure. For some reason, Qt 6 lists the external monitor ("DP-3-2") 
before the primary ("eDP-1") whereas Qt 5 does the opposite. So I rewrote the 
diff to display only the relevant info and I might have screwed up.

Here's the diff without the second monitor connected:

 Screens: 1, High DPI scaling: active
 # 0 "eDP-1" Depth: 24 Primary: yes
-  Manufacturer: Sharp Corporation
+  Manufacturer: 
   Model: 
   Serial number: 
   Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1151+0+0
-  Physical size: 288x180 mm  Refresh: 59.9939 Hz Power state: 0
-  Physical DPI: 169.333,169.333 Logical DPI: 120,120 (native: 240,240) 
Subpixel_None
-  High DPI scaling factor: 2 DevicePixelRatio: 2 Pixel density: 1
-  Primary orientation: 2 Orientation: 2 Native orientation: 0 
OrientationUpdateMask: 0
+  Physical size: 406x254 mm  Refresh: 59.9939 Hz Power state: 0
+  Physical DPI: 120.118,120 Logical DPI: 96,96 (native: 240,240) 
Subpixel_None
+  High DPI scaling factor: 2 DevicePixelRatio: 2
+  Primary orientation: 2 Orientation: 2 Native orientation: 0

This is *with* Xft.dpi set in xrdb. Both files are attached (yes, I built Qt 5 
with GLES instead of GL).

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering
-------------- next part --------------
Qt 6.3.0 (x86_64-little_endian-lp64 shared (dynamic) debug build; by GCC 11.2.1 20210816 [revision 056e324ce46a7924b5cf10f61010cf9dd2ca10e9]) on "xcb" 
OS: openSUSE Tumbleweed [linux version 5.15.2-1-default]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

Environment:
  QEMU_AUDIO_DRV="pa"
  QTEST_COLORED="1"
  QTLIBDIR="/home/tjmaciei/obj/qt/qt6/qtbase/lib"
  QTOBJDIR="/home/tjmaciei/obj/qt/qt6/qtbase"
  QTSRCDIR="/home/tjmaciei/src/qt/qt6/qtbase"
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_FORCE_STDERR_LOGGING="1"
  QT_IM_MODULE="xim"
  QT_IM_SWITCHER="imsw-multi"
  QT_MESSAGE_PATTERN="[%{time boot}] %{if-warning}%{endif}%{if-fatal}%{endif}%{if-critical}%{endif}%{appname}(%{pid} %{threadid})(%{function}):%{if-category} %{category}:%{endif}	%{message}"
  QT_SCREEN_SCALE_FACTORS="2;2"
  QT_SELECT="6"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /home/tjmaciei/obj/qt/qt6/qtbase
  DocumentationPath: /home/tjmaciei/obj/qt/qt6/qtbase/doc
  HeadersPath: /home/tjmaciei/obj/qt/qt6/qtbase/include
  LibrariesPath: /home/tjmaciei/obj/qt/qt6/qtbase/lib
  LibraryExecutablesPath: /home/tjmaciei/obj/qt/qt6/qtbase/libexec
  BinariesPath: /home/tjmaciei/obj/qt/qt6/qtbase/bin
  PluginsPath: /home/tjmaciei/obj/qt/qt6/qtbase/plugins
  QmlImportsPath: /home/tjmaciei/obj/qt/qt6/qtbase/qml
  ArchDataPath: /home/tjmaciei/obj/qt/qt6/qtbase
  DataPath: /home/tjmaciei/obj/qt/qt6/qtbase
  TranslationsPath: /home/tjmaciei/obj/qt/qt6/qtbase/translations
  ExamplesPath: /home/tjmaciei/obj/qt/qt6/qtbase/examples
  TestsPath: /home/tjmaciei/obj/qt/qt6/qtbase/tests
  SettingsPath: /home/tjmaciei/obj/qt/qt6/qtbase/etc/xdg

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */home/tjmaciei/Desktop*
  DocumentsLocation: "Documents" */home/tjmaciei/Documents*
  FontsLocation: "Fonts" */home/tjmaciei/.local/share/fonts* /home/tjmaciei/.fonts /home/tjmaciei/.local/share/flatpak/exports/share/fonts /var/lib/flatpak/exports/share/fonts /usr/share/fonts
  ApplicationsLocation: "Applications" */home/tjmaciei/.local/share/applications* /home/tjmaciei/.local/share/flatpak/exports/share/applications /var/lib/flatpak/exports/share/applications /usr/share/applications
  MusicLocation: "Music" */home/tjmaciei*
  MoviesLocation: "Movies" */home/tjmaciei/Videos*
  PicturesLocation: "Pictures" */home/tjmaciei/Pictures*
  TempLocation: "Temporary Directory" */tmp*
  HomeLocation: "Home" */home/tjmaciei*
  AppLocalDataLocation: "Application Data" */home/tjmaciei/.local/share/QtProject/qtdiag* /home/tjmaciei/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  CacheLocation: "Cache" */home/tjmaciei/.cache/QtProject/qtdiag*
  GenericDataLocation: "Shared Data" */home/tjmaciei/.local/share* /home/tjmaciei/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/share
  RuntimeLocation: "Runtime" */run/user/1000*
  ConfigLocation: "Configuration" */home/tjmaciei/.config* /home/tjmaciei/.config/kdedefaults /etc/xdg /usr/etc/xdg
  DownloadLocation: "Download" */home/tjmaciei*
  GenericCacheLocation: "Shared Cache" */home/tjmaciei/.cache*
  GenericConfigLocation: "Shared Configuration" */home/tjmaciei/.config* /home/tjmaciei/.config/kdedefaults /etc/xdg /usr/etc/xdg
  AppDataLocation: "Application Configuration" */home/tjmaciei/.local/share/QtProject/qtdiag* /home/tjmaciei/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  AppConfigLocation: "Application Configuration" */home/tjmaciei/.config/QtProject/qtdiag* /home/tjmaciei/.config/kdedefaults/QtProject/qtdiag /etc/xdg/QtProject/qtdiag /usr/etc/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
  en_GB unix linux opensuse-tumbleweed

Network:
  Using "OpenSSL 1.1.1l  24 Aug 2021", version: 0x101010cf

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 1

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : gtk3,snap,flatpak,xdgdesktopportal
  Styles requested    : Breeze,breeze,Oxygen,Fusion,windows
         available    : Windows,Fusion
  Icon theme          : breeze, breeze from /usr/share/icons
  System font         : "Noto Sans" 9

Fonts:
  General font : "Noto Sans" 9
  Fixed font   : "Hack" 9
  Title font   : "Arial" 12
  Smallest font: "Arial" 12

Palette:
  QPalette::WindowText: #ff232627
  QPalette::Button: #ffeff0f1
  QPalette::Light: #ffffffff
  QPalette::Midlight: #ffffffff
  QPalette::Dark: #ff777878
  QPalette::Mid: #ff9fa0a1
  QPalette::Text: #ff232627
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff232627
  QPalette::Base: #fffcfcfc
  QPalette::Window: #ffeff0f1
  QPalette::Shadow: #ff000000
  QPalette::Highlight: #ff3daee9
  QPalette::HighlightedText: #fffcfcfc
  QPalette::Link: #ff2980b9
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffeff0f1
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff232627
  QPalette::ToolTipText: #fffcfcfc
  QPalette::PlaceholderText: #ff000000

Screens: 1, High DPI scaling: active
# 0 "eDP-1" Depth: 24 Primary: yes
  Manufacturer: 
  Model: 
  Serial number: 
  Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1151+0+0
  Physical size: 406x254 mm  Refresh: 59.9939 Hz Power state: 0
  Physical DPI: 120.118,120 Logical DPI: 96,96 (native: 240,240) Subpixel_None
  High DPI scaling factor: 2 DevicePixelRatio: 2
  Primary orientation: 2 Orientation: 2 Native orientation: 0

Input devices: 17
  QInputDevice::DeviceType::Mouse "Virtual core pointer", seat: "30002" capabilities: Position Scroll Hover
  QInputDevice::DeviceType::Keyboard "Virtual core keyboard", seat: "30002" capabilities:
  QInputDevice::DeviceType::Mouse "Virtual core XTEST pointer", seat: "30002" capabilities: Position Scroll Hover
  QInputDevice::DeviceType::Keyboard "Virtual core XTEST keyboard", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Video Bus", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Power Button", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Integrated_Webcam_HD: Integrate", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Integrated_Webcam_HD: Integrate", seat: "30002" capabilities:
  QInputDevice::DeviceType::Stylus "Wacom HID 48EE Pen stylus", seat: "30002" capabilities: Position Pressure MouseEmulation Hover XTilt YTilt
  QInputDevice::DeviceType::TouchScreen "Wacom HID 48EE Finger touch", seat: "30002" capabilities: Position Pressure Scroll
  QInputDevice::DeviceType::Mouse "DLL09FF:01 06CB:CE39 Mouse", seat: "30002" capabilities: Position Scroll Hover
  QInputDevice::DeviceType::Mouse "DLL09FF:01 06CB:CE39 Touchpad", seat: "30002" capabilities: Position Scroll Hover
  QInputDevice::DeviceType::Keyboard "Intel HID events", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Intel HID 5 button array", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "Dell WMI hotkeys", seat: "30002" capabilities:
  QInputDevice::DeviceType::Keyboard "AT Translated Set 2 keyboard", seat: "30002" capabilities:
  QInputDevice::DeviceType::Stylus "Wacom HID 48EE Pen eraser", seat: "30002" capabilities: Position Pressure MouseEmulation Hover XTilt YTilt


LibGL Vendor: Intel
Renderer: Mesa Intel(R) Xe Graphics (TGL GT2)
Version: 4.6 (Compatibility Profile) Mesa 21.3.0
Shading language: 4.60
Format: Version: 4.6 Profile: 2 Swap behavior: 0 Buffer size (RGB): 8,8,8
Profile: None (QOpenGLFunctions_4_6)

Vulkan instance available
Supported instance extensions:
  VK_KHR_device_group_creation, version 1
  VK_KHR_display, version 23
  VK_KHR_external_fence_capabilities, version 1
  VK_KHR_external_memory_capabilities, version 1
  VK_KHR_external_semaphore_capabilities, version 1
  VK_KHR_get_display_properties2, version 1
  VK_KHR_get_physical_device_properties2, version 2
  VK_KHR_get_surface_capabilities2, version 1
  VK_KHR_surface, version 25
  VK_KHR_surface_protected_capabilities, version 1
  VK_KHR_wayland_surface, version 6
  VK_KHR_xcb_surface, version 6
  VK_KHR_xlib_surface, version 6
  VK_EXT_acquire_drm_display, version 1
  VK_EXT_acquire_xlib_display, version 1
  VK_EXT_debug_report, version 10
  VK_EXT_direct_mode_display, version 1
  VK_EXT_display_surface_counter, version 1
  VK_EXT_debug_utils, version 2
Supported layers:
Available physical devices:
  API version 1.2.195, vendor 0x10005, device 0x0, llvmpipe (LLVM 13.0.0, 256 bits), type 4, driver version 0.0.1  API version 1.2.195, vendor 0x8086, device 0x9A49, Intel(R) Xe Graphics (TGL GT2), type 1, driver version 21.3.0

Qt Rendering Hardware Interface supported backends:
OpenGL (with default QSurfaceFormat):
  Driver Info: Device: Intel Mesa Intel(R) Xe Graphics (TGL GT2) 4.6 (Compatibility Profile) Mesa 21.3.0 Device ID: 0x0 Vendor ID: 0x0 Device type: Unknown
  Min Texture Size: 1
  Max Texture Size: 4000
  Max Color Attachments: 8
  Frames in Flight: 1
  Async Readback Limit: 1
  MaxThreadGroupsPerDimension: FFFF
  MaxThreadsPerThreadGroup: 800
  MaxThreadGroupX: 800
  MaxThreadGroupY: 800
  MaxThreadGroupZ: 800
  Uniform Buffer Alignment: 1
  Supported MSAA sample counts: 1,2,4,8,16
  Features:
    v MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    - Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    - RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    - BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
    v TexelFetch
    v RenderToNonBaseMipLevel
    v IntAttributes
    v ScreenSpaceDerivatives
    - ReadBackAnyTextureFormat
  Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8
Vulkan:
  Driver Info: Device: llvmpipe (LLVM 13.0.0, 256 bits) Device ID: 0x0 Vendor ID: 0x10005 Device type: Cpu
  Min Texture Size: 1
  Max Texture Size: 4000
  Max Color Attachments: 8
  Frames in Flight: 2
  Async Readback Limit: 2
  MaxThreadGroupsPerDimension: FFFF
  MaxThreadsPerThreadGroup: 400
  MaxThreadGroupX: 400
  MaxThreadGroupY: 400
  MaxThreadGroupZ: 400
  Uniform Buffer Alignment: 10
  Supported MSAA sample counts: 1,4
  Features:
    v MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    v Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    v RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    v BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
    v TexelFetch
    v RenderToNonBaseMipLevel
    v IntAttributes
    v ScreenSpaceDerivatives
    v ReadBackAnyTextureFormat
  Texture formats: RGBA8 BGRA8 R8 R16 RG8 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7

-------------- next part --------------
Qt 5.15.3 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 10.3.0) on "xcb" 
OS: openSUSE Tumbleweed [linux version 5.15.2-1-default]

Architecture: x86_64; features: SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX AVX2

Environment:
  QEMU_AUDIO_DRV="pa"
  QTEST_COLORED="1"
  QTLIBDIR="/home/tjmaciei/obj/qt/qt6/qtbase/lib"
  QTOBJDIR="/home/tjmaciei/obj/qt/qt6/qtbase"
  QTSRCDIR="/home/tjmaciei/src/qt/qt6/qtbase"
  QT_AUTO_SCREEN_SCALE_FACTOR="0"
  QT_FORCE_STDERR_LOGGING="1"
  QT_IM_MODULE="xim"
  QT_IM_SWITCHER="imsw-multi"
  QT_MESSAGE_PATTERN="[%{time boot}] %{if-warning}%{endif}%{if-fatal}%{endif}%{if-critical}%{endif}%{appname}(%{pid} %{threadid})(%{function}):%{if-category} %{category}:%{endif}	%{message}"
  QT_SCREEN_SCALE_FACTORS="2;2"
  QT_SELECT="6"

Features: QT_NO_EXCEPTIONS

Library info:
  PrefixPath: /home/tjmaciei/obj/qt/installed
  DocumentationPath: /home/tjmaciei/obj/qt/installed/share/qt5/doc
  HeadersPath: /home/tjmaciei/obj/qt/installed/include
  LibrariesPath: /home/tjmaciei/obj/qt/installed/lib64
  LibraryExecutablesPath: /home/tjmaciei/obj/qt/installed/lib64/qt5/libexec
  BinariesPath: /home/tjmaciei/obj/qt/installed/bin
  PluginsPath: /home/tjmaciei/obj/qt/installed/lib64/qt5/plugins
  ImportsPath: /home/tjmaciei/obj/qt/installed/lib64/qt5/imports
  Qml2ImportsPath: /home/tjmaciei/obj/qt/installed/lib64/qt5/qml
  ArchDataPath: /home/tjmaciei/obj/qt/installed/lib64/qt5
  DataPath: /home/tjmaciei/obj/qt/installed/share/qt5
  TranslationsPath: /home/tjmaciei/obj/qt/installed/share/qt5/translations
  ExamplesPath: /home/tjmaciei/obj/qt/installed/share/qt5/examples
  TestsPath: /home/tjmaciei/obj/qt/installed/tests
  SettingsPath: /home/tjmaciei/obj/qt/installed/etc/xdg

Standard paths [*...* denote writable entry]:
  DesktopLocation: "Desktop" */home/tjmaciei/Desktop*
  DocumentsLocation: "Documents" */home/tjmaciei/Documents*
  FontsLocation: "Fonts" */home/tjmaciei/.local/share/fonts* /home/tjmaciei/.fonts /home/tjmaciei/.local/share/flatpak/exports/share/fonts /var/lib/flatpak/exports/share/fonts /usr/share/fonts
  ApplicationsLocation: "Applications" */home/tjmaciei/.local/share/applications* /home/tjmaciei/.local/share/flatpak/exports/share/applications /var/lib/flatpak/exports/share/applications /usr/share/applications
  MusicLocation: "Music" */home/tjmaciei*
  MoviesLocation: "Movies" */home/tjmaciei/Videos*
  PicturesLocation: "Pictures" */home/tjmaciei/Pictures*
  TempLocation: "Temporary Directory" */tmp*
  HomeLocation: "Home" */home/tjmaciei*
  AppLocalDataLocation: "Application Data" */home/tjmaciei/.local/share/QtProject/qtdiag* /home/tjmaciei/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  CacheLocation: "Cache" */home/tjmaciei/.cache/QtProject/qtdiag*
  GenericDataLocation: "Shared Data" */home/tjmaciei/.local/share* /home/tjmaciei/.local/share/flatpak/exports/share /var/lib/flatpak/exports/share /usr/share
  RuntimeLocation: "Runtime" */run/user/1000*
  ConfigLocation: "Configuration" */home/tjmaciei/.config* /home/tjmaciei/.config/kdedefaults /etc/xdg /usr/etc/xdg
  DownloadLocation: "Download" */home/tjmaciei*
  GenericCacheLocation: "Shared Cache" */home/tjmaciei/.cache*
  GenericConfigLocation: "Shared Configuration" */home/tjmaciei/.config* /home/tjmaciei/.config/kdedefaults /etc/xdg /usr/etc/xdg
  AppDataLocation: "Application Data" */home/tjmaciei/.local/share/QtProject/qtdiag* /home/tjmaciei/.local/share/flatpak/exports/share/QtProject/qtdiag /var/lib/flatpak/exports/share/QtProject/qtdiag /usr/share/QtProject/qtdiag
  AppConfigLocation: "Application Configuration" */home/tjmaciei/.config/QtProject/qtdiag* /home/tjmaciei/.config/kdedefaults/QtProject/qtdiag /etc/xdg/QtProject/qtdiag /usr/etc/xdg/QtProject/qtdiag

File selectors (increasing order of precedence):
  en_GB unix linux opensuse-tumbleweed

Network:
  Using "OpenSSL 1.1.1l  24 Aug 2021", version: 0x101010cf

Platform capabilities: ThreadedPixmaps OpenGL ThreadedOpenGL WindowMasks MultipleWindows ForeignWindows NonFullScreenWindows NativeWidgets WindowManagement SyncState RasterGLSurface SwitchableWidgetComposition

Style hints:
  mouseDoubleClickInterval: 400
  mousePressAndHoldInterval: 800
  startDragDistance: 10
  startDragTime: 500
  startDragVelocity: 0
  keyboardInputInterval: 400
  keyboardAutoRepeatRate: 30
  cursorFlashTime: 1000
  showIsFullScreen: 0
  showIsMaximized: 0
  passwordMaskDelay: 0
  passwordMaskCharacter: U+25CF
  fontSmoothingGamma: 1.7
  useRtlExtensions: 0
  setFocusOnTouchRelease: 0
  tabFocusBehavior: Qt::TabFocusAllControls 
  singleClickActivation: 1

Additional style hints (QPlatformIntegration):
  ReplayMousePressOutsidePopup: 0

Theme:
  Platforms requested : kde,generic
            available : gtk3,snap,flatpak,xdgdesktopportal
  Styles requested    : Breeze,breeze,Oxygen,fusion,windows
         available    : Windows,Fusion
  Icon theme          : breeze, breeze from /usr/share/icons
  System font         : "Noto Sans" 9

Fonts:
  General font : "Noto Sans" 9
  Fixed font   : "Hack" 9
  Title font   : "Arial" 12
  Smallest font: "Arial" 12

Palette:
  QPalette::WindowText: #ff232627
  QPalette::Button: #ffeff0f1
  QPalette::Light: #ffffffff
  QPalette::Midlight: #ffffffff
  QPalette::Dark: #ff777878
  QPalette::Mid: #ff9fa0a1
  QPalette::Text: #ff232627
  QPalette::BrightText: #ffffffff
  QPalette::ButtonText: #ff232627
  QPalette::Base: #fffcfcfc
  QPalette::Window: #ffeff0f1
  QPalette::Shadow: #ff000000
  QPalette::Highlight: #ff3daee9
  QPalette::HighlightedText: #fffcfcfc
  QPalette::Link: #ff2980b9
  QPalette::LinkVisited: #ff7f8c8d
  QPalette::AlternateBase: #ffeff0f1
  QPalette::NoRole: #ff000000
  QPalette::ToolTipBase: #ff232627
  QPalette::ToolTipText: #fffcfcfc
  QPalette::PlaceholderText: #80232627

Screens: 1, High DPI scaling: active
# 0 "eDP-1" Depth: 24 Primary: yes
  Manufacturer: Sharp Corporation
  Model: 
  Serial number: 
  Geometry: 1920x1200+0+0 (native: 3840x2400+0+0) Available: 1920x1151+0+0
  Physical size: 288x180 mm  Refresh: 59.9939 Hz Power state: 0
  Physical DPI: 169.333,169.333 Logical DPI: 120,120 (native: 240,240) Subpixel_None
  High DPI scaling factor: 2 DevicePixelRatio: 2 Pixel density: 1
  Primary orientation: 2 Orientation: 2 Native orientation: 0 OrientationUpdateMask: 0

Touch devices: 1
  TouchScreen "Wacom HID 48EE Finger touch", max 10 touch points, capabilities: Position Pressure


LibGLES Vendor: Intel
Renderer: Mesa Intel(R) Xe Graphics (TGL GT2)
Version: OpenGL ES 3.2 Mesa 21.3.0
Shading language: OpenGL ES GLSL ES 3.20
Format: Version: 3.2 Profile: 0 Swap behavior: 0 Buffer size (RGB): 8,8,8
Vulkan instance available
Supported instance extensions:
  VK_KHR_device_group_creation, version 1
  VK_KHR_display, version 23
  VK_KHR_external_fence_capabilities, version 1
  VK_KHR_external_memory_capabilities, version 1
  VK_KHR_external_semaphore_capabilities, version 1
  VK_KHR_get_display_properties2, version 1
  VK_KHR_get_physical_device_properties2, version 2
  VK_KHR_get_surface_capabilities2, version 1
  VK_KHR_surface, version 25
  VK_KHR_surface_protected_capabilities, version 1
  VK_KHR_wayland_surface, version 6
  VK_KHR_xcb_surface, version 6
  VK_KHR_xlib_surface, version 6
  VK_EXT_acquire_drm_display, version 1
  VK_EXT_acquire_xlib_display, version 1
  VK_EXT_debug_report, version 10
  VK_EXT_direct_mode_display, version 1
  VK_EXT_display_surface_counter, version 1
  VK_EXT_debug_utils, version 2
Supported layers:
Available physical devices:
  API version 1.2.195, vendor 0x10005, device 0x0, llvmpipe (LLVM 13.0.0, 256 bits), type 4, driver version 0.0.1  API version 1.2.195, vendor 0x8086, device 0x9A49, Intel(R) Xe Graphics (TGL GT2), type 1, driver version 21.3.0

Qt Rendering Hardware Interface supported backends:
OpenGL (with default QSurfaceFormat):
  Min Texture Size: 1
  Max Texture Size: 16384
  Max Color Attachments: 8
  Frames in Flight: 1
  Uniform Buffer Alignment: 1
  Supported MSAA sample counts: 1,2,4,8,16
  Features:
    - MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    - Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    - RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    - BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
  Texture formats: RGBA8 BGRA8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 ETC2_RGB8 ETC2_RGB8A1 ETC2_RGBA8 ASTC_4x4 ASTC_5x4 ASTC_5x5 ASTC_6x5 ASTC_6x6 ASTC_8x5 ASTC_8x6 ASTC_8x8 ASTC_10x5 ASTC_10x6 ASTC_10x8 ASTC_10x10 ASTC_12x10 ASTC_12x12
Vulkan:
  Min Texture Size: 1
  Max Texture Size: 16384
  Max Color Attachments: 8
  Frames in Flight: 2
  Uniform Buffer Alignment: 16
  Supported MSAA sample counts: 1,4
  Features:
    v MultisampleTexture
    v MultisampleRenderBuffer
    - DebugMarkers
    v Timestamps
    v Instancing
    - CustomInstanceStepRate
    v PrimitiveRestart
    v NonDynamicUniformBuffers
    v NonFourAlignedEffectiveIndexBufferOffset
    v NPOTTextureRepeat
    v RedOrAlpha8IsRed
    v ElementIndexUint
    v Compute
    v WideLines
    v VertexShaderPointSize
    v BaseVertex
    v BaseInstance
    v TriangleFanTopology
    v ReadBackNonUniformBuffer
    v ReadBackNonBaseMipLevel
  Texture formats: RGBA8 BGRA8 R8 R16 RED_OR_ALPHA8 RGBA16F RGBA32F R16F R32F D16 D32F BC1 BC2 BC3 BC4 BC5 BC6H BC7



More information about the Development mailing list