Author Topic: Hardware Enumerator [pre-release]  (Read 9947 times)

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #75 on: July 01, 2018, 08:09:59 PM »
[UPDATED to Ver 0.8 pre-release]

Added : Detects for DirectX, dotNET4, M/B & BIOS, default S/Card

@AW27: Memory bug -> crazy pointers (my fault entirely)
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

AW

  • Member
  • *****
  • Posts: 1564
  • Let's Make ASM Great Again!
Re: Hardware Enumerator [pre-release]
« Reply #76 on: July 01, 2018, 08:43:16 PM »
Almost all bugs fixed.
However:
1) It does not detect more than 1 monitor. I have 2,  some people more. (* see below)
2) Model is wrong, what it is showing is Extended Model.
3) I have no explanation for the font style changing to bold or for font color change. I have not checked in the help file.  :biggrin:
4) Static boxes are small to contain the information, I believe you should use read-only Edit boxes allowing the user to read till the end, or show it in a tool tip when it does not fit in the static box.
5) It should save all the information to a file.

* This is the monitor information provided by my software AWRCP about my 2 28" monitors:

*DISPLAY\BNQ78DD\5&818829c&0&UID4353_0*
1) Monitor ID:
Commercial Name: BenQ GC2870
Manufacturer Name Code: BNQ
Product Code ID: 78DD
Serial Number ID: L6H05058019
Week of Manufacture: 25
Year of Manufacture: 2017
2) Basic Display Parameters:
Display Transfer Characteristic: 120
Max Horizontal Image Size (cm): 62
Max Vertical Image Size (cm): 34
Video Input Type: Digital
Supported Display Features:
- Active Off Supported: True
- Display Type: RGB color display
- GTF Support: False
- Has Preferred Timing Mode: True
- sRGB Supported: True
- Standby Supported (VESA DPMS): False
- Suspend Supported (VESA DPMS): False
3) Video Connector Type:
Technology: HDMI
4) Analog Video Input Parameters:
5) Digital Video Input Parameters:
Is DFP 1.x Compatible: False
6) Color Characteristics:
Blue: X=156, Y=55
Default White: X=321, Y=337
Green: X=268, Y=704
Red: X=702, Y=317

*DISPLAY\BNQ78DD\5&818829c&0&UID4354_0*
1) Monitor ID:
Commercial Name: BenQ GC2870
Manufacturer Name Code: BNQ
Product Code ID: 78DD
Serial Number ID: 86H11124019
Week of Manufacture: 23
Year of Manufacture: 2017
2) Basic Display Parameters:
Display Transfer Characteristic: 120
Max Horizontal Image Size (cm): 62
Max Vertical Image Size (cm): 34
Video Input Type: Digital
Supported Display Features:
- Active Off Supported: True
- Display Type: RGB color display
- GTF Support: False
- Has Preferred Timing Mode: True
- sRGB Supported: True
- Standby Supported (VESA DPMS): False
- Suspend Supported (VESA DPMS): False
3) Video Connector Type:
Technology: HDMI
4) Analog Video Input Parameters:
5) Digital Video Input Parameters:
Is DFP 1.x Compatible: False
6) Color Characteristics:
Blue: X=156, Y=55
Default White: X=321, Y=337
Green: X=268, Y=704
Red: X=702, Y=317

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #77 on: July 01, 2018, 09:02:29 PM »
Quote
Almost all bugs fixed.
However:
1) It does not detect more than 1 monitor. I have 2,  some people more. (* see below)
2) Model is wrong, what it is showing is Extended Model.
3) I have no explanation for the font style changing to bold or for font color change. I have not checked in the help file.

@AW:
0) "Almost all bugs fixed " -  :bgrin: - I take it the data corruption is now solved - again thanks for your input
1) I'am not quite sure I understand your meaning - the detections are for the default display adapter attached to the desktop.
    (sample code on page 4 of this thread)
2) But I do see your point, I'll add this in the next version update
3) Can you clarify ? - or PM/email me a screenshot please

Quote
4) Static boxes are small to contain the information, I believe you should use read-only Edit boxes allowing the user to read till the end..
5) It should save all the information to a file

Very GOOD ideas - I should really brush-up on my interface design.
I'll definitely add & modify for these in the next version update.  :t
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

Siekmanski

  • Member
  • *****
  • Posts: 1684
Re: Hardware Enumerator [pre-release]
« Reply #78 on: July 01, 2018, 09:15:23 PM »
Hi Raistlin,

My computer has 2 sound cards on board and 1 virtual sound card.
In total 11 Stereo output channels.

As default sound card it shows the 7th stereo output channel of my default soundcard. ( should be the first )
hint: the first guid returned is the default and is equal to 1 of the following enumerated guids.

The rest seems correct.  8)
Creative coders use backward thinking techniques as a strategy.

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #79 on: July 01, 2018, 09:24:29 PM »
Thanks Siekmanski - it was'nt clear on MSDN (see below). Your explanation makes more sense  :biggrin:

RE:
Code: [Select]
The primary device is enumerated twice, first with NULL in lpGuid and then with its GUID in that parameter.So I mistakenly thought the GUID on first return was NULL and then the first actual GUID was the default.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #80 on: July 01, 2018, 10:30:48 PM »
Lemme switch over to Windows 10 - I'm on Windows 7 right now without the proper drivers installed.... (can't get new drivers for an older OS for this 'puter)
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #81 on: July 01, 2018, 10:35:35 PM »
Why zedd151, what's it showing?
You've got my email\PM.  :icon_eek:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #82 on: July 01, 2018, 10:44:47 PM »
Why zedd151, what's it showing?
You've got my email\PM.  :icon_eek:

Nothing bad, just it's missing the Display info.. I'm still on 7 now if you want to see it...
 
This is from Windows 7 Ultimate:
« Last Edit: July 19, 2018, 04:09:01 PM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #83 on: July 01, 2018, 10:45:53 PM »
Wow, you had me worried. No problems then  :icon_mrgreen:
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #84 on: July 01, 2018, 10:51:00 PM »
Oh no, it's all good.  :t
 
I put the screen capture in my previous post...
As soon as I'm finished defragging my storage drive, I'll do another from Windows 10 Home Edition....
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #85 on: July 01, 2018, 11:31:28 PM »
Here is the screen capture from WIndows 10 Home edition...
« Last Edit: July 19, 2018, 04:09:24 PM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #86 on: July 01, 2018, 11:34:29 PM »
All good, thanks zedd151.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #87 on: July 01, 2018, 11:35:55 PM »
All good, thanks zedd151.

happy to help out   8)
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

zedd151

  • Member
  • ****
  • Posts: 850
Re: Hardware Enumerator [pre-release]
« Reply #88 on: July 19, 2018, 06:00:06 AM »
From Windows xp sp3 Professional in Virtual Box --- 32 bits


Surprisingly a lot of the info still holds true from Virtual Box, but not all. Being in a virtual environment does strip away some functionality.


This is a test, only a test.   :P


« Last Edit: July 20, 2018, 03:37:57 AM by zedd151 »
I'm not always the sharpest knife in the drawer, but I have my moments.  :P

Raistlin

  • Member
  • ***
  • Posts: 384
Re: Hardware Enumerator [pre-release]
« Reply #89 on: July 19, 2018, 03:18:08 PM »
@Zedd: Yes a VM will do that - I tested the profiler under under HyperV with
             Linux OpenSuse Leap & WINE = It works !  :bgrin: Even shows WINE
             .NET support, however still need to get DirectX to work for Linux.

             As to the screenshot you posted:
             1) SVM switch is toggled (VM mode - so no problems there)
             2) Interestingly FMA3 switch is now off (probably the VM hypervisor ? - I'll investigate)
             3) HTT switch is off // (VM mode - you assigned 1 core to the VM & cache also reflects such - so all good)
             4) RAM size is understandable - you assigned 1 GB of the 4GB actual - display card is probably utilizing partial RAM
             5) Display card is not showing - what Display adapter is showing inside the XP's device manager ? - I'am interested to know please
             6) x64 mode now disabled in CPUID - did you specifically select x86 compatable VM ? - I'am interested to know please
             7) Registry error showing on internal error flags - probably due to .NET detection - so all fine there as well.
                                                             
             But yes, the VM environment loads it's own hardware kernel
             emulation that strips the standard functionalities. More updates
             coming soon.
Are you pondering what I'm pondering? It's time to take over the world ! - let's use ASSEMBLY...