Skip to content

Instantly share code, notes, and snippets.

View rominf's full-sized avatar

Roman Inflianskas rominf

View GitHub Profile
@rominf
rominf / amd-response-to-xpumd-semantics.md
Created October 6, 2026 07:43
AMD input on the xpumd HW metric semantics

AMD input on the xpumd HW metric semantics

Against xpumd/receiver/intelxpu/semantics.md at 9770382. Section headings below match that document. Examples are one MI300X: 8 XCD dies, 8 HBM3 stacks, 8 XCP partitions, 7 XGMI links to peer GPUs, PCIe Gen5 x16 to the host.

Where AMD agrees, it says so briefly. The substance is in the three open questions and the four gaps at the end.

Solution alternatives — agreed

Keybase proof

I hereby claim:

  • I am rominf on github.
  • I am rominf (https://keybase.io/rominf) on keybase.
  • I have a public key ASCaZaqs3xZqQUk5y8Wi4xK3fcWf7tGcUZ_SX0D-FpmpPAo

To claim this, I am signing this object:

@rominf
rominf / systemd_dbus_start_and_wait_for_signal.py
Last active March 27, 2020 14:03
Start sshd service and wait for signal using DBus, pydbus, asyncio
# On Fedora run:
# $ sudo dnf install python3-pydbus
# Then run this script as root
from gi.repository import GLib
from asyncio import Event
from pydbus import SystemBus
import asyncio
import pydbus
from pony import orm
import lmdb
env = lmdb.open('../conceptnet-lite-data/conceptnet-lmdb.db', map_size=16*1024*1024*1024, max_dbs=2)
start_db = env.open_db(b'start')
db = orm.Database()
class Label(db.Entity):
text = orm.Required(str)
language = orm.Required(str)
from pathlib import Path
db.bind(filename=str(Path('../conceptnet-lite-data/normalization-test.db').resolve()), provider='sqlite', create_db=True)
@rominf
rominf / CameraSelectionPage.qml
Created April 25, 2019 12:21
CameraSelectionPage.qml
ScrollView {
anchors.fill: context;
ListView {
anchors.fill: parent;
spacing: 10;
model: ListModel {
id: camerasModel;
}
@rominf
rominf / ServerSelectionPage.qml
Created April 23, 2019 11:18
ServerSelectionPage.qml
Rectangle {
anchors.fill: context;
color: "#000";
Column {
anchors.fill: parent;
spacing: 10;
Row {
anchors.centerIn: parent;
@rominf
rominf / virt-manager.log
Created February 27, 2019 06:53
virt-manager.log
[Ср, 27 фев 2019 09:48:58 virt-manager 16292] DEBUG (cli:203) Launched with command line: /usr/share/virt-manager/virt-manager --debug --no-fork
[Ср, 27 фев 2019 09:48:58 virt-manager 16292] DEBUG (virt-manager:179) virt-manager version: 2.1.0
[Ср, 27 фев 2019 09:48:58 virt-manager 16292] DEBUG (virt-manager:180) virtManager import: <module 'virtManager' from '/usr/share/virt-manager/virtManager/__init__.py'>
(virt-manager:16292): Gtk-WARNING **: 09:48:58.335: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
(virt-manager:16292): Gtk-WARNING **: 09:48:58.335: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
(virt-manager:16292): Gtk-WARNING **: 09:48:58.335: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated a
@rominf
rominf / solaar traceback
Created February 22, 2019 14:43
solaar traceback
/usr/lib/python2.7/site-packages/solaar/gtk.py:33: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
__import__(module)
/usr/lib/python2.7/site-packages/solaar/ui/notify.py:33: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
from gi.repository import Notify
solaar: error: GObject.__init__() takes exactly 0 arguments (4 given)
@rominf
rominf / x2go connection error
Created February 20, 2019 09:19
x2go connection error
Connection failed. bind: No key with name “right” found bind: No key with name “left” found bind: No key with name “ppage” found bind: No key with name “npage” found bind: No key with name “btab” found bind: No key with name “down” found bind: No key with name “up” found bind: No key with name “f1” found bind: No key with name “right” found bind: No key with name “left” found bind: No key with name “ppage” found bind: No key with name “npage” found bind: No key with name “btab” found bind: No key with name “down” found bind: No key with name “up” found bind: No key with name “f1” found bind: No key with name “right” found bind: No key with name “left” found bind: No key with name “ppage” found bind: No key with name “npage” found bind: No key with name “btab” found bind: No key with name “down” found bind: No key with name “up” found bind: No key with name “f1” found
@rominf
rominf / plasmashell.log
Last active December 23, 2018 22:30
plasmashell doesn't start on openSUSE Krypton
org.kde.plasmaquick: Applet preload policy set to 1
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:61:5: Unable to assign [undefined] to int
file:///usr/share/plasma/plasmoids/org.kde.desktopcontainment/contents/ui/main.qml:52:5: Unable to assign [undefined] to int
trying to show an empty dialog
file:///usr/share/plasma/plasmoids/org.kde.plasma.systemloadviewer/contents/ui/SystemLoadViewer.qml:251: TypeError: Cannot read property 'value' o