View Single Post
Old 08-23-2023, 04:46 PM   #77
Vanguard3000
Groupie
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 169
Karma: 474196
Join Date: Jan 2011
Location: Canada
Device: Kobo Libra 2
Here's the debug info:

Code:
Debug: Primary Screen:  "LG FHD (1)" "LG Electronics" "16843009"
Debug:     geo        :  QRect(1920,0 1920x1080)
Debug:     avail   geo:  QRect(1920,0 1920x1040)
Debug:     devideRatio:  1
Debug:     logical dpi:  96 96
Debug:     physic  dpi:  81.28 80.6824
Debug: 

All Screens
Debug: Screen:  0 "LG FHD (1)" "LG Electronics" "16843009"
Debug:     geo        :  QRect(1920,0 1920x1080)
Debug:     avail   geo:  QRect(1920,0 1920x1040)
Debug:     devideRatio:  1
Debug:     logical dpi:  96 96
Debug:     physic  dpi:  81.28 80.6824
So it looks like it knows there IS a primary monitor, but because all the other info is identical it doesn't know WHICH one that is. I've readded the "FrienldyName" keys and it's not recording that in your debug log.

[Edit] I'm wondering where that "LG FHD" name is coming from (not the registry, apparently) since that may be the "name" it's looking for.

[Edit 2] Okay, I've found it in a different spot in the registry. I'm going to do something stupid...

[Edit 3] I tried renaming them and restarted but the name reverted. Worth a try I guess.

Quote:
Originally Posted by KevinH View Post
@Vanguard3000,
I have been reading the code in Qt6.5.2 in qwindowsscreen.cpp and it appears the serialnumber for each monitor is extracted from an edidRegistryKey in the Windows registry.
The monitors have a registry EDID key in a "device parameters" subfolder within the monitor's folder (i.e.
"HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\DISP LAY\GSM5BCA\5&96b30e3&0&UID4352\Device Parameters"
). Both EDID entries are identical as well.

Last edited by Vanguard3000; 08-23-2023 at 04:59 PM.
Vanguard3000 is offline   Reply With Quote