Bug #86062 Incorrect value is reported for "Installed video RAM"
Submitted: 24 Apr 2017 21:49 Modified: 25 Apr 2017 12:31
Reporter: J Scavok Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Workbench Severity:S3 (Non-critical)
Version:6.3.9 CE build 10690321 OS:Windows (Windows 7 Pro SP1 64-bit)
Assigned to: CPU Architecture:Any

[24 Apr 2017 21:49] J Scavok
Description:
Help -> System Info reports -1 MB for "Installed video RAM" when in fact it should be 4096MB.

How to repeat:
1. The particular video card I am using is the ATI Radeon Pro WX4100. This card has 4096MB of RAM. I suspect any video card with greater than 2GB will also result in a bogus reading.

2. Start Workbench and select Help -> System Info; here are the relevant results--note the bogus value for "Installed video RAM"

MySQL Workbench Community (GPL) for Windows version 6.3.9 CE build 10690321 (64 bit)
OS: Microsoft Windows 7 Professional Service Pack 1
Active video adapter Radeon Pro WX4100 Graphics
Installed video RAM: -1 MB
Current video mode: 1920 x 1080 x 4294967296 colors

Suggested fix:
I suspect someone used a signed integer for this value instead of an unsigned integer and/or the incorrect print format specification was used. Thus any value over 2GB overflows and shows as a -1.
[24 Apr 2017 22:46] MySQL Verification Team
Thank you for the bug report. Please attach a screenshot. Thanks.
[24 Apr 2017 23:15] J Scavok
I don't understand why a screenshot is necessary when I've already provided the relevant output from Help -> System Info?
[25 Apr 2017 0:02] J Scavok
As we both know, the output from Help -> System Info is text.

I'm simply trying to understand why you're requesting a screenshot of this text, "Installed video RAM: -1 MB"?
[25 Apr 2017 0:44] J Scavok
Piriform Speccy correctly reports the installed video RAM is 4096 MB

Windows correctly reports the "Dedicated Video Memory" as 4096 MB
[25 Apr 2017 0:45] J Scavok
Yeah, it's 4096 MB

Attachment: radeon-pro-wx4100.jpg (image/jpeg, text), 50.02 KiB.

[25 Apr 2017 12:31] MySQL Verification Team
Thank you for the feedback and screenshot.
Even on a smaller environment observed negative count.