Skip to content

Commit

Permalink
Set also che video chipset
Browse files Browse the repository at this point in the history
  • Loading branch information
jackburton79 committed Apr 18, 2018
1 parent 6c912bb commit 3939d84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Machine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -459,6 +459,7 @@ Machine::_GetGraphicsCardInfo()
struct video_info videoInfo;
videoInfo.name = trimmed(ProcReader("/sys/class/graphics/fb0/device/oem_product_name").ReadLine());
videoInfo.vendor = trimmed(ProcReader("/sys/class/graphics/fb0/device/oem_vendor").ReadLine());
videoInfo.chipset = trimmed(ProcReader("/sys/class/graphics/fb0/device/oem_string").ReadLine());
videoInfo.resolution = trimmed(ProcReader("/sys/class/graphics/fb0/virtual_size").ReadLine());
std::replace(videoInfo.resolution.begin(), videoInfo.resolution.end(), ',', 'x');

Expand Down

0 comments on commit 3939d84

Please sign in to comment.