-
-
Notifications
You must be signed in to change notification settings - Fork 342
Description
Describe the bug
the "displays" portion of "graphics" only ever returns the first monitor's name.
To Reproduce
Steps to reproduce the behavior:
- used function 'getSysInfo('graphics')'
Current Output
"displays": [
{
"vendor": "",
"model": "BenQ PD2705Q",
"deviceName": "",
"main": true,
"builtin": false,
"connection": "DP-1",
"sizeX": 597,
"sizeY": 336,
"pixelDepth": 24,
"resolutionX": 2560,
"resolutionY": 1440,
"currentResX": 1920,
"currentResY": 1080,
"positionX": 0,
"positionY": 0,
"currentRefreshRate": 60
},
{
"vendor": "",
"model": "BenQ PD2705Q",
"main": false,
"builtin": false,
"connection": "HDMI-2",
"sizeX": 597,
"sizeY": 336,
"pixelDepth": 24,
"resolutionX": 2560,
"resolutionY": 1440,
"currentResX": 1920,
"currentResY": 1080,
"positionX": 0,
"positionY": 0,
"currentRefreshRate": 60
},
{
"vendor": "",
"model": "BenQ PD2705Q",
"main": false,
"builtin": false,
"connection": "HDMI-3",
"sizeX": 597,
"sizeY": 336,
"pixelDepth": 24,
"resolutionX": 2560,
"resolutionY": 1440,
"currentResX": 640,
"currentResY": 480,
"positionX": 0,
"positionY": 0,
"currentRefreshRate": 60
}
]
Expected behavior
I would expect all names to be reported.
hwinfo --short does display them correctly.
monitor:
MStar Demo
SAMSUNG T27C350
BenQ PD2705Q
Environment (please complete the following information):
- systeminformation package version: 5.27.7 (in Electron app)
- Ubuntu linux 24.04.2 LTS
- HP-EliteDesk-800-G3-DM-65W
- Intel(R) Pentium(R) CPU G4400 @ 3.30GHz, 3300 MHz
- Intel HD Graphics 510
To get all needed environment information, please run the following command:
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│ SYSTEMINFORMATION Version: 5.27.7 │
└─────────────────────────────────────────────────────────────────────────────────────────┘
Operating System:
──────────────────────────────────────────────────────────────────────────────────────────
Platform : linux
Distro : Ubuntu
Release : 24.04.2 LTS
Codename : noble
Kernel : 6.14.0-27-generic
Arch : x64
Hostname : HP-EliteDesk-800-G3-DM-65W
Codepage : UTF-8
Build :
System:
──────────────────────────────────────────────────────────────────────────────────────────
Manufacturer : HP
Model : HP EliteDesk 800 G3 DM 65W
Version :
Virtual :
CPU:
──────────────────────────────────────────────────────────────────────────────────────────
Manufacturer : Intel
Brand : Pentium® G4400
Family : 6
Model : 94
Stepping : 3
Speed : 3.3
Cores : 2
PhysicalCores : 2
PerformanceCores : 2
EfficiencyCores :
Processors : 1
Socket :
Additional context
I can change display settings with
sudo -u username DISPLAY=:0 xrandr --output HDMI-3 --mode 640x480
individually and they are set accordingly.
EDIT: Works on my Intel iMac with OSX just fine.
any ideas?