Updated 11/06/2017 07:32 AM
What are useful nvidia-smi queries for troubleshooting?
Query the VBIOS version of each device:
| #!/usr/bin/python3 | |
| # -*- coding: utf-8 -*- | |
| from PyQt5.QtCore import Qt | |
| from PyQt5.QtGui import QImage, QPixmap, QPalette, QPainter | |
| from PyQt5.QtPrintSupport import QPrintDialog, QPrinter | |
| from PyQt5.QtWidgets import QLabel, QSizePolicy, QScrollArea, QMessageBox, QMainWindow, QMenu, QAction, \ | |
| qApp, QFileDialog |
| # !/usr/bin/env python | |
| # -*- coding:utf-8 -*- | |
| from PyQt4.QtCore import * | |
| from PyQt4.QtGui import * | |
| class overlay(QWidget): | |
| def __init__(self, parent=None): | |
| super(overlay, self).__init__(parent) |
| __author__ = 'tom' | |
| import sys | |
| from PyQt5.QtWidgets import QWidget, QDesktopWidget, QApplication | |
| class Example(QWidget): | |
| def __init__(self): | |
| super().__init__() | |
| self.init_ui() |
| # required: ffmpeg (e.g. from homebrew), terminal-notifier from https://github.com/alloy/terminal-notifier | |
| # you can schedule this with launchd to run e.g. weekly | |
| # Specify in seconds how long the script should record (default here is 1 hour). | |
| seconds=3600 | |
| # Date format for the recording file name | |
| DATE=`date "+%d-%m-%y_%H-%M"` | |
| # start ffmpeg recording |
| #!/usr/bin/env python2 | |
| from gi.repository import Gtk | |
| class Grid(Gtk.Window): | |
| widget_list = [] | |
| WIDGET_SIZE = 140 | |
| COLS = 1 | |
| NUM = 100 | |
| def calcule_columns(self, scroll, grid): |