- @see https://askubuntu.com/questions/1344694/vulkan-tries-to-use-intel-gpu-by-default
- addion OP to Steam game results in Vulkan shaders being processed on NVIDIA GPU
> echo $XDG_SESSION_TYPE
wayland
> ...
x11
xhost +local:
Consider following scenario:
> (user) echo $DISPLAY
:1
> (user) echo $XAUTHORITY
/run/user/1000/gdm/Xauthority
> su
> echo $DISPLAY
:1
> echo $XAUTHORITY
/run/user/1000/gdm/Xauthority
> su -
> echo $DISPLAY
> echo $XAUTHORITY
>
I have display :1, yours may vary.
When (user)
or su
are requesting $DISPLAY and it is set but when not inheriting from (user)
$DISPLAY:
- something happened with
/root/.Xauthority
?-
su -
-
ln -s /home/(user)/.Xauthority /root/.Xauthority
-
su -
-
add to
/root/.profile
:export DISPLAY=:1;
on a new line
-
Can be easier to see autocomplete of $DISPLAY/etc. by using fish
instead of sh/bash
(Overwatch/Apex/etc)
-
Steam -> Compatibility -> Enable Proton Edge/Experimental (top) / Hotfix (bottom)
-
If game doesn't load (but you have launched it at least once) or if you cannot
Alt+Tab
- https://www.youtube.com/watch?v=Q_xMmWt6sEY&t=2m50s
- each game on Steam has appId which you can see on a website
- Install protontricks
- launch it via GUI:
protontricks --gui
- as a user, not as su because steam is installed for a user
- select
GameName - appId
of a game you want to change- for a game to appear on this list you have to launch your game at least once via
Steam -> right click game -> settings -> Compatibility -> [+] -> Proton
- for a game to appear on this list you have to launch your game at least once via
- choose top launch
Select the default wineprefix -> Run winecfg
-> Compatibility -> set Resolution to your monitor- next time game launches it would go through this wincfg
- launch it via GUI:
- https://www.youtube.com/watch?v=Q_xMmWt6sEY&t=2m50s
@see https://www.reddit.com/r/linux_gaming/comments/1dj4z9u/is_there_something_wrong_with_my_gpu/
about:config
->layers.acceleration.force-enabled
->true