Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
5.6.0 Beta
-
None
-
Mac running OS X 10.10.3 with this graphics hardware:
AMD Radeon R9 M295X:
Chipset Model: AMD Radeon R9 M295X
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 4096 MB
Vendor: ATI (0x1002)
Device ID: 0x6938
Revision ID: 0x0000
ROM Revision: 113-C773AA-731
EFI Driver Version: 01.00.731
Displays:
iMac:
Display Type: Retina LCD
Resolution: 5120 x 2880 Retina
Retina: Yes
Pixel Depth: 32-Bit Color (ARGB8888)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes
SyncMaster:
Resolution: 1600 x 1200 @ 60 Hz
Pixel Depth: 32-Bit Color (ARGB8888)
Display Serial Number: H4JXA00170
Mirror: Off
Online: Yes
Rotation: Supported
Mac where it works correctly:
AMD Radeon R9 M395X:
Chipset Model: AMD Radeon R9 M395X
Type: GPU
Bus: PCIe
PCIe Lane Width: x16
VRAM (Total): 4096 MB
Vendor: ATI (0x1002)
Device ID: 0x6920
Revision ID: 0x0000
ROM Revision: 113-C905AA-799
EFI Driver Version: 01.00.799
Displays:
iMac:
Display Type: Retina LCD
Resolution: 5120 x 2880 Retina
Retina: Yes
Pixel Depth: 30-Bit Color (ARGB2101010)
Main Display: Yes
Mirror: Off
Online: Yes
Built-In: Yes
VG2436 SERIES:
Resolution: 1920 x 1080 @ 60 Hz
Pixel Depth: 30-Bit Color (ARGB2101010)
Display Serial Number: S5D120631803
Mirror: Off
Online: Yes
Rotation: Supported
Dell laptop graphics info is in attached PNG screen shot (sorry).Mac running OS X 10.10.3 with this graphics hardware: AMD Radeon R9 M295X: Chipset Model: AMD Radeon R9 M295X Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 4096 MB Vendor: ATI (0x1002) Device ID: 0x6938 Revision ID: 0x0000 ROM Revision: 113-C773AA-731 EFI Driver Version: 01.00.731 Displays: iMac: Display Type: Retina LCD Resolution: 5120 x 2880 Retina Retina: Yes Pixel Depth: 32-Bit Color (ARGB8888) Main Display: Yes Mirror: Off Online: Yes Built-In: Yes SyncMaster: Resolution: 1600 x 1200 @ 60 Hz Pixel Depth: 32-Bit Color (ARGB8888) Display Serial Number: H4JXA00170 Mirror: Off Online: Yes Rotation: Supported Mac where it works correctly: AMD Radeon R9 M395X: Chipset Model: AMD Radeon R9 M395X Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Total): 4096 MB Vendor: ATI (0x1002) Device ID: 0x6920 Revision ID: 0x0000 ROM Revision: 113-C905AA-799 EFI Driver Version: 01.00.799 Displays: iMac: Display Type: Retina LCD Resolution: 5120 x 2880 Retina Retina: Yes Pixel Depth: 30-Bit Color (ARGB2101010) Main Display: Yes Mirror: Off Online: Yes Built-In: Yes VG2436 SERIES: Resolution: 1920 x 1080 @ 60 Hz Pixel Depth: 30-Bit Color (ARGB2101010) Display Serial Number: S5D120631803 Mirror: Off Online: Yes Rotation: Supported Dell laptop graphics info is in attached PNG screen shot (sorry).
Description
On certain high resolution hardware, if you put a QOpenGLWidget into a window, the effect of AA_EnableHighDpiScaling is canceled. You can see this with the hellogl2 Qt example program. On Macintosh, the presence of a QOpenGLWidget causes all content in the window to be un-scaled. On Windows, if you set AA_EnableHighDpiScaling before creating the application, then a window with a QOpenGLWidget will have unscaled content.
I have attached screen shots of the problem on Macintosh Retina screen (iMacInternalMonitor.png), the same application window on my external standard resolution monitor (iMacInternalMonitor.png), a high-res Dell Window laptop with AA_EnableHighDpiScaling set (DellHighResLaptopEnableHighDPIScaling.PNG) and not set (DellHighResLaptopNoEnableHighDPIScaling.PNG).
Note: I just updated the graphics driver on the Dell laptop, and it did not affect the problem.
I note that a newer 5K iMac does not show the problem.