flatpak : add DRI_PRIME=1 for laptop.

This commit is contained in:
Dmitry Voronin 2023-12-08 21:06:38 +03:00
parent 1c74307d46
commit ed7c025535
6 changed files with 13 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[Environment]
DRI_PRIME=1

View file

@ -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

View file

@ -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

View file

@ -0,0 +1,2 @@
[Environment]
DRI_PRIME=1

View file

@ -1,3 +1,6 @@
[Context]
devices=all;shm;kvm
filesystems=home;host-etc;host-os
[Environment]
DRI_PRIME=1

View file

@ -0,0 +1,2 @@
[Environment]
DRI_PRIME=1