From ed7c025535028fe7f12cf8bf7750697b3b78f011 Mon Sep 17 00:00:00 2001 From: desktop Date: Fri, 8 Dec 2023 21:06:38 +0300 Subject: [PATCH] flatpak : add DRI_PRIME=1 for laptop. --- .../overrides/com.github.iwalton3.jellyfin-media-player | 2 ++ .local/share/flatpak/overrides/com.usebottles.bottles | 3 ++- .local/share/flatpak/overrides/com.valvesoftware.Steam | 3 ++- .local/share/flatpak/overrides/io.mpv.Mpv | 2 ++ .local/share/flatpak/overrides/org.blender.Blender | 3 +++ .local/share/flatpak/overrides/org.kde.kdenlive | 2 ++ 6 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 .local/share/flatpak/overrides/com.github.iwalton3.jellyfin-media-player create mode 100644 .local/share/flatpak/overrides/io.mpv.Mpv create mode 100644 .local/share/flatpak/overrides/org.kde.kdenlive diff --git a/.local/share/flatpak/overrides/com.github.iwalton3.jellyfin-media-player b/.local/share/flatpak/overrides/com.github.iwalton3.jellyfin-media-player new file mode 100644 index 0000000..cd9dd50 --- /dev/null +++ b/.local/share/flatpak/overrides/com.github.iwalton3.jellyfin-media-player @@ -0,0 +1,2 @@ +[Environment] +DRI_PRIME=1 diff --git a/.local/share/flatpak/overrides/com.usebottles.bottles b/.local/share/flatpak/overrides/com.usebottles.bottles index dd279eb..699cea9 100644 --- a/.local/share/flatpak/overrides/com.usebottles.bottles +++ b/.local/share/flatpak/overrides/com.usebottles.bottles @@ -1,6 +1,7 @@ [Context] -filesystems=!xdg-download;/var/mnt/storage/hot/media/save;/var/mnt/storage/cold_1/media/game/:ro;~/download:ro;/var/mnt/storage/hot/media/game;/var/mnt/storage/hot/media/bottle;/var/mnt/storage/cold_1/tmp:ro;~/media/bottle;~/.config/MangoHud:ro +filesystems=!xdg-download;~/.config/MangoHud:ro;~/media/bottle;/var/mnt/storage/cold_1/tmp:ro;/var/mnt/storage/hot/media/bottle;/var/mnt/storage/hot/media/game;~/download:ro;/var/mnt/storage/cold_1/media/game/:ro;/var/mnt/storage/hot/media/save [Environment] MANGOHUD=1 MANGOHUD_CONFIGFILE=/var/home/voronind/.config/MangoHud/MangoHud.conf +DRI_PRIME=1 diff --git a/.local/share/flatpak/overrides/com.valvesoftware.Steam b/.local/share/flatpak/overrides/com.valvesoftware.Steam index b294f3e..5567b13 100644 --- a/.local/share/flatpak/overrides/com.valvesoftware.Steam +++ b/.local/share/flatpak/overrides/com.valvesoftware.Steam @@ -1,8 +1,9 @@ [Context] devices=shm;kvm;dri features=canbus -filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;~/.config/MangoHud:ro;/var/mnt/ +filesystems=!xdg-music;!xdg-pictures;!xdg-run/app/com.discordapp.Discord;/var/mnt/;~/.config/MangoHud:ro [Environment] MANGOHUD_CONFIGFILE=/var/home/voronind/.config/MangoHud/MangoHud.conf MANGOHUD=1 +DRI_PRIME=1 diff --git a/.local/share/flatpak/overrides/io.mpv.Mpv b/.local/share/flatpak/overrides/io.mpv.Mpv new file mode 100644 index 0000000..cd9dd50 --- /dev/null +++ b/.local/share/flatpak/overrides/io.mpv.Mpv @@ -0,0 +1,2 @@ +[Environment] +DRI_PRIME=1 diff --git a/.local/share/flatpak/overrides/org.blender.Blender b/.local/share/flatpak/overrides/org.blender.Blender index 9ca8f97..5f7f5e1 100644 --- a/.local/share/flatpak/overrides/org.blender.Blender +++ b/.local/share/flatpak/overrides/org.blender.Blender @@ -1,3 +1,6 @@ [Context] devices=all;shm;kvm filesystems=home;host-etc;host-os + +[Environment] +DRI_PRIME=1 diff --git a/.local/share/flatpak/overrides/org.kde.kdenlive b/.local/share/flatpak/overrides/org.kde.kdenlive new file mode 100644 index 0000000..cd9dd50 --- /dev/null +++ b/.local/share/flatpak/overrides/org.kde.kdenlive @@ -0,0 +1,2 @@ +[Environment] +DRI_PRIME=1