You are not logged in.

#1 2020-07-09 06:09:48

carlday
Member
Registered: 2011-10-04
Posts: 45

can Not Force SWAY to use intel GPU

Have i5-7600 connected to hdmi display, also have 1050ti  [navidia prop-driver card for encodeing.
Read at sway site that a gpu could be selected with shell cmd:
WLR_DRM_DEVICES=/dev/dri/card0 sway
# failing with seeing navidia prop-driver
also tried
WLR_DRM_DEVICES=/dev/dri/card1 sway
# fails with same error
when doing the command anti-prop-drive sway starts:
sway --my-next-gpu-wont-be-nvidia
TIA

Offline

#2 2020-07-09 19:38:43

Omar007
Member
Registered: 2015-04-09
Posts: 368

Re: can Not Force SWAY to use intel GPU

As far as I'm aware, `WLR_DRM_DEVICES` just selects the GPU it should use. It doesn't change anything about the logic to detect the use of proprietary nVidia drivers.
Disabling that proprietary driver check is what the `--my-next-gpu-wont-be-nvidia` flag is for.

I.o.w.; the behaviour you're seeing is as expected when you use the proprietary nVidia drivers.
So select the desired (non-nVidia, or switch to nouveau) GPU using WLR_DRM_DEVICES and pass the flag if you have the proprietary drivers on your system.

Last edited by Omar007 (2020-07-09 19:44:51)

Offline

Board footer

Powered by FluxBB