Skip to content

Instantly share code, notes, and snippets.

View tim77's full-sized avatar

Artem Polishchuk tim77

View GitHub Profile
@tim77
tim77 / gist:86b49ccdf9984c2fb17461c32544efc8
Created September 8, 2023 15:10
Steam Runtime Diagnostics
"LD_* scout runtime" information:
{
"can-write-uinput" : false,
"steam-installation" : {
"path" : "/home/tim/.var/app/com.valvesoftware.Steam/.local/share/Steam",
"data_path" : "/home/tim/.var/app/com.valvesoftware.Steam/.local/share/Steam",
"bin32_path" : "/home/tim/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32",
"steamscript_path" : "/app/lib/steam/bin_steam.sh",
"steamscript_version" : "1.0.0.78",
"issues" : [
  1. Открываем консоль. Узнаем список видеовыходов и поддерживаемых разрешений для каждого выхода командой:
xrandr

У меня выходы назывались LVDS1 (монитор ноутбука) и VGA1 (внешний монитор).

  1. Создаем Modeline для нужного режима:
Thread 1 "neochat" received signal SIGABRT, Aborted.
0x00007ffff5a0a9d5 in raise () from /lib64/libc.so.6
Missing separate debuginfos, use: dnf debuginfo-install adwaita-qt5-1.2.0-1.fc33.x86_64 gvfs-client-1.46.1-1.fc33.x86_64 libXi-1.7.10-4.fc33.x86_64 libXinerama-1.1.4-6.fc33.x86_64 libXrender-0.9.10-12.fc33.x86_64 libadwaita-qt5-1.2.0-1.fc33.x86_64 libdrm-2.4.102-2.fc33.x86_64 libepoxy-1.5.4-3.fc33.x86_64 libffi-3.1-26.fc33.x86_64 libgpg-error-1.39-1.fc33.x86_64 libicu-67.1-4.fc33.x86_64 libjpeg-turbo-2.0.5-5.fc33.x86_64 libogg-1.3.4-3.fc33.x86_64 libpng-1.6.37-6.fc33.x86_64 libquotient-0.6.3-1.fc33.x86_64 libsecret-0.20.4-1.fc33.x86_64 libsndfile-1.0.28-13.fc33.x86_64 libtdb-1.4.3-5.fc33.x86_64 libtool-ltdl-2.4.6-36.fc33.x86_64 libxcb-1.13.1-5.fc33.x86_64 libxkbcommon-1.0.1-1.fc33.x86_64 libxkbcommon-x11-1.0.1-1.fc33.x86_64 libzstd-1.4.7-1.fc33.x86_64 nss-mdns-0.14.1-9.fc33.x86_64 openssl-libs-1.1.1i-1.fc33.x86_64 pulseaudio-libs-14.0-2.fc33.x86_64 qgnomeplatform-0.7.0-1.fc33.x86_64 qt5-qtgraphicaleffect
@tim77
tim77 / memavaild.spec
Last active September 16, 2020 09:50
Name: memavaild
Version: 0.4.1
Release: 2%{?dist}
Summary: Improve responsiveness during heavy swapping
BuildArch: noarch
License: MIT
URL: https://github.com/hakavlad/memavaild
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
❯ sudo dnf install wine
Последняя проверка окончания срока действия метаданных: 0:24:55 назад, Вс 06 сен 2020 16:30:55.
Зависимости разрешены.
=======================================================================================================
Пакет Архитектура
Версия Репозиторий Размер
=======================================================================================================
Установка:
wine x86_64 5.16-1.fc33 updates-testing 12 k
Установка зависимостей:
import os
from threading import Thread
def loopA():
os.system('ping google.com')
def loopB():
os.system('ping ya.ru')
Proton 4.11/
├── dist
│   ├── bin
│   │   ├── msidb
│   │   ├── wine
│   │   ├── wine64
│   │   ├── wine64-preloader
│   │   ├── wine-preloader
│   │   └── wineserver
│   ├── lib
bash-5.0$ flatpak remote-ls
Name Application ID Версия Ветка Архитектура Origin
RedNotebook app.rednotebook.RedNotebook 2.20 stable x86_64 flathub
TuxGuitar ar.com.tuxguitar.TuxGuitar 1.5.3 stable x86_64 flathub
ConfClerk at.priv.toastfreeware.ConfClerk 0.6.4 stable x86_64 flathub
esys-escript au.edu.uq.esys.escript 5.5 stable x86_64 flathub
adriconf br.com.jeanhertel.adriconf 2.1 stable x86_64 flathub
InVesalius
❯ sudo compsize fedora-31-release.qcow2
Type Perc Disk Usage Uncompressed Referenced
TOTAL 100% 9.0G 9.0G 9.0G
none 100% 9.0G 9.0G 9.0G
❯ sudo compsize fedora-31-release.qcow2_
Type Perc Disk Usage Uncompressed Referenced
TOTAL 96% 9.5G 9.9G 9.0G
none 100% 9.3G 9.3G 8.5G
zstd 35% 215M 616M 563M
sudo compsize fedora-32-x86_64/
Processed 31133 files, 13634 regular extents (14022 refs), 20003 inline.
Type Perc Disk Usage Uncompressed Referenced
TOTAL 45% 341M 751M 758M
none 100% 129M 129M 129M
zstd 34% 212M 621M 629M