diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cd1ac0..8f45352 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ For major (breaking) changes - version 3 and 2 see end of page. | Version | Date | Comment | | -------------- | -------------- | -------- | +| 4.33.2 | 2020-12-27 | `graphics()` fixed issue (nvidia-smi) | | 4.33.1 | 2020-12-22 | `versions()` fixed issue (mac OS) | | 4.33.0 | 2020-12-21 | `graphics()` nvidia-smi support (linux, windows) | | 4.32.0 | 2020-12-14 | `graphics()` clinfo support (linux) | diff --git a/README.md b/README.md index be2a8d5..d535430 100644 --- a/README.md +++ b/README.md @@ -30,11 +30,25 @@ [![Sponsoring][sponsor-badge]][sponsor-url] [![MIT license][license-img]][license-url] +#### Happy new year + +``` + .''. + .''. . *''* :_\/_: . + :_\/_: _\(/_ .:.*_\/_* : /\ : .'.:.'. + .''.: /\ : ./)\ ':'* /\ * : '..'. -=:o:=- + :_\/_:'.:::. ' *''* * '.\'/.' _\(/_'.':'.' + : /\ : ::::: *_\/_* -= o =- /)\ ' * + '..' ':::' * /\ * .'/.\'. ' + * *..* : + * +``` + This is amazing. Started as a small project just for myself, it now has > 10,000 lines of code, > 350 versions published, up to 3 mio downloads per month, > 25 mio downloads overall. Thank you to all who contributed to this project! ## Upcoming -**MacOS on ARM (Apple silicon support), Windows on ARM**: November 11th 2020 - We will have a closer look on that! I just ordered new hardware (any support is highly appreciated - [Buy me a coffee](https://www.buymeacoffee.com/systeminfo)). As soon as I have the new hardware here, I work very hard on it to get full native support for those platforms! +**MacOS on ARM (Apple silicon support), Windows on ARM**: New Apple M1 silicon hardware just arrived (any support is highly appreciated - [Buy me a coffee](https://www.buymeacoffee.com/systeminfo)). We already made a lot of tests and improvements to support Apple M1 silicon. Current status can be seen [seen here](https://github.com/sebhildebrandt/systeminformation/issues/453). **Version 5**: we are planning a new major version with some minor breaking changes and some additional features. Will try to make this available Q1 of 2021. diff --git a/docs/history.html b/docs/history.html index f06d3d8..f8a4ef4 100644 --- a/docs/history.html +++ b/docs/history.html @@ -83,6 +83,11 @@ + + 4.33.2 + 2020-12-27 + graphics() fixed issue nvidia-smi + 4.33.1 2020-12-22 diff --git a/docs/index.html b/docs/index.html index fd69132..f208008 100644 --- a/docs/index.html +++ b/docs/index.html @@ -169,7 +169,7 @@
systeminformation
-
Current Version: 4.33.1
+
Current Version: 4.33.2
diff --git a/lib/graphics.js b/lib/graphics.js index a7e37de..a5c3570 100644 --- a/lib/graphics.js +++ b/lib/graphics.js @@ -401,8 +401,9 @@ function graphics(callback) { const nvidiaSmiExe = getNvidiaSmi(); if (nvidiaSmiExe) { const nvidiaSmiOpts = '--query-gpu=driver_version,pci.sub_device_id,name,pci.bus_id,fan.speed,memory.total,memory.used,memory.free,utilization.gpu,utilization.memory,temperature.gpu,temperature.memory,power.draw,power.limit,clocks.gr,clocks.mem --format=csv,noheader,nounits' + const cmd = nvidiaSmiExe + ' ' + nvidiaSmiOpts + _linux ? ' 2>/dev/null' : ''; try { - const res = execSync(nvidiaSmiExe + ' ' + nvidiaSmiOpts, options); + const res = execSync(cmd, options).toString(); return res; } catch (e) { util.noop();